Re: [Lazarus] Laz trunk+FPC trunk Windows - experiences with help
On 07/23/2014 12:09 PM, Reinier Olislagers wrote: No interest? Windows is a show stopper keyword for me ;-) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] LazDaemon
I think the LazDaemon package is broken at least on Windows. Can someone else start a Windows service made with it? I cannot. There is an example project C:\SW\lazarus_gitsvn\examples\cleandir\cleandirs.lpi that uses it. Trying to install it (cleandirs.exe -i with admin rights) fails. Same thing with any other project. The log says: Failed to start service manager: Palveluprosessi ei voi muodostaa yhteyttä palveluvalvontaan. The latter sentence means something like: Service process cannot connect to service manager. I am able to install a Windows service made without LazDaemon following the instructions given in Michaël Van Canneyt's document : http://www.turbog.com/wp-content/uploads/2012/04/daemons.pdf Michaël is also the author of LazDaemon package. Could he maybe take a look at it? There is a bug report but it lists other problems, not the complete failure when trying to install. http://bugs.freepascal.org/view.php?id=24067 I am using Windows 7, FPC 2.6.4 and Lazarus trunk. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Access violation while open lpi from recent menu
On Wed, 23 Jul 2014 18:41:57 +0300 FreeMan freema...@delphiturkiye.com wrote: Hello, Some times, if try open project from IDE main form Open button's recent item. I get this error.(from log) Click ok and then try again, project can open. Kubuntu 14.04 x64 lazarus fpc last svn TLResourceList.Sort 8 DUPLICATE RESOURCE FOUND: CFPAGERIGHTBTN:BMP It means some package registered an image with the same name. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] LazDaemon
On Thu, 24 Jul 2014 15:06:53 +0300, Juha Manninen juha.mannine...@gmail.com wrote: I think the LazDaemon package is broken at least on Windows. Can someone else start a Windows service made with it? I cannot. There is an example project C:\SW\lazarus_gitsvn\examples\cleandir\cleandirs.lpi that uses it. Trying to install it (cleandirs.exe -i with admin rights) fails. Same thing with any other project. You are running that cleandir.exe -i form cmd Window? Did you start cmd with Run as Administrator? I created a Windows service just resently with Lazarus and it works. -- Virgo Pärna virgo.pa...@mail.ee -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] LazDaemon
On Thu, 24 Jul 2014, Juha Manninen wrote: I think the LazDaemon package is broken at least on Windows. Can someone else start a Windows service made with it? I cannot. There is an example project C:\SW\lazarus_gitsvn\examples\cleandir\cleandirs.lpi that uses it. Trying to install it (cleandirs.exe -i with admin rights) fails. Same thing with any other project. The log says: Failed to start service manager: Palveluprosessi ei voi muodostaa yhteyttä palveluvalvontaan. The latter sentence means something like: Service process cannot connect to service manager. That is usually a permissions problem. I am able to install a Windows service made without LazDaemon following the instructions given in Michaël Van Canneyt's document : http://www.turbog.com/wp-content/uploads/2012/04/daemons.pdf Michaël is also the author of LazDaemon package. Could he maybe take a look at it? There is a bug report but it lists other problems, not the complete failure when trying to install. http://bugs.freepascal.org/view.php?id=24067 I am using Windows 7, FPC 2.6.4 and Lazarus trunk. When I find some time, I will have a look at it. I have successfully installed this program on windows, but it was a windows 2000. Maybe the permissions setup has changed in windows, this is always a possibility. Michael.-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] r45949: Access violation when executing compiler
Sorry. My fault. Fixed. Tested. Thanks. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/r45949-Access-violation-when-executing-compiler-tp4038025p4038054.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
[Lazarus] Editortoolbar Patch + Pending issue
Hi, I've posted to the bugtracker ( http://bugs.freepascal.org/view.php?id=26524 ) a patch meant to cover all pending issues, except the Untranslatable Strings issue, which is still pending. For this issue I summarize the problem and the possible solutions: 1) The problem: The Editortoolbar creates a Treeview which reproduces exactly the structure of IDEMenuRoots. This has the advantage of giving access to all the available menu items, whether they are in the main Ide menu, or in various pop-up menus, well organized, making it easy to locate what you need. The problem is that while Menu Items have a translatable caption, Menu Sections do not, because they were intended only for internal usage. But using the same structure for a human readable Treeview gives rise to the problem. 2) Possible solutions: a) To leave things as they are. In the Treeview, Menu Sections are shown with the internal name. Pros: No need to modify anything. Cons: Users unfamiliar with English, or worse unfamiliar with Latin alphabet will have a lot of troubles to understand what the heck mean some of them. b) To modify lazarus code, adding a human readable Caption to Menu Sections. Sort of: TIDEMenuSection.Create (const TheName: string; const TheCaption: string = ''); Pros: It becomes possible to take advantage of IDEMenuRoots to generate human readable infos also for Menu Sections. Editortoolbar can exploit this, but other IDE future extensions may take advantage too. Cons: Requires the update of quite a number of units/packages. c) To modify EditorToolbar code, which upon detecting the untranslated string (Name=Caption), may access his own translations in his resources. Pros: no need to modify lazarus code elsewhere. Cons: requires housekeeping of EditorToolbar whenever there's a change in lazarus Menu Sections. d) To implement differently the EditorToolbar TreeView. But I fail to see how. I'd be in favor of option b), but that's just my vote. What shall we do? Giuliano -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] LazDaemon
On Thu, Jul 24, 2014 at 4:10 PM, Virgo Pärna virgo.pa...@mail.ee wrote: You are running that cleandir.exe -i form cmd Window? Did you start cmd with Run as Administrator? Yes. Actally the service version is cleandirs.exe (with s). There is also a cmd line program cleandir.exe. I created a Windows service just resently with Lazarus and it works. Strange. I believe it is a permissions problem but I have no idea how to fix it. I will use now the FPC daemon class, it works. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [Lazarusdev] Editortoolbar Patch + Pending issue
On Thu, 24 Jul 2014 19:00:41 +0200 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [...]But using the same structure for a human readable Treeview gives rise to the problem. 2) Possible solutions: [...] e) A section without caption is like the TMenuItem separator. The designer simply shows a '-'. Same can be done for sections without caption: Write a '-' or 'Section' or use a special icon or draw a line. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [Lazarusdev] Editortoolbar Patch + Pending issue
On 2014-07-24 21:02, Mattias Gaertner wrote: e) A section without caption is like the TMenuItem separator. The designer simply shows a '-'. Same can be done for sections without caption: Write a '-' or 'Section' or use a special icon or draw a line. +1 And that should be easy to implement. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus