Re: [Lazarus] Docking manager implementation
Paul Ishenin schrieb: Lets start with a new unit. Then we will see if we need our own LazDockTree or we will replace it with yours. ok Nice idea. Really dock header can be a splitter and a header at one moment. If we use 2 controls they will be anyway placed one by one. At the moment I cannot provide such a component, perhaps somebody else can? Yes, options are possible. But I have no idea how Java or any others layout manager works. Maybe Mattias will help you here. The question is: what interface will be required? The TDockManager class was given by Delphi, for layout managers we may have to look at the widgetsets... DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Docking manager implementation
On Wed, 21 Jan 2009 14:11:53 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: [...] Yes, options are possible. But I have no idea how Java or any others layout manager works. Maybe Mattias will help you here. The question is: what interface will be required? The TDockManager class was given by Delphi, for layout managers we may have to look at the widgetsets... Why at the widgetsets? Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Linux
Thanks for the answers and suggestions everyone! The speed issue I have is that simple things, like popup menues, clicking on tabs of a pagecontrol, changing tasks ...almost everything is handled too slowly. Compared to what I am used to, the delay is quite disturbing. The other kind of slowness is that when the screen is refreshed it is slow enough to see the different areas refreshing one by one. All together it feeling is similar to working in a web browser. The PC is an older one: Celeron 1700 CPU, 512MB RAM, 200GB HDD (10 GB for Ubuntu), Integrated Video, but I think it should be decent enough for running Linux. There was enough free RAM so the slowness could not have been caused by disk swaping either. So, one thing is already clear, I will need a proper driver for the video card for sure. But realy would not want to be offtopic any longer, I better go to the Ubuntu forums to seek for more specific help. Thanks for all the reactions again, Leslie ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Linux
c...@freemail.hu wrote: Thanks for the answers and suggestions everyone! The speed issue I have is that simple things, like popup menues, clicking on tabs of a pagecontrol, changing tasks ...almost everything is handled too slowly. Compared to what I am used to, the delay is quite disturbing. The other kind of slowness is that when the screen is refreshed it is slow enough to see the different areas refreshing one by one. All together it feeling is similar to working in a web browser. The PC is an older one: Celeron 1700 CPU, 512MB RAM, 200GB HDD (10 GB for Ubuntu), Integrated Video, but I think it should be decent enough for running Linux. There was enough free RAM so the slowness could not have been caused by disk swaping either. So, one thing is already clear, I will need a proper driver for the video card for sure. But realy would not want to be offtopic any longer, I better go to the Ubuntu forums to seek for more specific help. I am running Ubuntu 6x, 7x, 8x and Windows XP/2000 in VMs on the same machine and have the same impression as you: For me, Windows feels snappier than Ubuntu Linux. Regards, Bernd. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Linux
On Wed, 21 Jan 2009, Bernd Mueller wrote: c...@freemail.hu wrote: Thanks for the answers and suggestions everyone! The speed issue I have is that simple things, like popup menues, clicking on tabs of a pagecontrol, changing tasks ...almost everything is handled too slowly. Compared to what I am used to, the delay is quite disturbing. The other kind of slowness is that when the screen is refreshed it is slow enough to see the different areas refreshing one by one. All together it feeling is similar to working in a web browser. The PC is an older one: Celeron 1700 CPU, 512MB RAM, 200GB HDD (10 GB for Ubuntu), Integrated Video, but I think it should be decent enough for running Linux. There was enough free RAM so the slowness could not have been caused by disk swaping either. So, one thing is already clear, I will need a proper driver for the video card for sure. But realy would not want to be offtopic any longer, I better go to the Ubuntu forums to seek for more specific help. I am running Ubuntu 6x, 7x, 8x and Windows XP/2000 in VMs on the same machine and have the same impression as you: For me, Windows feels snappier than Ubuntu Linux. I run Windows 2000 under a VMWare in linux, and it is dog slow. I think we are more measuring the speed of VMWare and their drivers than the actual guest OS. Michael. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Linux
Michael Van Canneyt wrote: I run Windows 2000 under a VMWare in linux, and it is dog slow. Try VirtualBox ;-) I think we are more measuring the speed of VMWare and their drivers than the actual guest OS. you may be right, in VirtualBox you have to install the so called Guest Additions. May be, these are better optimized for Windows. Regards, Bernd. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Linux
On Wed, Jan 21, 2009 at 1:20 PM, Bernd Mueller muelle...@gmx.net wrote: c...@freemail.hu wrote: Thanks for the answers and suggestions everyone! The speed issue I have is that simple things, like popup menues, clicking on tabs of a pagecontrol, changing tasks ...almost everything is handled too slowly. Compared to what I am used to, the delay is quite disturbing. The other kind of slowness is that when the screen is refreshed it is slow enough to see the different areas refreshing one by one. All together it feeling is similar to working in a web browser. The PC is an older one: Celeron 1700 CPU, 512MB RAM, 200GB HDD (10 GB for Ubuntu), Integrated Video, but I think it should be decent enough for running Linux. There was enough free RAM so the slowness could not have been caused by disk swaping either. So, one thing is already clear, I will need a proper driver for the video card for sure. But realy would not want to be offtopic any longer, I better go to the Ubuntu forums to seek for more specific help. I am running Ubuntu 6x, 7x, 8x and Windows XP/2000 in VMs on the same machine and have the same impression as you: For me, Windows feels snappier than Ubuntu Linux. Regards, Bernd. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus Let's be honest here: current versions of both GNOME and KDE are quite slower than XP UI. It always felt a bit slower - what I and many others assumed to be caused by the X architeture or lack of hardware acceleration - but benchmarks seemed to differ. Anyway Linux UI performance has been on a downhill for years; enlightenment 0.16 with plenty of bells and whistles runs perfectly on a Pentium 100MHz, but current encarnations of GNOME and KDE run barely acceptably on a Duron 1.2GHz (with a geforce 6200 either with vesa, nv or nvidia drivers. Of course the onboard sis video isn't any better). Enlightenment and LXDE (and other ligthweight DEs) still runs pretty smooth; XFCE doesn't cut it since it switched to GTK2 :-/ It seems CPU-related, as a Core2 notebook with a crappy via onboard video runs snappy even with either openchrome or vesa driver. -Flávio ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Linux
Let's be honest here: current versions of both GNOME and KDE are quite slower than XP UI. It always felt a bit slower - what I and many others assumed to be caused by the X architeture or lack of hardware acceleration - but benchmarks seemed to differ. Anyway Linux UI performance has been on a downhill for years; enlightenment 0.16 with plenty of bells and whistles runs perfectly on a Pentium 100MHz, but current encarnations of GNOME and KDE run barely acceptably on a Duron 1.2GHz (with a geforce 6200 either with vesa, nv or nvidia drivers. Of course the onboard sis video isn't any better). Enlightenment and LXDE (and other ligthweight DEs) still runs pretty smooth; XFCE doesn't cut it since it switched to GTK2 :-/ It seems CPU-related, as a Core2 notebook with a crappy via onboard video runs snappy even with either openchrome or vesa driver. Maybe this could be an issue worth discussing here after all. :) The main reason Linux is becoming important for us is to target small companies where price matters a lot. This far I thought that Linux would be superior to XP possibly even with weaker machines. Now I feel I really need advice from those who can compare the two. :) It looks we can tell our clients which distro and GUI to use, but I need to make that decision first. I think it could be for the benifit of quite some of us to make a list of the worthy canditates (distro, GUI) with their advantages and disadvantages from the developers point of view (support and maintanace included. I'd welcome any personal opinion/experience. Regards, Leslie ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Linux
Dear Leslie , I am also studying many Linux , FreeBSD , Solaris , OpenSolaris distributions to find an easily usable one with the condition that my program when becomes ready can be run on it as attached to a network . I bought more than 10 hard disks with a smallest ( GigaByte / price ) ratio value ( some 250 GB , some 320 GB ... ) . I am installing an OS on a disk in a PC , then I am attaching other one to the same PC and installing a new one . I am not using partitions and not different distributions in disks connected at the same time because they are changing structure of first hard disk . My work PC is around 2.5 GHz Intel Pentium with an Intel main board . For Delphi programming I am using XP Professional . Up to now I could not be able to obtain a fully working copy of my program compiled by Free Pascal in GUI mode due to Delphi and Free Pascal differences. After obtaining that I will start to compile it for Linux , FreeBSD , Solaris . For Internet access I am using an XP Home and another PC with Mandriva Free 2008.0 . My main aim is also to be able to find a best combination to advice to the users because in a data base environment users need many PCs and at least one server . There are pages in Internet comparing Linux and BSD distributions . If you search benchmarking of linux distributions comparison of linux distributions benchmarking of BSD distributions comparison of BSD distributions in Google , you will find a lot of pages about this subject . In your case , you did not mention exact listing of your hardware components and services running in your PC . For Lazarus , selected widget set ( GTK , GTK2 ) may affect response times . There are many messages about that issue . If you search Lazarus mailing list, you may find messages about that issue also . My experience is that there are not Lazarus performance differences due to used OS . If you have another PC running XP , you may disconnect its hard disk and attach your other OS hard disk to the same machine and compare the performance of the SAME Lazarus configuration ( Version , SVN , Widget Set , etc. ) . At present I can not suggest another solution to your problem because I could not be able reach to a useful conclusion on my studies yet . With my best wishes for your success . Mehmet Erol Sanliturk ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Linux
null On Wed, Jan 21, 2009 at 8:11 PM, c...@freemail.hu wrote: Let's be honest here: current versions of both GNOME and KDE are quite slower than XP UI. It always felt a bit slower - what I and many others assumed to be caused by the X architeture or lack of hardware acceleration - but benchmarks seemed to differ. Anyway Linux UI performance has been on a downhill for years; enlightenment 0.16 with plenty of bells and whistles runs perfectly on a Pentium 100MHz, but current encarnations of GNOME and KDE run barely acceptably on a Duron 1.2GHz (with a geforce 6200 either with vesa, nv or nvidia drivers. Of course the onboard sis video isn't any better). Enlightenment and LXDE (and other ligthweight DEs) still runs pretty smooth; XFCE doesn't cut it since it switched to GTK2 :-/ It seems CPU-related, as a Core2 notebook with a crappy via onboard video runs snappy even with either openchrome or vesa driver. Maybe this could be an issue worth discussing here after all. :) The main reason Linux is becoming important for us is to target small companies where price matters a lot. This far I thought that Linux would be superior to XP possibly even with weaker machines. Now I feel I really need advice from those who can compare the two. :) It looks we can tell our clients which distro and GUI to use, but I need to make that decision first. I think it could be for the benifit of quite some of us to make a list of the worthy canditates (distro, GUI) with their advantages and disadvantages from the developers point of view (support and maintanace included. I'd welcome any personal opinion/experience. Regards, Leslie ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Docking manager implementation
Mattias Gaertner schrieb: [...] Yes, options are possible. But I have no idea how Java or any others layout manager works. Maybe Mattias will help you here. The question is: what interface will be required? The TDockManager class was given by Delphi, for layout managers we may have to look at the widgetsets... Why at the widgetsets? Java has layout managers, and the modern widgetsets also have layout managers, which might be usable even with Lazarus. DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Docking manager implementation
On Wed, 21 Jan 2009 16:11:53 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Mattias Gaertner schrieb: [...] Yes, options are possible. But I have no idea how Java or any others layout manager works. Maybe Mattias will help you here. The question is: what interface will be required? The TDockManager class was given by Delphi, for layout managers we may have to look at the widgetsets... Why at the widgetsets? Java has layout managers, and the modern widgetsets also have layout managers, which might be usable even with Lazarus. How? The LCL needs an widgetset independent layout manager. Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] fpWeb - Apache Modules
I'm playing around with the fpWeb stuff and it looks really good. I may use it for some work on my company's website but I wanted to make sure that I could use either cgi or apache dso. Are there any examples for apache shared modules or is it pretty much the same as the CGI? I see they both share the same ancestor datamodule descendant. Are there any tutorials for setting up the apache mod version? I plan to most of the coding with the cgi but again, want to make sure that the apache module version would work as well. Thanks, -- Warm Regards, Lee ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] fpWeb - Apache Modules
Lee Jenkins wrote: I'm playing around with the fpWeb stuff and it looks really good. I may use it for some work on my company's website but I wanted to make sure that I could use either cgi or apache dso. Are there any examples for apache shared modules or is it pretty much the same as the CGI? I see they both share the same ancestor datamodule descendant. Are there any tutorials for setting up the apache mod version? I plan to most of the coding with the cgi but again, want to make sure that the apache module version would work as well. I've been tickering a bit and I need to ask if anyone is using the apache module version of fpWeb? I've tried for about an hour and half to get apache2 to run with a sample module to no avail. Library mod_test; {$mode objfpc}{$H+} Uses fpWeb,lazweb,httpd,fpApache, web1; Const { The following constant is used to export the module record. It must always match the name in the LoadModule statement in the apache configuration file(s). It is case sensitive !} ModuleName='test'; { The following constant is used to determine whether the module will handle a request. It should match the name in the SetHandler statement in the apache configuration file(s). It is not case sensitive. } HandlerName=ModuleName; Var DefaultModule : module; {$ifdef unix} public name ModuleName;{$endif unix} {$ifdef windows} Exports defaultmodule name ModuleName; {$endif windows} {$IFDEF WINDOWS}{$R mod_test.rc}{$ENDIF} begin Application.ModuleName:=ModuleName; Application.HandlerName:=HandlerName; Application.SetModuleRecord(DefaultModule); Application.Initialize; end. My Apache2 httpd.conf: LoadModule test modules/mod_test.so Location /test SetHandler test-handler /Location When trying to start apache, I get: Syntax error on line 136 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_test.so into server: The specified module could not be found. The mod_test.so executable is definitely in the /modules directory of the Apache installation. Has anyone had this working or can provide a hint or two? I'm on Lazarus 927 on Vista. I'm a little frustrated at this point so I'm going to go for a walk... :) Thanks, -- Warm Regards, Lee ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus