Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-24 Thread Giuliano Colla

Il 24/06/2014 09:14, Michael Schnell ha scritto:

On 06/23/2014 06:48 PM, Giuliano Colla wrote:


one must add a Mediator, aware of the new widgetset units, etc. But 
currently duplicates aren't allowed. Meaning that a different 
widgetset cannot contain units or classes with the same name of an 
LCL counterpart.
As you never mention this term I am not sure if you are aware of the 
Lazarus concept of Widget Types. I understand, at compile time the 
define variable WidgetType is used to (e.g.) select include files that 
define the behavior of all related objects. I understand that this is 
provided to allow for things similar to different widgetset contained 
in units or classes with the same name, by moving the relevant source 
code to include files..


Widget Types are LCL related. It's the part which actually implements 
virtual abstract methods in the Interfaces unit.


Moreover widgets must be designer aware: you increase the width 
property, and the widget must become wider. LCL widgets already are, 
others must be adapted to take advantage of Lazarus Mediator, 
Designer etc.
I understand that you can add new widgets to the Lazarus GUI designer 
by installing packets (and then recompiling the ide)


Why not add the Widgets you are missing using a packet ? (If you want 
to re-use existing code, maybe you can activate macro-processing for 
compiling these units (I seem to remember that fpc somehow allows for 
this) and by that e.g. rename the duplicate classes, or write your 
own preprocessor doing this. )




I'm already using packages, but they're run time only packages. They 
can't be installed into the IDE, because of class names conflict, and 
therefore they can't take advantage of the IDE Designer facilities. 
Solving this problem is the subject of this thread.


Giuliano


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


Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-24 Thread Michael Schnell

On 06/23/2014 06:48 PM, Giuliano Colla wrote:


one must add a Mediator, aware of the new widgetset units, etc. But 
currently duplicates aren't allowed. Meaning that a different 
widgetset cannot contain units or classes with the same name of an LCL 
counterpart.
As you never mention this term I am not sure if you are aware of the 
Lazarus concept of Widget Types. I understand, at compile time the 
define variable WidgetType is used to (e.g.) select include files that 
define the behavior of all related objects. I understand that this is 
provided to allow for things similar to different widgetset contained 
in units or classes with the same name, by moving the relevant source 
code to include files..




Moreover widgets must be designer aware: you increase the width 
property, and the widget must become wider. LCL widgets already are, 
others must be adapted to take advantage of Lazarus Mediator, Designer 
etc.
I understand that you can add new widgets to the Lazarus GUI designer by 
installing packets (and then recompiling the ide)


Why not add the Widgets you are missing using a packet ? (If you want to 
re-use existing code, maybe you can activate macro-processing for 
compiling these units (I seem to remember that fpc somehow allows for 
this) and by that e.g. rename the duplicate classes, or write your own 
preprocessor doing this. )


-Michael

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


[Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread Giuliano Colla

Hi Lazarus team,

Lazarus IDE is IMO so superior to Delphi's that any comparison would be 
unfair.
However there's a Delphi IDE small feature which I miss when using 
Lazarus: a quick mouse access to the Jump Back/Jump Forward function, to 
navigate history. I find keyboard shortcuts (CTRL-H and Shift-CTRL-H) 
more cumbersome.


There's no easy way to add Icons to the NoteBook pages or tabs of the 
Source Editor window, so it came to my mind to add a source editor 
dedicated tool bar, to host those functions. It steals just 18 pixels in 
height, and one could take advantage of it to insert more editor related 
commands, which are now available in drop down menu's.


I attach a small patch to SourceEditor, just to show the idea. If 
accepted, it can be fully implemented, making it perhaps the umptieth 
option to the user configuration, extended, made fully configurable, etc.


If not, I'll just keep it for my personalized IDE.

(Double clicking on the added tool bar, it can be moved from top to 
right or to bottom. Quick and dirty just for testing the best position.)


Best,

Giuliano



Index: sourceeditor.pp
===
--- sourceeditor.pp	(revision 45619)
+++ sourceeditor.pp	(working copy)
@@ -45,8 +45,8 @@
   SynEditMouseCmds, Classes, SysUtils, Math, Controls, ExtendedNotebook,
   LCLProc, LCLType, LResources, LCLIntf, FileUtil, Forms, ComCtrls, Dialogs,
   StdCtrls, Graphics, Translations, ClipBrd, types, Extctrls, Menus, HelpIntfs,
-  LConvEncoding, Messages, LazLoggerBase, lazutf8classes, LazLogger, AvgLvlTree,
-  LazFileCache,
+  Buttons, LConvEncoding, Messages, LazLoggerBase, lazutf8classes, LazLogger,
+  AvgLvlTree, LazFileCache,
   // codetools
   BasicCodeTools, CodeBeautifier, CodeToolManager, CodeCache, SourceLog,
   LinkScanner,
@@ -609,6 +609,9 @@
   { TSourceNotebook }
 
   TSourceNotebook = class(TSourceEditorWindowInterface)
+pTools: TPanel;
+sbJback: TSpeedButton;
+sbJforward: TSpeedButton;
 StatusBar: TStatusBar;
 procedure CompleteCodeMenuItemClick(Sender: TObject);
 procedure DbgPopUpMenuPopup(Sender: TObject);
@@ -629,12 +632,15 @@
 procedure OnPopupOpenPackageFile(Sender: TObject);
 procedure OnPopupOpenProjectInsp(Sender: TObject);
 procedure OpenAtCursorClicked(Sender: TObject);
+procedure pToolsMove(Sender: TObject);
 procedure RenameIdentifierMenuItemClick(Sender: TObject);
 procedure ShowAbstractMethodsMenuItemClick(Sender: TObject);
 procedure ShowEmptyMethodsMenuItemClick(Sender: TObject);
 procedure ShowUnusedUnitsMenuItemClick(Sender: TObject);
 procedure SourceNotebookDropFiles(Sender: TObject;
   const FileNames: array of String);
+procedure sbJbackClick(Sender: TObject);
+procedure sbJforwardClick(Sender: TObject);
 procedure SrcEditMenuCopyToExistingWindowClicked(Sender: TObject);
 procedure SrcEditMenuFindInWindowClicked(Sender: TObject);
 procedure SrcEditMenuMoveToExistingWindowClicked(Sender: TObject);
@@ -676,6 +682,8 @@
 FWindowID: Integer;
 // PopupMenu
 procedure BuildPopupMenu;
+// Toolbar
+procedure BuildToolBar;
 //forwarders to FNoteBook
 function GetNoteBookPage(Index: Integer): TTabSheet;
 function GetNotebookPages: TStrings;
@@ -5819,7 +5827,8 @@
 
   // popup menu
   BuildPopupMenu;
-
+  // Toolbar
+  BuildToolBar;
   // HintTimer
   FMouseHintTimer := TIdleTimer.Create(Self);
   with FMouseHintTimer do begin
@@ -6503,6 +6512,23 @@
   {$ENDIF}
 end;
 
+procedure TSourceNotebook.BuildToolBar;
+var
+  jbackIdx: Integer;
+  jforwIdx: Integer;
+begin
+
+  jbackIdx:= IDEImages.GetImageIndex(16,'menu_search_jumpback');
+  if jbackIdx =0 then
+IDEImages.Images_16.GetBitmap(jbackIdx,sbJback.Glyph);
+  sbJback.Hint:= lisMenuJumpBack;
+
+  jforwIdx:= IDEImages.GetImageIndex(16,'menu_search_jumpforward');
+  if jforwIdx =0 then
+IDEImages.Images_16.GetBitmap(jforwIdx,sbJforward.Glyph);
+  sbJforward.Hint:= lisMenuJumpForward;
+end;
+
 function TSourceNotebook.GetNoteBookPage(Index: Integer): TTabSheet;
 begin
   if FNotebook.Visible then
@@ -7548,6 +7574,19 @@
 Manager.OnOpenFileAtCursorClicked(Sender);
 end;
 
+procedure TSourceNotebook.pToolsMove(Sender: TObject);
+begin
+  if pTools.Align = alTop then begin
+pTools.Width:= 50;
+pTools.Align:= alRight;
+  end
+  else if pTools.Align = alRight then begin
+pTools.Height:= 18;
+pTools.Align:= alBottom;
+  end
+  else pTools.Align:= alTop;
+end;
+
 procedure TSourceNotebook.CutClicked(Sender: TObject);
 var ActSE: TSourceEditor;
 begin
@@ -7669,6 +7708,16 @@
   LazarusIDE.DoDropFiles(Sender,Filenames,WindowID);
 end;
 
+procedure TSourceNotebook.sbJbackClick(Sender: TObject);
+begin
+  if FManager.ActiveSourceWindow  nil then FManager.HistoryJump(Sender,jhaBack);
+end;
+
+procedure TSourceNotebook.sbJforwardClick(Sender: TObject);
+begin
+  if FManager.ActiveSourceWindow  nil then 

Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread Michael Van Canneyt



On Tue, 24 Jun 2014, Giuliano Colla wrote:


Hi Lazarus team,

Lazarus IDE is IMO so superior to Delphi's that any comparison would be 
unfair.
However there's a Delphi IDE small feature which I miss when using Lazarus: a 
quick mouse access to the Jump Back/Jump Forward function, to navigate 
history. I find keyboard shortcuts (CTRL-H and Shift-CTRL-H) more cumbersome.


There's no easy way to add Icons to the NoteBook pages or tabs of the Source 
Editor window, so it came to my mind to add a source editor dedicated tool 
bar, to host those functions. It steals just 18 pixels in height, and one 
could take advantage of it to insert more editor related commands, which are 
now available in drop down menu's.


I attach a small patch to SourceEditor, just to show the idea. If accepted, 
it can be fully implemented, making it perhaps the umptieth option to the 
user configuration, extended, made fully configurable, etc.


If not, I'll just keep it for my personalized IDE.

(Double clicking on the added tool bar, it can be moved from top to right or 
to bottom. Quick and dirty just for testing the best position.)


There is already such a component, implemented by Graeme Geldenhuys, see 
components/editortoolbar.

Maybe you can improve that?

Michael.

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


Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread Giuliano Colla

Il 24/06/2014 09:58, Michael Van Canneyt ha scritto:

[...]
There is already such a component, implemented by Graeme Geldenhuys, 
see components/editortoolbar.


Maybe you can improve that?

There are so many things in Lazarus that a special edition of the 
Encyclopaedia Britannica would be barely sufficient to cover all of them 
:-)

I'll give a look. No point in reinventing the wheel.
Chances are good that it's implementation is similar to what I had in 
mind, because I've seen in the past that Graeme and I share similar 
points of view on IDE usage.


Thank you.

Giuliano


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


[Lazarus] Lazreport of master-detail

2014-06-24 Thread Koenraad Lelong

Hi,

I got a strange problem when I show a Lazreport of a master-detail 
relationship.
If the master-table contains an odd number of items, the report is OK. 
If it contains an even number of items it crashes with this error :


Program received signal SIGSEGV, Segmentation fault.
0x004df6d4 in SYSTEM_MOVE$formal$formal$INT64 ()
(gdb) bt
#0  0x004df6d4 in SYSTEM_MOVE$formal$formal$INT64 ()
#1  0x008c2893 in 
BUFDATASET_TCUSTOMBUFDATASET_$__CURRENTRECORDTOBUFFER$PCHAR ()

#2  0x77fb6701 in ?? ()
#3  0x in ?? ()

That's with Lazarus 1.2.2, on Linux 64bit. But I think I do have the 
same problem on 32bit Windows. I switched to linux to be able to 
backtrace. Can I have a backtrace in Windows ?


Koenraad.

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


Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread leledumbo
It's a more general component than specifically jump back/forward. You can
assign any IDE menu functionality to the toolbar button. Personally, I
prefer the shortcut since it's faster.



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Source-Editor-enhancement-mini-patch-tp4037602p4037606.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


[Lazarus] on new project inspector

2014-06-24 Thread FreeMan
umachid.pas why not in project option? where is open project source or 
I was forget view project source menu item? added dblclick open lpr 
file in source editor.
are lazarus developer, make changes for theme self? or all what who want 
to use. If is the answer is all what who want to use PLEASE write help 
and/or description for added or changed about class or property, so if 
we looking for help can find and more then ONE word or more description 
then (example)this is integer property etc.
If some one want to say, you can write help and we are share! I'm not 
wizard, If I know all class and everything, I was be in team or I can 
make a new lazarus, and who can know who is, why write that code,

to team persons, please do NOT geton to same plain, bus, car or any device
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread Giuliano Colla

Il 24/06/2014 11:15, leledumbo ha scritto:

It's a more general component than specifically jump back/forward. You can
assign any IDE menu functionality to the toolbar button. Personally, I
prefer the shortcut since it's faster.

Actually it does exactly what I had in mind (start from jump 
bak/forward, then add other functions from IDE menu). I was trying to 
reinvent the wheel.
I too usually prefer the faster keyboard shortcuts, but for some reasons 
for jumps I'm more at ease with the icon click.


Giuliano


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


Re: [Lazarus] on new project inspector

2014-06-24 Thread Reinier Olislagers
On 24/06/2014 11:23, FreeMan wrote:
 are lazarus developer, make changes for theme self? or all what who want
 to use. 
snip
 to team persons, please do NOT geton to same plain, bus, car or any device

I know you're not a native English speaker but please try to refrain
from threats and suggestive remarks.
Additionally, phrasing your questions in a more positive way may help
you get more cooperation, respect and quicker answers.

Thank you.


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


Re: [Lazarus] Lazreport of master-detail

2014-06-24 Thread Reinier Olislagers
On 24/06/2014 10:29, Koenraad Lelong wrote:
 backtrace. Can I have a backtrace in Windows ?

Yes. Use e.g. -gw2 -gl -O-1 (Lazarus: dwarf 2 format, line number, no
optimization, add -O-1 in extra options or whatever it's called) when
compiling.
Run gdb as usual and you should get the backtrace or run it in the
debugger under Lazarus to do things the GUI way ;)

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


Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread FreeMan


24-06-2014 13:13 tarihinde, Giuliano Colla yazdı:
I too usually prefer the faster keyboard shortcuts, but for some 
reasons for jumps I'm more at ease with the icon click.
I was used to icon on editor toolbar too. keyboard shortcuts is better 
then nothing. I hope no body say (do) this is been old removed it.!!!


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


[Lazarus] IDE bug handling translations?

2014-06-24 Thread Giuliano Colla

Hi Lazarus developers,

in the last few days, (I can't tell exactly since which revision it 
happens) I get an Invalid argument index in some translated IDE 
dialogs, such as the dialog which prompts for an IDE rebuild when 
installing a package. Sort of:


Invalid argument index in format Il pacchetto %s%s%s è marcato per 
l'installazione.%sAttualmente lazarus supporta solo pacchetti con link 
statico. L'installazione dovà ricostruire Lazarus e riavviarlo.%s%sVuoi 
ricostruire Lazarus ora?.


The same occurs with IDE language set to Italian and to French, so I 
don't think it to be just a translation string issue.


Setting IDE language to English makes the problem disappear.

Environment is Linux, Lazarus svn trunk, fpc 2.6.2, OS both CentOs 5 and 
Fedora 14.


Giuliano


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


Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread Giuliano Colla

Il 24/06/2014 12:26, FreeMan ha scritto:
[...]


I was used to icon on editor toolbar too.
Then you can install the package editortoolbar.lpk. You'll find it in 
lazarus/components/editortoolbar.
Once installed you may use configure toolbar to put in your toolbar 
whatever you like from IDE menu, and other dropdown menus.


Giuliano



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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 1:41 PM, Giuliano Colla
giuliano.co...@fastwebnet.it wrote:
 in the last few days, (I can't tell exactly since which revision it happens)
 I get an Invalid argument index in some translated IDE dialogs, such as
 the dialog which prompts for an IDE rebuild when installing a package.

I recently tweaked some IDE resource strings so that quotation mark
() is now hard-coded in the string instead of passed as a %s
parameter.
It reduced the number of %s parameters and eliminated long sequences
like %s%s%s%s which were difficult to translate and required reading
the source code.

I did not anticipate error messages. Less params are passed now and
they should well fit in the old parameter lists although in wrong
places.
Anyway, the solution is to fix the fuzzy translations. The changes are
only in the parameter lists and our PoChecker will find any remaining
mismatches. Patches that fix it will be accepted. (eg. In case the
official translation maintainer is busy).
Sorry for the inconvenience. This change creates more work in short
term but makes things easier in long term.

See also a thread on this list titled:
  Resource strings and newline

Hard-coding line endings is still an open issue.

Juha

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


Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 2:19 PM, Giuliano Colla
giuliano.co...@fastwebnet.it wrote:
 Then you can install the package editortoolbar.lpk. You'll find it in
 lazarus/components/editortoolbar.

... and also in the Install/Uninstall packages dialog under Available
for installation. Easier.

Juha

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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Giuliano Colla

Il 24/06/2014 13:25, Juha Manninen ha scritto:

On Tue, Jun 24, 2014 at 1:41 PM, Giuliano Colla
giuliano.co...@fastwebnet.it wrote:

in the last few days, (I can't tell exactly since which revision it happens)
I get an Invalid argument index in some translated IDE dialogs, such as
the dialog which prompts for an IDE rebuild when installing a package.

I recently tweaked some IDE resource strings so that quotation mark
() is now hard-coded in the string instead of passed as a %s
parameter.
It reduced the number of %s parameters and eliminated long sequences
like %s%s%s%s which were difficult to translate and required reading
the source code.

I did not anticipate error messages. Less params are passed now and
they should well fit in the old parameter lists although in wrong
places.
Anyway, the solution is to fix the fuzzy translations. The changes are
only in the parameter lists and our PoChecker will find any remaining
mismatches. Patches that fix it will be accepted. (eg. In case the
official translation maintainer is busy).
Once the problem is understood, it would appear that a quick scan to .po 
files, adjusting the number of %s to the same number found in 
LazarusIDEStrConsts, even without a good knowledge of the language would 
fix the issue.

If such is the case I could do it.
Only lazaruside.xx.po are affected, or other packages/translations need 
the same housekeeping?


Giuliano



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


Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread Martin Frb

On 24/06/2014 08:50, Giuliano Colla wrote:

Hi Lazarus team,

Lazarus IDE is IMO so superior to Delphi's that any comparison would 
be unfair.
However there's a Delphi IDE small feature which I miss when using 
Lazarus: a quick mouse access to the Jump Back/Jump Forward function, 
to navigate history. I find keyboard shortcuts (CTRL-H and 
Shift-CTRL-H) more cumbersome.


I see Editortoolbar is already covered.

Since this is about navigating by mouse: By default the IDE reacts to 
the 2 extra buttons of a 5 button mouse (forward/backward in history). 
Similar like some web browser do.


If you do not have a 5 button mouse you can map this to other buttons. 
(also with shift/ctrl/alt / on some OS not all modifiers work with the 
right mouse button.)


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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 2:38 PM, Giuliano Colla
giuliano.co...@fastwebnet.it wrote:
 Only lazaruside.xx.po are affected, or other packages/translations need the
 same housekeeping?

Also:
 components/ideintf/objinspstrconsts
 components/codetools/codetoolsstrconsts
 components/anchordocking/anchordockstr
 lcl/lclstrconsts


Juha

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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 17:02:45 +0300
Juha Manninen juha.mannine...@gmail.com wrote:

 On Tue, Jun 24, 2014 at 2:38 PM, Giuliano Colla
 giuliano.co...@fastwebnet.it wrote:
  Only lazaruside.xx.po are affected, or other packages/translations need the
  same housekeeping?
 
 Also:
  components/ideintf/objinspstrconsts
  components/codetools/codetoolsstrconsts
  components/anchordocking/anchordockstr
  lcl/lclstrconsts

Have you tried pochecker?

Mattias

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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 5:32 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
 Have you tried pochecker?

Well, yes.
lazaruside.xx.po files are not updated in SVN. Usually they are
auto-generated and then somebody commits them.
What happened now?

Juha

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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 18:08:40 +0300
Juha Manninen juha.mannine...@gmail.com wrote:

 On Tue, Jun 24, 2014 at 5:32 PM, Mattias Gaertner
 nc-gaert...@netcologne.de wrote:
  Have you tried pochecker?
 
 Well, yes.

And does it show the wrong strings?

Mattias

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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tuesday, June 24, 2014, Mattias Gaertner nc-gaert...@netcologne.de
wrote:

 And does it show the wrong strings?


No because the old strings are still there. Why the .po files are not
auto-generated?

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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 18:47:00 +0300
Juha Manninen juha.mannine...@gmail.com wrote:

 On Tuesday, June 24, 2014, Mattias Gaertner nc-gaert...@netcologne.de
 wrote:
 
  And does it show the wrong strings?
 
 
 No because the old strings are still there. Why the .po files are not
 auto-generated?

The IDE is compiled by make and that must not alter sources.
You can do it:

./localize.sh

Mattias

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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 6:55 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
 The IDE is compiled by make and that must not alter sources.
 You can do it:

 ./localize.sh

Right. I committed the .po files.
Translators are now welcome to fix the fuzzy strings.

Juha

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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 19:49:13 +0300
Juha Manninen juha.mannine...@gmail.com wrote:

 On Tue, Jun 24, 2014 at 6:55 PM, Mattias Gaertner
 nc-gaert...@netcologne.de wrote:
  The IDE is compiled by make and that must not alter sources.
  You can do it:
 
  ./localize.sh
 
 Right. I committed the .po files.

Can you now use pochecker?

Mattias


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


Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Juha Manninen
On Tue, Jun 24, 2014 at 8:05 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
 Can you now use pochecker?

Yes. It shows 173 errors in eg. lazaruside.fi.po which looks correct.

Juha

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


[Lazarus] map file check

2014-06-24 Thread Chris Crori
Hi guys,
I was browsing my project’s map file and came across something that I found 
odd.
There are several files that the linker is not removing although they have 0 
references on them. This is a part of my map file

“
Keeping 
lr_intrp.o(.text.n_lr_intrp_tfrinterpretator_$_preparescript$crc56918e91_last$$longint)
 0 references
Keeping lr_intrp.o(.data.n__$LR_INTRP$_Ld10) 0 references
Keeping 
lr_intrp.o(.text.n_lr_intrp_tfrinterpretator_$__copyarr$longint$longint$$ansistring)
 3 references
  References  fpc_ansistr_setlength in system.o(.text.n_fpc_ansistr_setlength)
  References  fpc_ansistr_unique in system.o(.text.n_fpc_ansistr_unique)
  References  SYSTEM_MOVE$formal$formal$LONGINT in 
system.o(.text.n_system_move$formal$formal$longint)
“

I do NOT have good knowledge of this, so this is just a question to the 
experts to figure out if this is correct behavior or not

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


[Lazarus] Lazarus MX-14

2014-06-24 Thread Gordon Cooper

Hi to all,
  I am currently testing Lazarus 1.2.2 on MX-14, a light
version of Linux developed from Antix.  We have 1.2.2 in the
MX testing repository and will probably update to 1.2.4 when
moving it to the main repo.  So far, the tests look good.

   I see a few references to Laz 1.3 . Does this exist or is it
something for the future?  I do not wish to upset the packager
by asking for changes too frequently.

Thanks,
Gordon

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


Re: [Lazarus] Lazarus MX-14

2014-06-24 Thread Michael Van Ham
On Tue, Jun 24, 2014 at 6:18 AM, Gordon Cooper hughgord...@gmail.com
wrote:

 I see a few references to Laz 1.3 . Does this exist or is it
 something for the future?  I do not wish to upset the packager
 by asking for changes too frequently.


1.2.4 is the latest release.

I believe 1.3 is the current development branch, and exists only in the SVN
repository. Check out the wiki here:
http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_SVN_development_version
or for windows here: http://wiki.lazarus.freepascal.org/TortoiseSvn

At some point 1.3 will be considered stable and released as 1.4. There is
no fixed date for this.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus MX-14

2014-06-24 Thread Gordon Cooper

Thanks Michael,
  Will go ahead with 1.2.4


On 25/06/14 12:16, Michael Van Ham wrote:


At some point 1.3 will be considered stable and released as 1.4. There 
is no fixed date for this.



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