Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
On 29.03.2016 17:59, Dmitry Boyarintsev wrote: Why a patch instead of an IDE plugin? I don't care. It can also be a patch implementing an IDE plugin :) Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
On Tue, Mar 29, 2016 at 12:19 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Tue, Mar 29, 2016 at 12:15 PM, Martin Frbwrote: > >> If 0 currently means unlimited, then: >> 1) a new value is needed for unlimited >> 2) the configfile version must be increased, so the config reader knows >> according to the version what 0 means. >> >> > So why to change IDE instead of an IDE plugin? > Here's the plugin https://github.com/skalogryz/clearrecent thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
On 29/03/2016 17:19, Dmitry Boyarintsev wrote: On Tue, Mar 29, 2016 at 12:15 PM, Martin Frb> wrote: If 0 currently means unlimited, then: 1) a new value is needed for unlimited 2) the configfile version must be increased, so the config reader knows according to the version what 0 means. So why to change IDE instead of an IDE plugin? This question bothers me all the time. Despite of the fact there's a decent plugin API (IDEIntf), a lot of changes are making into IDE itself. In general I agree, many thinks can be done as plugin. In this case, I think: part 1 is an actual bug in the current implementation. If I reduce "max recent procject" from 10 to 1, then the list will still display 10. That is wrong. It should be cut to 1. But it will only be cut, if I open a new project (via the open dialog). part 2 is a feature. It could go in a plugin (assuming IdeIntf allows access to all needed functions). And then it can not use the current spin edit, but instead must have a checkbox. Or always active if installed. Not sure how practical that is in this case. A plugin could probably hide the menu entry. So that would be possible. Not sure if it can (with current IdeIntf) prevent the values from being written to the config file. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
On Tue, Mar 29, 2016 at 12:15 PM, Martin Frbwrote: > If 0 currently means unlimited, then: > 1) a new value is needed for unlimited > 2) the configfile version must be increased, so the config reader knows > according to the version what 0 means. > > So why to change IDE instead of an IDE plugin? This question bothers me all the time. Despite of the fact there's a decent plugin API (IDEIntf), a lot of changes are making into IDE itself. thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
On 29/03/2016 17:11, Martin Frb wrote: On 29/03/2016 16:59, Dmitry Boyarintsev wrote: On Mon, Mar 28, 2016 at 2:25 PM, Ondrej Pokornywrote: On 28.03.2016 18:14, max.lemradt2 wrote: I'd like to be able to disable or clear the "Recent files" and "Recent projects" lists, e. g. for privacy reasons. 2) make it work with 0. If 0 currently means unlimited, then: 1) a new value is needed for unlimited 2) the configfile version must be increased, so the config reader knows according to the version what 0 means. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
On 29/03/2016 16:59, Dmitry Boyarintsev wrote: On Mon, Mar 28, 2016 at 2:25 PM, Ondrej Pokorny> wrote: On 28.03.2016 18:14, max.lemradt2 wrote: I'd like to be able to disable or clear the "Recent files" and "Recent projects" lists, e. g. for privacy reasons. I will probably never use it but if you need it, feel free to create such a function and send a patch to mantis. A good place would be to create a button in Options -> Environment -> Files. Why a patch instead of an IDE plugin? I dont think it needs a button. There already is "Max recent files". If this is set to a lower value, then it should cut the existing list. So 2 steps: 1) fix this setting to cut old entries if the value was reduced 2) make it work with 0. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
On Mon, Mar 28, 2016 at 2:25 PM, Ondrej Pokornywrote: > On 28.03.2016 18:14, max.lemradt2 wrote: > >> I'd like to be able to disable or clear the "Recent files" and "Recent >> projects" lists, e. g. for privacy reasons. >> > > I will probably never use it but if you need it, feel free to create such > a function and send a patch to mantis. A good place would be to create a > button in Options -> Environment -> Files. > Why a patch instead of an IDE plugin? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
On 2016-03-29 10:44, Giuliano Colla wrote: > Please do not overload Lazarus with useless features. Indeed. Also make your $HOME directory user readable only, and make sure your account and screensaver has a decent secure password. Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
Il 28/03/2016 20:25, Ondrej Pokorny ha scritto: On 28.03.2016 18:14, max.lemradt2 wrote: I'd like to be able to disable or clear the "Recent files" and "Recent projects" lists, e. g. for privacy reasons. I will probably never use it but if you need it, feel free to create such a function and send a patch to mantis. A good place would be to create a button in Options -> Environment -> Files. Please do not overload Lazarus with useless features. Removing "Recent Files" and Recent Project" entries without actually removing the actual files/projects, is simply stupid. Anyone accessing the system can list files/directories and from the dates know exactly which files/projects were accessed, or modified. If whatever paranoid need of privacy is an issue, files and projects should be kept in a removable support: when the support is removed the Recent items which become inaccessible are removed from the list, without the need of any extra feature. Giuliano -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
> Ondrej Pokornyhat am 28. März 2016 um 20:25 geschrieben: > > On 28.03.2016 18:14, max.lemradt2 wrote: > > > I'd like to be able to disable or clear the "Recent files" and "Recent > > projects" lists, e. g. for privacy reasons. > > I will probably never use it but if you need it, feel free to create > such a function and send a patch to mantis. A good place would be to > create a button in Options -> Environment -> Files. I guess he needs a button to wipe out all history lists. Not just projects and files. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
> "max.lemradt2"hat am 28. März 2016 um 18:14 > geschrieben: > > Hello, > > I'd like to be able to disable or clear the "Recent files" and "Recent > projects" lists, e. g. for privacy reasons. One solution: Start the IDE, configure it to your liking. Close it and remove the element in ~/.lazarus/environmentoptions.xml and any other option you don't want to publish. Copy the environmentoptions.xml and editoroptions.xml files to /etc/lazarus/. These are the templates used when the IDE starts. After closing the IDE or before you log out delete the ~/.lazarus directory. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
On 28.03.2016 18:14, max.lemradt2 wrote: I'd like to be able to disable or clear the "Recent files" and "Recent projects" lists, e. g. for privacy reasons. I will probably never use it but if you need it, feel free to create such a function and send a patch to mantis. A good place would be to create a button in Options -> Environment -> Files. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists
Hello, I'd like to be able to disable or clear the "Recent files" and "Recent projects" lists, e. g. for privacy reasons. All I could find was someone suggesting to rename the file, then click on the item in the list, which makes it disappear because Lazarus cannot find the file, then rename the file again to its original name. Setting "Tools - Options - Environment - Files" "Max recent files" and/or "Max recent project files" to 0 (zero) doesn't help. I'm using Lazarus 1.6 2016-02-14 SVN Revision 51630 i386-win32-win32/win64. Thanks, Max -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Feature-Request-Disable-clear-the-Recent-files-and-Recent-projects-lists-tp4047846.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus