Lazarus
Announcements => Lazarus => Topic started by: Martin_fr on February 28, 2018, 04:02:23 pm
-
The Lazarus team is glad to announce the release of Lazarus 1.8.2. This is a bugfix release.
The release was built with FPC 3.0.4.
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/Lazarus_1.8.0_release_notes)
http://wiki.lazarus.freepascal.org/User_Changes_3.0.4
Here is the list of fixes for Lazarus 1.8.x:
http://wiki.freepascal.org/Lazarus_1.8_fixes_branch
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.2" directory.
Checksums for the SourceForge files:
http://www.lazarus-ide.org/index.php?page=checksums#1_8_2
Minimum requirements:
Windows:
2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.
optional qt 4.5 or 5.6 for qt apps
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_2
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/
-
Very nice... Thanks... :)
-
Nice!
-
Again respect to all who make this happen, much appreciated ;D
-
Any hopes to see a .deb package of Lazarus 1.8.2 for Raspbian ?
TNX
-
Many thanks Lazarus Team :)
-
Thank you Lazarus team
-
I don't see anything other than the old 1.8.0 at source forge ?
where is 1.8.2?
The other link requires me to do a FTP login ?
-
maybe sourceforce issue
"The sourceforge.net website is temporarily in static offline mode.
Only a very limited set of project pages are available until the main website returns to service"
Try this link
ftp://ftp.freepascal.org/pub/lazarus/releases/
I can download without ftp login.
-
Sorry, I can't get passed the FTP login...
I get all the way to the folder of 1.8.2 for 64 bit and then it insist on a login..
-
I just tried again and have the same..I asked for login credentials %)
-
in menu, try download-> 1.8.2 for Windows 64 bit | Other ▼... Lazarus...bla...bla
-
Any hopes to see a .deb package of Lazarus 1.8.2 for Raspbian ?
TNX
Me too hopes for an easy Raspbian installation!
-
Thank you TEAM Lazarus. :D
-
Any hopes to see a .deb package of Lazarus 1.8.2 for Raspbian ?
Yes if somebody builds those packages.
-
Congratulations Team Lazarus
-
Still, I can not see the 1.8,2 release ?
All I get to is the old one 1.8.0 ?
On top of that, the other tabs on the site is inactive "In Static Mode"
I am trying to get the Windows 32 and 64 bit, all I see there is the last release..
The FTP insist on a login that I don't have but it does show the 1.8.2 directory..
can someone please explain this?
-
Ok, I succeeded this time by going to the
https://www.lazarus-ide-org
I had to use Google to find that, last night that site was not accessible for me?
but in any case, you don't browser over to SourceForge because they don't have it listed but is
at the top of this IDE home page
Thanks... for the help..
-
Thank you the FPC and Lazarus team for such a good programming environment !!
Hope that the 64bit Android could be supported as soon as possible.....
-
Great! :) thanks for new version
-
Indeed, there's no Lazarus 1.8.2 folder under 64-bit Window$ at SourceForge, but when you use the link from http://www.lazarus-ide.org/index.php?page=downloads it works just fine.
-
http://www.lazarus-ide.org/index.php?page=downloads
points to source forge.
Sourceforge currently appears to have problems, so whenever sourceforge goes to maintenance the links do not work.
Both of the mirrors have the files (I checked win64)
ftp://ftp.freepascal.org/pub/lazarus/releases/
http://mirrors.iwi.me/lazarus/
I read the post that some people experienced a login prompt. I can not reproduce. So I assume that must have been an unlucky moment. I dont know the setup of the mirror. I have no privileges at either of the mirror. So if they work for me, they should work for all. If there is an issue retry after 10 or 15 minutes. (as one would do on any other website, if it had a temporary issue)
------------
I understand it is major inconvenient that the main download page is currently unstable. We have to see what happens to sourceforge in the long run... I would expect them to solve the issue and things return to normal soon.
-
lresources.pp(40,30) Fatal: Cannot find DynQueue used by LResources, incompatible ppu=/home/a/.lazarus/lib/LazUtils/lib/x86_64-linux/dynqueue.ppu, multiple packages: LazUtils, LCLBase
-
As usual forced to
- delete the previous configuration folder;
- tweak the settings for tabulation, speed of intellisense, editor colors, etc;
- reinstall the packages
and finally insult you (the team) to compensate the frustration of what we are forced to do because you don't want to see that upgrading lazarus never works.
>:(
-
and finally insult you (the team) to compensate the frustration of what we are forced to do because you don't want to see that upgrading lazarus never works.
Easy solutions
a) Contribute to the development
or
b) Stop using lazarus.
Either way there would be no further need for you to complain.
-
I casually contribute. But, "meh". sending patches to a bugtracker... so not as much as if devel was more opened, git + PR based on a platform such as GH, BB, GL...
-
startlazarus process stuck after rebuilding. Bug already there in 1.8.0
-
Okay, just 1 hour to upgrade and now i'm tired by the resentment it created.
Last annoyance: AnchorDocking bug...project inspector disapeared and when restarting the IDE, "poof" i just had the menu and the source editor. Seriously this component is completly bugged. Even recently for Coedit i had several report related to docking. Each time i have to say: "sorry i'm not the author, it's bugged and in beta since forever..."
I wonder if you ever tested the upgrade on a machine you don't use to devel. All these problems are encountered by many people and since years. Even before i started to use Laz (around 2013).
-
lresources.pp(40,30) Fatal: Cannot find DynQueue used by LResources, incompatible ppu=/home/a/.lazarus/lib/LazUtils/lib/x86_64-linux/dynqueue.ppu, multiple packages: LazUtils, LCLBase
There is a very simple solution. Build Lazarus clean so that all .ppu files are deleted before the build.
You can also explicitly delete all .ppu and .o files under ~/.lazarus. There is no need to delete the whole config directory.
The ppu and .o files are placed in ~/.lazarus when you have installed into a write protected directory under /usr.
-
Yay, now i remember that'll encounter the same annoyance again when i'll have to upgrade Laz on Windows !
-
lresources.pp(40,30) Fatal: Cannot find DynQueue used by LResources, incompatible ppu=/home/a/.lazarus/lib/LazUtils/lib/x86_64-linux/dynqueue.ppu, multiple packages: LazUtils, LCLBase
There is a very simple solution. Build Lazarus clean so that all .ppu files are deleted before the build.
You can also explicitly delete all .ppu and .o files under ~/.lazarus. There is no need to delete the whole config directory.
The ppu and .o files are placed in ~/.lazarus when you have installed into a write protected directory under /usr.
To be honest i don't know why the heck deleting the config file has fixed the problem (which i already encountered when upgrading from 1.6.4 to 1.8.0, unfortunately i didn't remember what i did last time).
-
and finally insult you (the team) to compensate the frustration of what we are forced to do because you don't want to see that upgrading lazarus never works.
My god, updating Lazarus is easier than updating any MS product.
Bart
-
[quote author=BBasile link=topic=40273.msg278521#msg278521 date=1520169338]
lresources.pp(40,30) Fatal: Cannot find DynQueue used by LResources, incompatible ppu=/home/a/.lazarus/lib/LazUtils/lib/x86_64-linux/dynqueue.ppu, multiple packages: LazUtils, LCLBase
[/quote]
[quote author=BBasile link=topic=40273.msg278523#msg278523 date=1520170070]
As usual forced to
- delete the previous configuration folder;
- tweak the settings for tabulation, speed of intellisense, editor colors, etc;
- reinstall the packages
[/quote]
Those errors above are usually caused by old .ppu or .o files. So it should be enough to do something like (don't have Linux at hand to test)
[codel]find ~/.lazarus -name '*.ppu' | xargs rm
find ~/.lazarus -name '*.o' | xargs rm
And anywhere else you have ppu files that you compiled (in case of packages)
Usually it should even help to go to Tools > Configure build IDE, and select "clean all". But you may have to do "clean all" for packages too.
(I very rarely needed that / tested on win)
Additionally do a "Rescan fpc source directory" (I never needed that / tested on win / and missing this would not lead to compiler errors anyway)
I don't know why (in your case / in some (all?) cases) this does not happen on it own.
(I only use svn on Linux)
I use the installer on Windows. Depending on how you choose to install (permissions, upgrade vs uninstall (keep conf)) it is indeed possible that some ppu files will be left, that should not be there. But they can always be fixed, while keeping all config.
In any case you should be able to keep the xml files. And the lps files that are in .lazarus.
---------------------
AFAIK the extra ppu files happen, if a pas file was renamed, or moved. In this case when doing a none clean compile, the compiler does see a ppu file, but there is no source, so there is no way to recompile it. So the old ppu does not get removed. And when later found, it can cause the errors you have. On a clean build, those ppu are deleted.
The problem is, that the installer does not make changes to you .lazarus folder. But that is where they are hiding. I do not know if something like this:
a) can be added to rpm or dep files
b) would be wise to do...
-
To be honest i don't know why the heck deleting the config file has fixed the problem
Config directory, not config file. I actually explained it above.
The .ppu and .o files are placed in config directory "~/.lazarus" when you installed Lazarus into a write protected directory under /usr.
Then "startlazarus" starts the correct binary.
Deleting .ppu and .o files is trivial. Yes, maybe the installer should do it automatically. Until then it can be done manually.
This solution has been mentioned in this forum many times. Maybe during the next update you will remember it. :)
-
Last annoyance: AnchorDocking bug...project inspector disapeared and when restarting the IDE, "poof" i just had the menu and the source editor. Seriously this component is completly bugged. Even recently for Coedit i had several report related to docking. Each time i have to say: "sorry i'm not the author, it's bugged and in beta since forever..."
Lazarus 1.8 was the first version where AnchorDocking worked rather well for me.
Please report the problems with clear steps to reproduce.
With AnchorDocking problems it may be wise to start with clean configuration. The config format changed especially due to the new configurable Desktops feature.
-
Nice job
-
[quote author=BBasile link=topic=40273.msg278521#msg278521 date=1520169338]
lresources.pp(40,30) Fatal: Cannot find DynQueue used by LResources, incompatible ppu=/home/a/.lazarus/lib/LazUtils/lib/x86_64-linux/dynqueue.ppu, multiple packages: LazUtils, LCLBase
[/quote]
[quote author=BBasile link=topic=40273.msg278523#msg278523 date=1520170070]
As usual forced to
- delete the previous configuration folder;
- tweak the settings for tabulation, speed of intellisense, editor colors, etc;
- reinstall the packages
[/quote]
Those errors above are usually caused by old .ppu or .o files. So it should be enough to do something like (don't have Linux at hand to test)
[codel]find ~/.lazarus -name '*.ppu' | xargs rm
find ~/.lazarus -name '*.o' | xargs rm
And anywhere else you have ppu files that you compiled (in case of packages)
Usually it should even help to go to Tools > Configure build IDE, and select "clean all". But you may have to do "clean all" for packages too.
(I very rarely needed that / tested on win)
Additionally do a "Rescan fpc source directory" (I never needed that / tested on win / and missing this would not lead to compiler errors anyway)
I don't know why (in your case / in some (all?) cases) this does not happen on it own.
(I only use svn on Linux)
I use the installer on Windows. Depending on how you choose to install (permissions, upgrade vs uninstall (keep conf)) it is indeed possible that some ppu files will be left, that should not be there. But they can always be fixed, while keeping all config.
In any case you should be able to keep the xml files. And the lps files that are in .lazarus.
---------------------
AFAIK the extra ppu files happen, if a pas file was renamed, or moved. In this case when doing a none clean compile, the compiler does see a ppu file, but there is no source, so there is no way to recompile it. So the old ppu does not get removed. And when later found, it can cause the errors you have. On a clean build, those ppu are deleted.
The problem is, that the installer does not make changes to you .lazarus folder. But that is where they are hiding. I do not know if something like this:
a) can be added to rpm or dep files
b) would be wise to do...
On windows after installing, still 1.8.0 was launched. Had to delete the executable and reinstall 1.8.2 a second time over 1.8.2 ...
Still better than on linux but still something that shouldn't happen.
-
On windows after installing, still 1.8.0 was launched. Had to delete the executable and reinstall 1.8.2 a second time over 1.8.2 ...
Still better than on linux but still something that shouldn't happen.
Interesting. AFAIK, first time that happened, or at least first time I saw it getting reported.
I do a test install of every released window version. And I haven't seen that yet either.
Are you able to reproduce this?
When it is going wrong, ....
... after install can you check the file dates of
C:\lazarus\lazarus.exe
C:\lazarus\startlazarus.exe
... are they both updated?
... do you use the desktop or startmenu shortcut? Can you inspect the properties of the shortcut, and see what it links too?
... Can you run the 2 above files directly (from their folder) and see what happens?
Is this your only installation of Lazarus?
Had to delete the executableHad to delete the executable
Just C:\lazarus\lazarus.exe
Or other files too?
-
macOS: Package descriptions for lazarus 1.8.2. are on the way for fink, the Debian like package manager. It provides packages for lazarus-aqua (carbon, 32bit), lazarus-gtk2 (64 bit), lazarus-qt4 (64 bit) and as a new one lazarus-qt5 (64 bit). In addition there are packages for cross-platform lcls (win32, win64 and wince). Regarding cocoa, there is a cocoa-based lcl, but no lazarus-cocoa since version 1.8.2 has some issues, which are only resolved in trunk.
MiSchi.
-
Dear Lazarus Team,
here is my configuration :
- 2014 model Mac book pro
- Mac OS X High Sierra 10.13.3
- XCode 9.2
- Lazarus 1.8.2
- FPC 3.0.4
I had Lazarus 1.6.4 on 10.12 MacOS and it worked very well but for hardware compatibility reason, i had to upgrade my OS.
Lazarus 1.8.2 installation was made by following this procedure :
http://wiki.lazarus.freepascal.org/Installing_Lazarus_on_MacOS_X
I confirm some big problems with this version of lazarus IDE :
1/ The IDE crashed when I tried to read/write an unit and other project source files.
2/ When I tried to run Lazarus IDE by clicking on the *.lpi or *.lpr file, the IDE start but with the clear default "Projet_1".
3/ Same behaviours with a component packet (*.lpk)
The problem seems to be in the Open/write file dialog component of the IDE.
I note that no one Lazarus IDE/FPC was tested with High-Sierra Mac OS version and try to give simple user return to the developer team.
Fred
-
I have successfully used Lazarus 1.8.2 on High Sierra (10.13.3) although installed through fink. So, it should work, but something seems to be wrong with your setup.
Does your lazarus work with a new project from scratch? If not your preference files might be borked.
A Crash when opening a project might be caused by a borked project. Can you check your logs with the Consol for error logs?
You might also start lazarus from a terminal with the command 'open Lazarus.app' and get more logs in the terminal.
What is your setting for debugging? It might be better to get going to switch it off for the moment.
Go to the menu Tools → Settings → Debugger and set the debugger to (none).
To the best of my knowledge, double clicking a package or project file (your issues 2 & 3) never worked on macOS. If this is not a known issue, can you file an according issue in the bug tracker?
MiSchi
-
Thank you for giving me research leads for fix the issue.
My Lazarus work with a new project from scratch.
I run Lazarus under terminal by enter : ./lazarus (Open Lazarus.app given not me logs).
I'll try to use fink to install a new Lazarus.
On the attached file: the terminal Logs
FB
-
Thank You Guys,
I've finally brought myself to make a donation. Not much, though.
Nice work.
-
My Lazarus work with a new project from scratch.
Then i suspect that your project is borked. Difficult situation. Sorry. Is it possible to create it from scratch?
-
Thanks for the release. It seems to work great using Wine 1.8.7. on Linux. :)
-
I started using pascal with Turbo Pascal 3.0 which was in a single 39Kb .COM file, that included editor and compiler. I'm dissapointed that after installing I have 25000 files in 2000 directories. Please consider making a customize installer for a LITE version without languages and selected user features and units. It's unacceptable to have such a bloated installation for making a simple program.
I tried using FPCW without lazarus, but it's IDE doesn't show in which lines compiling errors occurs so it's useless, and it's still bloated.
I think I will return to BP in spite of it's limitations...
-
write program in console:
copy con helloworld.pas
program helloworld;
begin
writeln('Hello,World');
end.ctrl^z
fpc -CX -XXs -Os helloworld.pas
start in console:
helloworld
Output:
Hello, World
Easy, convenient, and a small executable.... :o 8-) O:-)
edlin is slightly more advanced, of course...
After you understand that use fp.exe (or simply fp under other platforms than Windows) and equivalent to turbo.exe
After that try using these for a GUI program:
copy con hellowindows.pas
program hellowindows;
{$apptype GUI}
uses windows;
begin
Messagebox(0,'Hello','World',MB_OK);
end. ctrl^z
Then use Lazarus and you will find it is more comfortable and achieves the same result (also in executable size) when you read some documentation.... And is actually a lot smaller than a full install of, say, Visual Studio...
-
I started using pascal with Turbo Pascal 3.0 which was in a single 39Kb .COM file, that included editor and compiler. I'm dissapointed that after installing I have 25000 files in 2000 directories. Please consider making a customize installer for a LITE version without languages and selected user features and units. It's unacceptable to have such a bloated installation for making a simple program.
I tried using FPCW without lazarus, but it's IDE doesn't show in which lines compiling errors occurs so it's useless, and it's still bloated.
I think I will return to BP in spite of it's limitations...
So... You still have the same size HDD as you had with TP3 too ?
-
isidroco
whatever your profession or attitude, this is ridiculous. We are not in the 80s anymore, just in case you haven't noticed.
And before going back to BP with its limitation to 8-character filenames, 64k limitation, static arrays etc, I suggest you try the textmode IDE, which has the look and feel of BP. It comes with 2510 files in 135 folders, if that is so important to you.
-
Indeed. I just checked BP7 for dos. It comes with less than 2% of libraries similar to the libraries provided by a simple FPC only install. Not very useful and besides it is a 16 bit compiler (with an extender capability for executables).
And I did NOT :D edit my copy con code and it works, so who needs more as an editor? <grumpy >:D O:-)>
(I edited the post, but not the code)
-
Note TP 1.0, 3.0 and 5.5 are still available for free and run fine under DosBox. Even on a Raspberry Pi zero...
http://edn.embarcadero.com/museum/
You have to maybe slow down dosbox, though, since:
https://en.wikipedia.org/wiki/Talk%3ATurbo_Pascal#Timer_bug
Which applies...at least for 5.5. A RPi zero is faster than an 8086/88 even a 80286. ~80386DX4, which is where the problems started, IIRC.
-
isidroco
whatever your profession or attitude, this is ridiculous. We are not in the 80s anymore, just in case you haven't noticed.
And before going back to BP with its limitation to 8-character filenames, 64k limitation, static arrays etc, I suggest you try the textmode IDE, which has the look and feel of BP. It comes with 2510 files in 135 folders, if that is so important to you.
You missed my poing, of course things had grown, but that's no excuse for making things bloated as Adobe and other companies do.
I tried using FPC textmode IDE, but as I said, it doesn't go to compiling error position, neither tell in which line is the error. So it's useless. Help files position was not remembered between sessions.
I understand we aren't in the 80s, but a customizable installer should be configurable to avoid having thousands of libraries or languages which will never be used.
I think BP 7 had Windows support so I'm not sure about longfilenames limitation.
-
Thanks for the release. It seems to work great using Wine 1.8.7. on Linux. :)
You can also use the native Linux version on Linux.
-
I think BP 7 had Windows support so I'm not sure about longfilenames limitation.
It had win 3.11 support, not Win95 which introduced LFN. Moreover most of the windows support was limited to the windows compiler, not the dos one.
-
You missed my poing, of course things had grown, but that's no excuse for making things bloated as Adobe and other companies do.
I tried using FPC textmode IDE, but as I said, it doesn't go to compiling error position, neither tell in which line is the error. So it's useless. Help files position was not remembered between sessions.
Add under compiler or debug options -GL or "also..."and you will get the line numbers....
Marco already answered your last point.
-
that's no excuse for making things bloated as Adobe and other companies do (...) So it's useless.
There is no company nor big money behind FPC, and it is completely free for use. If you don't like it, go away, but don't call it "useless".
I myself came from BP and hesitated a while before I switched but would never consider to go back. Yes, FPC has a few corners and a bit of a learning curve. Just get over it. Ask the community when you get stuck.
The textmode IDE does display the line where an error occured, when configured properly.
My installation also remembers the location of the help files; your problem might be that the path names are too long, so consider to copy the files into a flat directory. Check where your .cfg and .ini files are stored, and make sure FPC uses the correct ones. If weird things seem to happen in the textmode IDE, you may want to delete the fp.dsk file which may cause trouble occasionally, at least in older versions. The file will be recreated automatically.
-
Note TP 1.0, 3.0 and 5.5 are still available for free and run fine under DosBox. Even on a Raspberry Pi zero...
http://edn.embarcadero.com/museum/
You have to maybe slow down dosbox, though, since:
https://en.wikipedia.org/wiki/Talk%3ATurbo_Pascal#Timer_bug
Which applies...at least for 5.5. A RPi zero is faster than an 8086/88 even a 80286. ~80386DX4, which is where the problems started, IIRC.
I am still maintaining a rather large TP 5.5 application (about 90K program lines) and it has no problems running at unlimited speed in DOSBox. I have this data acquisition application running on 5-10 computers under DOSBox for analysis and a number of Win98/XP systems for acquiring data. I cannot recall ever patching my compiler which I have an original licence for (file dates including TURBO.TPL still 1989-05-02, same as the museum file). Do not take my word for it, but I vaguely recall that this was a post TP 5.5 bug; I later was quite happy that I did not upgrade it further. Some quick searching indicates that the patches are mostly for later versions. But who knows, may be patching does not change the TURBO.TPL file date and I have forgotten that I patched it?
Just for fun I have even been able to run my TP5.5 application under aDosBox on an Andriod phone. :-)
(not very practical with respect to keyboard operation though).
Let me add that I think the installation and upgrade of the official Lazarus version is as easy as it can be, even when there is need to recompile Lazarus for the docked version; it is done in seconds rather than minutes. No need to worry about all the files installed if not using them. I once installed the free Delphi 10.1 Starter version in a VM and it seemed to take hours rather than minutes.
-
I just started with FPC/Lazarus, coming from VB.Net.
And I love it - congratulations to both teams.
But I'd like to give my wish list - no pressure meant.
I am used to certain things in Visual Studio that I really miss in Lazarus:
1. Place cursor on a function call, press a key to go to the implementation, repeat this several times, and then press another key to go back where I came from.
2. Inverse call tree - where is this function called from (1 click to go to the calling routine, 1 key press to go back.
3. Syntax check while typing - there is "Quick syntax check" but this does not find all problems. It would also be nice if it was executed after typing ; - making it a real time syntax check.
4. Split source, so I can edit the type declaration and the implementation at the same time.
Regards,
Theo
-
1. Place cursor on a function call, press a key to go to the implementation, repeat this several times, and then press another key to go back where I came from.
2. Inverse call tree - where is this function called from (1 click to go to the calling routine, 1 key press to go back.
3. Syntax check while typing - there is "Quick syntax check" but this does not find all problems. It would also be nice if it was executed after typing ; - making it a real time syntax check.
4. Split source, so I can edit the type declaration and the implementation at the same time.
1) There should be an option already to make "Go to declaration" jump to implementation instead.
Going back to where you came from also exists, Though one step at a time only.
2) "1 click" ? But there can be many source lines, that call the function you ask about. There is "Find References" Editor pop-up > Find
4) Use 2 Source Editor windows (context menu on "tab" of source editor, and "clone to new window".
Then "lock" (pop up of tab" the window with the declaration.
-
1. How? I can only find "Go to declararion", not "Go to implementtion" - and the going back: I can not find how to do that.
2. See this picture: https://builditsolutions.net/downloads/ReverseCallTree.png (https://builditsolutions.net/downloads/ReverseCallTree.png)
This function has 12 callers, and when I click that, I get a list with the calls - 1 click on a call in the list sends me to the call.
4. Ok, found this one - clone to new window is really usefull.
-
1) Tools > Options > Codetools: "Jump directly to message body".
This should change what jump to implementation does. I never used it, but afaik that is how it works
going back: alt-h (not sure maybe ctrl-h) in either case you can assign it to other keys, maybe ALT- cursor-left
2)
Lazarus doesn't pop up. But "Find references" gives you this list, in a separate window
It works for any identifier, functions , variables, classes....
Alt-h should work after jumping to any of them
4) And "Lock" it.
this will mean if you navigate around in the unit (search results, jump to other declaration/implementation....) then it will use the unlocked window.
There are some options in the Tools>Option > Editor > Pages and Windows
that determine which window to use as target.
-
1. Thank you. :)
I have now:
ALT-UP: Find references
ALT-DOWN: jump to implementation
ALT-LEFT: Go Back
ALT Right: Go Forward
2. Found it (see above) - works perfect.
-
I just started with FPC/Lazarus, coming from VB.Net.
Then you may interested to learn some useful shortcuts:
http://wiki.lazarus.freepascal.org/Lazarus_IDE_Shortcuts
And here are some useful things to do on the IDE:
- Enable Single Button in Taskbar
Lazarus main menu > Tools > Options > Environment > Window > Show single button in Taskbar
- Show Project Inspector
Lazarus main menu > Project > Project Inspector
- Show Code Explorer
Lazarus main menu > Source > Code Explorer
- Create and Manage Your Desktop
Lazarus main menu > Tools > Desktop
- Enable Anchor Docking
Lazarus main menu > Package > Install/Uninstall Packages > on the right panel, choose "anchordockingdsgn 0.5" > Install Selection > Save and rebuild IDE > Continue > wait some minutes, then the IDE will be restarted
And here has a list of tutorials with wide range of topics:
http://wiki.lazarus.freepascal.org/Lazarus_Documentation
Also this maybe useful for you:
http://wiki.lazarus.freepascal.org/Pascal_for_VisualBasic_users
-
Thanks for the release. It seems to work great using Wine 1.8.7. on Linux. :)
You can also use the native Linux version on Linux.
Yes, but although Linux is my OS I write programs mostly for Windows. I used to use the Linux native version and cross-compiled to Windows but the results weren't that good as a consequence of using different widgets sets. The application looked great on GTK but after cross-compiling the graphics on the windows exe were often misaligned, widgets were too big, etc. Using the Windows version solves those problems because what I see is what I get.
-
Thank You very mutch.
Great work. 8-)
-
Installed LAz 1.8.2 win 64, and some components OK.
But seems to be an error on install of some components:
Example:
upoweredby.pas(150,5) Error: Identifier not found "lpGtk"
poweredby is "asked for" by SplashAbout
Bug or are some workarounds
-
Works fine for me (Laz 1.8.2/fpc 3.0.4/64 bit, Win 19/64 bit, poweredby installed via Online Package Manager, as well as trunk version on CCR).
Did you try a clean rebuild of the IDE, or at least a clean recompilation of the poweredby and the other failing package?
-
Downloaded from Sorceforget, Clean install.
Works fine, execpt som components.
May be you could try powerwed by? (In the compoment list of Lazarus)
-
Downloaded new Poweredby after remove of all old stuff, then it did compile OK.
and scrolltext did complie OK.
splashabout does not compile,
error:
uversion; uversion.pas(111,5) Error: Identifier not found "lpGtk"
it seems no new version exisit, last i'v found is from june 2014
-
splashabout? Where is that? Looking at PoweredBy on Lazarus-CCR (https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/poweredby/latest_stable/) I cannot find a SplashAbout. Maybe you still have a mix of old and new versions?
-
Here:
http://wiki.freepascal.org/SplashAbout
It did work on version 1.6.4
In 1.8.2 the application is asking fore it but i'v now removed it.
Application compiles ok.
Thank's for all help!
-
You must add LCLPlatformDef to the (implementation) uses clause of unit uversion.
-
Thanks, then all works!
-
I wrote a program with Lazarus that has a lot of pagecontrols and different tabsheets.
Under Windows 10 (version 1709) the program opens in under 1 second.
Under Windows 10 (version 1803) it takes about 2 minutes after leaving FormCreate until the mask opens.
When I throw out the tabsheets, it's getting faster.
Does anyone have similar problems with the new Windows version?
-
Does anyone have similar problems with the new Windows version?
I haven't spotted any issues so far.
Please provide a test program to demonstrate.
-
Does anyone have similar problems with the new Windows version?
I haven't spotted any issues so far.
Please provide a test program to demonstrate.
Just noticed a slowdown when opening Lazarus options. I couldn't remember it to be that slow!
-
In the annex zipped a test project
1 frame 5 times in different tabsheets.
Under 1803 30 seconds to start. not measurable under 1709
I have created a 32bit application,
I do not really understand what goes wrong ...
-
In the annex zipped a test project
1 frame 5 times in different tabsheets.
Under 1803 30 seconds to start. not measurable under 1709
I have created a 32bit application,
I do not really understand what goes wrong ...
Sorry can't get rx??? packages work with trunk. Can you build a test project without these extra packages?
-
No problem here (Win 10 1709, 64 bit, Laz trunk/fpc 3.0.4 32bit). I replaced each TCurrencyEdit by TFloatSpinEdit, though, because I did not want to install rxnew. In the attachment you can find my modified version of your demo. If it starts for you correctly, too, then the TCurrencyEdit or some other code in rxnew might be the culprit
-
Sorry here the RX Free Version
-
Takes 65s to start with 1803 on i5 4440 >:D
-
The problem is 1803.
I did not find it in the debugger in the fpc.
One call per wincontrol takes a little longer in the sum then far too long.
But which call is it?
But thanks for testing, I have already doubted me ..
-
I wrote a program with Lazarus that has a lot of pagecontrols and different tabsheets.
Under Windows 10 (version 1709) the program opens in under 1 second.
Under Windows 10 (version 1803) it takes about 2 minutes after leaving FormCreate until the mask opens.
When I throw out the tabsheets, it's getting faster.
Does anyone have similar problems with the new Windows version?
And in both cases the relevant directories are excluded in the antivirus? Since a new windows also means a different windows defender version
-
The Windows 10 (1803) PC is newly installed. No other software, no virus scanner, the Windows Defender is disabled ...
I put a showmessage in the "Formcreate".
The 30 seconds are between the showmessage and the appearance of the mask.
At the Showmessage, the program is already loaded.
-
And in both cases the relevant directories are excluded in the antivirus? Since a new windows also means a different windows defender version
No AV here and windows defender is disabled.
-
Try to run it on safe mode. If it is not slow, that means software only issue.
-
Try to run it on safe mode. If it is not slow, that means software only issue.
What do you mean with safe mode?
-
On Win7 and XP, after you turn the power on then press [F8] (repeatedly). On Win 8, I don't know how to enter safe mode.
Safe mode is a diagnostic mode of a computer operating system (OS). It can also refer to a mode of operation by application software. In Windows, safe mode only allows essential system programs and services to start up at boot. Safe mode is intended to help fix most, if not all problems within an operating system. It is also widely used for removing rogue security software.
Source: Wikipedia
Safe mode is very useful for troubleshooting computer problems. When safe mode is on, only 'core' drivers are loaded and most autorun programs will be disabled. Not all but almost all autorun viruses and malwares can't run on safe mode.
If the program can run without massive slow down on safe mode, it is almost 100% not caused by the hardware. Then we can continue to the next inspections. You may need to turn off/on one by one the programs that listed in the autorun section, which can be shown using msconfig.exe.
-
Hi
How many GDI Handles is your application creating, is it possible your reaching the limit on your windows installation. You can see how many in taskmanager under details for the running application.
-
The programm has 252 GDI-Handles. I do not think that's too much.
The Taskmanager has 1090.
I do not think safe mode will change anything.
(I will try later)
But I suspect that it is due to the GDI handles.
It could be, that the function to generate them, is slower under 1803.
-
On Win7 and XP, after you turn the power on then press [F8] (repeatedly). On Win 8, I don't know how to enter safe mode.
Safe mode is a diagnostic mode of a computer operating system (OS). It can also refer to a mode of operation by application software. In Windows, safe mode only allows essential system programs and services to start up at boot. Safe mode is intended to help fix most, if not all problems within an operating system. It is also widely used for removing rogue security software.
Source: Wikipedia
Safe mode is very useful for troubleshooting computer problems. When safe mode is on, only 'core' drivers are loaded and most autorun programs will be disabled. Not all but almost all autorun viruses and malwares can't run on safe mode.
If the program can run without massive slow down on safe mode, it is almost 100% not caused by the hardware. Then we can continue to the next inspections. You may need to turn off/on one by one the programs that listed in the autorun section, which can be shown using msconfig.exe.
So you mean safe mode of the OS, okay.
-
For Windows 10 1803 it is not possible to use F8 to start in safe mode.
You have to click on Restart with Shift and move through several menus ...
In Safe Mode - no change - Start time 30 s
-
Nobody has an idea?
-
I don't know if has any thing to do with what ever but, I know that MS has for some time now tried to
get people to stop using some old functions in the API.. One of them that I came across while porting some
32 bit code is the "OpenFIle" API which accepts a OFSTRUCT.
That function still works as it did long ago which was originally a windows 3.x function but, it slows!!!!!!!!!!!!!!!!!
down now, delay returns each time you call it...
So any use of this function needs to be replaced with CreateFile.
I found this while porting some serial port code which I was using this to scan ports, I also notice it has a slow down
in normal use, too.
There are a few obsolete IO functions MS has been trying to get coders to stop using and force them to upgrade the
code..
There are other IO obsolete functions they at are trying very hard to remove..
-hread, _hwrite, -lclose, _Icreate, _Iseek and those like it..
any old code that uses these will still work but if you use these functions in newer code, I have found an extreme
delay before they return..
So you may want to check your code and update it.
-
there are no IO operations in the code, just a lot of TEdits, TLabels, ...
No other code...
-
Nobody has an idea?
kpp, you should file a bug report fot this. Include your sample prog.
-
i did
-
Longlive Lazarus ! ;D 8-)
I build from svn (1.8.2) + FPC 3.0 = no problem.
Big Thanks :-*
-
1.8.4 on the ftp ;)
-
1.8.4 on the ftp ;)
That Lazarus 1.8.4 ftp version is not ready or buggy.
See attached image.
-------
Welcome to Lazarus IDE 1.8.2
Configure Lazarus IDE
Warning: wrong version in ide\version.inc: 1.8.4
Start IDE
-------
Warning
Without a proper Lazarus directory you will get a lot of warnings.
Cancel Ignore
-------
-
Did you install the new one to c:\lazarus ?
Maybe you have an old lazarus somewhere and it got mixed up?
-
Did you install the new one to c:\lazarus ?
Yes, I have installed version 1.8.4 over 1.8.2 on c:\lazarus. Both Lazarus versions are 32 bits on a Microsoft Windows 7 Professional 64 bits.
Maybe you have an old lazarus somewhere and it got mixed up?
No, I have no previous Lazarus version before 1.8.2. So, version 1.8.4 is the very first update.
Is there something else that I should check?
Or should I uninstall Lazarus, delete all remaining folders and start it all from zero?
-
Did you install the new one to c:\lazarus ?
Yes, I have installed version 1.8.4 over 1.8.2 on c:\lazarus. Both Lazarus versions are 32 bits on a Microsoft Windows 7 Professional 64 bits.
Maybe you have an old lazarus somewhere and it got mixed up?
No, I have no previous Lazarus version before 1.8.2. So, version 1.8.4 is the very first update.
Is there something else that I should check?
Or should I uninstall Lazarus, delete all remaining folders and start it all from zero?
If you do uninstall, make sure you'll use the full power of CCleaner Free to make sure no traces are left in Registry.
-
Or should I uninstall Lazarus, delete all remaining folders and start it all from zero?
Solved: I have uninstalled Lazarus, delete all remaining folders and files, and reinstalled it from zero.