[Lazarus] IdeIntf was split to BuildIntf
IdeIntf package was refactored, non-GUI parts were moved to a new BuildIntf package. Commit r62795 by Mattias (although I did the actual split). Rebuilding the sources after r62795 using a Lazarus executable built before it gives an error. The old IDE does not know where the BuildInf package is. The easiest cure is to open components/buildide.lpk in the IDE. Building succeeds once the IDE has seen it. See issue : https://bugs.freepascal.org/view.php?id=36819 Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
On Tue, 24 Mar 2020, Ondrej Pokorny via lazarus wrote: On 23.03.2020 20:26, Michael Van Canneyt via lazarus wrote: Well, I think it does need to be closed from time to time. Namely: I want to be sure that all is closed before doing an svn update or git pull. Although many bugs have been fixed, still from time to time when you do an update of files on disk, Lazarus messes up and overwrites incoming changes. I fixed a bug that rewrote the incoming LPI changes recently and that annoyed me for years: https://bugs.freepascal.org/view.php?id=36813 Yes, I saw it, and I am glad one more case is fixed. I am not aware of other bugs that would rewrite external changes. Please report them. As soon as I can reliably reproduce them. As said, they are not easy to reproduce. It took me several years to be able to report just one particular case to Mattias :( So as far as I am concerned, the case for actually closing everything still stands. Michael. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] IdeIntf was split to BuildIntf
On Tue, Mar 24, 2020 at 9:47 AM Juha Manninen wrote: > The easiest cure is to open components/buildide.lpk in the IDE. > Oops :( It should be "components/buildintf/buildintf.lpk" obviously. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
On 24.03.2020 9:08, Michael Van Canneyt wrote: So as far as I am concerned, the case for actually closing everything still stands. I though "Close Project" does the thing, or isn't this good enough? Ondrej -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
On Tue, Mar 24, 2020 at 10:56 AM Ondrej Pokorny via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I though "Close Project" does the thing, or isn't this good enough? > +1 Exactly. As a bonus the editor files session of the closed project is remembered and reopened next time. Please remember that "Close all" is in File menu, not in Project menu. Delphi has its project menu items in File menu which is counter-intuitive. IMO Lazarus works logically in this regard. If you don't want to do "Close Project", you can do "New Project". You don't need to save it but all IDE features remain enabled. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
On Tue, 24 Mar 2020, Juha Manninen via lazarus wrote: On Tue, Mar 24, 2020 at 10:56 AM Ondrej Pokorny via lazarus < lazarus@lists.lazarus-ide.org> wrote: I though "Close Project" does the thing, or isn't this good enough? +1 Exactly. As a bonus the editor files session of the closed project is remembered and reopened next time. Please remember that "Close all" is in File menu, not in Project menu. Delphi has its project menu items in File menu which is counter-intuitive. IMO Lazarus works logically in this regard. If you don't want to do "Close Project", you can do "New Project". You don't need to save it but all IDE features remain enabled. See my (held for moderation, attachment to big) answer to Ondrej for why this reasoning is insufficient and the current Lazarus behaviour is actually buggy. It's in fact hilarious that I am forced to even discuss this ! :-) I mean, how hard can it be to understand this ? To any normal human being, *Close All* means close *ALL*. 'All' is just a 3 letter english word with a very clear meaning. Savour the simplicity of it by pronouncing it out loud, prolongue the 'l' sound if you need that to fully grasp the meaning and beauty of this word :) No offense meant, but if the team need to explain this much why it is not really doing what it says on the tin, then it's simply ill-conceived. https://www.startupvitamins.com/products/startup-poster-a-user-interface-is-like-a-joke-if-you-have-to-explain-it-its-not-that-good Oh well, I suppose there are worse things in the world. (even disregarding the current health crisis ;-) ) Michael. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
On Tue, Mar 24, 2020 at 11:39 AM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: > To any normal human being, *Close All* means close *ALL*. > But when it is under File menu, it means "Close All Files". :-) -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
Op 2020-03-23 om 19:39 schreef Juha Manninen via lazarus: On Mon, Mar 23, 2020 at 2:35 PM Marco van de Voort via lazarus mailto:lazarus@lists.lazarus-ide.org>> wrote: Personally I hate the mandatory open project (or else the modal options). E.g. you want to open a .lpk and you have to create a project first to open the menu item. Not really because a project is always opened automatically when you start Lazarus. It's either the previously used project or a new empty project. The new empty project behaves almost like "no project" because you don't have to save it. IIRC the "Close Project" entry was added after a user request, but it is rather useless. You cannot do much anything when projects are closed. Everything is disabled then. I often do close project before updating svn, since that might also update project files. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
On 2020/03/24 11:39, Michael Van Canneyt via lazarus wrote: See my (held for moderation, attachment to big) answer to Ondrej for why this reasoning is insufficient and the current Lazarus behaviour is actually buggy. It's in fact hilarious that I am forced to even discuss this ! :-) I mean, how hard can it be to understand this ? To any normal human being, *Close All* means close *ALL*. 'All' is just a 3 letter english word with a very clear meaning. Savour the simplicity of it by pronouncing it out loud, prolongue the 'l' sound if you need that to fully grasp the meaning and beauty of this word :) Firstly, Michael, that was quite fun to read, I enjoyed it :) Secondly, I've been following this thread with some ambivalence, but before it gets silly - kindly remember the small feature called "Context". What does the word "Open" mean to "any normal human being"? It's simply an adjective/verb, perhaps describing a property of a thing being unclosed, or the action of making a thing unclosed. In the File menu the word "Open" only gets it's meaning via the sub-context of being in the "FILE" menu. If it was in the Project menu or Package menu (oh look, there it is...) it would bestow it's meaning on a completely different thing. Why are we Ok with the sub-context bestowed on "Open" and the difference in meaning when it's in the Project menu vs. when it is in the File menu? I can repeat the above for "New" or indeed "Close". When a menu says "Close All" it must by definition mean "... for the stuff that this menu is about", otherwise every menu item caption must be altered to carry the whole menaing and a GUI will start looking like a shakspeare novel. (To be fair, Lazarus does actually call it "Open Project" on the Project menu - a superfluous text, but not exactly harmful/hampering). When you want to Close (or do anything else with) the project, do it from the Project menu. If you want to do stuff with the files in the project, do it from the File menu. Asking to change the behaviour of the interface for everyone in the World cause your sense of English is offended is, well, some would say "arrogant", but I'm not like that, I would merely call it "highly expectant". :) On a serious note devs, if one did click "Close All" and the project closed too or reopened the default project (since at the end of the day, a Project is also a file), I doubt anyone would complain or find it weird or complainable. If I did NOT want the project to close, I certainly wouldn't click on any menu item with the words "Close All", so perhaps in this case, notwithstanding what I said above, and if it isn't a lot of effort, evryone would be fine with this change and it would indeed help sort out any SVN niggles. Cheers, Ryan -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
On Tue, 24 Mar 2020, R.Smith via lazarus wrote: On 2020/03/24 11:39, Michael Van Canneyt via lazarus wrote: See my (held for moderation, attachment to big) answer to Ondrej for why this reasoning is insufficient and the current Lazarus behaviour is actually buggy. It's in fact hilarious that I am forced to even discuss this ! :-) I mean, how hard can it be to understand this ? To any normal human being, *Close All* means close *ALL*. 'All' is just a 3 letter english word with a very clear meaning. Savour the simplicity of it by pronouncing it out loud, prolongue the 'l' sound if you need that to fully grasp the meaning and beauty of this word :) Firstly, Michael, that was quite fun to read, I enjoyed it :) That was the primary intent. I'm glad you understood the intent, humour and irony is not always clear in mails... As I said, it's in my eyes hilarious that I "must" discuss this, no offense to anyone is meant. For all clarity and all involved: Notwithstanding the bug I mentioned in my mail to Ondrej (still waiting for the moderator to approve my mail) : I can live with the current behaviour, but I really don't think it is logical, (even taking into account "context" :)) and I think Delphi in this instance has it 'right'. Michael. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
On 24/03/2020 10:39, Michael Van Canneyt via lazarus wrote: To any normal human being, *Close All* means close *ALL*. 'All' is just a 3 letter english word with a very clear meaning. Savour the simplicity of it by pronouncing it out loud, prolongue the 'l' sound if you need that to fully grasp the meaning and beauty of this word :) 1) By that interpretation, "Close All" should mean: Editors, Project, any other open window: packages, OI, debugger, doc-edit, main-ide-bar. And by means of the last, it should therefore close (exit) the IDE. 2) "All" is a 3 letter German word, and means "space" (as in outer space / universe) 2b) According to https://www.dictionary.com/browse/all even in English "All" (usually/often if capitalized) can also mean the universe. It can also be an adverb meaning each or completly (But not in the context given the menu) So much about "very clean meaning" ;) scnr 3) I would not mind, if it was clarified by changing the caption. I do even think that would be a good idea. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Close all menu item ?
On Tue, Mar 24, 2020 at 4:58 PM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Note the project inspector is still open, and the package editors as well. > Ok, project inspector showing the closed project is clearly a bug. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Problems teaching kids programming
Here is something I had to resort to this to teach one of my students: https://www.getlazarus.org/learn/courseware/homework/project-4/ For the effort I made for this one child in creating this lesson, I thought I'd at least share my sorrows. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus