Re: [Lazarus] LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-12 Thread Allan E. Registos
On Wednesday, 12 February, 2014 02:47 PM, leledumbo wrote: I have no idea since when, but the latest I've tried is r43866. Lazarus keeps asking for FPC source directory and it can't even find its own directory. If Lazarus is on Linux, one problem is due to file permissions. Your .lazarus

Re: [Lazarus] LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-12 Thread Mark Morgan Lloyd
leledumbo wrote: I have no idea since when, but the latest I've tried is r43866. Lazarus keeps asking for FPC source directory and it can't even find its own directory. Even so, after choosing the correct values, upon restarting these are asked again. So, I inspect environmentoptions.xml and

Re: [Lazarus] LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-12 Thread leledumbo
If Lazarus is on Linux, one problem is due to file permissions. Your .lazarus directory was somehow changed to read only or owner so you can't save env variables on it, if not, the file must be corrupt? If on Ubuntu in your home directory, you can try 'sudo chown yourusername.yourusername -R

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-12 Thread Michael Schnell
On 02/10/2014 09:19 PM, Graeme Geldenhuys wrote: Yes, simply use DocView ... Been there. Loved it. But I never was able to generate the files for DocView from the current revisions of the SVNs. (Here, multiple files are necessary (language definition,. RTL, LCL, Help on Help you name

Re: [Lazarus] LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-12 Thread leledumbo
After some experiments, it looks like there's a bug in handling MY environmentoptions.xml. Running the IDE from terminal shows up: [TEnvironmentOptions.Save] error writing /home/leledumbo/.lazarus/environmentoptions.xml: EDOMError in DOMDocument.CreateElement when I change certain value. but

[Lazarus] Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-12 Thread Mark Morgan Lloyd
I find that trunk+2.71 won't build as bigide, since PascalScript has no sparc.inc and it attempts to build for x86. I've raided this as http://mantis.freepascal.org/view.php?id=25709 and suggest that for the moment PscalScript is excluded for that processor. It's OK on PPC, I've not checked

Re: [Lazarus] Pasdoc - how to force UTF-8?

2014-02-12 Thread Alexsander Rosa
In the end I modified PASDOC: I've added a br.utf8 option (and changed the old br to br.1252). How do I submit this patch? Does anyone here knows them? Their mailing list has no messages since Nov '13. 2014-02-12 14:30 GMT-02:00 Alexsander Rosa alexsander.r...@gmail.com: How can I force the

Re: [Lazarus] LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-12 Thread Mattias Gaertner
On Wed, 12 Feb 2014 08:09:48 -0800 (PST) leledumbo leledumbo_c...@yahoo.co.id wrote: After some experiments, it looks like there's a bug in handling MY environmentoptions.xml. Running the IDE from terminal shows up: [TEnvironmentOptions.Save] error writing

Re: [Lazarus] Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-12 Thread Martin Frb
On 12/02/2014 16:50, Mark Morgan Lloyd wrote: Looking at the IDE, I find the new bar on the right of SynEdit useful but I wonder whether the developers would consider putting a digit marker rather than a rectangle to mark the position of a bookmark? That would allow a quick keyboard jump,

Re: [Lazarus] Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-12 Thread Mark Morgan Lloyd
Martin Frb wrote: On 12/02/2014 16:50, Mark Morgan Lloyd wrote: Looking at the IDE, I find the new bar on the right of SynEdit useful but I wonder whether the developers would consider putting a digit marker rather than a rectangle to mark the position of a bookmark? That would allow a

[Lazarus] play video and music from the web

2014-02-12 Thread duilio foschi
sorry for my ignorance. How is a musical track (say a WAV file) played in a web application ? The file is to be loaded at the server-side. Thank you Duilio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-12 Thread Martin Frb
On 12/02/2014 20:03, Mark Morgan Lloyd wrote: Martin Frb wrote: On 12/02/2014 16:50, Mark Morgan Lloyd wrote: Looking at the IDE, I find the new bar on the right of SynEdit useful but I wonder whether the developers would consider putting a digit marker rather than a rectangle to mark the

Re: [Lazarus] play video and music from the web

2014-02-12 Thread duilio foschi
I found the code below and it works. However, it seems a bit primitive to me. What if the music is 2h long ? How can I start, stop then restart the music and control the volume as (say) youtube does ? Maybe I can find a commercial library ? Thank you Duilio !DOCTYPE html html body embed

Re: [Lazarus] play video and music from the web

2014-02-12 Thread duilio foschi
gotcha! It is easy ! video width=320 height=240 controls source src=movie.mp4 type=video/mp4 source src=movie.ogg type=video/ogg Your browser does not support the video tag. /video The control attribute adds video controls, like play, pause, and volume. 2014-02-12 22:33 GMT+01:00 duilio

[Lazarus] clicking a dbgrid's column title does not trigger OnEnter event as with Delphi

2014-02-12 Thread Alejandro Gonzalo
It does in Delphi! I have Laz 1.0.4 for Win7 64 bit.  Has this been fixed in a later version?  Or is there some reason this is different from Delphi? A. G. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] kzdesktop...

2014-02-12 Thread Flávio Etrusco
On Thu, Feb 6, 2014 at 4:40 PM, Junior lazarus.li...@gmail.com wrote: Hello to all. The kzdesktop project was discontinued? thanks -- FWIW it's easy to make kzdesktop compilable with Lazarus trunk. Where the compiler complains of unknown 'Items' identifier, use 'Comps' instead. To fix the

Re: [Lazarus] clicking a dbgrid's column title does not trigger OnEnter event as with Delphi

2014-02-12 Thread Jesus Reyes
One reason would be that Lazarus DbGrid it's not a Delphi DbGrid clone. Without more information one can only speculate: OnEnter should be triggered in case the grid has not the focus, if it already has the focus, I don't see why OnEnter should be triggered on column click. If you explain

Re: [Lazarus] Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-12 Thread Mark Morgan Lloyd
Martin Frb wrote: On 12/02/2014 20:03, Mark Morgan Lloyd wrote: Martin Frb wrote: On 12/02/2014 16:50, Mark Morgan Lloyd wrote: Looking at the IDE, I find the new bar on the right of SynEdit useful but I wonder whether the developers would consider putting a digit marker rather than a