Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-03-25 Thread Kiên Nguyễn Tiến Trung
When will FPC 3.0.0 be released officially???

2015-03-24 19:26 GMT+07:00 Mark Morgan Lloyd 
markmll.laza...@telemetry.co.uk:

 zeljko wrote:

 On 01/10/2015 02:39 PM, Mattias Gaertner wrote:

 On Sat, 10 Jan 2015 12:49:04 +
 Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote:

  Mark Morgan Lloyd wrote:

  Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using
 Debian Lenny,


 Same combination on a PPC Mac raises an exception as below when the IDE
 is told to Tools - Options.

 TApplication.HandleException Error reading
 ComponentsListView.Items.LazData: Stream read error
 Stack trace:
 $10118410  TREADER__READPROPERTY,  line 1279 of
 /usr/local/src/fpc/fpc-trunk/rtl/objpas/classes/reader.inc

 Apart from that and the blank toolbar issue it appears OK. Does anybody
 want me to get a backtrace and raise a bug?


 TListItems.ReadLazData reads a TLazItemInfo, which is a record:

TLazItemInfo = record // packing is not needed and not wanted
  ImageIndex: Integer;
  StateIndex: Integer;
  OverlayIndex: Integer;
  SubItemCount: Integer;
end;

 Without packed the layout depends on the platform. But the stream
 should be streamed the same on all platforms. So it needs packed.
 OTOH someone added a comment that it is not wanted.

 Has someone an idea why packed is is not needed and not wanted?


 Annotate that unit and see who wrote that ?


 Now on Mantis as 27719.

 --
 Mark Morgan Lloyd
 markMLl .AT. telemetry.co .DOT. uk

 [Opinions above are the author's, not those of his employers or colleagues]

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 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] HEADS UP: FPC 3.0.1 stable branched off.

2015-03-24 Thread Mark Morgan Lloyd

zeljko wrote:

On 01/10/2015 02:39 PM, Mattias Gaertner wrote:

On Sat, 10 Jan 2015 12:49:04 +
Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote:


Mark Morgan Lloyd wrote:


Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using
Debian Lenny,


Same combination on a PPC Mac raises an exception as below when the IDE
is told to Tools - Options.

TApplication.HandleException Error reading
ComponentsListView.Items.LazData: Stream read error
Stack trace:
$10118410  TREADER__READPROPERTY,  line 1279 of
/usr/local/src/fpc/fpc-trunk/rtl/objpas/classes/reader.inc

Apart from that and the blank toolbar issue it appears OK. Does anybody
want me to get a backtrace and raise a bug?


TListItems.ReadLazData reads a TLazItemInfo, which is a record:

   TLazItemInfo = record // packing is not needed and not wanted
 ImageIndex: Integer;
 StateIndex: Integer;
 OverlayIndex: Integer;
 SubItemCount: Integer;
   end;

Without packed the layout depends on the platform. But the stream
should be streamed the same on all platforms. So it needs packed.
OTOH someone added a comment that it is not wanted.

Has someone an idea why packed is is not needed and not wanted?


Annotate that unit and see who wrote that ?


Now on Mantis as 27719.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-02-12 Thread Mark Morgan Lloyd

Mark Morgan Lloyd wrote:

Mark Morgan Lloyd wrote:

Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using 
Debian Lenny,


Same combination on a PPC Mac raises an exception as below when the IDE 
is told to Tools - Options.


TApplication.HandleException Error reading 
ComponentsListView.Items.LazData: Stream read error

  Stack trace:
  $10118410  TREADER__READPROPERTY,  line 1279 of 
/usr/local/src/fpc/fpc-trunk/rtl/objpas/classes/reader.inc


Working on the same combination as above on a PPC G4 Mac with OS X 10.4 
and XCode 2.0. A  make all  gives me


Assembling (pipe) units/powerpc-darwin/nogui/synregexpr.s
synbeautifier.pas(157,63) Error: Default values can only be specified 
for value, const and constref parameters
synbeautifier.pas(465,1) Fatal: There were 1 errors compiling module, 
stopping

Fatal: Compilation aborted

This looks like a spurious =0 in the interface (not implementation) 
declaration, when commented-out compilation completed. I don't know why 
I've not seen this on other platforms.


The program starts, but sticks at the initial configuration form with 
inoperative buttons (some other controls work). If I grab an about 
right file from another machine I'm similarly stuck at the upgrade 
form. I've not tried building a project using lazbuild since I assume 
that all LCL stuff is similarly affected.


I assume that this is due to the excessively-old version of Xcode that's 
on this machine, and unless somebody really wants me to try updating it 
or use a later Lazarus revision I'm in no hurry to (I'm currently trying 
to clear stuff off my desk, not add to it).


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-31 Thread Mark Morgan Lloyd

Sergei Gorelkin wrote:
30.01.2015 17:39, Mark Morgan Lloyd ?: On mipsel running on Qemu 
compiling Lazarus fails with .. (9009) Assembling codecache (3104) 
Compiling customcodetool.pas (3104) Compiling codetree.pas 
/usr/local/share/lazarus-trunk-47318/components/codetools/codetree.pas(824,1) 
Fatal: Internal error 2013022101 Fatal: (1018) Compilation aborted 
make[1]: *** [codetools.ppu] Error 1 make[1]: Leaving directory 
`/usr/local/share/lazarus-trunk-47318/components/codetools' make: *** 
[codetools] Error 2I reproduced it, it's caused by combination of leaf 
function with open array parameter passed by value and 
{$implicitexceptions off} directive. Pretty rare stuff to meet in 
regular code. Will try to fix.

Regards,Sergei


Thanks Sergei, I'm glad I'm not imagining things :-)

I'd quite like to look at the same combination on a couple more 
architectures, when I'm done I'll raise some bug reports.


I know that I should be following trunk for testing, but particularly 
with some of the slower systems a compiler or Lazarus build takes long 
enough that it's more practical to call an arbitrary revision a testing 
checkpoint.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-31 Thread Sergei Gorelkin

30.01.2015 17:39, Mark Morgan Lloyd пишет:


On mipsel running on Qemu compiling Lazarus fails with

..
(9009) Assembling codecache
(3104) Compiling customcodetool.pas
(3104) Compiling codetree.pas
/usr/local/share/lazarus-trunk-47318/components/codetools/codetree.pas(824,1) 
Fatal: Internal error
2013022101
Fatal: (1018) Compilation aborted
make[1]: *** [codetools.ppu] Error 1
make[1]: Leaving directory 
`/usr/local/share/lazarus-trunk-47318/components/codetools'
make: *** [codetools] Error 2

I reproduced it, it's caused by combination of leaf function with open array parameter passed by 
value and {$implicitexceptions off} directive. Pretty rare stuff to meet in regular code. Will try 
to fix.


Regards,
Sergei



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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-30 Thread Mark Morgan Lloyd

Mark Morgan Lloyd wrote:

Mark Morgan Lloyd wrote:

Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using 
Debian Lenny, except that toolbar icons don't appear (bug 25470, so 
this is not in fact fixed or has reverted).


This combination compiles natively (i.e. not as a cross-compiler) on ARM 
running on Qemu. Lazarus built with either all or bigide appears to 
run, the OS in this case was Debian Squeeze and toolbar icons appeared OK.


On mipsel running on Qemu compiling Lazarus fails with

..
(9009) Assembling codecache
(3104) Compiling customcodetool.pas
(3104) Compiling codetree.pas
/usr/local/share/lazarus-trunk-47318/components/codetools/codetree.pas(824,1) 
Fatal: Internal error 2013022101

Fatal: (1018) Compilation aborted
make[1]: *** [codetools.ppu] Error 1
make[1]: Leaving directory 
`/usr/local/share/lazarus-trunk-47318/components/codetools'

make: *** [codetools] Error 2

If anybody wants more detail on this error please say, I find Qemu 
useful for some of the more obscure architectures but it's painfully slow.


On mips running on Qemu compiling Lazarus fails with

make -C packager/registration
make[1]: Entering directory 
`/usr/local/share/lazarus-trunk-47318/packager/registration'
Makefile:196: *** The Makefile doesn't support target mips-linux, please 
run fpcmake first.  Stop.
make[1]: Leaving directory 
`/usr/local/share/lazarus-trunk-47318/packager/registration'

make: *** [registration] Error 2

Attempting to run fpcmake (with minimal investigation of the right way 
of doing things) fails with


0 1markMLl@pye-dev-07d:/usr/local/share/lazarus-trunk-47318$ fpcmake
Processing Makefile.fpc
Error: Target linux, package rtl not found

-

The combination above compiles Lazarus in both 32- and 64-bit mode on an 
AMC Athlon running Linux (Debian Wheezy), but Lazarus doesn't run. 
I've not investigated further.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-12 Thread FreeMan
Don't worry, who tell about script how to install fpc from trunk, I'm 
definitely listening  :)


On 12.01.2015 13:55, Mark Morgan Lloyd wrote:

FreeMan wrote:
wich one is rigth number of version ?stable is 2.6.4svn 2.7.1 
?fixes 3.0 or 3.0.1trunk 3.1.1 ?

on osx yosemitebefore change this version number 2.7.1 to 3.1.1,


Any reference that I'm making to compiling Lazarus with 2.7.1 are for 
testing purposes only, and are specifically because one of the 
platforms I'm interested in is SPARC which got code generation fixes 
post-2.6.4.


So listen to people like Mattias since they know what they're doing: I 
don't claim to :-)





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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-12 Thread FreeMan

wich one is rigth number of version ?
stable is 2.6.4
svn 2.7.1 ?
fixes 3.0 or 3.0.1
trunk 3.1.1 ?

on osx yosemite
before change this version number 2.7.1 to 3.1.1, I installed fpc trunk 
version, but now nothink

write on terminal
➜  fpc
Error: ppc386 can't be executed, error message: Failed to execute 
ppc386, error code: 127


➜  which fpc
/usr/local/bin/fpc

How to I install fpc svn:
first install fpc and source stable version then
svnVer=3.1.1 -- before it was 2.7.1 but, .../compiler/makefile.fpc 
has version=3.1.1 so I have to changed


svn co http://svn.freepascal.org/svn/fpc/trunk /opt/freepascal/3.1.1
make clean all install CPU_TARGET=x86_64 
INSTALL_PREFIX=/opt/freepascal/3.1.1


How to I can install fpc svn on OSX? or pelase share stable version of fpc
Is Nobody using fpc trunk on OSX ???


On 12.01.2015 08:54, zeljko wrote:

On 01/11/2015 04:58 PM, Joao Morais wrote:

Em 05/01/15 13:54, Marco van de Voort escreveu:

As a first step in the 3.0.0 release process the stable branch was
branched
off to branches/fixes_3_0 and the version number was updated to 3.0.1


Which version the 3.0 branch will have just after 3.0 release?


fixes_3_0 will be ver. 3.0.2 (after 3.0.0 release).

zeljko


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
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] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-12 Thread Mark Morgan Lloyd

FreeMan wrote:
wich one is rigth number of version ?stable is 2.6.4svn 2.7.1 ?fixes 
3.0 or 3.0.1trunk 3.1.1 ?

on osx yosemitebefore change this version number 2.7.1 to 3.1.1,


Any reference that I'm making to compiling Lazarus with 2.7.1 are for 
testing purposes only, and are specifically because one of the platforms 
I'm interested in is SPARC which got code generation fixes post-2.6.4.


So listen to people like Mattias since they know what they're doing: I 
don't claim to :-)


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-12 Thread Sven Barth
Am 12.01.2015 07:55 schrieb zeljko zel...@holobit.net:

 On 01/11/2015 04:58 PM, Joao Morais wrote:

 Em 05/01/15 13:54, Marco van de Voort escreveu:

 As a first step in the 3.0.0 release process the stable branch was
 branched
 off to branches/fixes_3_0 and the version number was updated to 3.0.1


 Which version the 3.0 branch will have just after 3.0 release?


 fixes_3_0 will be ver. 3.0.2 (after 3.0.0 release).

No, it will stay at 3.0.1. Only after 3.0.2 is released it wil be increased
to 3.0.3. Take a look at fixes_2_6 to see what I mean... (which is
currently at 2.6.5)

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-12 Thread Mark Morgan Lloyd

Mark Morgan Lloyd wrote:

Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using 
Debian Lenny, except that toolbar icons don't appear (bug 25470, so 
this is not in fact fixed or has reverted). I can't test on Debian 
Squeeze at the moment since it looks as though lnet doesn't compile 
with recent 2.7.1 which I need to look at since I'm using it in the code 
I'm trying to test.


The same combination builds on SPARC Solaris 10 for all but not for 
bigide, giving


/export/home/usr_local/share/lazarus-trunk-47318/components/sqldb/registersqldb.pas(505,5) 
Error: (5000) Identifier not found TIBConnection
registersqldb.pas(564) Fatal: (10026) There were 1 errors compiling 
module, stopping

Fatal: (1018) Compilation aborted
make[2]: *** [sqldblaz.ppu] Error 1
make[2]: Leaving directory 
`/export/home/usr_local/share/lazarus-trunk-47318/components/sqldb'


Crudely commenting-out the relevant call to RegisterPropertyEditor() 
appears to fix it, but I've done so without significant understanding of 
what's going and haven't checked whether it's been fixed in current 
trunk (a few dozen revisions later), neither have I checked what IB's 
functionality is on Solaris.


Subject to some library path issues basic operation is OK except Tools 
- Options bombs with


TApplication.HandleException Error reading 
ComponentsListView.Items.LazData: Stream read error

  Stack trace:
  $0014FE1C  TREADER__READPROPERTY,  line 1282 of 
/export/home/usr_local/src/fpc/trunk-2.7.1-29398/rtl/objpas/classes/reader.inc
  $0013F04C  TCOMPONENT__READSTATE,  line 320 of 
/export/home/usr_local/src/fpc/trunk-2.7.1-29398/rtl/objpas/classes/compon.inc

  $003282D0  TCONTROL__READSTATE,  line 3657 of ./include/control.inc

etc. with a dialogue reporting Stream read error. Please advise if 
anybody wants a backtrace or more info. This operation also failed on 
PPC Linux but not necessarily with the identical error, it's OK on SPARC 
Linux.


I can't check Solaris on x86-64, or any releases later than Solaris 10 
although I might look at OpenSXCE at some point.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-12 Thread Mark Morgan Lloyd

Mark Morgan Lloyd wrote:

Subject to some library path issues basic operation is OK except Tools 
- Options bombs


Also Help - About gives an alignment error, doesn't happen on PPC Linux 
or SPARC Linux. Also the toolbar icons are slow to display (i.e. like


 Debian Lenny, except that toolbar icons don't appear (bug 25470, so
 this is not in fact fixed or has reverted). I can't test on Debian

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-12 Thread Joao Morais

On 12/01/15 08:27, Sven Barth wrote:


Am 12.01.2015 07:55 schrieb zeljko zel...@holobit.net 
mailto:zel...@holobit.net:


 On 01/11/2015 04:58 PM, Joao Morais wrote:

 Em 05/01/15 13:54, Marco van de Voort escreveu:

 As a first step in the 3.0.0 release process the stable branch was
 branched
 off to branches/fixes_3_0 and the version number was updated to 3.0.1

 Which version the 3.0 branch will have just after 3.0 release?

 fixes_3_0 will be ver. 3.0.2 (after 3.0.0 release).

No, it will stay at 3.0.1. Only after 3.0.2 is released it wil be 
increased to 3.0.3. Take a look at fixes_2_6 to see what I mean... 
(which is currently at 2.6.5)




What version number RCs will receive?

2.9.x or 2.99.x sounds a bit more... suitable, it was the version number 
management used for ages iirc.



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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-12 Thread Sven Barth

On 13.01.2015 01:33, Joao Morais wrote:

On 12/01/15 08:27, Sven Barth wrote:


Am 12.01.2015 07:55 schrieb zeljko zel...@holobit.net
mailto:zel...@holobit.net:

 On 01/11/2015 04:58 PM, Joao Morais wrote:

 Em 05/01/15 13:54, Marco van de Voort escreveu:

 As a first step in the 3.0.0 release process the stable branch was
 branched
 off to branches/fixes_3_0 and the version number was updated to 3.0.1

 Which version the 3.0 branch will have just after 3.0 release?

 fixes_3_0 will be ver. 3.0.2 (after 3.0.0 release).

No, it will stay at 3.0.1. Only after 3.0.2 is released it wil be
increased to 3.0.3. Take a look at fixes_2_6 to see what I mean...
(which is currently at 2.6.5)



What version number RCs will receive?


RCs don't have separate version numbers. The version number for 3.0.0 RC 
will be 3.0.0.


Regards,
Sven


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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-11 Thread Joao Morais

Em 05/01/15 13:54, Marco van de Voort escreveu:

As a first step in the 3.0.0 release process the stable branch was branched
off to branches/fixes_3_0 and the version number was updated to 3.0.1


Which version the 3.0 branch will have just after 3.0 release?



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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-11 Thread zeljko

On 01/11/2015 04:58 PM, Joao Morais wrote:

Em 05/01/15 13:54, Marco van de Voort escreveu:

As a first step in the 3.0.0 release process the stable branch was
branched
off to branches/fixes_3_0 and the version number was updated to 3.0.1


Which version the 3.0 branch will have just after 3.0 release?


fixes_3_0 will be ver. 3.0.2 (after 3.0.0 release).

zeljko


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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-10 Thread Mark Morgan Lloyd

Mark Morgan Lloyd wrote:

Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using 
Debian Lenny,


Same combination on a PPC Mac raises an exception as below when the IDE 
is told to Tools - Options.


TApplication.HandleException Error reading 
ComponentsListView.Items.LazData: Stream read error

  Stack trace:
  $10118410  TREADER__READPROPERTY,  line 1279 of 
/usr/local/src/fpc/fpc-trunk/rtl/objpas/classes/reader.inc


Apart from that and the blank toolbar issue it appears OK. Does anybody 
want me to get a backtrace and raise a bug?


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-10 Thread Sergei Gorelkin

10.01.2015 16:39, Mattias Gaertner пишет:

On Sat, 10 Jan 2015 12:49:04 +
Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote:


Mark Morgan Lloyd wrote:


Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using
Debian Lenny,


Same combination on a PPC Mac raises an exception as below when the IDE
is told to Tools - Options.

TApplication.HandleException Error reading
ComponentsListView.Items.LazData: Stream read error
Stack trace:
$10118410  TREADER__READPROPERTY,  line 1279 of
/usr/local/src/fpc/fpc-trunk/rtl/objpas/classes/reader.inc

Apart from that and the blank toolbar issue it appears OK. Does anybody
want me to get a backtrace and raise a bug?


TListItems.ReadLazData reads a TLazItemInfo, which is a record:

   TLazItemInfo = record // packing is not needed and not wanted
 ImageIndex: Integer;
 StateIndex: Integer;
 OverlayIndex: Integer;
 SubItemCount: Integer;
   end;

Without packed the layout depends on the platform. But the stream
should be streamed the same on all platforms. So it needs packed.
OTOH someone added a comment that it is not wanted.

Has someone an idea why packed is is not needed and not wanted?


AFAIK such record has the same layout on 32 and 64 bit targets, at least when
{$packrecords c} is in effect. But writing it directly to stream is incorrect anyway because you'll 
get different data on big and little-endian targets.


Regards,
Sergei


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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-10 Thread zeljko

On 01/10/2015 02:39 PM, Mattias Gaertner wrote:

On Sat, 10 Jan 2015 12:49:04 +
Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote:


Mark Morgan Lloyd wrote:


Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using
Debian Lenny,


Same combination on a PPC Mac raises an exception as below when the IDE
is told to Tools - Options.

TApplication.HandleException Error reading
ComponentsListView.Items.LazData: Stream read error
Stack trace:
$10118410  TREADER__READPROPERTY,  line 1279 of
/usr/local/src/fpc/fpc-trunk/rtl/objpas/classes/reader.inc

Apart from that and the blank toolbar issue it appears OK. Does anybody
want me to get a backtrace and raise a bug?


TListItems.ReadLazData reads a TLazItemInfo, which is a record:

   TLazItemInfo = record // packing is not needed and not wanted
 ImageIndex: Integer;
 StateIndex: Integer;
 OverlayIndex: Integer;
 SubItemCount: Integer;
   end;

Without packed the layout depends on the platform. But the stream
should be streamed the same on all platforms. So it needs packed.
OTOH someone added a comment that it is not wanted.

Has someone an idea why packed is is not needed and not wanted?


Annotate that unit and see who wrote that ?

z.


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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-10 Thread Mattias Gaertner
On Sat, 10 Jan 2015 12:49:04 +
Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote:

 Mark Morgan Lloyd wrote:
 
  Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using 
  Debian Lenny,
 
 Same combination on a PPC Mac raises an exception as below when the IDE 
 is told to Tools - Options.
 
 TApplication.HandleException Error reading 
 ComponentsListView.Items.LazData: Stream read error
Stack trace:
$10118410  TREADER__READPROPERTY,  line 1279 of 
 /usr/local/src/fpc/fpc-trunk/rtl/objpas/classes/reader.inc
 
 Apart from that and the blank toolbar issue it appears OK. Does anybody 
 want me to get a backtrace and raise a bug?

TListItems.ReadLazData reads a TLazItemInfo, which is a record:

  TLazItemInfo = record // packing is not needed and not wanted
ImageIndex: Integer;
StateIndex: Integer;
OverlayIndex: Integer;
SubItemCount: Integer;
  end;

Without packed the layout depends on the platform. But the stream
should be streamed the same on all platforms. So it needs packed.
OTOH someone added a comment that it is not wanted.

Has someone an idea why packed is is not needed and not wanted?

Mattias
 

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-08 Thread Mark Morgan Lloyd

Mark Morgan Lloyd wrote:

For the record, at what revision number did this happen (i.e. if I 
want to grab /the/ /last/ 2.7.1 what should I tell svn)?


I don't know. Since trunk are daily/scratch versions that kind of info 
is not
recorded seperately.  Check trunk SVN log for details (should be 
within the

last 25 revs)


Was going to, but thought I'd ask.

r29399 | marco | 2015-01-04 21:09:04 + (Sun, 04 Jan 2015) | 1 line

 * version updated to 3.1.1

r29397 | joost | 2015-01-04 20:46:57 + (Sun, 04 Jan 2015) | 1 line

 * Renamed pas2js package to utils-pas2js, for consistency


Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using 
Debian Lenny, except that toolbar icons don't appear (bug 25470, so 
this is not in fact fixed or has reverted). I can't test on Debian 
Squeeze at the moment since it looks as though lnet doesn't compile 
with recent 2.7.1 which I need to look at since I'm using it in the code 
I'm trying to test.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-08 Thread Mark Morgan Lloyd

Mark Morgan Lloyd wrote:

Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using 
Debian Lenny, except that toolbar icons don't appear (bug 25470, so 
this is not in fact fixed or has reverted). I can't test on Debian 
Squeeze at the moment since it looks as though lnet doesn't compile 
with recent 2.7.1 which I need to look at since I'm using it in the code 
I'm trying to test.


Problem was due to some local improvements to ltelnet subcommand 
handling that I'd never submitted as a patch, my patched copy was no 
longer compatible with FPC trunk. Now on Mantis as 27273.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-06 Thread Sven Barth

On 06.01.2015 19:53, Graeme Geldenhuys wrote:

On 2015-01-05 15:54, Marco van de Voort wrote:


As a first step in the 3.0.0 release process the stable branch was branched
off to branches/fixes_3_0 and the version number was updated to 3.0.1



Thanks Marco - good news indeed. Let the testing begin! ;-)


ps:
I remember reading a while back from the Lazarus/FPC conference a few
weeks back that dynamic loading of libraries (like Delphi does) was
demoed. Is that functionality in the next FPC release (or parts of it)?
I don't need it - I was just curious.


Not even remotely. Also this is currently in a seperate branch and the 
reason we branched 3.0 finally off was that we could reintegrate 
branches back into trunk.


Regards,
Sven


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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-06 Thread Mark Morgan Lloyd

Marco van de Voort wrote:

As a first step in the 3.0.0 release process the stable branch was branched
off to branches/fixes_3_0 and the version number was updated to 3.0.1

The version in trunk was raised to 3.1.1

Scripts might need modification accordingly.


For the record, at what revision number did this happen (i.e. if I want 
to grab /the/ /last/ 2.7.1 what should I tell svn)?


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-06 Thread Graeme Geldenhuys
On 2015-01-05 15:54, Marco van de Voort wrote:
 
 As a first step in the 3.0.0 release process the stable branch was branched
 off to branches/fixes_3_0 and the version number was updated to 3.0.1


Thanks Marco - good news indeed. Let the testing begin! ;-)


ps:
I remember reading a while back from the Lazarus/FPC conference a few
weeks back that dynamic loading of libraries (like Delphi does) was
demoed. Is that functionality in the next FPC release (or parts of it)?
I don't need it - I was just curious.

From the bit I've read about recent FPC changes I think its time I take
a look at finally trying FPC with the tiOPF v3 branch to bring it on par
with Delphi again.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-06 Thread Marco van de Voort
On Tue, Jan 06, 2015 at 07:29:35PM +, Mark Morgan Lloyd wrote:
  The version in trunk was raised to 3.1.1
  
  Scripts might need modification accordingly.
 
 For the record, at what revision number did this happen (i.e. if I want 
 to grab /the/ /last/ 2.7.1 what should I tell svn)?

I don't know. Since trunk are daily/scratch versions that kind of info is not
recorded seperately.  Check trunk SVN log for details (should be within the
last 25 revs)

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-06 Thread Mark Morgan Lloyd

Marco van de Voort wrote:

On Tue, Jan 06, 2015 at 07:29:35PM +, Mark Morgan Lloyd wrote:

The version in trunk was raised to 3.1.1

Scripts might need modification accordingly.
For the record, at what revision number did this happen (i.e. if I want 
to grab /the/ /last/ 2.7.1 what should I tell svn)?


I don't know. Since trunk are daily/scratch versions that kind of info is not
recorded seperately.  Check trunk SVN log for details (should be within the
last 25 revs)


Was going to, but thought I'd ask.

r29399 | marco | 2015-01-04 21:09:04 + (Sun, 04 Jan 2015) | 1 line

 * version updated to 3.1.1

r29397 | joost | 2015-01-04 20:46:57 + (Sun, 04 Jan 2015) | 1 line

 * Renamed pas2js package to utils-pas2js, for consistency

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-06 Thread Graeme Geldenhuys
On 2015-01-06 18:58, Sven Barth wrote:
 reason we branched 3.0 finally off was that we could reintegrate 
 branches back into trunk.

No problem, I fully understand. Thanks for the info.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-06 Thread Graeme Geldenhuys
On 2015-01-06 20:47, Marco van de Voort wrote:
  For the record, at what revision number did this happen (i.e. if I want 
  to grab /the/ /last/ 2.7.1 what should I tell svn)?
 I don't know.


A quick look in the git mirror.

  https://github.com/graemeg/freepascal/commits/master

Seems the last 2.7.1 commit (in Trunk/Master) was r29397 (SubVersion) or
f70d35a (git).

The next commit after that [r29399 (svn) or 5f1a29ec (git)] the compiler
version was bumped to 3.1.1 by Marco.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

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


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-05 Thread silvioprog
On Mon, Jan 5, 2015 at 12:54 PM, Marco van de Voort mar...@stack.nl wrote:


 As a first step in the 3.0.0 release process the stable branch was branched
 off to branches/fixes_3_0 and the version number was updated to 3.0.1

 The version in trunk was raised to 3.1.1

 Scripts might need modification accordingly.


Good news!

Chances of custom attributes[1] (or something like this) in release 3.0? I
have plans to use IoC[2] and DI using this feature.

Thank you!

[1] - http://forum.codecall.net/topic/76463-introducing-attribute/
[2] - http://martinfowler.com/articles/injection.html
--
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-05 Thread Vojtěch Čihák

So finally there'll be no 2.8 ?
 
Anyway, it works well. I just updated to 29419 and built it with 2.6.4.
Lazarus compiled well too. Just have Lazarus 1.3 r47310M FPC 3.1.1 
x86_64-linux-qt.
 
Thanks
 
Vojtěch 
__

Od: Marco van de Voort mar...@stack.nl
Komu: lazarus@lists.lazarus.freepascal.org
Datum: 05.01.2015 16:55
Předmět: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.



As a first step in the 3.0.0 release process the stable branch was branched
off to branches/fixes_3_0 and the version number was updated to 3.0.1

The version in trunk was raised to 3.1.1

Scripts might need modification accordingly.

--
___
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] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-05 Thread Michael Van Canneyt



On Mon, 5 Jan 2015, silvioprog wrote:


On Mon, Jan 5, 2015 at 12:54 PM, Marco van de Voort mar...@stack.nl wrote:

  As a first step in the 3.0.0 release process the stable branch was 
branched
  off to branches/fixes_3_0 and the version number was updated to 3.0.1

  The version in trunk was raised to 3.1.1

  Scripts might need modification accordingly.


Good news!

Chances of custom attributes[1] (or something like this) in release 3.0? I have 
plans to use IoC[2] and DI using this feature.


No. One of the reasons for branching off 3.0 now is that the custom attributes 
can be merged to trunk
(or so I understood)

Michael.

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


[Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-05 Thread Marco van de Voort

As a first step in the 3.0.0 release process the stable branch was branched
off to branches/fixes_3_0 and the version number was updated to 3.0.1

The version in trunk was raised to 3.1.1

Scripts might need modification accordingly.

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