Re: [Lazarus] Default project ?

2020-11-19 Thread Ondrej Pokorny via lazarus

On 19.11.2020 18:07, Michael Van Canneyt via lazarus wrote:

I'll post a feature request in the bugtracker.


Yes, that is the best you can do :)

Ondrej

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


Re: [Lazarus] Default project ?

2020-11-19 Thread Michael Van Canneyt via lazarus



On Thu, 19 Nov 2020, Bo Berglund via lazarus wrote:


On Thu, 19 Nov 2020 12:17:11 +0100, Bart via lazarus
 wrote:


Can we now get back to the original question this thread was about?



I agree that it would be nice to have a setting in Lazarus to define
*what type of project* it will autogenerate in absence of a previous
project to load.

But it is not that difficult really to configure Lazarus to not load
the previous project and then when the default pops up go to
Project/New... and select the wanted type.
So a setting for "Default project type" might help...

The issue here might be to avoid loading a massive project
un-necessarily when one wants to start a new project.

If the checkbox at
Tools/Options/Environment/Open_Last_Project_And_Packages_At_Start

is unchecked it acts the same as if the start command contains the
argument --skip-last-project, so it is easier to manage this way.


No, I want it actually to create a 'Simple program' as that is what I do in
90% of cases. The 9 other percent is 'Console application' and maybe 1%
'Application' (the current default).

I'll post a feature request in the bugtracker.

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


Re: [Lazarus] Default project ?

2020-11-19 Thread Bo Berglund via lazarus
On Thu, 19 Nov 2020 12:17:11 +0100, Bart via lazarus
 wrote:

>Can we now get back to the original question this thread was about?
>

I agree that it would be nice to have a setting in Lazarus to define
*what type of project* it will autogenerate in absence of a previous
project to load.

But it is not that difficult really to configure Lazarus to not load
the previous project and then when the default pops up go to
Project/New... and select the wanted type.
So a setting for "Default project type" might help...

The issue here might be to avoid loading a massive project
un-necessarily when one wants to start a new project.

If the checkbox at
Tools/Options/Environment/Open_Last_Project_And_Packages_At_Start

is unchecked it acts the same as if the start command contains the
argument --skip-last-project, so it is easier to manage this way.


-- 
Bo Berglund
Developer in Sweden

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


Re: [Lazarus] error in https://www.freepascal.org/docs-html/rtl/math/floor.html

2020-11-19 Thread Ondrej Pokorny via lazarus

On 19.11.2020 13:23, Dr Engelbert Buxbaum via lazarus wrote:

the example on the bottom was apparently copied from the documentation of the 
ceil function. The results were changed for floor, but the function call was 
not.


Correct, thanks for reporting, I fixed that.

BTW, this is FPC documentation, so better to report to the fpc-devel 
mailing list.


Ondrej

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


[Lazarus] error in https://www.freepascal.org/docs-html/rtl/math/floor.html

2020-11-19 Thread Dr Engelbert Buxbaum via lazarus
Hi,

the example on the bottom was apparently copied from the documentation of the 
ceil function. The results were changed for floor, but the function call was 
not.

--
Sincerelyn
Dr Engelbert Buxbaum

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


Re: [Lazarus] Default project ?

2020-11-19 Thread Juha Manninen via lazarus
On Wed, Nov 18, 2020 at 8:51 PM Bo Berglund via lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> Especially since Lazarus crashes greatly if there is a problem with
> the last project ...
>

Report all such crashes please. Test with Lazarus trunk and include a
minimal test project to reproduce.

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


Re: [Lazarus] Default project ?

2020-11-19 Thread Bart via lazarus
Can we now get back to the original question this thread was about?

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