Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-02

Feature request: Project Groups

18 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Just updated my lazarus to the latest Trunk revision. I'm very glad to see Project Groups are available and working well thus far. A highly sought after feature for many years.

One suggestion though. Can the "current project" be highlighted in Bold. At the moment there is no way of seeing which project in the project group window is the active project.

Also, what is the point of the "removed targets" tree node? I'm assuming when you remove a project from the group it appears under the "removed targets" node. But why would you want a removed project to still hang around in the project group window? You removed it for a reason right? If you want to undo an accidental remove, doesn't simply not saving the group, or Ctrl-Z, or your SCM system handle that for you? It seems we already have plenty of "undo" choice, and the "removed targets" is just overkill.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
[...] One suggestion though. Can the "current project" be highlighted in Bold. At the moment there is no way of seeing which project in the project group window is the active project.

It's already on my todo list.

Also, what is the point of the "removed targets" tree node?

As an Undo. The user does not need to confirm the deletion.

Show quoted text 8 lines
I'm assuming when you remove a project from the group it appears under the "removed targets" node. But why would you want a removed project to still hang around in the project group window? You removed it for a reason right? If you want to undo an accidental remove, doesn't simply not saving the group, or Ctrl-Z, or your SCM system handle that for you? It seems we already have plenty of "undo" choice, and the "removed targets" is just overkill.

Ctrl-Z is not implemented. The "removed targets" allow to easily spot accidental deletions and to examine the removed target.

Mattias

Reply by email

Marcos Douglas
to Mattias Gaertner
Mattias Gaertner wrote 27 lines
On Thu, 25 Feb 2016 10:19:15 +0000 Graeme Geldenhuys wrote: >[...] > One suggestion though. Can the "current project" be highlighted in Bold. > At the moment there is no way of seeing which project in the project > group window is the active project. It's already on my todo list. > Also, what is the point of the "removed targets" tree node? As an Undo. The user does not need to confirm the deletion. > I'm assuming > when you remove a project from the group it appears under the "removed > targets" node. But why would you want a removed project to still hang > around in the project group window? You removed it for a reason right? > If you want to undo an accidental remove, doesn't simply not saving the > group, or Ctrl-Z, or your SCM system handle that for you? It seems we > already have plenty of "undo" choice, and the "removed targets" is just > overkill. Ctrl-Z is not implemented. The "removed targets" allow to easily spot accidental deletions and to examine the removed target.

Continuing this thread, I would like to know how can I see the Project Group window on IDE if I close?
Is there a shortcut? I didn't find.

Marcos Douglas

Reply by email

Mattias Gaertner
to Marcos Douglas
[...] Continuing this thread, I would like to know how can I see the Project Group window on IDE if I close? Is there a shortcut? I didn't find.

Not yet.
There should be a menu item View -> Project Groups and a short cut.

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 10 lines
On Sat, 3 Sep 2016 22:02:37 -0300 Marcos Douglas wrote: > [...] > Continuing this thread, I would like to know how can I see the Project > Group window on IDE if I close? > Is there a shortcut? I didn't find. Not yet. There should be a menu item View -> Project Groups and a short cut.

It still crashes the IDE when I install it :(

Michael.

Reply by email

Marcos Douglas
to Mattias Gaertner: On Sat, 3 Sep 2016 22:02:37 -0300 Not yet. There should be a menu item View -> Project…
Mattias Gaertner wrote 10 lines
On Sat, 3 Sep 2016 22:02:37 -0300 Marcos Douglas wrote: >[...] > Continuing this thread, I would like to know how can I see the Project > Group window on IDE if I close? > Is there a shortcut? I didn't find. Not yet. There should be a menu item View -> Project Groups and a short cut.

OK, thank you.

Marcos Douglas

Reply by email

Graeme Geldenhuys
to Thierry Andriamirado
Thierry Andriamirado wrote
Still happening to me too.

Me too, at least on my main development system FreeBSD. In one of my Linux VM's it works perfectly and never crashes.

I'm thinking there is maybe a lazarus package conflict or something causing the crash. My Linux VM uses a Lazarus with very limited packages installed as the VM is purpose built for a client's development work.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Mattias Gaertner
to Michael Van Canneyt: It still crashes the IDE when I install it :( Michael.
Show quoted text 14 lines
On Sun, 4 Sep 2016, Mattias Gaertner wrote: > On Sat, 3 Sep 2016 22:02:37 -0300 > Marcos Douglas wrote: > >> [...] >> Continuing this thread, I would like to know how can I see the Project >> Group window on IDE if I close? >> Is there a shortcut? I didn't find. > > Not yet. > There should be a menu item View -> Project Groups and a short cut. It still crashes the IDE when I install it :(

I fixed a crash that might be the cause.
Please test.

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 20 lines
On Sun, 4 Sep 2016 10:49:06 +0200 (CEST) Michael Van Canneyt wrote: > On Sun, 4 Sep 2016, Mattias Gaertner wrote: > > > On Sat, 3 Sep 2016 22:02:37 -0300 > > Marcos Douglas wrote: > > > >> [...] > >> Continuing this thread, I would like to know how can I see the Project > >> Group window on IDE if I close? > >> Is there a shortcut? I didn't find. > > > > Not yet. > > There should be a menu item View -> Project Groups and a short cut. > > It still crashes the IDE when I install it :( I fixed a crash that might be the cause. Please test.

!!!!!!!!!!!!!!!!!!!!!!!!!
!!!! YES ! YES ! YES !!!!
!!!!!!!!!!!!!!!!!!!!!!!!!

It works ! Finally I get to use it...
This is going to make life so much easier :-)

Many thanks for the fix :-)

Michael.

Reply by email

Thierry Andriamirado
to Michael Van Canneyt
Michael Van Canneyt wrote 9 lines
> I fixed a crash that might be the cause. > Please test. !!!!!!!!!!!!!!!!!!!!!!!!! !!!! YES ! YES ! YES !!!! !!!!!!!!!!!!!!!!!!!!!!!!! It works ! Finally I get to use it... This is going to make life so much easier :-)

Good news!
Is it possible to patch the 1.6 official release, or do I have to use the SVN one?

Many thanks for the fix :-)

You guys rock!!

Show quoted text 7 lines
Michael. -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.

Reply by email

Thierry Andriamirado
to Mattias Gaertner
Mattias Gaertner wrote
> Is it possible to patch the 1.6 official release, or do I have to use the SVN one? I merged the changes to fixes_1_6.

Thanks a lot, Mattias! (Y)

Thierry

Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.

Reply by email

silvioprog
to Michael Van Canneyt: !!!!!!!!!!!!!!!!!!!!!!!!! !!!! YES ! YES ! YES !!!! !!!!!!!!!!!!!!!!!!!!!!!!! It works !…
Michael Van Canneyt wrote 30 lines
On Mon, 5 Sep 2016, Mattias Gaertner wrote: > On Sun, 4 Sep 2016 10:49:06 +0200 (CEST) > Michael Van Canneyt wrote: > > On Sun, 4 Sep 2016, Mattias Gaertner wrote: >> >> > On Sat, 3 Sep 2016 22:02:37 -0300 >> > Marcos Douglas wrote: >> > >> [...] >> >> Continuing this thread, I would like to know how can I see the Project >> >> Group window on IDE if I close? >> >> Is there a shortcut? I didn't find. > >> > Not yet. >> > There should be a menu item View -> Project Groups and a short cut. >> It still crashes the IDE when I install it :( >> > > I fixed a crash that might be the cause. > Please test. > !!!!!!!!!!!!!!!!!!!!!!!!! !!!! YES ! YES ! YES !!!! !!!!!!!!!!!!!!!!!!!!!!!!! It works ! Finally I get to use it... This is going to make life so much easier :-) Many thanks for the fix :-)

I'm so glad to see this feature finally available on Lazarus, it is really a very useful feature and could be installed by default.

I remember when we asked that about five years ago... finally I can have a drink to celebrate this news. :-)

Thanks a lot for release it!

Silvio Clécio -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160908/5c1827d5/attachment.html>

Reply by email

Sandro Cumerlato
to silvioprog

Thanx to all Developers for this gem.

In attachment my contribution to the Project Groups component (italian localisation: projectgroupstrconst.it.po).

Best regards,
Sandro Cumerlato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: projectgroupstrconst.it.zip
Type: application/zip
Size: 2561 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160912/2a7969f8/attachment.zip>

Reply by email

Maxim Ganetsky
to Sandro Cumerlato

12.09.2016 15:31, Sandro Cumerlato пишет:

Thanx to all Developers for this gem. In attachment my contribution to the Project Groups component (italian localisation: projectgroupstrconst.it.po).

Applied, thanks.

Note that it is better to submit translations via bugtracker for obvious reasons.

Best regards, Maxim Ganetsky mailto:

Reply by email

Sandro Cumerlato
to Sandro Cumerlato: Thanx to all Developers for this gem. In attachment my contribution to the Project Groups…

Thank you Maxim for the add of my little contribute (in revision 52959).

Unfortunately some strings are fuzzy. In atttachment a patch to fix it.

Sandro

Sandro Cumerlato wrote 7 lines
Thanx to all Developers for this gem. In attachment my contribution to the Project Groups component (italian localisation: projectgroupstrconst.it.po). Best regards, Sandro Cumerlato

-------------- next part --------------
Index: components/projectgroups/languages/projectgroupstrconst.it.po =================================================================== --- components/projectgroups/languages/projectgroupstrconst.it.po (revision 52961) +++ components/projectgroups/languages/projectgroupstrconst.it.po (working copy) @@ -54,16 +54,13 @@
"Could not find target file\n"
"\"%s\"\n"
"What do you want to do?\n"
-msgstr ""
-"Non posso trovare il file destinazione\n"
+msgstr "Non posso trovare il file destinazione\n" "\"%s\"\n"
"Cosa vuoi fare?\n"

#: projectgroupstrconst.liserronlyprojectgroupallowed -#, fuzzy
-#| msgid "Only target type \"projectgroup\" is allowed for root project group" msgid "Only target type \"projectgroup\" is allowed for root project group." -msgstr "Solo il tipo destinazione \"projectgroup\" è permesso per il gruppo di progetti principale" +msgstr "Solo il tipo destinazione \"projectgroup\" è permesso per il gruppo di progetti principale."

#: projectgroupstrconst.liserrorreadingprojectgroupfile msgid "Error reading project group file \"%s\"%s%s" @@ -82,10 +79,8 @@
msgstr "File non valido"

#: projectgroupstrconst.lisinvalidxmlfilename
-#, fuzzy
-#| msgid "Invalid xml file name \"%s\""
msgid "Invalid XML file name \"%s\"."
-msgstr "Nome di file xml non valido \"%s\""
+msgstr "Nome di file xml non valido \"%s\"."

#: projectgroupstrconst.lislazaruspackageslpk
msgid "Lazarus packages (*.lpk)"
@@ -117,7 +112,7 @@

#: projectgroupstrconst.lisnewprojectgroupmenuc
msgid "New project group ..."
-msgstr ""
+msgstr "Nuovo gruppo di progetti ..."

#: projectgroupstrconst.lisnodebuildmodes
msgid "Build Modes"
@@ -148,10 +143,8 @@
msgstr "Destinazioni"

#: projectgroupstrconst.lisopenprojectgroup
-#, fuzzy
-#| msgid "Open project group"
msgid "Open project group ..."
-msgstr "Apri gruppo di progetti"
+msgstr "Apri gruppo di progetti ..."

#: projectgroupstrconst.lisopenrecentprojectgroup
msgid "Open recent project group"
@@ -222,8 +215,7 @@
msgid ""
"Project group \"%s\" is modified.\n"
"What do you want to do?\n"
-msgstr ""
-"Il gruppo di progetti \"%s\" è stato modificato.\n" +msgstr "Il gruppo di progetti \"%s\" è stato modificato.\n" "Cosa vuoi fare?\n"

#: projectgroupstrconst.lisprojectgroupreload
@@ -267,10 +259,8 @@
msgstr "Salva gruppo di progetti"

#: projectgroupstrconst.lissaveprojectgroupas
-#, fuzzy
-#| msgid "Save project group as"
msgid "Save project group as ..."
-msgstr "Salva gruppo di progetti come"
+msgstr "Salva gruppo di progetti come ..."

#: projectgroupstrconst.lisskipalltargets
msgid "Remove all invalid targets"

Reply by email

Maxim Ganetsky
to Sandro Cumerlato

13.09.2016 21:28, Sandro Cumerlato пишет:

Thank you Maxim for the add of my little contribute (in revision 52959). Unfortunately some strings are fuzzy. In atttachment a patch to fix it.

Applied, thanks.

A couple of remarks:

1. Don't send patches for .po files, send complete files instead.
2. Use bugtracker for translation submissions.

Best regards, Maxim Ganetsky mailto:

Reply by email