Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-01 Thread Ondrej Pokorny via lazarus

On 01.11.2019 23:03, Martin Frb via lazarus wrote:

Well and a "autosave" feature might be nice, but needs to be written...


The project is always automatically saved when you compile it.

Ondrej

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] gdb problems on ubtuntu 19.10

2019-11-01 Thread Anthony Walter via lazarus
An update. I installed Linux Mint 19.2 on the same laptop and re-ran my
install script. The problem previously described with gdb did not present
itself. This leads me to believe there is some kind of problem with gdb in
Ubtuntu 19.10, the prior OS I was testing.

>
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-01 Thread Martin Frb via lazarus

On 01/11/2019 22:10, Bo Berglund via lazarus wrote:

I installed Lazarus 2.0.6 a few hours ago into a fully updated
Raspbian Buster on an RPi4B 4GB system. Interfacing to it using
RealVNC to my Windows7 laptop.

I opened the current project and checked that it would build etc. No
problems.

Then I started write a section of description comments at the top of a
source file and when I was almost done and clicked in the editor
window a few lines down to move the cursor, Lazarus suddenly just
unloaded on me!!!
Desktop still there and all seemingly working OK except Lazarus had
disappeared.

All edits lost when I restarted Lazarus. :-(

I have never before encountered a crash like this, could it be because
the IDE is so "fresh out of the presses"?
Good question "why". That can't be answered easily. And the issue could 
be new or old.


Unfortunately more info would be needed. So it depends how reproducible 
the issue is.
It could easily be something related to RP (and then may happen again).  
Or Gtk (2 or 3 ?).


Is there a core file? If yes, try to get a trace with gdb.

If it can be reproduced, try getting a stacktrace. If the IDE is build 
with debug info, and run from console (or with --debug-log=file) then it 
will in most cases print a trace of the crash.
If it does not print a trace, then running the IDE (still with debug 
info) under gdb can help.


Well and a "autosave" feature might be nice, but needs to be written...

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-11-01 Thread Martin Frb via lazarus

On 01/11/2019 22:25, Bo Berglund via lazarus wrote:

I just installed Lazarus 2.0.6 from sources and when I started it on
Raspbian Buster I did get the dialog again. I assume your change is in
2.0.6? Help/About reports revision 62151.



No, the change was a bigger change, which will only be in 2.2
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-11-01 Thread Bo Berglund via lazarus
On Tue, 17 Sep 2019 22:27:13 +0200, Martin Frb via lazarus
 wrote:

>Can you please retest with
>Revision: 61896
>Date: 17 September 2019 22:21:38
>EditorMacroScript: Use "internal" (none-native) calling for object methods
>
>Making sure you remove your editormacroscript.xml file, or re-request 
>the self-test from the options page, please.

I just installed Lazarus 2.0.6 from sources and when I started it on
Raspbian Buster I did get the dialog again. I assume your change is in
2.0.6? Help/About reports revision 62151.

On Lazarus startup it created the file and following starts are OK. If
I remove the file the error box re-appears (once) on Lazarus start.


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-01 Thread Bo Berglund via lazarus
I installed Lazarus 2.0.6 a few hours ago into a fully updated
Raspbian Buster on an RPi4B 4GB system. Interfacing to it using
RealVNC to my Windows7 laptop.

I opened the current project and checked that it would build etc. No
problems.

Then I started write a section of description comments at the top of a
source file and when I was almost done and clicked in the editor
window a few lines down to move the cursor, Lazarus suddenly just
unloaded on me!!!
Desktop still there and all seemingly working OK except Lazarus had
disappeared.

All edits lost when I restarted Lazarus. :-(

I have never before encountered a crash like this, could it be because
the IDE is so "fresh out of the presses"?


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release 2.0.6

2019-11-01 Thread Bo Berglund via lazarus
On Fri, 1 Nov 2019 12:20:54 +0100, Mattias Gaertner via lazarus
 wrote:

>The Lazarus team is glad to announce the release of Lazarus 2.0.6.
>
>This release was built with FPC 3.0.4.

THanks for the upgrade!
I have downloaded the sources via svn and am building bigide on
Rasdpberry Pi4 as I write this.
Happy to be part of an active community!! :-)


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus program runs fine in a Terminal but not in a PuTTY session, why?

2019-11-01 Thread Bo Berglund via lazarus
On Thu, 31 Oct 2019 23:04:50 +, Graeme Geldenhuys via lazarus
 wrote:

>Hi Bo,
>
>On 31/10/2019 10:02 pm, Michael Van Canneyt via lazarus wrote:
>> If the 'interfaces' unit is in the uses clause of your program, try
>> removing it.
>
>
>In addition to what Michael said, you can also run
>`ldd /path/and/program` and Linux will tell you your executable is
>dependent on X11 libraries. If so, then "nogui" might still be pulling
>in dependencies without your knowledge.

Does this mean that the program may still only run on a Pi where there
is an installed desktop? For example if I move the application to an
RPi4 with Raspbian Lite installed, will it possibly barf at me then?

With nogui it so far seems to work OK, but I have only tested very
little.


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release 2.0.6

2019-11-01 Thread Michael Van Canneyt via lazarus



On Fri, 1 Nov 2019, Mattias Gaertner via lazarus wrote:


On Fri, 1 Nov 2019 12:46:50 +0100 (CET)
Michael Van Canneyt via lazarus  wrote:

First of all: 
congratulations, I downloaded the version at once !


2 small notes:

The offered 'latest version' on sourceforge for mac 64-bit is 2.0.4: 
lazarus-2.0.4-i686-macosx.dmg


It seems sourceforge has some trouble at the moment. I get random error
messages "Oh snap...".


Good luck, then...


So I searched and installed lazarus-2.0.6-i686-macosx.dmg instead.

When I install that version, it says:
i386-darwin-carbon

Is this correct ? 
So this is not yet a cocoa-based release, ready for Catalina ?


I'm working on a Catalina dmg.


I don't have catalina yet, so no hurry on my account.

Michael.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release 2.0.6

2019-11-01 Thread Mattias Gaertner via lazarus
On Fri, 1 Nov 2019 12:46:50 +0100 (CET)
Michael Van Canneyt via lazarus  wrote:

> First of all: 
> congratulations, I downloaded the version at once !
> 
> 2 small notes:
> 
> The offered 'latest version' on sourceforge for mac 64-bit is 2.0.4: 
> lazarus-2.0.4-i686-macosx.dmg

It seems sourceforge has some trouble at the moment. I get random error
messages "Oh snap...".

 
> So I searched and installed lazarus-2.0.6-i686-macosx.dmg instead.
> 
> When I install that version, it says:
> i386-darwin-carbon
> 
> Is this correct ? 
> So this is not yet a cocoa-based release, ready for Catalina ?

I'm working on a Catalina dmg.

Mattias
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release 2.0.6

2019-11-01 Thread Michael Van Canneyt via lazarus


First of all: 
congratulations, I downloaded the version at once !


2 small notes:

The offered 'latest version' on sourceforge for mac 64-bit is 2.0.4: 
lazarus-2.0.4-i686-macosx.dmg


So I searched and installed lazarus-2.0.6-i686-macosx.dmg instead.

When I install that version, it says:
i386-darwin-carbon

Is this correct ? 
So this is not yet a cocoa-based release, ready for Catalina ?


Michael.

On Fri, 1 Nov 2019, Mattias Gaertner via lazarus wrote:


The Lazarus team is glad to announce the release of Lazarus 2.0.6.

This release was built with FPC 3.0.4.
The previous release Lazarus 2.0.4 was built with FPC 3.0.4 as well. 


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

Here is the list of fixes for Lazarus 2.0.x:
http://wiki.freepascal.org/Lazarus_2.0_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 2.0.6" directory.

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

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), qt and qt5 (32 or
 64bit).

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

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/

Mattias
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Release 2.0.6

2019-11-01 Thread Samuel Herzog via lazarus
Great!
Many thanks to all of you!Vielen Dank an alle!
Happy coding  and a nice day.
Sam

Frische Musik für deine Ohren. DJ Duke
 

Am Freitag, 1. November 2019, 12:21:10 MEZ hat Mattias Gaertner via lazarus 
 Folgendes geschrieben:  
 
 The Lazarus team is glad to announce the release of Lazarus 2.0.6.

This release was built with FPC 3.0.4.
The previous release Lazarus 2.0.4 was built with FPC 3.0.4 as well. 

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

Here is the list of fixes for Lazarus 2.0.x:
http://wiki.freepascal.org/Lazarus_2.0_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 2.0.6" directory.

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

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), qt and qt5 (32 or
  64bit).

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

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/

Mattias
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
  -- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus Release 2.0.6

2019-11-01 Thread Mattias Gaertner via lazarus
The Lazarus team is glad to announce the release of Lazarus 2.0.6.

This release was built with FPC 3.0.4.
The previous release Lazarus 2.0.4 was built with FPC 3.0.4 as well. 

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

Here is the list of fixes for Lazarus 2.0.x:
http://wiki.freepascal.org/Lazarus_2.0_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 2.0.6" directory.

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

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), qt and qt5 (32 or
  64bit).

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

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/

Mattias
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer

2019-11-01 Thread Mattias Gaertner via lazarus
On Thu, 31 Oct 2019 10:30:03 -0500
Dan Star via lazarus  wrote:

>[...]
> > I upgraded from Mojave to Catalina
> > 
> > executed "xcode-select --install"
> > 
> > And then to find the crt1.10.5 I changed in /etc/fpc.cfg the -Fl
> > behind "#ifdef cpux86_64" from
> > -Fl/Applications/Xcode.app/Contents/Developer/Toolchain...
> > to
> > -Fl/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/
> > 
> > Now Lazarus can compile itself.  
> 
> What are the correct file permissions on /etc/fpc.cfg?

root wheel 644

Mattias
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus