[Lazarus] Some observations on components font styles

2022-05-19 Thread Leyba Bronstain via lazarus

Hi all.

I started investigating why the standard rr for nix doesn't change 
some text attributes (see 
https://forum.lazarus.freepascal.org/index.php/topic,59373.msg442622.html#msg442622).


I found that for Unix-like OS, some TWinControl  descendans cannot have 
the font style fsStrikeOut and fsUnderline. But descendants of 
TGraphicControl (e.g. TLabel) display these styles correctly.


What is it: a bug or a feature?

--
/-- with best regards, Zoltanleo aka Док/-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TScrollBox.ScrollInView method does not work for nested child controls

2021-05-02 Thread Leyba Bronstain via lazarus

I'm sorry. The last patch doesn't work on a more complex project


https://forum.lazarus.freepascal.org/index.php/topic,54354.msg404381.html#msg404381


01.05.2021 20:53, Michael W. Vogel via lazarus пишет:

Am 01.05.2021 um 01:08 schrieb Leyba Bronstain via lazarus:

I found that the ScrollInView method doesn't scroll the scrollbar to a
"hidden" control unless its parent is a scrollbox but another
component that lies on the scrollbox.


Fixed in Trunk revision 65078 with code from
https://forum.lazarus.freepascal.org/index.php/topic,54354.msg404204.html#msg404204 



Michl

--
/-- with best regards, Zoltanleo aka Док/
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] TScrollBox.ScrollInView method does not work for nested child controls

2021-04-30 Thread Leyba Bronstain via lazarus

Hi all.

I found that the ScrollInView method doesn't scroll the scrollbar to a 
"hidden" control unless its parent is a scrollbox but another component 
that lies on the scrollbox.


test case:

1. Put to scrollbox the panel.
2. Put to panel any control (i.e. TEdit)
3. Change border of the scroll bar rectangle so that the nested control 
becomes "invisible"

4. Call ScrollInView method for this control


It's a bug?

--
/-- with best regards, Zoltanleo aka Док/
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Linux: Unknown property "ParentBackground"

2021-04-22 Thread Leyba Bronstain via lazarus

Solved

https://forum.lazarus.freepascal.org/index.php/topic,54283.msg403257.html#msg403257

--
/-- with best regards, Zoltanleo aka Док/
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Linux: Unknown property "ParentBackground"

2021-04-22 Thread Leyba Bronstain via lazarus

I'm use fpc trunk and Lazarus trunk (rev. 65050)


Link to screenshot

https://imgur.com/RFC3Ckm

--
/-- with best regards, Zoltanleo aka Док/
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Linux: Unknown property "ParentBackground"

2021-04-22 Thread Leyba Bronstain via lazarus

Hi guys

Seems to be I found the bug.

Test case:
- create new project on Windows
- put the groupbox on the form
- set to Groupbox.ParentBackgroud property value False and save project
- open project on Linux

Let's get error (see attachment):

Stream=TForm1: Root=:TForm1
Component Class: TGroupBox
Error reading GroupBox1.ParentBackground: Unknown property: 
"ParentBackground"

Stream position: 199

I think this is a bug


/-- with best regards, Zoltanleo aka Док/
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Issues getting sources from the repository

2020-12-27 Thread Leyba Bronstain via lazarus

26.12.2020 13:29, Graeme Geldenhuys via lazarus пишет:

On 26/12/2020 9:37 am, Лев Бронштейн via lazarus wrote:

I wanted to find out the reason why the server is constantly connecting.
This has been happening regularly lately.

Feel free to try out the unofficial Lazarus Git mirror. It tracks the "master"
branch only, fetches the latest commit every 15 minutes. It might be unofficial,
but has been running for the last 8 years already. :-)

First time only:
   git clone https://github.com/graemeg/lazarus.git

Subsequent updates:
   cd lazarus
   git pull


More details here:
   https://wiki.lazarus.freepascal.org/git_mirrors
Regards,
   Graeme


Hi Graeme.

Thank a lot for more info

--
/-- with best regards, Zoltanleo aka Док/
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Issues getting sources from the repository

2020-12-25 Thread Leyba Bronstain via lazarus

Hi guys.

When I try to get the fpc/lazarus source code from the repository using 
the svn-client, the server drops the connection. These cases are 
observed several times during the process. I have to run the svn client 
several times. It looks something like this


C:\Users\leyba>md c:\test
C:\Users\leyba>cd c:\test
C:\test>svn co https://svn.freepascal.org/svn/fpc/trunk fpc_trunk
A    fpc_trunk\compiler

svn: E120108: Error running context: The server unexpectedly closed the 
connection.

C:\test>svn cleanup fpc_trunk
C:\test>svn co https://svn.freepascal.org/svn/fpc/trunk fpc_trunk

etc.

Somebody tell me pls, what happened?

--
/-- with best regards, Zoltanleo aka Док/
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Tool to make icons ?

2020-05-21 Thread Leyba Bronstain via lazarus

21.05.2020 17:13, Michael Van Canneyt via lazarus пишет:


Hi,

What is the tool used to make icons for standard Lazarus components ?
Every time I need to make an icon for a component, I find myself in 
the situation that I start looking for a tool on internet.


Should not lazarus come out of the box with a basic tool that allows 
you to

create component icons with the correct sizes ?

Michael.


IMO, inkscape

https://inkscape.org/

--
/-- with best regards, Zoltanleo aka Док/
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-05-03 Thread Leyba Bronstain via lazarus

03.05.2020 19:23, Sven Barth пишет:
FPC only provides a 32-bit -> 64-bit cross compiler as installer and 
that is indeed made using the 32-bit compiler. Lazarus however ships 
with a native 64-bit compiler.


I don't know how you created your fpc_stable_x64\bin\x86_64-win64 
directory, but maybe that some utilities have different versions than 
the ones in the fpc_stable_x32\bin\i386-win32 directory might explain 
the problems you experience.


Regards,
Sven


Hi Sven.

I tried to get a ready-made stable version of fpc 3.0.4 x64 in different 
ways (this could be the Lazarus 2.0.8 installer or fpcupdeluxe). This 
was not a success.


After your assumptions, I decided to use only the compiler sources from 
the standard x32 package and the cross-compilation package. As a result, 
I followed several steps and managed to get a positive result. I have 
done the following:


1. I ran fpc-3.0.4.i386-win32.exe and 
fpc-3.0.4.i386-win32.cross.android.exe and installed the compiler 
sources and binutils


2. I executed the following commands in cmd:

set path=d:\Archive\development\fpc_stable\3.0.4\bin\i386-win32;%path%

make install OS_TARGET=win64 CPU_TARGET=x86_64 CPU_SOURCE=x86_64 
OS_SOURCE=win64 INSTALL_PREFIX=d:\Archive\development\fpc_trunk_x64 
PP=d:\Archive\development\fpc_stable\3.0.4\bin\i386-win32\ppcrossx64.exe 
DATA2INC=d:\Archive\development\fpc_trunk_x64\utils\data2inc.exe


fpcmkcfg -d basepath=d:\Archive\development\fpc_trunk_x64 -o 
.\bin\x86_64-win64\fpc.cfg


replace d:\Archive\development\fpc_stable\3.0.4\binw64\*.* 
d:\Archive\development\fpc_trunk_x64\bin\x86_64-win64 /a


3. Congratulation! Now I have a live compiler trunk revision. :)


Do I used the command line switches for the make command correctly? Tell 
me pls...


--

with best regards, Zoltanleo aka Док


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-05-02 Thread leyba bronstain via lazarus

03.05.2020 0:05, Sven Barth пишет:
Would you please provide a directory listing (using "dir" should be 
enough) of the fpc_stable_x32\bin\i386-win32 and 
fpc_stable_x64\bin\x86_64-win64 directories? I have the feeling that 
something in there leads to this difference as that is the only thing 
you add to PATH.


Regards,
Sven


Do I understand correctly that the ppcx64 files and other files of the 
stable release of the x64 compiler are built from the stable release of 
the x32 compiler and other utilities of the binw64 folder?


Maybe you will tell me the right way, how can I build stable binutils 
x64 using stable binutils x32?


--

with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-05-02 Thread leyba bronstain via lazarus


03.05.2020 0:05, Sven Barth пишет:
Would you please provide a directory listing (using "dir" should be 
enough) of the fpc_stable_x32\bin\i386-win32 and 
fpc_stable_x64\bin\x86_64-win64 directories? I have the feeling that 
something in there leads to this difference as that is the only thing 
you add to PATH.


Regards,
Sven


Hi Sven.

I have attached the result in two files, so that it is convenient for 
you to compare.


--
with best regards, Zoltanleo aka Док

 Том в устройстве D не имеет метки.
 Серийный номер тома: E862-4779

 Содержимое папки d:\Archive\development\fpc_stable_x32\bin\i386-win32

20.04.2020  01:42  .
20.04.2020  01:42  ..
07.04.2012  14:39   599 566 ar.exe
07.04.2012  14:39 1 028 110 as.exe
06.10.2017  19:35   199 680 bin2obj.exe
06.10.2017  19:33   453 632 chmcmd.exe
06.10.2017  19:33   254 976 chmls.exe
30.05.2005  21:05 6 144 cmp.exe
30.05.2005  21:0522 528 cp.exe
30.05.2005  21:0591 136 cpp.exe
16.05.2005  20:37   426 cvsco.tdf
22.01.2007  06:03   672 cvsdiff.tdf
16.05.2005  20:37   323 cvsup.tdf
06.10.2017  19:3546 080 data2inc.exe
06.10.2017  19:3598 816 delp.exe
30.05.2005  21:0532 768 diff.exe
09.03.2011  12:17   689 664 dlltool.exe
16.05.2005  20:37 4 515 fp.ans
20.04.2020  01:41   756 fp.cfg
06.10.2017  19:36 9 794 048 fp.exe
20.04.2020  01:41 1 090 fp.ini
27.05.2006  18:58 4 286 fp32.ico
20.04.2020  11:16 8 185 fpc.cfg
06.10.2017  19:3295 744 fpc.exe
06.10.2017  19:35   284 160 fpcmake.exe
06.10.2017  19:35   221 184 fpcmkcfg.exe
06.10.2017  19:35   327 168 fpcres.exe
06.10.2017  19:35   184 832 fpcsubst.exe
06.10.2017  19:35   838 656 fpdoc.exe
06.10.2017  19:35   181 248 fpmc.exe
06.10.2017  19:35   891 392 fppkg.exe
06.10.2017  19:35   186 880 fprcp.exe
30.05.2005  21:0568 608 gcc.exe
30.05.2005  21:0519 456 gdate.exe
30.01.2011  21:43 3 598 848 gdb.exe
30.05.2005  21:05 4 608 gecho.exe
30.05.2005  21:0518 944 ginstall.exe
21.05.2009  11:36   388 ginstall.exe.manifest
30.05.2005  21:0513 824 gmkdir.exe
07.06.2005  11:47   660 gplprog.pt
07.06.2005  11:47   694 gplunit.pt
30.05.2005  21:0564 000 grep.exe
16.05.2005  20:37   732 grep.tdf
06.10.2017  19:35   307 200 h2pas.exe
06.10.2017  19:3536 864 h2paspp.exe
06.10.2017  19:35   200 704 instantfpc.exe
07.04.2012  14:39   838 670 ld.exe
30.01.2011  21:43   165 513 libexpat-1.dll
15.08.2012  20:36   188 942 make.exe
06.10.2017  19:35   470 016 makeskel.exe
30.05.2005  21:0531 744 mv.exe
07.04.2012  14:39   586 766 nm.exe
07.04.2012  14:39   726 030 objcopy.exe
07.04.2012  14:39 1 092 622 objdump.exe
06.10.2017  19:35   413 184 pas2jni.exe
30.05.2005  21:0528 160 patch.exe
21.01.2010  18:23   388 patch.exe.manifest
06.10.2017  19:35   120 832 plex.exe
06.10.2017  19:3547 616 postw32.exe
06.10.2017  19:33 2 387 968 ppc386.exe
06.10.2017  19:46 2 281 472 ppcrossx64.exe
06.10.2017  19:3540 960 ppdep.exe
06.10.2017  19:32   353 280 ppudump.exe
06.10.2017  19:3295 232 ppufiles.exe
06.10.2017  19:32   109 568 ppumove.exe
16.05.2005  20:3763 program.pt
06.10.2017  19:35   192 512 ptop.exe
30.05.2005  21:05 2 560 pwd.exe
06.10.2017  19:35   136 192 pyacc.exe
30.05.2005  21:0530 720 rm.exe
06.10.2017  19:3589 600 rmcvsdir.exe
06.10.2017  19:35   345 600 rstconv.exe
07.04.2012  14:39   726 030 strip.exe
16.05.2005  20:37 1 059 tpgrep.tdf
16.05.2005  20:3796 unit.pt
06.10.2017  19:35   371 200 unitdiff.exe
30.05.2005  21:0541 472 unzip.exe
01.10.2011  23:34   662 542 windres.exe
30.05.2005  21:05   141 200 windres.h
09.03.2014  12:43   828 430 x86_64-win64-ar.exe
09.03.2014  12:43 1 399 822 x86_64-win64-as.exe
09.03.2014  12:43 1 179 662 x86_64-win64-ld.exe
09.03.2014  12:43   815 630 x86_64-win64-nm.exe
09.03.2014  12:43   965 646 x86_64-win64-objcopy.exe
09.03.2014  12:43 1 469 966 x86_64-win64-objdump.exe
09.03.2014  12:43   965 646 x86_64-win64-strip.exe
09.03.2014  12:43   927 246 x86_64-win64-windres.exe
25.02.2009  21:36 1 345 yylex.cod
25.02.2009  21:36 4 334 yyparse.cod
30.05.2005  21:0532 256 zip.exe
  88 файлов 42 193 987 байт
   2 папок  122 994 081 792 байт свободно
 Том в устройстве D не имеет метки.
 

Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-05-02 Thread leyba bronstain via lazarus

Hi Sven.

01.05.2020 17:10, Sven Barth via lazarus пишет:
Can you please try to execute "make echotime" (in the 
"fpc_331_r45198\compiler" directory ;) ) without any changes to the 
PATH variable?



C:\Users\leyba>cd /d d:\Archive\development\fpc_331_r45227_x64\compiler

d:\Archive\development\fpc_331_r45227_x64\compiler>make echotime
"make" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
(ENG: 'make' is not recognized as an internal or external
command, operable program or batch file)


You also said that when compiling for i386 this worked correctly. 
Would you please "echo %PATH%" before executing "make" in the 
directory with the source for both variants (i386 and x86_64)?


Regards,
Sven


for x32

C:\Users\leyba>echo %path%
c:\;d:\;C:\Program 
Files\Pandoc\;C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl;c:\Program 
Files\TortoiseSVN\bin;c:\Windows\System32\;c:\Program Files\Git\bin\


C:\Users\leyba>cd /d d:\Archive\development\fpc_331_r45227_x32\compiler

d:\Archive\development\fpc_331_r45227_x32\compiler>make echotime
"make" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
(ENG: 'make' is not recognized as an internal or external
command, operable program or batch file)

d:\Archive\development\fpc_331_r45227_x32\compiler>path=d:\Archive\development\fpc_stable_x32\bin\i386-win32;%path%
d:\Archive\development\fpc_331_r45227_x32\compiler>echo %path%
d:\Archive\development\fpc_stable_x32\bin\i386-win32;c:\;d:\;C:\Program 
Files\Pandoc\;C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl;c:\Program 
Files\TortoiseSVN\bin;c:\Windows\System32\;c:\Program Files\Git\bin\


d:\Archive\development\fpc_331_r45227_x32\compiler>make echotime
Start 22:52:28 now 22:52:28



for x64
C:\Users\leyba>echo %path%
c:\;d:\;C:\Program 
Files\Pandoc\;C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl;c:\Program 
Files\TortoiseSVN\bin;c:\Windows\System32\;c:\Program Files\Git\bin\


C:\Users\leyba>cd /d d:\Archive\development\fpc_331_r45227_x64\compiler

d:\Archive\development\fpc_331_r45227_x64\compiler>make echotime
"make" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.

d:\Archive\development\fpc_331_r45227_x64\compiler>path=d:\Archive\development\fpc_stable_x64\bin\x86_64-win64;%path%

d:\Archive\development\fpc_331_r45227_x64\compiler>echo %path%
d:\Archive\development\fpc_stable_x64\bin\x86_64-win64;c:\;d:\;C:\Program 
Files\Pandoc\;C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl;c:\Program 
Files\TortoiseSVN\bin;c:\Windows\System32\;c:\Program Files\Git\bin\



d:\Archive\development\fpc_331_r45227_x64\compiler>make echotime
process_begin: CreateProcess((null), echo Start 22:55:53 now 22:55:53, 
...) failed.

make (e=2): Не удается найти указанный файл.
make: *** [echotime] Error 2


--
with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-04-30 Thread leyba bronstain via lazarus

01.05.2020 1:45, Martin Frb via lazarus пишет:

in your svn checkout dir, is a sub-directory called /compiler
It has the sources for the compiler.

And you should run that particular make command in that dir.


OMG! I thank you for the detailed explanation. Forgive me my 
misunderstanding. I don't really distinguish the subtleties of English 
¯\_(ツ)_/¯


So:

C:\Users\leyba>set 
path=d:\Archive\development\fpc_stable_x64\bin\x86_64-win64;%path%

C:\Users\leyba>cd /d d:\Archive\development\fpc_331_r45198\compiler
d:\Archive\development\fpc_331_r45198\compiler>make echotime
process_begin: CreateProcess((null), echo Start 02:10:01 now 02:10:01, 
...) failed.
make (e=2): Не удается найти указанный файл. (eng: can't find the file 
specified)

make: *** [echotime] Error 2

I start compiler building like this

make clean all install INSTALL_PREFIX=%FPC_source% 
PP=%FPC_stable_binutils%\ppcx64.exe DATA2INC=%FPC_source%\utils\data2inc.exe


Probably the build options should be different. I looked at the command 
line fpcupdeluxe. It applies the patch for Makefile 
(fpcpatch_all_makesearchpath_stable_3_0_4.patch)  and the command line 
options look something like this:


[2020-05-01 01:42:30.296 Info] FPCNativeInstaller (CleanModule: FPC): 
Execute: C:\fpcup\fpcbootstrap\make.exe. Params: 
--jobs=1,FPC=C:\fpcup\fpcbootstrap\ppcx64.exe,--directory=C:\fpcup\fpcsrc,FPCMAKE=C:\fpcup\fpc\bin\x86_64-win64\fpcmake.exe,PPUMOVE=C:\fpcup\fpc\bin\x86_64-win64\ppumove.exe,FPCDIR=C:\fpcup\fpcsrc,PREFIX=C:\fpcup\fpc,INSTALL_PREFIX=C:\fpcup\fpc,UPXPROG=echo,COPYTREE=echo,CPU_SOURCE=x86_64,OS_SOURCE=win64,CPU_TARGET=x86_64,OS_TARGET=win64,distclean


I might experiment with command line options.

--
with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-04-30 Thread leyba bronstain via lazarus

01.05.2020 0:46, Sven Barth via lazarus пишет:

I meant the literal "compiler" directory.

Regards,
Sven


Directory d:\Archive\development\fpc_stable_x64\bin\x86_64-win64 is the 
compiler directory where fpc and ppcx4 are located.


Let's leave it until better times. Apparently I'm just an impassable 
dumbass :)


--
with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-04-30 Thread leyba bronstain via lazarus


01.05.2020 0:25, Sven Barth via lazarus пишет:

You did read the part where I said "go to the compiler directory"? ;)

Regards,
Sven



Hi Sven.

In a previous post, I went to the root directory of the compiler 
trunk(d:\Archive\development\fpc_331_r45198) and called "make echotime". 
Perhaps I misinterpreted your words :)


OK. Now I went to the root directory of the stable version of the x64 
compiler (d:\Archive\development\fpc_stable_x64\bin\x86_64-win64) and 
got the same error:


C:\Users\leyba>cd /d d:\Archive\development\fpc_stable_x64\bin\x86_64-win64

d:\Archive\development\fpc_stable_x64\bin\x86_64-win64>make echotime
make: *** No rule to make target `echotime'.  Stop.


I'm sorry, again, something I misunderstood?

--
with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-04-30 Thread leyba bronstain via lazarus

30.04.2020 8:30, Sven Barth via lazarus пишет:
As I have written on the forum there seems to be some problem with 
"echo" as this is the line the makefile intends to execute:


echotime:
    @echo Start $(STARTTIME) now $(ENDTIME)

Would you please go to the compiler directory and manually execute 
"make echotime" to see whether this works in principle?


Regards,
Sven


Hi Sven.

Thank U for te answer.

I tried using your advice. Here's what I got (the compiler revision 
number is specified in the paths)


d:\Archive\development\fpc_331_r45198>set path=file>;%path%


d:\Archive\development\fpc_331_r45198>@echo Start $(STARTTIME) now 
$(ENDTIME)

Start $(STARTTIME) now $(ENDTIME)

d:\Archive\development\fpc_331_r45198>make echotime
make: *** No rule to make target `echotime'.  Stop.

--
with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Can't build fpc trunk x64 win32/64

2020-04-29 Thread leyba bronstain via lazarus

Hi guys. I need your help.

I try build trunk compiler x64 for windows. I was extract stable release 
fpc_x64 form lazarus-2.0.8-fpc-3.0.4-win64.exe installer and put it to 
separate folder fpc_stable_x64. Also I put into fpc_stable_x64 folder 
bingw64 folder and fixed the file fpc.cfg as follows:


--- code --
    # searchpath for tools
-FDD:\Archive\development\fpc_stable_x64/bin/$FPCTARGET

    # it's doesn't work!
    -FDD:\Archive\development\fpc_stable_x64/binw64/
--- code ---

Then I run the bat-file as follows:

--- code ---
    set FPC_source={}
    set FPC_binutils={}\bin\x86_64-win64
    set FPC_stable_binutils={fpc_stable_x64 root directory 
path}\bin\x86_64-win64


    :: so it works!
    set binw64_path={fpc_stable_x64 root directory path}/binw64
    set path=;%path%

    ...
    cd /d %FPC_source%
    make clean all install INSTALL_PREFIX=%FPC_source% 
PP=%FPC_stable_binutils%\ppcx64.exe DATA2INC=%FPC_source%\utils\data2inc.exe

    ...
--- code ---

During compilation I get an error:

--- code ---
    ...
d:/Archive/development/fpc_stable_x64/bin/x86_64-win64/mv.exe -f 
x86_64/bin/x86_64-win64/pp.exe ppcx64.exe
    make[5]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'

    make echotime
    make[5]: Entering directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'
    process_begin: CreateProcess((null), echo Start now 19:52:42, ...) 
failed.
    make (e=2): Не удается найти указанный файл. The system cannot find the file specified>

    make[5]: *** [echotime] Error 2
    make[5]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'

    make[4]: *** [next] Error 2
    make[4]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'

    make[3]: *** [ppc1.exe] Error 2
    make[3]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'

    make[2]: *** [cycle] Error 2
    make[2]: Leaving directory 
`d:/Archive/development/fpc_331_r44725_x64/compiler'

    make[1]: *** [compiler_cycle] Error 2
    make[1]: Leaving directory `d:/Archive/development/fpc_331_r44725_x64'
    make: *** [build-stamp.x86_64-win64] Error 2
    ...
--- code ---


What am I doing wrong?  Can someone tell me a link to a detailed manual?

--

with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't build chm/html-help by bat-file

2020-04-15 Thread leyba bronstain via lazarus
Thank U very much Marco. I was try use lazarus trunk. It's OK. The 
problem is solved


15.04.2020 13:45, Marco van de Voort via lazarus пишет:

Fixed in trunk


--
with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Can't build chm/html-help by bat-file

2020-04-15 Thread leyba bronstain via lazarus

Hi Rolf. Thank U for the answer.

I solved this problem. To solution this problem, it is enough to delete 
the erroneous first empty line in the file "../../xml/lcl/grids.xml".



15.04.2020 8:05, Rolf Wetjen via lazarus пишет:

Same problem for me.

Try to open grids.xml with a xml viewer (Chrome, IE, Edge, ...). It 
will show you what's wrong.

It was easy but I don't remember the details.

Rolf



--
with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Can't build chm/html-help by bat-file

2020-04-14 Thread leyba bronstain via lazarus

Hi guys.

I use fpc r.44647 and Laz r.62917

I can't build chm/html-file for Windows from embedded batch-file. I 
pointed out correctly path to fpc (i.e. 
PATH=d:\Archive\development\fpc_331_r44647\bin\i386-win32\;%PATH%), 
compiled and build build_lcl_docs.exe. I get next error after starting 
build_lcl_docs.exe:


...

Created lazutils.xct
===
Creating directory "D:\Archive\development\lazarus_21_r62917\docs\html\lcl"
FPDoc - Free Pascal Documentation Tool
Version 3.3.1 [2020/04/09]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, s...@freepascal.org
(c) 2005 - 2012 various FPC contributors

Exception at 0049464D: EXMLReadError:
In 'file:../../xml/lcl/grids.xml' (line 2 pos 3): XML declaration is not 
allowed

 here.
408 Warnings hidden. Use --warnings to see them all.
An unhandled exception occurred at $00404109:
Exception: File not found: 
D:\Archive\development\lazarus_21_r62917\docs\html\lc

l\lcl.xct
  $00404109  TFPDOCRUN__RUNFPDOC,  line 521 of build_lcl_docs.lpr
  $00404242  TFPDOCRUN__COPYTOXCTDIR,  line 537 of build_lcl_docs.lpr
  $004045FB  TFPDOCRUN__EXECUTE,  line 569 of build_lcl_docs.lpr
  $004047A6  main,  line 594 of build_lcl_docs.lpr


D:\Archive\development\lazarus_21_r62917\docs\html>pause
Press any key . . .


Can U help me?

--
with best regards, Zoltanleo aka Док

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] OPM: Incompatible package list

2019-06-27 Thread leyba bronstain via lazarus

Yes, U're right. Thanks for the answer.

27.06.2019 16:47, Balázs Székely via lazarus пишет:

Hi,

It's just a warning message. The package maintainer does not support 
fpc trunk.


regards,
Balázs

On Wed, Jun 26, 2019 at 1:15 AM leyba bronstain via lazarus 
mailto:lazarus@lists.lazarus-ide.org>> 
wrote:


Hi all.

I observe the latest versions of the compiler such an error (for more
see the attachment) when I try to install any component from the OPM.

Any thoughts?

I try to use fpc trunk(r42282)/lazarus trunk(r61478) x32 on Win7 x64

-- 
with best regards, Zoltanleo


-- 
___

lazarus mailing list
lazarus@lists.lazarus-ide.org <mailto:lazarus@lists.lazarus-ide.org>
https://lists.lazarus-ide.org/listinfo/lazarus



--
with best regards, Zoltanleo

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] OPM: Incompatible package list

2019-06-25 Thread leyba bronstain via lazarus

Hi all.

I observe the latest versions of the compiler such an error (for more 
see the attachment) when I try to install any component from the OPM.


Any thoughts?

I try to use fpc trunk(r42282)/lazarus trunk(r61478) x32 on Win7 x64

--
with best regards, Zoltanleo

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] I found an AnchorDockingDsgn package bug?

2019-06-14 Thread leyba bronstain via lazarus

Hi.

After installing the AnchorDockingDsgn package for Win7 x64, I noticed a 
strange IDE behavior. If you dock any other window to the Source Code 
Editor in the manner shown in the figure, then it becomes impossible to 
close any tab of the Source Code Editor using the mouse (using the 
shortcuts, the tab is closed correctly). It's a bug?


See more here: 
https://forum.lazarus.freepascal.org/index.php/topic,45728.0.html


With best regards, Zoltanleo



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] What happened to LazWiki?

2019-06-06 Thread leyba bronstain via lazarus

OK. Thank U.

07.06.2019 0:16, Michael Van Canneyt via lazarus пишет:



On Thu, 6 Jun 2019, leyba bronstain via lazarus wrote:

For some time, I receive the message “The wiki is currently in 
read-only mode. Problems with the file system ... "when I try to edit 
the page. Does anyone have information about what happened?


The filesystem of the virtual machine was damaged. We're in the 
process of

moving the wiki to another machine.

Michael.


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] What happened to LazWiki?

2019-06-06 Thread leyba bronstain via lazarus
For some time, I receive the message “The wiki is currently in read-only 
mode. Problems with the file system ... "when I try to edit the page. 
Does anyone have information about what happened?


WBR, ZoltanLeo

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Source Editor menu item doesn't work

2019-04-29 Thread leyba bronstain via lazarus

Hi all.

I use lazarus trunk v.61066 x32 on win7 x64. Menu item of Source Editor 
"Close Page" (see attach) doesn't work if I click it. By default 
keyboards shortcut + close current page correctly.



WBR, Zoltanleo




-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TLabeledEdit: Incorrect component anchoring

2019-04-11 Thread leyba bronstain via lazarus

Sorry, my email client works disgustingly today :(

WBR, Zoltanleo.



 Hi all.

 Looks like I found a bug. To the top side anchors Edit
 subcomponent instead SubLabel



--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] TLabeledEdit: Incorrect component anchoring

2019-04-11 Thread leyba bronstain via lazarus


 Hi all.

 Looks like I found a bug. To the top side anchors Edit
 subcomponent instead SubLabel
 



 subcomponent.
 



 I created a separate topic here:
 
https://forum.lazarus.freepascal.org/index.php/topic,45020.0.html


 I told all the details there (test project and picture).
 


WBR, Zoltanleo.


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] WordWrap doesn't work for TStaticText on Linux GTK2?

2019-04-07 Thread leyba bronstain via lazarus
For detail, please, see 
https://forum.lazarus.freepascal.org/index.php/topic,44965.0.html



WBR, Zoltanleo

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Compilation error Lazarus r.60828

2019-04-04 Thread leyba bronstain via lazarus

It's OK. Thank a lot.

04.04.2019 20:41, Juha Manninen via lazarus пишет:

On Thu, Apr 4, 2019 at 4:01 PM leyba bronstain via lazarus
 wrote:

Pls, fix it.

Fixed. Please test with latest trunk.
See also:
  https://bugs.freepascal.org/view.php?id=35310

Juha

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Compilation error Lazarus r.60828

2019-04-04 Thread leyba bronstain via lazarus

When I try to compile subj I get error message

(3104) Compiling generatefppkgconfigurationdlg.pas
d:\\lazarus_21_r60828\ide\generatefppkgconfigurationdlg.pas(9
1,63) Error: (5000) Identifier not found "GetFPCVer"
d:\\lazarus_21_r60828\ide\generatefppkgconfigurationdlg.pas(9
1,92) Error: (5000) Identifier not found "GetFPCVer"
generatefppkgconfigurationdlg.pas(490) Fatal: (10026) There were 2 
errors compil

ing module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [lazarus.exe] Error 1
make[2]: Leaving directory `d://lazarus_21_r60828/ide'
make[1]: *** [bigide] Error 2
make[1]: Leaving directory `d://lazarus_21_r60828/ide'
make: *** [idebig] Error 2


Pls, fix it.

WBR, Zoltanleo


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Problem when installing components on the latest lazarus trunk

2019-01-18 Thread leyba bronstain via lazarus

Hi all.

I use lazarus trunk r60103 and fpc trunk r40898. I found that I can't 
install some components in these revisions. For example, I get such errors:


for RicnMemo
win32richmemoole.pas(60,23) Error: No matching implementation for 
interface method "SetData(const tagFORMATETC;var 
TagSTGMEDIUM;LongBool):LongInt; StdCall;" found


for HashLib
HlpAdler32.pas(16,14) Error: No matching implementation for interface 
method "GetBlockSize:LongInt;" found


for BGRABitmap
bgratextbidi.pas(229,67) Error: Only static methods and static variables 
can be referenced through an object type


But these components are well installed, for example, for lazarus r59890 
and fpc r40550.


It's a bug?


With best regards, Zoltanleo

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus