[Lazarus] Play video from memory
Hi, Any one know a library or way to buffer video file into memory and then pass it to player? Any simple player do the job but it should support a way to open file from memory. Regards, Ara -- http://www.fastmail.com - IMAP accessible web-mail -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 1 of 1.4. Message cannot be stopped
On 04/03/2015 16:56, Jürgen Hestermann wrote: I use Lazarus V1.4RC1 on Win7 and today I had a strange situation: I started to build and run an application with F9. But my machine was quite slow so nothing (visible) happened for many seconds. It could be that I then hit F9 again. After a while I got an error message saying: Stop current debugging and rebuild project? But this message could not be stopped. Clicking on Yes or No had no effect. The message stayed (or reappeared quickly). I had to exit from Lazarus and restart it to be able to continue. Maybe someone can fix this easily. Tricky, we will need to try and reproduce it. If you can reproduce, try getting a logfile http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session In any case if it happens, you should be able to solve it by choosing reset debugger from run menu. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] QT5 progress?
Hello Den, Do you've to make libraries manually or is there an automated process to generate them? thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] QT5 progress?
Hi, sorry, I am indeed very busy. The current state is that the C++ part of the code already compiles and creates several (splitted) libraries. The pascal part (Qt5Network.pas etc) still needs to be started. Regards, Den Jean - Original Message - From: zeljko zel...@holobit.net To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Sent: Tuesday, March 3, 2015 1:48:48 PM Subject: Re: [Lazarus] QT5 progress? On 03/03/2015 01:45 PM, Craig Peterson wrote: Is anything going on with the QT5 port? The QT mailing list has been pretty dead for a year, and it doesn't appear there's been updates to the qt4pas alpha in that time either. I've contacted Den few weeks ago and he said that he's pretty busy with his job, so nothing will happen in next 2-3 months. Besides that, he is trying to create splitted C libs, so it won't be only one libQt4Pas, but libQt5CorePas, libQt5GuiPas, libQt5NetworkPas, libQt5OpenGLPas etc zeljko -- ___ 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
[Lazarus] popup menu-editor
Hi, just an Align := alClient for the Menu-entries would help me to see which menu-entries are there :-)) Lazarus 1.5 r47221 FPC 2.6.4 x86_64-linux-gtk 2 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 1 of 1.4. Message cannot be stopped
I use Lazarus V1.4RC1 on Win7 and today I had a strange situation: I started to build and run an application with F9. But my machine was quite slow so nothing (visible) happened for many seconds. It could be that I then hit F9 again. After a while I got an error message saying: Stop current debugging and rebuild project? But this message could not be stopped. Clicking on Yes or No had no effect. The message stayed (or reappeared quickly). I had to exit from Lazarus and restart it to be able to continue. Maybe someone can fix this easily. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] rc2 debugger error
Hi Martin, Thank you for the instructions! That is very cool (-gw), didn't know how to do that...I will be playing there sometimes methinks... Anyway, I followed instructions and there are no call stack messages, the debugger error window shows up immediately. I put a breakpoint in formcreate and also in the project source both, in the hope it would force something, but unfortunately neither breakpoint was hit. Am archiving the original problematic PUB files and will send to you. BTW, any drawbacks to keeping the -gw switch on? I'd like to keep the ability to debug ide I guess,...just in case ;-) Julius On 03/04/2015 03:14 PM, Martin Frb wrote: On 04/03/2015 13:37, JuuS wrote: Hi all, FYI, all the issues are exactly the same with rc2 as it was with rc1 as regards opening and running a published version of my project vs. the original/unchanged project. Solution is once again removing default icon entry in LPI file. Has no one else seen this? If you want I have no problem sending the published folder (it's not big) to someone who may want to trace it in some manner. You can sent it. With luck it will reproduce. It might be something that depends on the exact OS version/ setup you have. Also you could try this: Debug the IDE when it happens. - Start Lazarus, as you always to. - Tools configure build lazarus = rebuild with -gw in the options - restart - open project ide/lazarus.lpi - F9 Now a 2nd Lazarus starts. In this 2nd Lazarus open your published project, and try to run it. Hopefully it produces the error. With a bit of luck the first started IDE will report that there was an exception. Get a stacktrace. Thanks -- ___ 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] rc2 debugger error
On 04/03/2015 17:58, JuuS wrote: Hi Martin, Thank you for the instructions! That is very cool (-gw), didn't know how to do that...I will be playing there sometimes methinks... Anyway, I followed instructions and there are no call stack messages, the debugger error window shows up immediately. Try setting a breakpoint in ide\debugmanager.pas procedure TDebugManager.DebuggerChangeState(ADebugger: TDebuggerIntf; OldState: TDBGState); line 1150 if FDebugger.State=dsError then begin Include(FManagerStates,dmsDebuggerObjectBroken); if dmsInitializingDebuggerObject in FManagerStates then Include(FManagerStates,dmsInitializingDebuggerObjectFailed); end; inside the if. That should do. Another test you could do: Do not use F9 (Run), which builds, and runs. Instead go to the menu, and choose build. Then when the build finished, press run (F9 or menu) Am archiving the original problematic PUB files and will send to you. Thanks got them. Unfortunately it does not happen on my system. (Tried Windows and linux) BTW, any drawbacks to keeping the -gw switch on? I'd like to keep the ability to debug ide I guess,...just in case ;-) Only the size of the lazarus.exe. I usually build with -gh -g -gw -godwarfsets -Criot -gtt -Sa -O1 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] rc2 debugger error
Thanks Martin, Will do...tomorrow Will send (any?!) results to you... Guten Abend, Julius On 03/04/2015 07:25 PM, Martin Frb wrote: On 04/03/2015 17:58, JuuS wrote: Hi Martin, Thank you for the instructions! That is very cool (-gw), didn't know how to do that...I will be playing there sometimes methinks... Anyway, I followed instructions and there are no call stack messages, the debugger error window shows up immediately. Try setting a breakpoint in ide\debugmanager.pas procedure TDebugManager.DebuggerChangeState(ADebugger: TDebuggerIntf; OldState: TDBGState); line 1150 if FDebugger.State=dsError then begin Include(FManagerStates,dmsDebuggerObjectBroken); if dmsInitializingDebuggerObject in FManagerStates then Include(FManagerStates,dmsInitializingDebuggerObjectFailed); end; inside the if. That should do. Another test you could do: Do not use F9 (Run), which builds, and runs. Instead go to the menu, and choose build. Then when the build finished, press run (F9 or menu) Am archiving the original problematic PUB files and will send to you. Thanks got them. Unfortunately it does not happen on my system. (Tried Windows and linux) BTW, any drawbacks to keeping the -gw switch on? I'd like to keep the ability to debug ide I guess,...just in case ;-) Only the size of the lazarus.exe. I usually build with -gh -g -gw -godwarfsets -Criot -gtt -Sa -O1 -- ___ 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
[Lazarus] A call for Raize Software supporting CodeSite for FPC/Lazarus
Hi everybody, [this is not an advert and I'm not affiliated with Raize Software at all] As I have seen many times before, if you don't make your interest known, companies will not support your wishes. Making your interest known helps them guide their development efforts and we benefit. This email is about CodeSite. It is a brilliant real-time logging system and Live Viewer with IDE plugin and all. It has features *way* above what is currently available for FPC or Lazarus. A fantastic product that helps with debugging, even after products have been deployed. I've asked Raize Software about the chances of releasing a FPC/Lazarus compatible version of CodeSite. I got a prompt reply from the owner himself. Ray said it is certainly possible to do, but they simply haven't received much interest. They will monitor interest and might make it a reality in the next major version. Please review their products (Raize Components, CodeSite etc) and if you like it, make your interest known by emailing them and asking for Lazarus support - sa...@raize.com Raize Software: http://www.raize.com/ CodeSite product page: http://www.raize.com/DevTools/CodeSite/Default.asp To see it in action: Do a internet search for CodeRage CodeSite and you will find loads or really good 45min demos. eg: [https://www.youtube.com/watch?v=BPQRzILjpQc] The other really good thing is if they port CodeSite to Lazarus, they might port the Raize Components suite too. Another incredible product well worth using and includes more than a 125 custom VCL components. Imagine the boost that would give your next Lazarus project. 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
Re: [Lazarus] need qt 64 bit libs for crosscompile [RESOLVED]
I installed kubuntu 14.10 to virtualbox, and I get qt libraries from there, but for this errors need other library has to be from same versions, I mean copy(update) linux library files from kubuntu 14.10. thats all. On 3.03.2015 18:05, zeljko wrote: On 03/03/2015 04:37 PM, FreeMan wrote: On 3.03.2015 14:03, zeljko wrote: Qt from any distro, libqt4pas from distro or from official pages. z. Now I get this errors. How to resolve them ? /usr/bin/x86_64-linux-ld: warning: /opt/proje_laz/apps/link.res contains output sections; did you forget -T? ... /opt/binutils/x86_64-linux-libs/qt//libxcb-dri3.so.0: undefined reference to `xcb_send_fd' /opt/binutils/x86_64-linux-libs/qt//libgstreamer-1.0.so.0: undefined reference to `clock_getres@GLIBC_2.17' /opt/binutils/x86_64-linux-libs/qt//libQtGui.so.4: undefined reference to `__fdelt_chk@GLIBC_2.15' /opt/binutils/x86_64-linux-libs/qt//libQt4Pas.so: undefined reference to `memcpy@GLIBC_2.14' /opt/binutils/x86_64-linux-libs/qt//libGL.so.1: undefined reference to `xcb_wait_for_special_event' /opt/binutils/x86_64-linux-libs/qt//libGL.so.1: undefined reference to `xcb_register_for_special_xge' /opt/binutils/x86_64-linux-libs/qt//libGL.so.1: undefined reference to `xcb_poll_for_special_event' /opt/binutils/x86_64-linux-libs//libxslt.so.1: undefined reference to `clock_gettime@GLIBC_2.17' /opt/binutils/x86_64-linux-libs/qt//libxcb-dri3.so.0: undefined reference to `xcb_get_reply_fds' /opt/binutils/x86_64-linux-libs/qt//libGL.so.1: undefined reference to `xcb_unregister_for_special_event' myproject.lpr(33,1) Error: (9013) Error while linking You're missing a bunch of libraries from linux. eg libxcb, libgstreamer etc. Copying only qtlibs is not enough. Do not forget to copy libc also. z -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] A call for Raize Software supporting CodeSite for FPC/Lazarus
On Wed, 4 Mar 2015, Graeme Geldenhuys wrote: Hi everybody, [this is not an advert and I'm not affiliated with Raize Software at all] As I have seen many times before, if you don't make your interest known, companies will not support your wishes. Making your interest known helps them guide their development efforts and we benefit. This email is about CodeSite. It is a brilliant real-time logging system and Live Viewer with IDE plugin and all. It has features *way* above what is currently available for FPC or Lazarus. A fantastic product that helps with debugging, even after products have been deployed. I've asked Raize Software about the chances of releasing a FPC/Lazarus compatible version of CodeSite. I got a prompt reply from the owner himself. Ray said it is certainly possible to do, but they simply haven't received much interest. They will monitor interest and might make it a reality in the next major version. Please review their products (Raize Components, CodeSite etc) and if you like it, make your interest known by emailing them and asking for Lazarus support - sa...@raize.com Raize Software: http://www.raize.com/ CodeSite product page: http://www.raize.com/DevTools/CodeSite/Default.asp To see it in action: Do a internet search for CodeRage CodeSite and you will find loads or really good 45min demos. eg: [https://www.youtube.com/watch?v=BPQRzILjpQc] The other really good thing is if they port CodeSite to Lazarus, they might port the Raize Components suite too. Another incredible product well worth using and includes more than a 125 custom VCL components. Imagine the boost that would give your next Lazarus project. I have used the Raize components, Inspex suite and codesite. I can only endorse Graeme's words. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] QT5 progress?
On 03/04/2015 06:22 PM, den.j...@telenet.be wrote: Hi, sorry, I am indeed very busy. The current state is that the C++ part of the code already compiles and creates several (splitted) libraries. The pascal part (Qt5Network.pas etc) still needs to be started. If you need any help I'm here. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] A call for Raize Software supporting CodeSite for FPC/Lazarus
I wish my company used Pascal. True, it is a good price for a business. If I get a chance to use Pascal as a consultant I'll write it off. On Mar 4, 2015 10:29 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: On 2015-03-05 00:32, Travis Ayres wrote: Are enough Lazarus developers willing to part with 400 dollars for the package? If you work for a company that uses FPC or Lazarus, then let the company pay. Consider it their contribution for getting a compiler and IDE for FREE. It's not a bad price at all. Think of how long it would take for to implement something like that, using your hourly rate. Suddenly spending $400 becomes cheap. 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] A call for Raize Software supporting CodeSite for FPC/Lazarus
Are enough Lazarus developers willing to part with 400 dollars for the package? I don't think so, but maybe? On Mar 4, 2015 1:35 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: Hi everybody, [this is not an advert and I'm not affiliated with Raize Software at all] As I have seen many times before, if you don't make your interest known, companies will not support your wishes. Making your interest known helps them guide their development efforts and we benefit. This email is about CodeSite. It is a brilliant real-time logging system and Live Viewer with IDE plugin and all. It has features *way* above what is currently available for FPC or Lazarus. A fantastic product that helps with debugging, even after products have been deployed. I've asked Raize Software about the chances of releasing a FPC/Lazarus compatible version of CodeSite. I got a prompt reply from the owner himself. Ray said it is certainly possible to do, but they simply haven't received much interest. They will monitor interest and might make it a reality in the next major version. Please review their products (Raize Components, CodeSite etc) and if you like it, make your interest known by emailing them and asking for Lazarus support - sa...@raize.com Raize Software: http://www.raize.com/ CodeSite product page: http://www.raize.com/DevTools/CodeSite/Default.asp To see it in action: Do a internet search for CodeRage CodeSite and you will find loads or really good 45min demos. eg: [https://www.youtube.com/watch?v=BPQRzILjpQc] The other really good thing is if they port CodeSite to Lazarus, they might port the Raize Components suite too. Another incredible product well worth using and includes more than a 125 custom VCL components. Imagine the boost that would give your next Lazarus project. 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] A call for Raize Software supporting CodeSite for FPC/Lazarus
On 2015-03-05 00:32, Travis Ayres wrote: Are enough Lazarus developers willing to part with 400 dollars for the package? If you work for a company that uses FPC or Lazarus, then let the company pay. Consider it their contribution for getting a compiler and IDE for FREE. It's not a bad price at all. Think of how long it would take for to implement something like that, using your hourly rate. Suddenly spending $400 becomes cheap. 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
[Lazarus] MainForm
Is there some reason, other than for Delphi compatibility, that the MainForm of an application must descend from TForm, rather than allowing other TCustomForm derived forms? I was writing some custom form modules and was surprised that they cannot be made at the first form in an application. Also I thought I submitted a patch for this a year ago, but TCustomForm.PaintWindow still prevents a form from doing any painting while in design mode. The simple fix is: Paint; if Designer nil then Designer.PaintGrid; Rather than as it is now: if Designer nil then Designer.PaintGrid else Paint; -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] rc2 debugger error
On Wed, Mar 4, 2015 at 3:37 PM, JuuS j...@mykolab.ch wrote: but you may remember that ... How should we remember? Did you report those problems earlier somewhere? Is it a regression in 1.4 compared to 1.2? Maybe you should open a ticket with an example project and steps to reproduce. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] rc2 debugger error
Hi all, FYI, all the issues are exactly the same with rc2 as it was with rc1 as regards opening and running a published version of my project vs. the original/unchanged project. Solution is once again removing default icon entry in LPI file. Has no one else seen this? If you want I have no problem sending the published folder (it's not big) to someone who may want to trace it in some manner. but you may remember that any attempt to log the errors (either command line or through IDE with the logger package) fixed the problem internally (ie., it ran without debugger error) and so no meaningful log information (?) is there. Schonen Tag! Julius On 03/02/2015 06:19 PM, Mattias Gaertner wrote: The Lazarus team would like to announce the second release candidate for the upcoming Version 1.4. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] rc2 debugger error
On 04/03/2015 13:37, JuuS wrote: Hi all, FYI, all the issues are exactly the same with rc2 as it was with rc1 as regards opening and running a published version of my project vs. the original/unchanged project. Solution is once again removing default icon entry in LPI file. Has no one else seen this? If you want I have no problem sending the published folder (it's not big) to someone who may want to trace it in some manner. You can sent it. With luck it will reproduce. It might be something that depends on the exact OS version/ setup you have. Also you could try this: Debug the IDE when it happens. - Start Lazarus, as you always to. - Tools configure build lazarus = rebuild with -gw in the options - restart - open project ide/lazarus.lpi - F9 Now a 2nd Lazarus starts. In this 2nd Lazarus open your published project, and try to run it. Hopefully it produces the error. With a bit of luck the first started IDE will report that there was an exception. Get a stacktrace. Thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] android
I am trying to follow http://wiki.freepascal.org/Android_tutorial Which seems to be a bit obsolete ... but should work! in Compile the demo androidlcl when doing Now Run Compile this will generate this library : C:\Android\Projects\androidlcl\android\libs\armeabi\liblclapp.so [5.073 kb] I get C:\android\laz4android\fpc\2.7.1\bin\i386-win32\arm-linux-androideabi-ld.exe: C:\Android\android-ndk-r9\platforms\android-8\arch-arm\usr\lib\crtbegin_so.o: Unknown mandatory EABI object attribute 44 C:\android\laz4android\fpc\2.7.1\bin\i386-win32\arm-linux-androideabi-ld.exe: failed to merge target specific data of file C:\Android\android-ndk-r9\platforms\android-8\arch-arm\usr\lib\crtbegin_so.o C:\android\laz4android\fpc\2.7.1\bin\i386-win32\arm-linux-androideabi-ld.exe: C:\Android\android-ndk-r9\platforms\android-8\arch-arm\usr\lib\crtend_so.o: Unknown mandatory EABI object attribute 44 C:\android\laz4android\fpc\2.7.1\bin\i386-win32\arm-linux-androideabi-ld.exe: failed to merge target specific data of file C:\Android\android-ndk-r9\platforms\android-8\arch-arm\usr\lib\crtend_so.o androidlcltest.lpr(24,36) Error: Error while linking I'll appreciate any suggestion Philippe -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus