Re: [Lazarus] RE : compilation erro
No way ! - Compiled (build) Lazutils package - rebuilt IDE same two errors. Going back to local copy of LazUTF9 unit Antonio Le 05/12/2011 16:58, Felipe Monteiro de Carvalho a écrit : On Mon, Dec 5, 2011 at 4:11 PM, Antonio Fortuny a.fort...@sitasoftware.lu wrote: got same errors this time with lazutf8 and the dummu unit dosplayed with nasty error lines from output window. Options are not automatically applied from the main project into packages that it uses. Open the package LazUtils then open the Project Options of the package LazUtils and add -fPIC there too. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
Am 06.12.2011 00:49, schrieb Howard Page-Clark: This professional open source compiler is currently available for 32-bit and 64-bit processors such as Intel x86, AMD64/x86_64, PowerPC, PowerPC64, Sparc and ARM, and supported operating systems include Linux, FreeBSD, Haiku, Mac OS x/Darwin, Win32, Win64, WinCE, OS/2, Netware (libc and classic), MorphOS, Amiga and Symbian. The Lazarus IDE adds support for interfaces including the Windows API, GTK, QT, Cocoa, Carbon and Android. I don't know whether FPC's Symbian support is that good to be mentioned. Also the Cocoa and Android support of Lazarus is just at its start and not nearly as complete as the other widgetsets, so I don't know whether they should be mentioned either. BTW, does FPC/Lazarus currently run under OS/2? FPC yes, Lazarus AFAIK not. Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
2011/12/5 Krzysztof dib...@wp.pl: SkypeKit has support only for C++, Python and Java and doesn't have for multiplatform Free Pascal :( Theoretically the skype developers should be aware of the existence of Lazarus/FPC. As far as I know the Skype GUI on Windows is (was?) written with Delphi and I assume that almost every serious Delphi developer should already have noticed the existence of Lazarus and Free Pascal. Bernd -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
On Tuesday, December 6, 2011, at 10:04 Bernd wrote: 2011/12/5 Krzysztof dib...@wp.pl: SkypeKit has support only for C++, Python and Java and doesn't have for multiplatform Free Pascal :( Theoretically the skype developers should be aware of the existence of Lazarus/FPC. As far as I know the Skype GUI on Windows is (was?) written with Delphi and I assume that almost every serious Delphi developer should already have noticed the existence of Lazarus and Free Pascal. Bernd I'm not so sure about that. If they actually knew FPC/Lazarus they would have probably invested in it instead of rewriting Skype for Linux, MacOS, etc. _individually_ from scratch. A common codebase would have certainly made a lot of maintenance easier, even if they design the UI separately for each target platform. -- Best Regards, Andreas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
Andreas Schneider ak...@gmx.de hat am 6. Dezember 2011 um 10:47 geschrieben: On Tuesday, December 6, 2011, at 10:04 Bernd wrote: 2011/12/5 Krzysztof dib...@wp.pl: SkypeKit has support only for C++, Python and Java and doesn't have for multiplatform Free Pascal :( Theoretically the skype developers should be aware of the existence of Lazarus/FPC. As far as I know the Skype GUI on Windows is (was?) written with Delphi and I assume that almost every serious Delphi developer should already have noticed the existence of Lazarus and Free Pascal. Bernd I'm not so sure about that. If they actually knew FPC/Lazarus they would have probably invested in it instead of rewriting Skype for Linux, MacOS, etc. _individually_ from scratch. A common codebase would have certainly made a lot of maintenance easier, even if they design the UI separately for each target platform. The Linux version of Skype came out in 2003. They probably evaluated even earlier. The LCL was not powerful enough at that time, the Windows version barely started. The other choice at that time was Kylix, based on QT. Free Pascal bindings would be great. Although C bindings would be sufficient.Maybe there are no C bindings for the same reasons as for QT4. Mattias-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
2011/12/6 Mattias Gaertner nc-gaert...@netcologne.de: Maybe there are no C bindings for the same reasons as for QT4. Well, they (both this skype kit and Qt) have bindings for Java, and writting bindings for JNI is way more complex then a simple flattening for C. My guess is that pure C is simply loosing importance against C++. But maybe Skype would be receptive to a latter asking for Pascal support since they use it. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] RE : RE : compilation erro
No way ! - Compiled (build) Lazutils package - rebuilt IDE same two errors. Going back to local copy of LazUTF9 unit If you rebuild the IDE without -fPIC in the Configure Build Lazarus Options then you effectively rebuild Lazutils without -fPIC... Why rebuild the IDE? Ludo -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
On Mon, Dec 05, 2011 at 09:14:14PM +0100, Krzysztof wrote: with success plugins which communicate with Skype API on Windows and Linux in clear Free Pascal. Now I decided to test SkypeKit which become Skype engine (without GUI) which doesn't need Skype client installed. But I am disappointed that multiplatform SkypeKit has support only for C++, Python and Java and doesn't have for multiplatform Free Pascal :( You do realize that Skype is now Microsoft? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] RE : RE : compilation erro
Le 06/12/2011 13:44, Ludo Brands a écrit : If you rebuild the IDE without -fPIC in the Configure Build Lazarus Options then you effectively rebuild Lazutils without -fPIC... Why rebuild the IDE? New test: no IDE rebuild since the one this morning rebuild package Lazutils with -fPIC in project options - other package LazUtils itself not included in required packages but instead add include search path $(LazarusDir)/components/lazutils/lib/$(TargetCPU)-$(TargetOS) in the project options for fincding lazutf8.o and ppu On first compile, need a dependency: lazaruspackageintf Added $(LazarusDir)/packager/units/$(TargetCPU)-$(TargetOS) in compile project options-paths Same errors, this time the problem is linked to lazaruspackageintf.o Second run: - remove search paths for the project - add required package LazUtils still the same errors. Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] RE : RE : compilation erro
Antonio Fortuny a.fort...@sitasoftware.lu hat am 6. Dezember 2011 um 14:57 geschrieben: Le 06/12/2011 14:36, Mattias Gaertner a écrit : Antonio Fortuny a.fort...@sitasoftware.lu hat am 6. Dezember 2011 um 14:21 geschrieben: Le 06/12/2011 13:44, Ludo Brands a écrit : If you rebuild the IDE without -fPIC in the Configure Build Lazarus Options then you effectively rebuild Lazutils without -fPIC... Why rebuild the IDE? New test: no IDE rebuild since the one this morning rebuild package Lazutils with -fPIC in project options What means in project options? Lazutils is built with its package options, not the project options. You're right: I meant in package options not project !! In Usage options or in Compiler options of the package? It should be in the compiler options. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] RE : RE : compilation erro
Le 06/12/2011 15:30, Mattias Gaertner a crit: Antonio Fortuny a.fort...@sitasoftware.lu hat am 6. Dezember 2011 um 14:57 geschrieben: Le 06/12/2011 14:36, Mattias Gaertner a crit : Antonio Fortuny a.fort...@sitasoftware.lu hat am 6. Dezember 2011 um 14:21 geschrieben: Le 06/12/2011 13:44, Ludo Brands a crit : If you rebuild the IDE without -fPIC in the Configure "Build Lazarus" Options then you effectively rebuild Lazutils without -fPIC... Why rebuild the IDE? New test: no IDE rebuild since the one this morning rebuild package Lazutils with -fPIC in project options What means "in project options"? Lazutils is built with its package options, not the project options. You're right: I meant in package options not project !! In "Usage" options or in "Compiler options" of the package? It should be in the compiler options. Compiler options - Other Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] RE : RE : compilation erro
Le 06/12/2011 14:38, Felipe Monteiro de Carvalho a écrit : On Tue, Dec 6, 2011 at 2:21 PM, Antonio Fortuny a.fort...@sitasoftware.lu wrote: package LazUtils itself not included in required packages but instead add include search path Don't do that OK Second run: - remove search paths for the project - add required package LazUtils still the same errors. LazUtils requires the package FCL. You need to add this option to the package FCL too. And are you sure that you are using the project options dialog of the package? Maybe some screenshots would help. see image at http://imageshack.us/photo/my-images/341/30757138.png/ all other options unchanged second image : http://imageshack.us/photo/my-images/841/18653445.png/ used Recompile clean Same for package LazUtils and my project and miracle: IT WORKS. Thanks to you all. BUT question: why those differences with WIN versions ? Does this mean that I'm dependent on those manipulations when shared libraries are concerned ? I have another GUI project and it compiles and executes OK so far. Last but not least: What about the second problem: a new file is open in the editor only when these kind of error araises but non when i introduce some errors that the compiler detects Anyway, thanks to all for taking care of my problem. Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Layout auto-adjustment for smartphones / dpi awareness
Hello, I'd like to ask for some input about the best strategy to implement support in the LCL for auto-adjustment of the layout for smartphones and dpi awareness (this one affects Windows too, but would be optional there). When it comes to simple desktop dpi awareness all controls should be repositioned and scaled by a factor which can be determined by something like: NewX := OldX * (RunTimeDPI / DesignTimeDPI) and the same for the Y axis and font sizes and default fonts. So if you design your software in DPI 96 with a Button.Left=100 then you run it in a platform with DPI 144 it will increase the value of Left for the button, and also of width, height, top, etc. Controls which use the property Align would very likely be skipped in this. But then for smartphones another kind of auto-adjustment can be applied: The scaling on Android for the X axis is different then for the Y axis. While the Y axis and font sizes should be scaled via a normal DPI adjustment, the X axis should be scaled in order to fit all controls inside the available screen width so that the user does not require horizontal scrolling to use the form, only vertical scrolling is allowed. So the questions which come with this are: 1 Obviously designed sizes should all be auto-scaled, but what about sizes added at run-time? Auto-scale them too? To me so far I'd say no. Which adds a complication for developers, but it can also be annoying if the LCL tries to do too much. 2 How to call the new property to control the layout adjustment policy? My initial idea was DPIAwareness, but this is not only for DPI, but also changes according to the platform policies ... so maybe LayoutAdjustmentPolicy ? 3 Allow the user to bypass the Android policy of never scrolling forms horizontally? My initial answer would be no, because I have never seen an application which does that. People looking for that would need to place a TCDScrollableControl or similar inside the form. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
On Tue, Dec 06, 2011 at 03:25:58PM +0200, Juha Manninen wrote: 2011/12/6 Marco van de Voort mar...@stack.nl You do realize that Skype is now Microsoft? and Skype is not the only or dominant choice any more like it used to be. There are alternatives although I have not used them nor I know any details. Maybe you should put the energy to some competing open source project. Name one, please (it is not sarcasm, I do not know any really working well ...) -- Marco Ciampa ++ | Linux User #78271 | | FSFE fellow #364 | ++ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
On Tuesday, December 6, 2011, at 17:32 Marco Ciampa wrote: On Tue, Dec 06, 2011 at 03:25:58PM +0200, Juha Manninen wrote: 2011/12/6 Marco van de Voort mar...@stack.nl You do realize that Skype is now Microsoft? and Skype is not the only or dominant choice any more like it used to be. There are alternatives although I have not used them nor I know any details. Maybe you should put the energy to some competing open source project. Name one, please (it is not sarcasm, I do not know any really working well ...) If the concern is about VOIP only, then I would say: SIP. SIP has been there long before Skype and is still the default in most corporate environments. There are tons of clients supporting SIP (even most Cisco products). Maybe there are event protocol extensions to handle video chat. I think there are pretty nice combinations of XMPP and SIP around to combine classical text based messengers with VOIP. AFAIK Google Talk uses XMPP+SIP. (Btw. XMPP is also older than Skype ... ;-)) -- Best Regards, Andreas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
On Tue, Dec 6, 2011 at 19:18, Andreas Schneider ak...@gmx.de wrote: On Tuesday, December 6, 2011, at 17:32 Marco Ciampa wrote: On Tue, Dec 06, 2011 at 03:25:58PM +0200, Juha Manninen wrote: 2011/12/6 Marco van de Voort mar...@stack.nl You do realize that Skype is now Microsoft? and Skype is not the only or dominant choice any more like it used to be. There are alternatives although I have not used them nor I know any details. Maybe you should put the energy to some competing open source project. Name one, please (it is not sarcasm, I do not know any really working well ...) If the concern is about VOIP only, then I would say: SIP. SIP has been there long before Skype and is still the default in most corporate environments. There are tons of clients supporting SIP (even most Cisco products). Maybe there are event protocol extensions to handle video chat. I think there are pretty nice combinations of XMPP and SIP around to combine classical text based messengers with VOIP. AFAIK Google Talk uses XMPP+SIP. (Btw. XMPP is also older than Skype ... ;-)) XMPP can pass also codecs of audio and video, and SIP can pass mime based attachments, so you can make it send texts and html as well :) The Audio/Video of VoIP (or normal image) is passed by RTP, and both XMPP and SIP are groups of protocols rather only one. But imho if we well have free SIP and XMPP servers that support free codecs (such as G711, silk etc..) then we do not need Skype at all. However we still depends on clients that support such things. Most XMPP clients know how to pass text only. And most SIP based clients know how to pass Audio only. My 2 cents :) -- Best Regards, Andreas Ido -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
On 06.12.2011 17:32, Marco Ciampa wrote: On Tue, Dec 06, 2011 at 03:25:58PM +0200, Juha Manninen wrote: 2011/12/6 Marco van de Voortmar...@stack.nl You do realize that Skype is now Microsoft? and Skype is not the only or dominant choice any more like it used to be. There are alternatives although I have not used them nor I know any details. Maybe you should put the energy to some competing open source project. Name one, please (it is not sarcasm, I do not know any really working well ...) An example would be GNU Telephony ( http://www.gnutelephony.org/index.php/GNU_Telephony ), I haven't tested it though, so sadly I don't know how good it works... (I want to test it somewhen(!) though :) ) Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
2011/12/6 Marco Ciampa ciam...@libero.it Name one, please (it is not sarcasm, I do not know any really working well ...) My friend told some time ago he uses an open source replacement for Skype. The biggest problem is that most people still have Skype, technically it can be replaced. I will ask the product's name when I can reach the friend. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] about TDFB
Dear friends: I am trying to do a program with TDbf for actors´casting and I want to include a photo of the actor. How can I do that? thanks in advance for your answering, yours, Ing. Héctor F. Fiandor Rosario hfian...@infomed.sld.cu -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
07.12.2011 0:59, Juha Manninen пишет: 2011/12/6 Marco Ciampa ciam...@libero.it mailto:ciam...@libero.it Name one, please (it is not sarcasm, I do not know any really working well ...) My friend told some time ago he uses an open source replacement for Skype. The biggest problem is that most people still have Skype, technically it can be replaced. I will ask the product's name when I can reach the friend. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus I dont think that compatible replacement exists, but there are many free VoIP implementations. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
On Wed, 07 Dec 2011 03:51:39 +0400 Alexander Shishkin alexv...@mail.ru wrote: 07.12.2011 0:59, Juha Manninen пишет: 2011/12/6 Marco Ciampa ciam...@libero.it mailto:ciam...@libero.it Name one, please (it is not sarcasm, I do not know any really working well ...) My friend told some time ago he uses an open source replacement for Skype. The biggest problem is that most people still have Skype, technically it can be replaced. I will ask the product's name when I can reach the friend. Maybe Ekiga? The petition is a good idea, so feel free to ask them for their plans/reasons. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] RE : RE : compilation erro
On Tue, 06 Dec 2011 16:13:24 +0100 Antonio Fortuny a.fort...@sitasoftware.lu wrote: Le 06/12/2011 14:38, Felipe Monteiro de Carvalho a écrit : On Tue, Dec 6, 2011 at 2:21 PM, Antonio Fortuny a.fort...@sitasoftware.lu wrote: package LazUtils itself not included in required packages but instead add include search path Don't do that OK Second run: - remove search paths for the project - add required package LazUtils still the same errors. LazUtils requires the package FCL. You need to add this option to the package FCL too. And are you sure that you are using the project options dialog of the package? Maybe some screenshots would help. see image at http://imageshack.us/photo/my-images/341/30757138.png/ all other options unchanged second image : http://imageshack.us/photo/my-images/841/18653445.png/ used Recompile clean Same for package LazUtils and my project and miracle: IT WORKS. Thanks to you all. BUT question: why those differences with WIN versions ? http://www.freepascal.org/docs-html/prog/progsu99.html Does this mean that I'm dependent on those manipulations when shared libraries are concerned ? Yes. I have another GUI project and it compiles and executes OK so far. Last but not least: What about the second problem: a new file is open in the editor only when these kind of error araises but non when i introduce some errors that the compiler detects Can you give an example? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Petition to Skype
On Tue, Dec 6, 2011 at 2:19 PM, Marco van de Voort mar...@stack.nl wrote: You do realize that Skype is now Microsoft? But they are hiring Delphi developers: http://www.lazarus.freepascal.org/index.php/topic,15431.0.html Of course that we still have to see what that will mean for their Linux client. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus