[Lazarus] searching the net

2016-02-11 Thread duilio foschi
I'd like to programmatically query intenet for a number of keys, say "key1 key2 key3" and get the number of hits. Any browser will do. How do I do this ? Thank you Peppe -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laz

Re: [Lazarus] RFC : "Resolved View"

2016-02-11 Thread Martin Frb
On 11/02/2016 23:54, Michael Van Canneyt wrote: By this I mean a view of a unit as the compiler will see it: - Correct include files included This has been long on the list. But still no in the doing. Ignoring: - any high/low-light or other markup to indicate the fact that the text comes fr

[Lazarus] RFC : "Resolved View"

2016-02-11 Thread Michael Van Canneyt
Hi, I've been thinking about a recent problem posed by Anthony Walter on the fpc-pascal mailing list: the abundant use of include files and IFDEFS and the ensuing lack of 'overview'. So I asked myself: what if we somehow "invert" the problem ? How hard would it be to create a 'resolved view'

Re: [Lazarus] 5dpo components last update

2016-02-11 Thread Michael Van Canneyt
On Thu, 11 Feb 2016, Paulo Costa wrote: On 11-Feb-16 21:48, Michael Van Canneyt wrote: The most important changes are: - TSdpoSerial tested and working on the Raspberry Pi 2. Question: can these components be used to work with the pi's camera ? I have not tested yet (is in my to do list

Re: [Lazarus] 5dpo components last update

2016-02-11 Thread Paulo Costa
On 11-Feb-16 21:48, Michael Van Canneyt wrote: The most important changes are: - TSdpoSerial tested and working on the Raspberry Pi 2. Question: can these components be used to work with the pi's camera ? I have not tested yet (is in my to do list) but the UVC component should work if the

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-11 Thread Mattias Gaertner
On Tue, 9 Feb 2016 15:21:30 -0500 Dmitry Boyarintsev wrote: > On Mon, Feb 8, 2016 at 6:22 PM, Mattias Gaertner > wrote: >[...] > Is it true to say that there are only 2 ways in IDE to set defines. > 1) Project Options/Custom Options > 2) Project Options/Additions and Overrides (+ Custom Option)

Re: [Lazarus] 5dpo components last update

2016-02-11 Thread Michael Van Canneyt
On Thu, 11 Feb 2016, Paulo Costa wrote: Hi, The last update for the 5dpo components: http://wiki.lazarus.freepascal.org/5dpo#About can be found here: https://sourceforge.net/p/sdpo-cl/mercurial/ci/default/tree/ or https://sourceforge.net/projects/sdpo-cl/files/latest/download The most impor

Re: [Lazarus] Loading OpenGL error

2016-02-11 Thread Aradeonas
> I tried to replace old Lazarus and FPC OpenGl components with new one > and clean and recompile but problem is still there. It seemed taht it not used new FPC OpenGL package units because they are precompiled so I tried and delete compiled opengl units from units folder but not Lazarus says it ca

Re: [Lazarus] Loading OpenGL error

2016-02-11 Thread Aradeonas
> Are you sure it's in the OpenGL units initialization? Yes. > Can you test the Lazarus examples/openglcontrol/ demo, and see does it crash too? Yes. > we're using FPC OpenGL units on many platforms, including Windows 10, and we often test with latest FPC from trunk. And everything seems to work

[Lazarus] Library dependency problem. Help please!

2016-02-11 Thread Donald Ziesig
Hi All! I am having a strange library dependency problem. It started yesterday afternoon in a set of code very far from where I was working at the time. I have tried everything I can think of (including creating a new dummy project, and rebuilding and renaming both libraries, one file at a

[Lazarus] 5dpo components last update

2016-02-11 Thread Paulo Costa
Hi, The last update for the 5dpo components: http://wiki.lazarus.freepascal.org/5dpo#About can be found here: https://sourceforge.net/p/sdpo-cl/mercurial/ci/default/tree/ or https://sourceforge.net/projects/sdpo-cl/files/latest/download The most important changes are: - TSdpoSerial tested and

[Lazarus] TControl.AssignTo() and TCustomAction relationship

2016-02-11 Thread Graeme Geldenhuys
Hi, Why does TControl.AssignTo() have a special case for TCustomAction? TCustomAction.AssignTo() already does property assignments, so what is the reason for the special code in TControl.AssignTo? Here is the code in question: procedure TControl.AssignTo(Dest: TPersistent); begin if Dest is TC

Re: [Lazarus] Lazarus application crash. Is PostMessage thread safe?

2016-02-11 Thread Giuliano Colla
Il 10/02/2016 21:13, Giuliano Colla ha scritto: I don't believe that there's an easy way to protect Application.ProcessMessages from recursion unless someone is willing to debug and patch Glib (which is used not only by Qt, but also from GTK, if I'm not wrong). A snippet from gmain.c: #if 0

Re: [Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-11 Thread Michael Van Canneyt
On Thu, 11 Feb 2016, Michalis Kamburelis wrote: Marco van de Voort wrote: On Wed, Feb 03, 2016 at 07:07:46AM +0100, Michalis Kamburelis wrote: As part of PasDoc project we have developed simple file_to_pascal_string utility for this purpose. Just get http://svn.code.sf.net/p/pasdoc/code/tru

Re: [Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-11 Thread Michalis Kamburelis
Marco van de Voort wrote: > On Wed, Feb 03, 2016 at 07:07:46AM +0100, Michalis Kamburelis wrote: >> >> As part of PasDoc project we have developed simple file_to_pascal_string >> utility for this purpose. Just get >> http://svn.code.sf.net/p/pasdoc/code/trunk/source/tools/file_to_pascal_string.dpr

Re: [Lazarus] Loading OpenGL error

2016-02-11 Thread Michalis Kamburelis
Aradeonas wrote: > Hi, > > I have a new Laptop and with new Windows 10 and tried my old working > demos and I tried it with Last Lazarus Trunk 1.7 and FPC 3.1.1 and just > tried to run it and its happen : > > A dynamic link library (DLL) initialization routine failed > > It is because OpenG