Re: [Lazarus] Package -> New Component ...

2018-09-26 Thread Maxim Ganetsky via Lazarus

26.09.2018 21:08, Juha Manninen via Lazarus пишет:

I try to hurry this up because a new book about Lazarus will have a
chapter about this New Component feature and the old dialog was badly
outdated. The HighDPI support with multi-resolution icons is a major
new feature in Lazarus / LCL after all.


Hurrying and rushing features at the last moment is never good. Chances 
are the dialog will have regressions and it may turn out that further 
significant rework will be needed.



I would like to push this improvement to the 2.0 branch although it
touches the IDE's resource strings and thus breaks the basic rule of
letting translators do their job in peace after a release branch is
forked.
What do you think?


Changes are quite minimal, so I don't see any major problem from this side.

--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Spotter enhancements

2018-09-26 Thread Michael Van Canneyt via Lazarus


Hi,

I've enhanced the IDE spotter.

It now also searches (if you want) in recent files/projects/packages.
You can configure this in the Tools - Options - IDE Spotter.

Selecting a recent files/project/package will open it (obviously).

Note that this version of IDE spotter no longer will compile in 1.8.4, since
a change in the IDE interfaces was needed.

Next step is to add searching for components and select them on the
component palette and/or drop them on the currently selected control in the form
designer.

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


[Lazarus] Package -> New Component ...

2018-09-26 Thread Juha Manninen via Lazarus
Hello

I improved the New Component feature and its GUI in r59170.
Now it accepts 3 icons for different resolutions. The higher
resolution icons will be picked automatically if their file names have
'_150' and '_200' suffix. They can be selected manually, too.
Parts of the GUI were dummy. For example it allowed a user to change a
unit's filename but then complained if he did so. Now a generated file
name is shown in a label. The directory for a unit file can still be
selected.
There are other minor improvements although more would be needed I guess.
Please check out.

The resource type generated is still the old Lazarus Recourse (.lrs).
The next step is to generate the FPC's Delphi compatible resource
(.res).

I try to hurry this up because a new book about Lazarus will have a
chapter about this New Component feature and the old dialog was badly
outdated. The HighDPI support with multi-resolution icons is a major
new feature in Lazarus / LCL after all.
I would like to push this improvement to the 2.0 branch although it
touches the IDE's resource strings and thus breaks the basic rule of
letting translators do their job in peace after a release branch is
forked.
What do you think?

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


Re: [Lazarus] Lazarus Release Candidate 1 of 2.0

2018-09-26 Thread Juha Manninen via Lazarus
On Wed, Sep 26, 2018 at 6:43 PM Andrea Mauri via Lazarus
 wrote:
> I didn't tested on Lazarus 2.0 RC1.

Well, this theread is about Lazarus 2.0 RC1. Maybe you should write
about it elsewhere.
Cocoa is under construction. It will not be stable in Lazarus 2.0.

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


Re: [Lazarus] Lazarus Release Candidate 1 of 2.0

2018-09-26 Thread Andrea Mauri via Lazarus
I have issues with TListView and cocoa using lazarus trunk. I didn't 
tested on Lazarus 2.0 RC1.

See forum post:
http://forum.lazarus.freepascal.org/index.php/topic,42671.0.html

Il 19/09/2018 13:50, Mattias Gaertner via Lazarus ha scritto:

The Lazarus team is glad to announce the first release candidate of
Lazarus 2.0.

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

Here is the list of fixes for Lazarus 2.0.x:
http://wiki.freepascal.org/Lazarus_2.0_fixes_branch

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

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 2.0RC1" directory.

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

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

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

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/

== Why should everybody (including you) test the release candidate? ==

In the past weeks the Lazarus team has stabilized the 2.0 fixes branch.
The resulting 2.0RC1 is now stable enough to be used by any one for
test purposes.

However many of the fixes and new features that where committed since
the release of 1.8 required changes to the code of existing features
too. While we have tested those ourself, there may still be problems
that only occur with very specific configurations or one project in a
million.

Yes, it may be that you are the only person with a project, that will
not work in the new IDE. So if you do not test, we can not fix it.

Please do not wait for the final release, in order to test. It may be
too late. Once the release is out we will have to be more selective
about which fixes can be merged for further 2.0.x releases. So it may
be, that we can not merge the fix you require. And then you will miss
out on all the new features.

== How to test ==

Download and install the 2.0 RC1.
- On Windows you can install as a 2ndary install, that will not affect
your current install:
http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
- On other platforms, if you install to a new location you need to use
--primary-config-path

In either case you should make backups. (including your primary config)

Open your project in the current Lazarus (1.8.x), and use "Publish
Project" from the project menu. This creates a clean copy of your
project.

You can then open that copy in the RC1. Please test:
- If you can edit forms in the designer
   - rename components / change properties in Object inspector / Add new
events
   - Add components to form / Move components on form
   - Frames, if you use them
- If you can navigate the source code (e.g. jump to implementation)
- Auto completion in source code
- Compile, debug and run
- Anything else you use in your daily work


Mattias


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