Lazarus

Announcements => Lazarus => Topic started by: mattias on October 13, 2017, 08:23:37 pm

Title: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: mattias on October 13, 2017, 08:23:37 pm
The Lazarus team is glad to announce the fifth release candidate of Lazarus 1.8.

The Windows release was built with FPC 3.0.4 final svn version, the Linux release was built with FPC 3.0.4RC1, and the Mac OS release was built with FPC 3.0.2.

The previous release Lazarus 1.6.4 was built with FPC 3.0.2.
https://bugs.freepascal.org/view.php?id=31629

Here is the list of fixes for Lazarus 1.8.x:
http://wiki.freepascal.org/Lazarus_1.8_fixes_branch

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_1.8.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.0.4

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 1.8 RC5" directory.

Checksums for the SourceForge files:
http://www.lazarus-ide.org/index.php?page=checksums#1_8_0RC5

Minimum requirements:

Windows:       
  2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.

FreeBSD/Linux:
  gtk 2.8 for gtk2, qt4.5 for qt, qt5.6 for qt5, 32 or 64bit.

Mac OS X:
  10.5 to 10.12; Carbon (32bit), Cocoa (64bit, not stable), qt and qt5 (32 or 64bit).

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC5

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at:
ftp://ftp.freepascal.org/pub/lazarus/releases/
and later at (after some time for synchronization)
http://mirrors.iwi.me/lazarus/

== Why should everybody (including you) test the release candidate? ==

In the past weeks the Lazarus team has stabilized the 1.8 fixes branch.
The resulting 1.8RC5 is now stable enough to be used by any one for test purposes.

However many of the fixes and new features that where committed since the release of 1.6 required changes to the code of existing features too. While we have tested those ourself, there may still be problems that only occur with very specific configurations or one project in a million.

Yes, it may be that you are the only person with a project, that will not work in the new IDE. So if you do not test, we can not fix it.

Please do not wait for the final release, in order to test. It may be too late. Once the release is out we will have to be more selective about which fixes can be merged for further 1.8.x releases. So it may be, that we can not merge the fix you require. And then you will miss out on all the new features.

== How to test ==

Download and install the 1.8 RC5.
- On Windows you can install as a 2ndary install, that will not affect your current install:
  http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
- On other platforms, if you install to a new location you need to use --primary-config-path

In either case you should make backups. (including your primary config)

Open your project in the current Lazarus (1.6.x), and use "Publish Project" from the project menu. This creates a clean copy of your project.

You can then open that copy in the RC5. Please test:
- If you can edit forms in the designer
   - rename components / change properties in Object inspector / Add new events
   - Add components to form / Move components on form
   - Frames, if you use them
- If you can navigate the source code (e.g. jump to implementation)
- Auto completion in source code
- Compile, debug and run
- Anything else you use in your daily work


Mattias
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 13, 2017, 08:43:59 pm
Hi
Installed RC5 into New folder, and set as secondary installation.  ( OS Windows 10 64, installing Win 32 Lazarus )
When Started could not locate fpc sources.
After setting this, then thought I would try OPM.
Located OPM in Components folder of New Installation, but package does not compile.
Code: [Select]
actionseditor.pas(29,3) Fatal: Cannot find LCLIntf used by ActionsEditor, incompatible ppu=C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu, package LCLBase
.

Cannot test much further as using OPM to install my base components.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 13, 2017, 09:41:49 pm
It works here (32 bit). Though I did not use a 2ndary install, but I did clean out the old config instead.
I did not need to adjust any path.

Actually I also went to menu: Package > Install/Uninstall Packages
and installed OPM from there, rather than opening the package.

May be a silly question, but when you opened the package, are you sure you where in the directory of the 2ndary install, and not by accident opened the package from your primary install?


Need some more info:
- What is the path to which you installed (eg: c:\lazarus2 or d:\laz_rc) ?
- What is the path of the directory you gave for config?
- Go to menu: View > Ide Internals > About IDE
  Copy and paste the content.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: benohb on October 13, 2017, 10:03:03 pm
nice
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 13, 2017, 10:33:35 pm
Hi Martin
Quote
Lazarus version: 1.8.0RC5
Lazarus svn revision: 56026
Lazarus build date: 2017/10/11
Lazarus was compiled for i386-win32
Lazarus was compiled with fpc 3.0.4

Global IDE options:
Primary config directory=C:\lazarus18rc5
Secondary config directory=C:\lazarus18rc5
LazarusDirectory=
Real LazarusDirectory=C:\lazarus18rc5\
Default CompilerFilename=fpc.exe
Real Default CompilerFilename=C:\lazarus18rc5\fpc\bin\i386-win32\fpc.exe
Project CompilerFilename=$(CompPath)
Real Project CompilerFilename=C:\lazarus18rc5\fpc\bin\i386-win32\fpc.exe
CompilerMessagesFilename=
Real CompilerMessagesFilename=C:\lazarus18rc5\components\codetools\fpc.errore.msg
FPC source directory=C:\lazarus18rc5\fpc\3.0.4\source
Real FPC source directory=C:\lazarus18rc5\fpc\3.0.4\source\
Test directory=C:\Users\Josh\AppData\Local\Temp\
Real Test directory=C:\Users\Josh\AppData\Local\Temp\

Working directory=C:\lazarus18rc5
Application.ExeName=C:\lazarus18rc5\lazarus.exe

Parameters:
C:\lazarus18rc5\lazarus.exe
--no-splash-screen
--started-by-startlazarus
--primary-config-path=C:\lazarus18rc5
--force-new-instance

Environment variables:
=::=::\
=::=::\
ALLUSERSPROFILE=s:\Documents and Settings\All Users\Application Data
APPDATA=C:\Users\Josh\AppData\Roaming
CommonProgramFiles=C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=DESKTOP-QJ9CDQS
ComSpec=C:\Windows\system32\cmd.exe
devmgr_show_nonpresent_devices=1
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING=Default
HOMEDRIVE=C:
HOMEPATH=\Users\Josh
LOCALAPPDATA=C:\Users\Josh\AppData\Local
LOGONSERVER=\\DESKTOP-QJ9CDQS
NUMBER_OF_PROCESSORS=8
OneDrive=C:\Users\Josh\OneDrive
OS=Windows_NT
Path=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\lazarus_trunk\fpc\bin\i386-win32;;C:\Program Files (x86)\RemObjects Software\Elements\bin;C:\Program Files\PuTTY\;C:\Users\Josh\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\FreeArc\bin;C:\Program Files\Bandizip\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 1 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=23
PROCESSOR_REVISION=0101
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files (x86)
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\Josh\AppData\Local\Temp
TMP=C:\Users\Josh\AppData\Local\Temp
USERDOMAIN=DESKTOP-QJ9CDQS
USERDOMAIN_ROAMINGPROFILE=DESKTOP-QJ9CDQS
USERNAME=Josh
USERPROFILE=C:\Users\Josh
VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 13, 2017, 10:34:24 pm
Screen captures that show sequence.

Sorry playing GTA V :)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 13, 2017, 11:04:10 pm
I just installed myself a 2ndary install to C:\lazarus18rc5

Setting the config to the same directory.
(I am not sure, but I think I remember that there are issues if the config path is equal to the install path / I recommend C:\lazarus18rc5\conf )

I did not get any errors, neither regards to fpc, nor opening or compiling opm.


Your "About IDE" looks ok to me.


When you get the error, please right click the message window, and select: copy > copy all/original messages.

Maybe this will yield some more info.


You may have first to go to tools > configure build lazarus
There put   -va    into the options field and save the settings (no need to build)

Then trigger the error.
copy all/original messages, but do NOT paste all of it here.
put in a local editor and search for lclintf (the unit that failed)

You will see lines like
Code: Pascal  [Select][+][-]
  1. [0.353] (10000) Unitsearch: C:\lazarus18rc5\packager\units\i386-win32\LCLIntf.ppu
  2. [0.353] (10000) Unitsearch: C:\lazarus18rc5\packager\units\i386-win32\LCLIntf.pp
  3. [0.353] (10000) Unitsearch: C:\lazarus18rc5\packager\units\i386-win32\LCLIntf.pas

And then either it does not find it at all (in which case it will be interesting to see what all the pathes where).
Or it will find it, but reject due to some error.

If it finds it there will be a line "PPU loading"
Code: Pascal  [Select][+][-]
  1. [0.353] (10001) PPU Loading C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu
  2. [0.353] (LCLINTF)  (10002) PPU Name: C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu
  3. [0.353] (LCLINTF)  (10005) PPU Time: 2017/10/11 18:13:10
  4. [0.353] (LCLINTF)  (10003) PPU Flags: 4395139
  5.  
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on October 13, 2017, 11:14:31 pm
I did a secondary install, too. And everything was running fine. Installed OP - fine. Installed a few packages -- fine.

Maybe you got trapped by your antivirus? (Windows Defender did not want me to execute the downloaded installer because it is not signed, but I could define an exception).
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 13, 2017, 11:31:50 pm
Hi Added a zip of the log, I could not see any thing odd, apart from the error, all the paths seemed fine.

This machine has many seperate folders for various versions of Lazarus, It has a Lazarus trunk folder that has multiple cross compilers, whether these are somehow interferring ?

I will attempt a clean install on another system that does not have any previous lazarus installations.

I have checked my AV/fireall for any triggered events and nothing has been triggered.

Will report back after tried on Vanilla System.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on October 13, 2017, 11:43:42 pm
Yes the old installations somehow interfere. It does not find units that were moved or added.
A clean build usually helps then. Did you try it?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 14, 2017, 12:07:21 am
Hi JuhaManninen
Good call, before I rebuilt I also explicity set the folder for fpc compiler to the full path and filename of the 3.0.4 compiler; rather than just fpc.
Just in case somthing odd happening; the clean all rebuilt when complete and restarted i was then able to install OPM and now installing some of my base packages to start some testing.

Probably did not need to explicitly set the full file and path for fpc; but so far it's working :)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 14, 2017, 12:11:42 am
Ok found some more
Code: Pascal  [Select][+][-]
  1. [0.119] (10001) PPU Loading C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu
  2. [0.119] (LCLINTF)  (10002) PPU Name: C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu
  3. [0.119] (LCLINTF)  (10008) PPU Invalid Version 173
  4.  

This means it was build with a version of fpc different to the one you use.

And I found this line in your log:
Code: Pascal  [Select][+][-]
  1. [0.016] Free Pascal Compiler version 3.1.1-r37445 [2017/10/11] for i386
  2.  

At some point you are loading the wrong fpc.
Or If you got the right fpc, then it uses the wrong ppc386

But then at the end it says
Code: Pascal  [Select][+][-]
  1. Error: C:\lazarus18rc5\fpc\bin\i386-win32\ppc386.exe returned an error exitcode
  2.  

Which I don't understand. That should be 3.0.4

I downloaded the sourceforge rc5 32 bit right now. And in that install, that file identifies as  3.0.4
(And if I build opm with the rc5 I downloaded then it says 3.0.4 in the location where yours says 3.1.1)

----------------------
Bottom line:
I am not sure where the problem is, but it seems to be in your config.
Somehow your install uses the wrong fpc.

Or check your download, see if it has the right checksum.
Code: Pascal  [Select][+][-]
  1. fciv.exe -both lazarus-1.8.0RC5-fpc-3.0.4-win32.exe
  2. //
  3. // File Checksum Integrity Verifier version 2.05.
  4. //
  5.                 MD5                             SHA-1
  6. -------------------------------------------------------------------------
  7. 932252b15e118c380fd3021e1d6a893b 8a275d18533ac2e37ce77f234f3ef4c229da3ab8 lazarus-1.8.0rc5-fpc-3.0.4-win32.exe
  8.  
  9.  

Checksums are on our website. fciv.exe can be downloaded from https://www.microsoft.com/en-gb/download/details.aspx?id=11533
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 14, 2017, 12:15:01 am
Now I see it:
Error: C:\lazarus18rc5\fpc\bin\i386-win32\ppc386.exe

should be
C:\lazarus18rc5\fpc\3.0.4\bin\i386-win32\ppc386.exe


This explains also why fpc src were not found. You had an alternative fpc in the pas, and the IDE did find it.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 14, 2017, 12:20:31 am
There may still be an issue, the IDE should have detected the need to rebuild the lclintf
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 14, 2017, 12:35:04 am
Hi

Good catch.

The only location that i have fpc 3.1.1 is in my Lazarus Trunk folder; which is the one that has my trunk lazarus and cross compilers in.
I know I have this folder set in my system PATH environment.

Is 1.8 going to have problems with this, as if its picking up fpc 3.1.1 from non related folder ( although in system search path).

Would me setting explicitly the path to fpc in RC5 resolve the problem; or are likely other things to happen ( like you say LCLINTF should have been reported need to re-build).

I will do some test of building copying an old large project with many units in and compile it with rc5 and thoroughly go through the log to check which fpc version is being used and if its being used consistanly through the build.

I will also create a test app with lots of 3rd party comps on it and cross build to x64 and log the output to make sure the correct x-compiler is being used and that 3.1.1 has not been invoked somewhere.

Thanks for your help...

I have checked and the fpc in rc5 is 3.0.4.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 14, 2017, 12:48:24 am
I would expect that once you set it correct, it should be fine.

But you need to ask someone from the fpc team, how exactly ppc is found by fcp, and which places are searched.

Note that it looks that you had an 3.1.1 install at C:\lazarus18rc5\fpc\bin\i386-win32\ppc386.exe

So inside the C:\lazarus18rc5.

That would be why the IDE picked it up when creating its initial conf.
The IDE looks in a few places itself, but only when it runs "setup", after that it sticks to config.

Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 14, 2017, 12:58:44 am
Hi Martin,

Just checked the ppc in my rc5 folder and it reports itself as 3.0.4.
I am getting a little nervous now as to why it picked up the 3.1.1. and if it will do this again, i suspect its my config as I do have 3.1.1 installed.

Its midnight here now; so I will do some diagnostics tomorrow, if i can compile some bigs apps and packages and they all compile using 3.0.4 as its now set with its full path, Its not a big deal.

Maybe I should have tested some other RC version prior ..

Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 14, 2017, 01:46:04 am
Note the diff in the 2 pathes:

Code: Pascal  [Select][+][-]
  1. C:\lazarus18rc5\fpc\3.0.4\bin\i386-win32\
  2. C:\lazarus18rc5\fpc\bin\i386-win32\
  3.  

The upper one is good, and comes with the install.

The lower one does not come with the install, but can be found in your log.
But the lower one is all over your log. It got used, and it has the wrong fpc.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 14, 2017, 02:11:06 am
Hi

This is what is worrying me a bit, that folder does not exist in my install, even though it's in the log....

I posted a screen capture of the folders and files previously, where you can see the folder fpc/bin/...  is not listed.

i think I will remove the whole install and start again, can I just remove the folder and start again, or is there a special means to remove it.

I have used fpcupdeluxe for a while now and everything is kept in install folder, from memory of a few years back laz kept settings in various locations.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 14, 2017, 02:32:08 am
If that folder does not exist, then that is strange indeed.

That output is all done by fpc.

But if you look back at the data, you posted from the IDE view menu: IDE internals: The same wrong path was detected by the IDE.
So the IDE too thought that the folder exists.

----------------

You can just delete the folder.

The only thing outside the folder is the registry entry that says where the uninstaller is (not used by lazarus, just by innodb)

I am not sure that is kept for 2ndary installs.

Also startmenu entry, if you created it.

The config was in the forder, since you did set it the same folder.
I recommend c:\lazarusrc5\conf for that


Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 14, 2017, 02:40:30 am
I'll remove and try again later today, its 1:30am now; so a clear head for next time I think is the order of the day.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Josh on October 14, 2017, 12:46:22 pm
Update
My problem is the fact that I have my fpc 311 set in my system path.
Attached issues when fpc311 is set in PATH.

If i remove from path and install, it all goes well and all locations are set correctly.



Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Eugene Loza on October 14, 2017, 02:07:55 pm
Cool!!!! Thank you!
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: ahiggins on October 16, 2017, 11:24:01 am
great work, many thanks
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: avra on October 16, 2017, 03:48:33 pm
If i remove from path and install, it all goes well and all locations are set correctly.
Even make in path can cause problems. This is a BAT workaround for CodeTyphon Win32 that could be adapted to work with Lazarus:
Code: Pascal  [Select][+][-]
  1. @echo off
  2. @set path=c:\codetyphon;c:\codetyphon\fpc\bin\i386-win32;c:\windows;c:\windows\system32
  3. c:
  4. cd c:\codetyphon\
  5. setup.bat
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 16, 2017, 07:09:35 pm
I dont think a batch job is the way.

Also I am not sure how/if the path is used on other platforms.

I do think the setup screen of the IDE should warn, if there is an fpc in the laz_install/fpc  AND in $PATH.

Anyway this should probably go to mantis/bugtracker
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JD on October 17, 2017, 01:08:57 pm
Hi there,

The installation went well for me. But when I tried to rebuild Lazarus with my previous confguration (Lazarus 1.8 Release 4), I got some errors in sourcefilemanager.pas. See screenshot

Thanks,

JD
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Ondrej Pokorny on October 17, 2017, 02:25:59 pm
Hi there,

The installation went well for me. But when I tried to rebuild Lazarus with my previous confguration (Lazarus 1.8 Release 4), I got some errors in sourcefilemanager.pas. See screenshot

Thanks,

JD

You are obviously not using a stable FPC release, so you have to keep your moving FPC branch/installation updated.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JD on October 17, 2017, 03:02:33 pm
You are obviously not using a stable FPC release, so you have to keep your moving FPC branch/installation updated.

Are you trying to tell me that Lazarus 1.8 R5 is not stable?  :D :D
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 17, 2017, 03:45:51 pm
Check that your Lazarus installation is using the correct version of FPC.
That is the one in your_laz_rc5_dir\fpc\3.0.4\....

Did you select "clean all" for the rebuild?

Did you make the install into an empty dir, or did you install over an old installation? (In case of the latter "clean all" may help, but not always)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: adilsonpazzini on October 17, 2017, 07:12:24 pm
using the compomente
TRxDateEdit, and after the update is not passing the focus to the next component in the sequence of TabOrder.
Someone with the same problem?

Adilson Pazzini .
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Michl on October 17, 2017, 08:02:14 pm
using the compomente
TRxDateEdit, and after the update is not passing the focus to the next component in the sequence of TabOrder
If this control is inherited from TCustomAbstractGroupedEdit, the bug is fixed in Lazarus trunk and merged to Lazarus 1.8 branch (the bugfix not reached Lazarus 1.8 RC5). https://bugs.freepascal.org/view.php?id=32533 (https://bugs.freepascal.org/view.php?id=32533)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JD on October 17, 2017, 10:50:33 pm
Check that your Lazarus installation is using the correct version of FPC.
That is the one in your_laz_rc5_dir\fpc\3.0.4\....

Did you select "clean all" for the rebuild?

Did you make the install into an empty dir, or did you install over an old installation? (In case of the latter "clean all" may help, but not always)

Thanks Martin_fr. It worked.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: soerensen3 on October 18, 2017, 01:26:58 am
I really like how Lazarus and FPC have improved over the years. The source editor is almost perfect and I've never seen such a good syntax completion for any other language.
There is just one problem I really wish that would be "fixed". I usually dock the project inspector and all package inspector windows to the side by stacking them so you can use the tabs to see all your files. This is really great if you work with many files as you don't have to search them in the source editor. But after restarting the IDE all windows except for the project inspector a floating again and have to be docked again. Also the file properties panel in the takes way too much space if you have a small screen. It's not that often enough that you change an attribute there to justify a panel in my opinion. Maybe a dialog would be better there. Though the panel can be resized to the bottom, this has to be done for each package and every time the IDE is restarted. Is it just me that has this problem?
I would really like to contribute to Lazarus, but I feel extending the IDE has a very steep learning curve. There are only very basic tutorials and code samples and one would have to figure out most of the things by looking through all the code and see how things are done in third party packages. It would be great if every component of the IDE was a package itself so one could find things more easily.

Great work anyway! I always enjoy trying the new releases!
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: adilsonpazzini on October 18, 2017, 12:48:40 pm
using the compomente
TRxDateEdit, and after the update is not passing the focus to the next component in the sequence of TabOrder
If this control is inherited from TCustomAbstractGroupedEdit, the bug is fixed in Lazarus trunk and merged to Lazarus 1.8 branch (the bugfix not reached Lazarus 1.8 RC5). https://bugs.freepascal.org/view.php?id=32533 (https://bugs.freepascal.org/view.php?id=32533)
thanks for the answer ...

I saw that the problem was solved, but I saw that this one informing you that it was for version 1.9, will this correction turn to 1.8?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Michl on October 18, 2017, 03:37:23 pm
I saw that the problem was solved, but I saw that this one informing you that it was for version 1.9, will this correction turn to 1.8?
Yes, it was merged to 1.8 branch in revision 56039, so it would be in the 1.8 final release.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: swierzbicki on October 20, 2017, 09:15:27 am
It looks like WinCE platform has issues with Lazarus v1.8 RC5.

I have attached a picture + demo project.

Compile under arm / wince platform.
Execute project
Actually : a dialog box is displayed with no content. Wince taskbar is flikering a lot. After +/- 30sec application is automatically closed
Expected : dialog box should be correctly displayed and application shouldn't crash
Workaround : the same project is well working with Lazarus 1.6

Ps : I cannot debug WinCE project anymore as the linker fails with an error message (Fatal error "Executable image size is too big for wince target")

Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: zoltanleo on October 20, 2017, 12:30:58 pm
Hi all.

I faced a problem of a draw of the hidden panel for Lazarus trunk linux (the problem is described here (http://forum.lazarus.freepascal.org/index.php/topic,38663.0.html)). I decided to check for RC5. The problem remains.

It is a bug?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: zoltanleo on October 20, 2017, 12:33:45 pm
more attachment
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 20, 2017, 05:27:28 pm
Ps : I cannot debug WinCE project anymore as the linker fails with an error message (Fatal error "Executable image size is too big for wince target")

Try external symbol info?

If not try disable debug info for all packages.
Either go to each package, and set debug info to none.
Or (not tested) use "project options": "Additions and overrides", add a target "*,-#project" without the quotes (you can add -LCL) to step into LCL too.). Then set options to -g-

If you need line info only for a package, try -gl for that package (considerable less info than all with full symbols)

If all else fails try smart linking.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: swierzbicki on October 21, 2017, 06:48:13 pm
Try external symbol info?

If not try disable debug info for all packages.
Either go to each package, and set debug info to none.
Or (not tested) use "project options": "Additions and overrides", add a target "*,-#project" without the quotes (you can add -LCL) to step into LCL too.). Then set options to -g-

If you need line info only for a package, try -gl for that package (considerable less info than all with full symbols)

If all else fails try smart linking.

I've tried to set external symbol info but this doesn't helps.

I'll try to disable debug info for all packages, but how to do it ?

What I fear the most is that these Wince issues won't be corrected !
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 21, 2017, 07:05:21 pm
I'll try to disable debug info for all packages, but how to do it ?

What I fear the most is that these Wince issues won't be corrected !

See the comment on "Additions and overrides" (look in the project options).

Make sure you report the issue on Mantis, in addition to discussing it here.

Another thing that may help, is to find the revision that broke it.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Groffy on October 23, 2017, 09:47:20 am
The Windows release was built with FPC 3.0.4 final svn version, the Linux release was built with FPC 3.0.4RC1, and the Mac OS release was built with FPC 3.0.2.

Is there somewhere a separate FPC 3.0.4 installer available? I'm normaly taking Lazarus from svn repository and install FPC separately

Best regards
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 23, 2017, 06:10:54 pm
Is there somewhere a separate FPC 3.0.4 installer available? I'm normaly taking Lazarus from svn repository and install FPC separately

Not yet. The FPC team is still building their releases. I dont know when they will have them ready.

They did tag 3.0.4 already. So you can build it from SVN. (That is what the win installer for Lazarus includes)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Windsurfer on October 26, 2017, 05:39:57 pm
I apologize for not checking Mantis, but am away from home with an Android phone And a PC with no internet. I have 1.8RC5 SVN 56112M and fpc 3.04 on X86-64-linux-gtk2 on Linux Mint 1.82. I have found the following problems:
Button color does not change programmatically
Groupbox caption does not expand fully
Groupbox caption does not clear between form show and form activate.
I have code that shows this, but cannot upload it here. I can email it if someone would be happy to give me an address. If they could confirm or otherwise and if necessary post on Mantis, I would be grateful.

Edit:  After more testing the groupbox behaviour is probably as expected. The groupbox expands to show the longest caption in the group. If the groupbox caption is longer than this, it is trunkated.
Edit: Behaviour has changed, so reported in Mantis.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: michaelthuma on October 27, 2017, 09:21:51 am
Thank you. Works great so far here. The only thing left is an 'issue' while debugging I don't really care about.

Given a simple OnClick event handler the following code presents a not updated value in case of c

var
a,b,c : integer
begin
  a := 1;
  b := 2;
  c := a + b;
end;

Debugger shows the initial value even if the cursor is positioned on the line end;

Works if the line c = a + b; is followed by any other statement.

That's little confusing but does not matter in the end and very likely nothing specific to this release.

The real disappointment is the missing ladybug  :( on the Run button. I liked it so much. On the other hand many icons became very professional which make Lazarus look great.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on October 27, 2017, 03:22:57 pm
var
a,b,c : integer
begin
  a := 1;
  b := 2;
  c := a + b;
end;

Debugger shows the initial value even if the cursor is positioned on the line end;

Did you compile with -O1 or -O-

With -O1 the compiler recognizes that c is not used afterwards, and may skip storing it to memory (It will hold it in a register instead, but the compiler tells the debugger, that it was in memory...)

Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 30, 2017, 09:58:18 pm
Playing around with an old project of mine ..

Tested under Windows 7

- no mainfest
- enabled LCL-scaling (Hi-DPI)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 30, 2017, 09:58:39 pm
125 %
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 30, 2017, 10:04:31 pm
150 %
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 30, 2017, 10:05:09 pm
I must check next what happens under Windows 10 ..
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 12:58:55 am
Under Win 10 - 100 %

125 %
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 12:59:28 am
Under Win 10 - 150 %
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 01:02:50 am
Okay, now I know why I never complained ... I never tested higher % under Windows 7. And 150% under Windows 10 seems to be acceptable.

The component TRadioGroup does not paint well under Windows 7
when zooming 150 % .
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on October 31, 2017, 09:01:10 am
Did you follow the rules für DPI-aware applications? http://wiki.lazarus.freepascal.org/High_DPI#High_DPI_in_Lazarus_1.8_and_above
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 12:01:53 pm
Did you follow the rules für DPI-aware applications? http://wiki.lazarus.freepascal.org/High_DPI#High_DPI_in_Lazarus_1.8_and_above
I'll have a look at that, thanks.

But this may have nothing to with ... :

The component TRadioGroup does not paint well under Windows 7 when zooming 150 % .
It paints okay (look at the Radio buttons ..) under Windows 10 when zooming 150 % .

I'll follow the description in Your link and then report here soon !
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on October 31, 2017, 12:08:08 pm
The component TRadioGroup does not paint well under Windows 7 when zooming 150 % .
I doubt that. Before answering I had just tested this with an LCL-scaled project with manifest and Form.Scaled := true - no problem.

You should write a little demo and upload it here.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 01:08:36 pm
Demo follows.

In the first step I simply copied the TRadioGroup
out of my project by Windows Clipboard.

Rows are too narrow now ..
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on October 31, 2017, 01:12:45 pm
What is the left image, and what is the right image?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 01:18:09 pm
Left is design time, right is EXE running.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 01:20:50 pm
Here I added a TRadioGroup. I did this under 100%, in Windows 7
The new TRadioGroup looks okay at 100% in Windows 7, no row overlays.
  (My old TRadioGroup has row overlay even in design time view ..)

Then I rescaled to 150%, now this.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 01:23:10 pm
Here's the ZIP file with the Demo Project
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on October 31, 2017, 03:53:04 pm
Why are you using a fixed-size font in the left radiogroup? It is clear that such a font does not scale well. If I select, for example the true-type font CourierNew, then scaling is correct under Win7 (note I had seen severe line overlapping in your original project, and therefore I resized everything a bit).

P.S.
Since you have the default Delphi7-font MsSansSerif in the left radiogroup I guess that this form originates from Delphi. The first thing which I do when importing anything from Delphi is to replace the form's font by "default" which gives a decent font in all OSs.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 04:12:47 pm
Since you have the default Delphi7-font MsSansSerif in the left radiogroup I guess that this form originates from Delphi. The first thing which I do when importing anything from Delphi is to replace the form's font by "default" which gives a decent font in all OSs.
Oh .. I never thought about that !

Some time ago I converted all my projects from good old Delphi 5.

Maybe an issue for the Delphi => Lazarus Import procedure ?
To automatically replace this misleading MsSansSerif ?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on October 31, 2017, 04:22:27 pm
To automatically replace this misleading MsSansSerif ?
Write a feature request in the bugtracker.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 04:29:35 pm
Write a feature request in the bugtracker.
I'm not good in doing this.
Maybe they again say this is not a valid request.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 05:39:53 pm
Hm, I still get overlapping rows, in Windows 7 + 150 % scaling.
With 125 % and no question 100 % it's okay.

Font is "default" now, and size is = 0

Maybe there are dependencies with graphics cards and their drivers ?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: balazsszekely on October 31, 2017, 05:53:26 pm
@PeterX
Quote
I'm not good in doing this.
Maybe they again say this is not a valid request.
So what? That shoudn't stop you. This is a perfectly valid request, more over the delphi-->lazarus converter is maintained by @JuhaManninen, he never refuses a good idea.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on October 31, 2017, 06:00:16 pm
I still don't understand how the two images relate to each other. If the right image is the upscaled 100% image then why are the texts different?

In my own test, I did not see an effect whether "DPI awareness" is off or on ("Project options" > "Application" > "For windows"), but according to the wiki site it should be on, you have it off.

Another problem can occur if you use both 100% and 150% systems for designing. Because every time the form designed in one resolution is opened in the system with the other resolution the pixel coordinates are recalculated for the new resolution. If you save the form in this resolution and open it again in the first resolution dimension may change slightly due to roud-off errors.

[EDIT]
I see another difference between the left and right screenshots: the left one is themed, the right one not. You should not expect DPI scaling to work exactly between themed and non-themed instances of the same application. System-dependent sizes (such as radiobutton or checkbox sizes) will be different even at 100%.

If you must consider your programs to run in various themes you must not provide some extra space.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 06:13:12 pm
I still don't understand how the two images relate to each other. If the right image is the upscaled 100% image then why are the texts different?
All the images show

on the left:   the Lazarus design mode view
on the right: the compiled and running EXE file.

I don't know why they are different - but THIS is the reason why I write all my posts here !
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 06:16:55 pm
In my own test, I did not see an effect whether "DPI awareness" is off or on ("Project options" > "Application" > "For windows"), but according to the wiki site it should be on, you have it off.
I can not fully follow, my dialogs are in german.
Switching on or off manifest makes no difference.

"LCL-Skalierung verwenden (Hi-DPI)" is switched ON.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 06:20:33 pm
I see another difference between the left and right screenshots: the left one is themed, the right one not. You should not expect DPI scaling to work exactly between themed and non-themed instances of the same application. The sizes will be different even at 100%.
There is no " left and right screenshot".

While running Lazarus RAD IDE I compile and then
move the running EXE window
to the right of the design mode window
and make 1 screenshot.

Or do You mean I have to activate the manifest ?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on October 31, 2017, 06:32:49 pm
In the screenshot you find the recommended settings needed for correct HiDPI (on German Lazarus). The checkbox "Manifest-Resource verwenden..." can be off, but then you must expect some differences between design and run time because the form is designed with themes but runs without themes (that's what you are talking about - it would have been better if you had mentioned these basics in the first place).

Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on October 31, 2017, 06:43:25 pm
Thanks a lot for Your help !

Now it looks as it should .. ;-)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: BeniBela on October 31, 2017, 09:41:06 pm
It becomes harder and harder to find the Messages window

It does not show up in the Alt+Tab list, not in the taskbar, and nothing happens when pressing ctrl+(shift)+f8 to go to the next error

Why does it not raise itself after the compilation when there are error?

"Focus at compilation" does not help. It shows up too early, I already left it when the compilation is done and the final messages are there
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: FTurtle on November 01, 2017, 04:38:00 pm
It becomes harder and harder to find the Messages window

I can suggest two solutions:

1. Add "Messages" command on editor toolbar.
2. Make additional desktop where messages window placed below editor window without overlapping. Command "Desktops..." already placed on coolbar, but you can also place it on editor toolbar. Switch to this desktop when you have many messages.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: munair on November 02, 2017, 04:18:51 pm
What happened to the TPanDragTool component? In a project I use TChart and TPanDragTool. This project compiles fine with a fresh Lazarus 1.6.2, but Lazarus 1.8 (latest RC) complains that it is unable to find component class TPanDragTool.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: munair on November 02, 2017, 05:32:57 pm
It looks like the TChart tools are not in the default installation. Installing TAChartLazaruspkg 1.0 solved the problem.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 02, 2017, 05:46:52 pm
It looks like the TChart tools are not in the default installation.
You built with "make" which means "make all". It has less packages installed than "make bigide" which is used for the release.
But no worries, you can install all the missing packages and more from Tools -> Install/Uninstall Packages.
I recommend TurboPowerIProDsgn for nice rendered hints, and OnlinePackageManager (not in bigide) which works now in ARM CPUs, too.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: munair on November 02, 2017, 05:48:01 pm
It looks like the TChart tools are not in the default installation.
You built with "make" which means "make all". It has less packages installed than "make bigide" which is used for the release.
But no worries, you can install all the missing packages and more from Tools -> Install/Uninstall Packages.
I recommend TurboPowerIProDsgn for nice rendered hints, and OnlinePackageManager (not in bigide) which works now in ARM CPUs, too.

Thanks.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: BeniBela on November 02, 2017, 06:46:03 pm
It becomes harder and harder to find the Messages window

I can suggest two solutions:

1. Add "Messages" command on editor toolbar.
2. Make additional desktop where messages window placed below editor window without overlapping. Command "Desktops..." already placed on coolbar, but you can also place it on editor toolbar. Switch to this desktop when you have many messages.

The best would be, if it was in the Alt+Tab list with an unique icon, e.g. a red one

The source editor had a yellow icon, why is it blue again?

Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 05, 2017, 02:58:58 pm
A TCheckGroup, placed on a TPanel, shows artefacts on redrawing (on my PC).

You get the artefacts when resizing the window horizontally (make smaller, then larger ..).

Is this a known issue ?


Source code follows.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 05, 2017, 02:59:42 pm
Source code.

Written and tested under Windows 7 with NVIDIA NVS 510
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: balazsszekely on November 05, 2017, 06:18:55 pm
@PeterX
It works fine here(Laz trunk/Fpc 3.0.2, Win7). Try to invalidate the CheckGroup on panel resize:
Code: Pascal  [Select][+][-]
  1. procedure TForm1.Panel1Resize(Sender: TObject);
  2. begin
  3.   CheckGroup1.Invalidate;
  4. end;
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 05, 2017, 07:40:02 pm
Code: Pascal  [Select][+][-]
  1. procedure TForm1.Panel1Resize(Sender: TObject);
  2. begin
  3.   CheckGroup1.Invalidate;
  4. end;

I can confirm that this workaround works.

I just tested the old EXE of my program, where I found this issue.
The EXE was compiled in january 2016 and it does not have this issue.
So this must have been compiled with Lazarus 1.6 release.

Now, same sources compiled with 1.8 RC5 this misbehaviore appeared.
So it looks like a bug to me.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on November 05, 2017, 08:01:00 pm
I tested your demo with Laz 1.6.4, 1.8RC5, and Laz-trunk and can confirm the behavior for 1.6.4 and 1.8RC5 on Win10. Laz-trunk, on the other hand, does not show the issue. I think I remember I once saw such a bugreport, but I cannot find it at the moment. Obviously this fix has not been backported to 1.8RC5, I don't see it in the list of fixes waiting for RC6 or final either.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 05, 2017, 10:09:07 pm
.. I remember I once saw such a bugreport, but I cannot find it at the moment.

"My bug" looks like this here :

https://bugs.freepascal.org/view.php?id=27129
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: guest61674 on November 05, 2017, 10:26:26 pm
Before the next release, could fix this:

http://forum.lazarus.freepascal.org/index.php/topic,34052.msg222290.html#msg222290

thanks
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: wp on November 05, 2017, 11:59:13 pm
"My bug" looks like this here :
https://bugs.freepascal.org/view.php?id=27129 (https://bugs.freepascal.org/view.php?id=27129)
Right.

In the meantime I found out that it is also happening with Laz-trunk if Panel and Checkgroup have the same color, except for clDefault.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: niels.hansen on November 06, 2017, 12:40:14 pm
Hi,

I have 2 problems:

1. When I use mySQL 5.6 the data read from fields seems translated wrong. In 1.6.4 (win64) I get expected result, in 1.8 (win64) I get something that looks like chinese (see attachment).

2. The mySQL connectora are quite old. Wold be good if never versions were also supported.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: boz on November 06, 2017, 07:01:03 pm
Hi Guys

Did a complete install over my 1.64 version installing the i386-win32-win32/win64 SVN Revision 56026 on my Windows 10 64 bit system. Install was a very smooth, the program is very quick to load and run, and my four programs compile fine, including a very large one using the MySQL56 connector and LazReport which passed my basic test scripts without issue.

Shout out to the Online Package Manager, the two components I installed (indy and lazserial) went without a hitch, lazreport had to be installed the old way but also went without a hitch.

I will continue to use it in my day to day activity and report any problems. Thanks for the groups time and effort to make such a professional product. I feel another donation coming on :)

Boz
Roving Dynamics Ltd
rodyne.com
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: soerensen3 on November 18, 2017, 05:06:30 pm
I don't know if anyone else has this behaviour but in my Lazarus 1.8 RC5 something with the automatic indentation is wrong. It always indents only one instead of two spaces regardless of the indentation settings.
I mean the behaviour of the editor when you type for example "if ( a = b ) then" followed by return, it would automatically indent the next line by 2 spaces by default. For me it's just one.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on November 18, 2017, 06:17:14 pm
The "indentation settings" (those under Editor in the options) are for intend using tab or ctrl-i.

For auto indent after begin, you need "smart indent" under codetools. This has its own config. (it looks at the example file).

Not sure how it mixes with the tab vs space settings of the editor...
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: soerensen3 on November 18, 2017, 11:52:40 pm
Yes, you're right it's in fact a Code Tools feature. Thanks for the tip with the example file. I always wondered what exactly it was for cause I didn't notice any difference last time I tried. After I found out that in other sources everything worked as expected I noticed that I did one wrong indentation in the same file. It seems that the tool uses the default indentation example only if it cannot find a rule for the "if" (or another keyword) in the same file being edited.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 21, 2017, 10:48:09 am
While step by step compiling some of my old projects I got this error:

Lazarus 1.8RC5 Error on compiling a project.jpg

Projekt kompilieren, Ziel: exeOutput\TFileExplorer.exe: Exit code 1, Fehler: 1, Warnungen: 1
Warning: Recompiling Win32Int, checksum changed for character
win32int.pp(37,14) Fatal: Kann Win32Int nicht finden verwendet von Interfaces, incompatible ppu=C:\lazarus\lcl\units\i386-win32\win32\win32int.ppu, Package LCL

The Project was last compiled on 2016-06-08 (successfully ..)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 21, 2017, 12:14:23 pm
I stripped down the project to the max, but it didn't help.

Then I copied win32int.pp to my project folder => Lazarus complained the missing "{$I win32defines.inc}"

Then I manually added
 C:\lazarus\lcl\interfaces\win32\
to the project's paths.

Then the stripped down project compiled - yeah !!!

------------------------------------------------

But I found several files in my project's output folder
  win32def.o, win32def.ppu, .....
and I do not understand why lazarus recompiles these lazarus sources into my output folder .. :-(
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: taazz on November 21, 2017, 12:57:52 pm
I stripped down the project to the max, but it didn't help.

Then I copied win32int.pp to my project folder => Lazarus complained the missing "{$I win32defines.inc}"

Then I manually added
 C:\lazarus\lcl\interfaces\win32\
to the project's paths.

Then the stripped down project compiled - yeah !!!

------------------------------------------------

But I found several files in my project's output folder
  win32def.o, win32def.ppu, .....
and I do not understand why lazarus recompiles these lazarus sources into my output folder .. :-(
By adding the folder C:\lazarus\lcl\interfaces\win32\ to your project's path (instead of adding the package they belong to as a requirement) you instruct the IDE to assume that all the files in there are part of your project and ignore any package that they might belong. As long as you do not add a requirement for their package (and you keep that path),  your project's unit directory (and not the package's) is the only directory that is known to the IDE and to the compiler. Some times this is the only way to go in your case I have no idea I just jump in to explain the path thing.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 21, 2017, 01:17:31 pm
@PeterX, you maybe installed a new Lazarus on top of an old one. A clean build of the whole Lazarus usually helps.

Then I copied win32int.pp to my project folder => Lazarus complained the missing "{$I win32defines.inc}"
Then I manually added
 C:\lazarus\lcl\interfaces\win32\
to the project's paths.
That is a NO NO ...
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 21, 2017, 01:21:44 pm
@PeterX, you maybe installed a new Lazarus on top of an old one. A clean build of the whole Lazarus usually helps.
Hm, I always uninstall the old version before installing the new one, in this case 1.8RC5
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 21, 2017, 01:34:49 pm
@PeterX, you maybe installed a new Lazarus on top of an old one. A clean build of the whole Lazarus usually helps.
Hm, I always uninstall the old version before installing the new one, in this case 1.8RC5
Did a clean build of Lazarus help?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 21, 2017, 01:42:25 pm
Did a clean build of Lazarus help?
No. It didn't.

I now started with a NEW project and now copy everything into this new one. Let's see ..
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 21, 2017, 01:54:00 pm
I copied everything into a NEW project and now everything works fine.

I wasn't able to find out why the 1.6.4 project did not compile under 1.8 RC5.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 21, 2017, 04:36:01 pm
Okay, not resoved but discovered + deactivated:

I used files from a really old package called "utf8tools".
Somehow these files did work under Laz 1.6.4
Now under 1.8 RC5 they somehow interfer with existing unit LConvEncoding or so ..
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 22, 2017, 11:55:18 am
My problem seems to be related to a LAZARUS behaviore I never realized before:

When simply adding a subfolder to PATHS
and NOT adding even one of the PAS files there
the compiler runs through all files.

A file named CHARACTER.PAS exists in both FPC folder and UTF8tools ZIP.

So there something interfers with UTF8tools and Laz 1.8 RC5
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: RayoGlauco on November 22, 2017, 07:24:24 pm
Hello!

Does anyone know when the final release is expected to be published?   :-\

Thanks!  :)

Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 22, 2017, 08:22:34 pm
When simply adding a subfolder to PATHS
and NOT adding even one of the PAS files there
the compiler runs through all files.
What means "all files"?
I am also not sure what PATHS means here. A path in "Other unit files (-Fu)" is only passed to the compiler with -Fu.

Quote
A file named CHARACTER.PAS exists in both FPC folder and UTF8tools ZIP.
So there something interfers with UTF8tools and Laz 1.8 RC5
CHARACTER.PAS may be in both places but it is not related to Lazarus 1.8 RC5 anyhow.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 22, 2017, 08:28:33 pm
Does anyone know when the final release is expected to be published?   :-\
Very soon after FPC 3.0.4 is released!
Lazarus 1.8 is held back waiting for it. The Windows version of RC5 already uses a self built FPC 3.0.4.
This is annoying because FPC 3.0.4 was already tagged a long time ago, meaning it is ready. Somebody only must build it.
Please ask FPC developers when will they release.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: BeniBela on November 23, 2017, 12:24:32 am
The modern way would be to have a build server in the cloud that builds everything on every commit
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Thaddy on November 23, 2017, 10:20:25 am
The modern way would be to have a build server in the cloud that builds everything on every commit
The modern surest way would be to have a build server in the cloud that builds everything on every commit to make a failed build.
I am running a build farm. Commits are not always complete. A noob will run into trouble he/she can't explain. Bad advice. You and I can do that, but that is not for everyone.

(I actually think you agree with me on this.... :o )
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 23, 2017, 03:34:29 pm
What means "all files"?
I am also not sure what PATHS means here. A path in "Other unit files (-Fu)" is only passed to the compiler with -Fu.
PATHS means adding a path to the project settings, here:  folder "UTF8tools"

I have set up a test project.


Quote
CHARACTER.PAS may be in both places but it is not related to Lazarus 1.8 RC5 anyhow.
C:\lazarus\fpc\3.0.4\source\rtl\objpas\character.pas

It took some time to find out that character.pas in UTF8tools interrupts the compiling in my project.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 23, 2017, 04:55:39 pm
PATHS means adding a path to the project settings, here:  folder "UTF8tools"
There are many project settings. Do you mean "Other unit files (-Fu)"? You should never use it for library code! Lazarus packages are meant for that purpose and UTF8tools provides a package. Use it please. It may solve the acute problem but the fundamental problem is having 2 units with identical names.

Quote
C:\lazarus\fpc\3.0.4\source\rtl\objpas\character.pas
Yes, as I wrote the problem is not related to Lazarus or its release candidate anyhow.
It is caused by an external package (UTF8tools) having a unit name conflicting with FPC's libraries.
UTF8tools should respect the choice of unit names in FPC libs and name its units differently. Now also dotted names can be used.
Please contact its author about the problem.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 23, 2017, 05:05:55 pm
.. UTF8tools provides a package. Use it please.
I do not need the UTF8tools in any other program. Or on design time.
So why not using the units there in the folder manually ?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 24, 2017, 10:15:49 pm
I do not need the UTF8tools in any other program. Or on design time.
So why not using the units there in the folder manually ?
I guess it works well if you use it for one project only.
Once you set the same "Other unit files (-Fu)" path for many projects, you may get strange compilation issues. It is just wrong because the feature is not designed for shared code.
Packages are for shared code! You should make it a habit to use them always.

Note, this is different from Delphi. There either a project's unit path or a global unit path is used for all library code. The global unit path is especially stupid because it pollutes the name space for all projects even if they don't need a certain library/package.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 24, 2017, 10:52:35 pm
Note, this is different from Delphi. There either a project's unit path or a global unit path is used for all library code. The global unit path is especially stupid because it pollutes the name space for all projects even if they don't need a certain library/package.
Thank You for this detailed explanation !

At the end the reason for the unexpected error message was two "character.pas" files in the unit paths ...
I was a little bit in trouble because the error message didn't say anything about the cause.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 24, 2017, 11:42:17 pm
At the end the reason for the unexpected error message was two "character.pas" files in the unit paths ...
Yes, a poorly named unit.
BTW, why do you need UTF8tools? If LazUTF8 and other units in LazUtils don't have some function, we can add it.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: BeniBela on November 25, 2017, 07:05:37 pm
I put all my paths in fpc.cfg

Then I can use uses theunit, in any program without additional configuration and even compile it with nothing more than fpc project.lpr on the command line

When a unit has a stupid name,  I rename it
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: PeterX on November 25, 2017, 10:39:33 pm
BTW, why do you need UTF8tools? If LazUTF8 and other units in LazUtils don't have some function, we can add it.
I wrote a Windows Explorer like program that displays some type of files decoded.

In case of text files I needed code that automatically converts the text in the file
to the native Lazarus UTF8 format to be displayed in a TMemo.

UTF8tools does the job.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 25, 2017, 11:55:32 pm
In case of text files I needed code that automatically converts the text in the file to the native Lazarus UTF8 format to be displayed in a TMemo.
UTF8tools does the job.
Unit LConvEncoding in LazUtils also has many conversion functions. I am interested what is missing. I have nothing against using UTF8tools but I want to improve code in LazUtils.
UTF8tools appears to be very comprehensive. It has lots of detailed Unicode information. I believe it is very good for advanced uses although I have not needed such features myself.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: piola on November 28, 2017, 06:09:14 pm
FPC 3.0.4 has finally been released  :)

So I hope we can look forward to the wishfully awaited Lazarus 1.8 soon  :) :)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 28, 2017, 08:47:07 pm
FPC 3.0.4 has finally been released  :)
Where did you see the announcement?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: piola on November 28, 2017, 09:45:51 pm
Where did you see the announcement?

Latest News

November 28th, 2017

 FPC version 3.0.4 has been released!

This version is a point update to 3.0 and contains bugfixes and updates packages, some of which are high priority.

There is a list of changes that may break backward compatibility. You can also have a look at the FPC 3.0.4 documentation. (https://www.freepascal.org/)
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 28, 2017, 10:40:42 pm
Latest News
November 28th, 2017
 FPC version 3.0.4 has been released!
... (https://www.freepascal.org/)
Indeed, the www.freepascal.org page already has an announcement. Looks promising!
However there is nothing to download yet. I believe we get more announcements when the actual installation packages are copied.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: FTurtle on November 28, 2017, 11:17:26 pm
However there is nothing to download yet.

Some links are not corrected yet but downloads are ready.
In particular:
https://sourceforge.net/projects/freepascal/files/Win32/3.0.4/
https://sourceforge.net/projects/freepascal/files/Mac%20OS%20X/3.0.4/

Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: dbannon on November 28, 2017, 11:35:23 pm
FPC 3.0.4 has finally been released  :)

So I hope we can look forward to the wishfully awaited Lazarus 1.8 soon  :) :)

Indeed !  (but I hope the memory leak in OSX, TrayIcon is fixed first, memory leaks are evil!) 

And I just got my cross platform auto build (for my app) working too. I'll have to start again....  But yep, its great to see things moving here.

 
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 28, 2017, 11:49:06 pm
Indeed !  (but I hope the memory leak in OSX, TrayIcon is fixed first, memory leaks are evil!) 
Are you saying we should delay Lazarus 1.8 release until one OSX related bug is fixed? What about the other 1729 open Lazarus issues? Maybe they should be fixed before a release, too.

Actually clear bug fixes can still be merged to the 1.8 release. If a patch fixes a memory leak and does not break anything, it can be included. ... but hurry up, the patch is needed quickly.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: BeniBela on November 29, 2017, 12:17:22 am

Indeed !  (but I hope the memory leak in OSX, TrayIcon is fixed first, memory leaks are evil!) 



Better a TrayIcon leak than a TrayIcon crash (https://bugs.freepascal.org/view.php?id=32258)

It was not merged in fixed branch either
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 29, 2017, 12:51:50 am
Better a TrayIcon leak than a TrayIcon crash (https://bugs.freepascal.org/view.php?id=32258)
It was not merged in fixed branch either
I marked it for merging now.
 http://wiki.lazarus.freepascal.org/Lazarus_1.8_fixes_branch
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: dbannon on November 29, 2017, 12:53:20 am

Quote
Better a TrayIcon leak than a TrayIcon crash (https://bugs.freepascal.org/view.php?id=32258)

Hmm, maybe consider that a memory leak can crash your whole machine, not just the app ?   And it sounds like 32258 is hard to reproduce and may not bite everyone. On the other hand, 32678 (https://bugs.freepascal.org/view.php?id=32678) is trivial to reproduce and makes an official LCL component unusable. You cannot use the TrayIcon on OSX without suffering the leak.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 29, 2017, 01:15:50 am
... And it sounds like 32258 is hard to reproduce and may not bite everyone. On the other hand, 32678 (https://bugs.freepascal.org/view.php?id=32678) is trivial to reproduce and makes an official LCL component unusable.
There is one huge difference between issues 32258 and 32678:
32258 is fixed but 32678 is not. That is why the fix for 32258 can be merged but a fix for 32678 cannot.
Convincing us that the bug is evil does not change anything.
As I wrote a valid patch can still be applied and merged. Hurry up if you want it included.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: dbannon on November 29, 2017, 12:15:30 pm
Quote
...a valid patch can still be applied and merged. Hurry up if you want it included.

me ?  Please check the left hand side bar. "Jr. Member", you would have to be crazy to accept a patch from me. To make matters worse, Mac is my least familiar platform.

But seriously JuhaManninen, are you saying that bug reports without an accompanying patch will probably be disregarded ?

davo
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 29, 2017, 02:20:16 pm
me ?  Please check the left hand side bar. "Jr. Member", you would have to be crazy to accept a patch from me.
It would be accepted if it works and does not break anything else.
Your number of posts in this forum has no relevance.

Quote
To make matters worse, Mac is my least familiar platform.
Then don't use it.

Quote
But seriously JuhaManninen, are you saying that bug reports without an accompanying patch will probably be disregarded ?
Yes if nobody wants to fix it. This is a FOSS project based on voluntary work. Nobody gets paid. Basically every contributor "scratches his own itch" as the saying goes.
However you could try to speed up a specific feature or bug fix by offering a bounty.
 http://wiki.lazarus.freepascal.org/Bounties
Paid development in a FOSS project is possible and perfectly OK. Some projects have paid developers sponsored by commercial companies. We don't.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on November 29, 2017, 02:25:51 pm
are you saying that bug reports without an accompanying patch will probably be disregarded ?

Well no, if a bug can be reproduced it will not be "disregarded".

But there are no paid workers, to whom bugs can be assigned by some priority. All bug fixes are done by volunteers.

So the bug will be in the bugtracker, until a volunteer picks it up.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: soerensen3 on November 29, 2017, 03:33:50 pm
Wow the package for arch was updated really fast. https://www.archlinux.org/packages/community/x86_64/fpc/
However if I try to update it will tell me it is already the newest version:

Code: Bash  [Select][+][-]
  1. $ sudo pacman -Syy fpc-src fpc
  2. :: Synchronizing package databases...
  3.  core                     137,8 KiB   811K/s 00:00 [######################] 100%
  4.  extra                   1772,5 KiB  1441K/s 00:01 [######################] 100%
  5.  community                  4,4 MiB  2,13M/s 00:02 [######################] 100%
  6.  multilib                 178,7 KiB  4,36M/s 00:00 [######################] 100%
  7. warning: fpc-src-3.0.2-2 is up to date -- reinstalling
  8. warning: fpc-3.0.2-1 is up to date -- reinstalling
  9. ...
  10.  
Does anyone have the same problem?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: JuhaManninen on November 29, 2017, 04:32:14 pm
Wow the package for arch was updated really fast. https://www.archlinux.org/packages/community/x86_64/fpc/
That is a FPC 3.0.4 package but this thread is about Lazarus Release Candidate.
Please open a new thread about FPC release. You have better chance to get answers, too.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: soerensen3 on November 29, 2017, 04:41:41 pm
@JuhaManninen:
Yes, you're right but there was no fpc 3.0.4 announcement yet and I was kind of lazy I guess.  :-[
I opened a new thread: http://forum.lazarus.freepascal.org/index.php/topic,39110.msg267269/topicseen.html#new
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Hoch on December 02, 2017, 02:05:44 pm
Hi,

First of all, I would like to congratulate the Lazarus team for this awesome IDE. Probably one of the best IDEs out there. I have use a few of them and this is one of the most productive, fast and memory efficient ones. It really makes the amazing FPC compiler shine bright.

I've been using v1.8RC5 for day to day work and so far it is working fine, except for an issue with the debugger.

I can't modify variable values.

In the 'modify/evaluate' dialog, every time I try modify the variable value pressing the 'Modify' button, I get this error (translated from Spanish): "New value" is empty.

I append a screenshot.

Maybe it is something in my project settings? If not, I'll be glad to to issue a bug report.

Thank you all and keep up the great work! :)

Hoch.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on December 02, 2017, 02:30:53 pm
Your image does not show the bottom of the window.
So I can not see, what (if anything) you put into the "New Value" field.

Also what is your OS? Maybe it is a widgetset issue. I just tested it on win32 and it worked.

----------
Be aware:
You can change numbers, and boolean, char and the like.

But you can not change strings (except maybe shortstrings)! This will lead to errors or crashes.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Hoch on December 02, 2017, 04:52:40 pm
Martin_fr,

Thank you for your fast answer!

I was changing the value in the result field!...  :-\

The dialog was longer than the screen and the new value field was hidden.
I resized the dialog. Now I can see the new value field and of course it was empty... :D

It works fine in win32.

Maybe the result field should be selectable only? Be able to edit it, is a bit confusing.

Thank you for pointing me in the right direction.

Keep up the good work!  :)

Hoch.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on December 02, 2017, 05:50:13 pm
The entire dialog needs a haul over....
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: melwinek on December 03, 2017, 10:34:29 am
Does anyone know when the final release is expected to be published?   :-\
Very soon after FPC 3.0.4 is released!
Lazarus 1.8 is held back waiting for it. The Windows version of RC5 already uses a self built FPC 3.0.4.
This is annoying because FPC 3.0.4 was already tagged a long time ago, meaning it is ready. Somebody only must build it.
Please ask FPC developers when will they release.

FPC 3.0.4 is released.
I am waiting impatiently for Lazarus 1.8.
Is there any scheduled release date?
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: Martin_fr on December 03, 2017, 09:28:56 pm
FPC 3.0.4 is released.
I am waiting impatiently for Lazarus 1.8.
Is there any scheduled release date?

Soon...

The release process has been started, it will take a few days.
Title: Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
Post by: cpicanco on December 04, 2017, 04:02:10 pm
Oh my gosh! It is coming soon!!!! SOON! :D :D :D :D
TinyPortal © 2005-2018