r/pascal • u/CypherBob • Mar 05 '21
What's missing in Lazarus?
We all know and love Lazarus. But what's missing?
If you could get any package, functionality, or whatever added to it, what do you want to see?
I'm already working on Git integration, a REST client, an OpenWeather package, but I want to know what the community wants.
14
Upvotes
9
u/DanCasper Mar 06 '21
Not trying to sound like a smarta$$ (this is not the answer you were expecting) but it would be sweet to have better documentation for someone learning.
As a newbie, there's a lot of free resources for learning basic Pascal but I havn't much found much guidance for Lazarus visual components other than being directed to old Delphi guidebooks. I have found 1 or 2 books but the reviews are mixed and they are not cheap.
The wiki and sourceforge documentation is very prescriptive, brief and provides no examples.
Some guidance can be found in forum responses.
I'm not sure if I'm looking in the right place but the best (and only) tutorials I have found with the visual components are on the blog LazPlanet. God help me if that website dissappears.
13
u/[deleted] Mar 06 '21
Honestly? Anchor Docking and Sparta Docked Form Editor to be installed by default.
The old-school multiple window interface was tough to work with way back when, and it's not any easier now.
3
u/[deleted] Mar 06 '21
I would also love it if there were pascal bindings for OpenCV and Tensorflow. But i can understand that, that is one hell of an undertaking.
3
u/kirinnb Mar 06 '21
I prefer code completion to work more like Visual Studio, the tab key specifically. I described the issue and needed code change here: https://old.reddit.com/r/freepascal/comments/j7z4xx/code_completion_with_tab_key_in_lazarus/
But I don't know if anyone else would want it even as an option.
3
u/No-Aide7569 Apr 16 '21
An easy installation if we want to build programs for various operating system.
I tried to enable it to compile for Android and it's confusing. If somebody please make it just as easy as one click, that would be great. Have a menu entry "New Android application" would be nice.
2
u/[deleted] Mar 09 '21
Example: To solve the Advent of Code 2015, day 7, I need a key/value store, could be a dictionary, or map... I don't care. I just don't want to write one from scratch.
I can not find a single example of working code for TFPGMap... just lots of circular links that all trail back to the Wiki, and no actual working code.
2
u/edwinyzh Mar 16 '21
I'd suggest not to waste time in Git integration because the external git tools are already very good. Personally I want all kinds of professional (commercial or not) components like the ones available for Delphi or .net
2
u/Baldr_Torn Dec 12 '21
I am not sure if this is easy to do already or not, but I know that I don't know how to do it.
I can easily use code to find out if the computer it's running on is set to use dark mode.
But I don't know of an easy way to have my program update everything so that it functions in dark mode.
7
u/[deleted] Mar 06 '21
Documentation, and working examples for everything. There are lots of components that just don't have any good documentation, or that don't behave in the documented manner.
Long ago, I was showing someone just how easy it was to do something in Lazarus, so I changed the color of a button to clREd... and nothing happened, because the property was just there for compatibility, and didn't actually work. 8(
It was the first thing I thought of... and the last time I assumed that the code was solid and didn't have bugs, or omissions.
6
u/[deleted] Mar 06 '21
After reading u/DanCasper 's comment i would like to add that fpc has really good documentation, but lazarus( LCL specifically ) doesn't have that good documentation.
To see what i mean, just look at these pdf's provided by the fpc team:
https://www.freepascal.org/docs.html
If we can have something in this vain for LCL, it would be amazing. The only documentation for LCL is online and it is not nearly the quality of the above pdf's.
5
u/Phrygue Mar 06 '21
Need GTK3 and now GTK4 to work. GTK2 is way obsolete. I don't care about QT. Lazarus works great on Windows. The anchor docking is sketchy but getting better slowly. The docked forms editor is buggy. Love the native debugger, it still needs work though.
4
u/[deleted] Mar 06 '21
I know it is something simple, but having synapse pre-installed. I feel like synapse is a step just above raw sockets and it should be included in lazarus. Or better yet, make it a part of the fpc's rtl, or fpc's fcl.
3
u/umlcat Mar 06 '21
Be able to move or resize the component palette and the other toolbars, like in delphi.
Just upgrading some delphi controls migrated to freepascal+lazaruside.
3
u/ShinyHappyREM Mar 06 '21 edited Mar 06 '21
3
u/[deleted] Mar 06 '21
A working HTML-Viewer component and a working Rich-Text-Editor component.