Recent

Author Topic: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)  (Read 76789 times)

FTurtle

  • Sr. Member
  • ****
  • Posts: 292
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #75 on: October 11, 2017, 03:39:50 pm »
and almost always find that the elements of the forms overlaps with labels and other text when i run the programs in different linuxes/wm... almost everytime i change linux to develop/run i have to redisign the forms and move away the components of forms to avoid their overlap.
Is there any solution to this? or its a linux font problem?

Look at this:
http://forum.lazarus.freepascal.org/index.php/topic,33664.msg218436.html#msg218436

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #76 on: October 12, 2017, 03:39:40 am »
almost everytime i change linux to develop/run i have to redisign the forms and move away the components of forms to avoid their overlap.
Is there any solution to this? or its a linux font problem?

Use anchors and the anchor editor. http://wiki.lazarus.freepascal.org/Autosize_/_Layout#Anchored_to_sibling and http://wiki.lazarus.freepascal.org/Anchor_Sides

If you have more questions on anchoring, please create a new thread/topic.
« Last Edit: October 12, 2017, 03:41:26 am by Martin_fr »

jack616

  • Sr. Member
  • ****
  • Posts: 268
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #77 on: October 13, 2017, 12:29:30 pm »
Before the next release could you please fix the long standing bug relating to
the failure of the lazarus uses clause to recognise relative paths in the lpr file.

eg:   uses '../../commonfiles/fred.pas'

(clicking the units button shows all files but clicking on the files fails to open them)

 PS - I dont know what you changed with the fonts this or recent releases ago
but its a big improvement - thanks for that.

john(not jack)

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #78 on: October 13, 2017, 12:59:02 pm »
Before the next release could you please fix the long standing bug relating to
the failure of the lazarus uses clause to recognise relative paths in the lpr file.

eg:   uses '../../commonfiles/fred.pas'

(clicking the units button shows all files but clicking on the files fails to open them)

AFAIK the uses clause works with unit names (not unit filenames).
So the unit cited in the uses clause as StdCtrls merely represents the filename ... /lazarus/lcl/stdctrls.pp
The unit name is a mapping of the filename, not an identity.

jack616

  • Sr. Member
  • ****
  • Posts: 268
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #79 on: October 13, 2017, 02:19:26 pm »
Ok so the fix is to change the use to filenames - strip the path from the pop-up display
and you no longer have to keep manually loading every single file in the project
and a commonfiles folder is simply and fully implemented?
It is currently  very irritating for larger projects.

As it stands the ctrl+f12 button serves little or no purpose (and is better served in the project
menu anyway ?)

john(not jack)

 

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #80 on: October 13, 2017, 03:38:25 pm »
eg:   uses '../../commonfiles/fred.pas'

Does this compile?
If yes, is there a bug report?

Well if it compiles it should get fixed eventually.

But besides this (not affecting the need for a fix), I am curious why including files like this? Presumingly files shared with other projects?
In that case:
 I really recommend using a package for those files.

Though of course then, they get their own compiler settings.

If you move to packages make sure to clean all old ppu files.

Noodly

  • Jr. Member
  • **
  • Posts: 70
1.8 RC4 and AnchorDockingDsgn 0.5
« Reply #81 on: October 14, 2017, 01:11:25 am »
I've been using 1.8, RC4 for a while without any issues until I installed the AnchorDockingDsgn 0.5 package.

Now the code explorer and components tabs have joined in and I can't get rid of them. Screenshot attached.
« Last Edit: October 14, 2017, 01:17:59 am by Noodly »
Windows 10 Home, Lazarus 2.02 (svn 60954), FPC 3.04

Devstructor

  • New Member
  • *
  • Posts: 27
    • Devstructor.com - Lazarus Tutorials and more
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #82 on: October 17, 2017, 09:50:08 am »
I found the solution. The template of a fpweb web application does not set Application.LegacyRouting to true. After Michael's changes in the routing, this is required to use the data module routing concept (http://lists.freepascal.org/pipermail/fpc-pascal/2017-January/049852.html).

I really like the new release candidate, but I found a problem  :)

After compiling a weblaz HTTP server application which was created with Lazarus 1.6.4 the project does not work anymore.

The routing seems to not work correctly. The HTTP server just responses
:Module Error The application encountered the following error: Error: Not found

It seems like the routing is not working, I cannot reach any of the existing OnRequest Methods of the TFPWebModule.

The bug is really easy to produce. Just install weblaz (shipped with Lazarus 1.8RC4), and create a new HTTP server application. A simple test does not even require the use of actions, you can just create the following OnRequest method:
Code: Pascal  [Select][+][-]
  1. procedure TFPWebModule1.DataModuleRequest(Sender: TObject; ARequest: TRequest;
  2.   AResponse: TResponse; Var Handled: Boolean);
  3. begin
  4.   AResponse.Content:='This test is working, great :)';
  5.   AResponse.Code:=200;
  6.   Handled:=True;
  7. end;  
  8.  

Thank you for your work  :)
http://www.devstructor.com    Devstructor.com - Lazarus Tutorials and more

dbannon

  • Hero Member
  • *****
  • Posts: 2778
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #83 on: November 12, 2017, 11:33:12 pm »
TTrayIcon has a memory leak on the Mac (OK Windows and Linux). I think it will probably affect any app using the TrayIcon so I'd suggest its reasonably serious.

I have logged this in the bug tracker, item number 32678

I have not tested under RC5 but don't see any indication that it has been fixed between RC4 and RC5.

(I'll cross post this to the Mac section of the forum because Mac users need to be alert to it.)

David
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

BIT

  • Full Member
  • ***
  • Posts: 158
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #84 on: December 28, 2017, 03:48:01 pm »
Вообщем скачал последнею сборку с сайта так и пропадают формы после сворачивание и разворачивания поправят это или так и останется?

Generally downloaded the latest build from the site and lost the shape after folding and unfolding fix this or will remain?

https://bugs.freepascal.org/view.php?id=32266
« Last Edit: December 28, 2017, 03:51:58 pm by BIT »

Thaddy

  • Hero Member
  • *****
  • Posts: 14157
  • Probably until I exterminate Putin.
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #85 on: December 28, 2017, 04:09:15 pm »
Some moderator should lock this thread for prosperity.
Maybe with a note to use the release.
Specialize a type, not a var.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Lazarus Release Candidate 4 of 1.8 (includes RC1 of fpc 3.0.4)
« Reply #86 on: December 28, 2017, 04:15:33 pm »
https://bugs.freepascal.org/view.php?id=32266
The report has had questions for over 2 months but they are not answered.
I personally don't promise to fix the issue. I don't use Windows much.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018