Recent

Author Topic: Lazarus 1.6 - 1st Release Candidate  (Read 121606 times)

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #75 on: December 20, 2015, 11:48:24 am »
@universe:
I tested your app, on Laz1.4.4 and on 1.6RC1 (both 32 bit)
After installing pascalscript to 1.6 the app worked fine to me. (2, 1, Test2: message :1)
I tested  normal, debug and release mode.
The only thing I noticed was a SIGSEGV error on the first start on Laz, but then it worked fine.

What version/OS are you working with ?
What exactly is the bug you found ?
 
« Last Edit: December 20, 2015, 11:50:36 am by jc99 »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

arneolav

  • Full Member
  • ***
  • Posts: 197
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #76 on: December 20, 2015, 11:59:37 am »
Hi!
1.6 seems to be an error in DateUtils, converting from/to localtime;
Try this in v 1.4.4 and v 1.6RC1:

Code: Pascal  [Select][+][-]
  1. procedure TForm1.FormCreate(Sender: TObject);
  2. var NowTime: TDateTime;
  3. begin
  4.   NowTime :=Now;                                                                //Save nowtime
  5.   Memo1.Lines.Add('Now: ' + FormatDateTime('c',NowTime));
  6.   Memo1.Lines.Add('UTC: ' + FormatDateTime('c',LocalTimeToUniversal(NowTime)));
  7.   Memo1.Lines.Add('Local: ' + FormatDateTime('c',UniversalTimeToLocal(LocalTimeToUniversal(NowTime))));
  8. end;
  9.  

My timezone is UTC +1;
1.4 is correct, adding 1 hour to UTC,
1.6 is subtracting 1 hour from UTC.
Win 11, win64 , Lazarus 4.0RC3
Delphi/DevExpress

universe

  • New Member
  • *
  • Posts: 20
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #77 on: December 20, 2015, 12:00:40 pm »
Hello jc99,
I tested under Windows 10 x64, by the way I didn't install pascalscript to Lazarus 1.6RC1 (64bit) it was there by default, and what I noticed

- Message shows a wrong integer value
- Infinite loop


universe

  • New Member
  • *
  • Posts: 20
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #78 on: December 20, 2015, 12:32:46 pm »
I have to correct something my Lazarus version was 1.4 (x86) and my script was working and I've just downloaded Lazarus 1.4 (x64) and the problem exists so the bug is not related to Lazarus 1.6, it's an old x64 bit related (FPC?) bug.

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #79 on: December 20, 2015, 01:44:03 pm »
My timezone is UTC +1;
1.4 is correct, adding 1 hour to UTC,
1.6 is subtracting 1 hour from UTC.
My timezone is UTC +1 too
I can confirm this bug.
And also for other timezones, both procedures work in the wrong direction.  (The delta seems ok though)

OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

ftplazarus

  • Newbie
  • Posts: 4
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #80 on: December 20, 2015, 09:45:26 pm »
Hi team !

With AnchorDocking, my bottom window is growing upper a few pixels each time Lazarus is launched.
See the attachments jpg

Could you check this ?

Many thanks

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #81 on: December 20, 2015, 10:10:29 pm »
Hi team !

With AnchorDocking, my bottom window is growing upper a few pixels each time Lazarus is launched.
See the attachments jpg

Could you check this ?

Many thanks

Are you using Lazarus Windowed or Fullscreen ?
OS and bitness (32/64 bit) would be a good information ...
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #82 on: December 20, 2015, 10:13:53 pm »
Something else ...
The Project-Inspector adds only one file, even if I select more, is it a bug or a new feature ?
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #83 on: December 20, 2015, 10:21:00 pm »
Hi team !

With AnchorDocking, my bottom window is growing upper a few pixels each time Lazarus is launched.
See the attachments jpg

Could you check this ?

Many thanks
I can confirm this, but it's not a new problem, 1.4.4 with AD has the same behavior.
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4570
  • I like bugs.
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #84 on: December 20, 2015, 10:59:36 pm »
With AnchorDocking, my bottom window is growing upper a few pixels each time Lazarus is launched.

It is a known issue.
  http://bugs.freepascal.org/view.php?id=18538
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4570
  • I like bugs.
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #85 on: December 20, 2015, 11:11:03 pm »
The Project-Inspector adds only one file, even if I select more, is it a bug or a new feature ?

It works here. How to reproduce?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #86 on: December 21, 2015, 06:58:20 am »
My timezone is UTC +1;
1.4 is correct, adding 1 hour to UTC,
1.6 is subtracting 1 hour from UTC.
My timezone is UTC +1 too
I can confirm this bug.
And also for other timezones, both procedures work in the wrong direction.  (The delta seems ok though)

This is an FPC issue fixed in r31356 (FPC trunk). You can ask the FPC team to merge it into 3.0 branch.

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #87 on: December 21, 2015, 08:38:32 am »
The Project-Inspector adds only one file, even if I select more, is it a bug or a new feature ?

It works here. How to reproduce?
Then it's difficult ...
BTW:
When I do it with a new project it works too.

My Settings:
Laz 1.6RC1
+ ProjectGroup
+ AnchorDocking
+ Sparta
(+ pascalscript)


Steps:
- Open an existing project, with already open files, by activating it in ProjectGroup or directly.
  (e.G: lazProject (by tr_escape) LazOscop/Oscilloscop4.lpi )
- PI: click +Add -> PopUp
- PI: Click Add Files -> New Window
- Select all files
- Press button add files
- Only one file is added
... to add all files I had to repeat the steps (except the first, of cause)

 
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4570
  • I like bugs.
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #88 on: December 21, 2015, 11:34:26 am »
My Settings:
Laz 1.6RC1
+ ProjectGroup

ProjectGroups are not stable yet in 1.6. The feature is being improved in trunk. See a thread "Error when installing project groups" in Lazarus mailing list.
Does the problem happen also without ProjectGroups?

Quote
- PI: click +Add -> PopUp
- PI: Click Add Files -> New Window

"Add files in file system" or "Add files in directory"?

Where are the files? In a project sub-directory maybe? Some of them may be considered invalid for some reason.
You can open a bug report but you must include a project + the new files to be added.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #89 on: December 21, 2015, 05:44:20 pm »

ProjectGroups are not stable yet in 1.6. The feature is being improved in trunk. See a thread "Error when installing project groups" in Lazarus mailing list.
Does the problem happen also without ProjectGroups?
Yes, it happens even when I use "Open Project" directly
Quote
"Add files in file system" or "Add files in directory"?
Neither, It's the third option "Add Files" (files in editor ?)

Quote
Where are the files? In a project sub-directory maybe? Some of them may be considered invalid for some reason.
You can open a bug report but you must include a project + the new files to be added.
Files are in the same directory.
If they are invalid for some reason, why are they shown, and why are they valid the next time, and why are they all valid for Laz 1.4.4 ?
https://github.com/mehmetulukaya/laz-projects/tree/master/LazOscop
or
https://sourceforge.net/projects/lazprojects/
See also http://forum.lazarus.freepascal.org/index.php/topic,28777.msg180458.html#msg180458   

[Edit]
Ops, Laz 1.4.4 has the same problem with Oscilloscope4.lpi
(can add only one file per round)

[Edit2]
There is a funny thing in 1.4.4 when I mark no file, all are added (? !) When I mark all files (make them blue) only one file is added ! ? !
« Last Edit: December 21, 2015, 06:29:42 pm by jc99 »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

 

TinyPortal © 2005-2018