Re: [Lazarus] CHM Maker not working

2015-05-17 Thread Andrew Haines
On 05/15/2015 04:39 AM, Richard Mace wrote: Hi, I was just suggesting that the demo may need to be adjusted for the distribution of Lazarus, as all I did was load it and then run it? This is fixed now in svn. Regards, Andrew -- ___ Lazarus

Re: [Lazarus] LCLMessageGlue Status

2015-03-16 Thread Andrew Haines
the text content of the component. i.e. the LCL isn't doing Text:=Text+NewChar for every keypress event, the widgeset is responsible for that. Exceptions to this could be custom controls implemented fully in the LCL like TTreeView and TSynEdit. Regards, Andrew Haines

Re: [Lazarus] TMPlayerControl

2015-01-11 Thread Andrew Haines
On 01/11/2015 09:57 PM, Michael Thompson wrote: G'day, On 11 January 2015 at 11:44, Andrew Haines andrewd...@aol.com mailto:andrewd...@aol.com wrote: I played with this for a few minutes and came up with this: MPlayerControl1.OnPlaying has to be assigned for MPlayerControl1.Position

Re: [Lazarus] TMPlayerControl

2015-01-10 Thread Andrew Haines
On 01/06/2015 08:35 AM, Michael Thompson wrote: On 6 January 2015 at 17:48, Philippe phili...@quarta.com.br mailto:phili...@quarta.com.br wrote: fs does not appear in http://wiki.freepascal.org/TMPlayerControl Correct. -fs is an input parameter to mplayer. These aren't explicitly covered

Re: [Lazarus] TProcess.Input hangs

2014-10-17 Thread Andrew Haines
:= lProcess.StdErr.Read(Buffer, SizeOf(Buffer); if lReadCount 0 then // do something with Stderr data end; // now write data to be encoded. lReadCount := lWav.Read(Buffer, SizeOf(Buffer)); lProcess.Input.Write(Buffer, lReadCount); end; Regards, Andrew Haines

[Lazarus] Fwd: [5]

2014-05-08 Thread Andrew Haines
Hi! http://www.itcodes.com/-hello.friend?ihosogiwi=3147779tjtevax=702980 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Fw: (5)

2014-05-08 Thread Andrew Haines
Hello! http://uhrevind.pro.dir.dk/-message.friend?caqariz=7903003widoci=994680 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Fw: [1]

2014-05-08 Thread Andrew Haines
Hi! http://teplo-vision.ru/-hello.friend?enadiride=3219635racafad=130609 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Gtk3 hello world application crash

2013-10-06 Thread Andrew Haines
/tree/bindings/gtk3/examples/ Regards, Andrew Haines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Gtk3 hello world application crash

2013-10-06 Thread Andrew Haines
On 10/01/2013 04:09 PM, Krzysztof wrote: There are also missing main functions like g_signal_connect() or functions for box layouts. g_signal_connect is a c macro around g_signal_connect_data which is available. The bindings are generated using introspection, so everything works but some

Re: [Lazarus] Gtk3 hello world application crash

2013-10-06 Thread Andrew Haines
On 10/06/2013 02:31 PM, Krzysztof wrote: 2013/10/6 Andrew Haines andrewd...@aol.com mailto:andrewd...@aol.com Which function's for box layouts are missing? The generator does not include things which are marked deprecated in the introspection files so that could be the cause

Re: [Lazarus] gtk 3 header

2013-03-27 Thread Andrew Haines
Thats because the files were generated with the introspection files from those two versions. It's pretty easy to generate any version needed for the bindings using the gir2pas program in the Lazarus CCR Regards, Andrew Haines Marco van de Voort mar...@stack.nl wrote: On Wed, Mar 27, 2013

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-03 Thread Andrew Haines
:= GetEnvironmentString(i); EnvVarValue := GetEnvironmentVariable(EnvVarName); mProc.Environment.Add(EnvVarName+'='+EnvVarValue); end; mProc.Environment.Add('LIBOVERLAY_SCROLLBAR=0'); Regards, Andrew Haines -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-03 Thread Andrew Haines
binary again, but with the environment variable added to the environment of the new process. Michael. -- How does setenv work in libc? For instance you need to use that at runtime to embed a SDL window into your application. (only one sdl window per application works) Regards, Andrew Haines

Re: [Lazarus] Access violation in build_lcl_docs --outfmt chm

2012-03-08 Thread Andrew Haines
On 03/07/12 03:22, Mattias Gaertner wrote: On Tue, 06 Mar 2012 22:23:07 -0500 Andrew Haines andrewd...@aol.com wrote: Revision 20196 is the culprit. The chm units uses ansi and widestrings. FPC now has string encodings, so you now have to be more careful when mixing strings of different

Re: [Lazarus] Access violation in build_lcl_docs --outfmt chm

2012-03-06 Thread Andrew Haines
On 03/01/12 18:15, Andrew Haines wrote: On 03/01/12 13:51, Mattias Gaertner wrote: On Thu, 01 Mar 2012 17:31:47 +0100 Thomas Moritz thm...@thmoritz.de wrote: Hello, this is the output: HTML Files written. Collecting other files and compressing...this could take some time Generating

Re: [Lazarus] Contribute to a book instead of wiki?

2012-03-03 Thread Andrew Haines
On 03/03/2012 03:37 PM, Michael Van Canneyt wrote: If you want everything placed just there with just that width and whatnot, then LaTeX is indeed not your tool, you need a desktop publishing tool. I type text, and latex makes a layout that is 99% perfect; I really don't care about the last

Re: [Lazarus] Access violation in build_lcl_docs --outfmt chm

2012-03-01 Thread Andrew Haines
... Finishing compressing... Exception at 004FFF6F: EAccessViolation: Access violation. 'lcl.chm' has 0 Byte openSUSE 12.1 x86_64 fpc 2.7.1 svn 20450 lazarus svn 35641 It is a bug in the 2.7.1 version of the chmwriter. Can you create a backtrace? Maybe Andrew Haines can help. I

Re: [Lazarus] chmhelp is broken in svn

2012-02-21 Thread Andrew Haines
You have to delete a file /tmp/lazhelp. This is finally fixed in fpc trunk but that probably won't help you. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Thomas Moritz thm...@thmoritz.de wrote: Am Dienstag, 21. Februar 2012, 19:01:58 schrieb John Landmesser: Hello

Re: [Lazarus] installing chm help

2012-02-15 Thread Andrew Haines
On 02/15/12 08:02, Marco van de Voort wrote: On Wed, Feb 15, 2012 at 12:59:52PM +0100, Michael Schnell wrote: Nope. Simply download the additional CHM files, and it works as expected. I once asked how the CHM help can be configured to search across multiple files. There is no CHM help.

Re: [Lazarus] installing chm help

2012-02-15 Thread Andrew Haines
On 02/15/12 12:46, Mattias Gaertner wrote: Andrew Haines andrewd...@aol.com hat am 15. Februar 2012 um 18:38 geschrieben: When you press F1 in lazarus it performs it's own search of what it is looking for. If it finds something it presents a list of possible results if there are more than

Re: [Lazarus] installing chm help

2012-02-15 Thread Andrew Haines
On 02/15/12 13:45, waldo kitty wrote: i note that martin has added a step 6 to those wiki instructions... it has you confirm that HelpExe is proper and also says to set HelpFilesPath to where the chm files are... but[!!] i _have not_ changed HelpFilesPath from its blank setting and the help

Re: [Lazarus] Lazarus frozen on F1

2012-02-14 Thread Andrew Haines
Regards, Andrew Haines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Help on FCL?

2012-01-21 Thread Andrew Haines
chmhelppkg so things are a bit fuzzy. Regards, Andrew Haines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Help on FCL?

2012-01-21 Thread Andrew Haines
found) way to add that. Regards, Andrew Haines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] [patch] lhelp scrolling slowness - I might have found it

2011-12-24 Thread Andrew Haines
On 12/24/11 20:22, Bernd wrote: I removed an unneeded LowerCase(), the css and html parsers will already deliver only lowercase element names anyways. Bernd This patch makes a noticeable difference on my computer as well. I applied it in r34400. Thanks, Andrew --

Re: [Lazarus] Tprocess to communicate with applications running

2011-10-16 Thread Andrew Haines
On 10/16/11 12:50, Celâl Emre ÖZ wrote: I've tried it but fpc has failed *Project project1.exe raised exception class external:SIGSEGV * Have you enabled pipes? I didn't see it anywhere. Python.Options := [poUsePipes]; Python.Execute; More options here:

Re: [Lazarus] window classes according to WM

2011-09-12 Thread Andrew Haines
On 09/12/11 21:59, David Emerson wrote: Hi all, What is the property that determines the window class, as seen by the WM / xorg? I'm asking for the purpose of grouping: I'd like to be able to have distinct groups of windows that the WM will group independently of one another. As an

Re: [Lazarus] Alternative linker

2011-06-03 Thread Andrew Haines
On 06/03/11 17:47, Mark Morgan Lloyd wrote: When building Lazarus on Linux, is there an easy way to tell fpc to use gold rather than ld to get comparative timings? If you compile your program with -s a ppas.sh file will be generated which you can edit and then run to link the program.

Re: [Lazarus] Need help about lhelp

2011-05-21 Thread Andrew Haines
in question? The --context option is not often used and I don't know if I have any chm's with contexts. Thanks, Andrew Haines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Commit frequency

2011-01-17 Thread Andrew Haines
I just want to say that everytime I update I'm impressed by the amount of commits that have happened since my last update, sometimes even just the previous day. Great job guys! Andrew Haines -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Help building Lazarus in Linux64

2011-01-06 Thread Andrew Haines
On 01/06/11 15:19, José Mejuto wrote: Hello Lazarus-List, I'm trying to setup an Ubuntu10/x64 machine with Lazarus SVN and fpc SVN. For fpc SVN no serious problem, installed a basic 2.4.2 with rtl and compiler from .deb and compiled the 2.5.1 SVN, and installed in a folder under my home.

Re: [Lazarus] SVN user

2010-12-29 Thread Andrew Haines
On 12/29/10 14:16, Peter Williams wrote: In my 49 years alive, and living in Australia, speaking English, I have never heard that word. Have you seen the Matrix Reloaded movie? http://www.imdb.com/title/tt0234215/quotes (search that page for apropos) Regards Andrew PS apologies for

[Lazarus] Is Copy disabled for anyone else in the Source Editor?

2010-12-25 Thread Andrew Haines
Hi, In my source editor when I right click, Copy is sometimes disabled even when text is selected. Ctrl+c works though. Anyone else? Lazarus 0.9.31 r28818 FPC 2.5.1 x86_64-linux-gtk 2 Regards, Andrew PS atm it's working correctly for me -- ___

Re: [Lazarus] send complex command to linux

2010-12-22 Thread Andrew Haines
On 12/22/10 04:58, Lukasz Sokol wrote: Very Nice, can I ask, just: [1] while Flac.Running or (Flac.Output.NumBytesAvailable 0) do PipeOutput; Can this conditon happen to hit Flac.Running=False ..NumBytesAvailable 0 (it'll probably be some garbage, but still) No.

Re: [Lazarus] send complex command to linux

2010-12-22 Thread Andrew Haines
On 12/22/10 04:51, Lukasz Sokol wrote: Hi, I know you're not the original author, but... // should this while Flac.Running or (Flac.Output.NumBytesAvailable 0) do PipeOutput; // or can this not happen ? And if it can, is it dangerous ? It's my understanding that when

Re: [Lazarus] send complex command to linux

2010-12-21 Thread Andrew Haines
On 12/19/10 03:44, ugaciaka wrote: 2010/12/18 Andrew Haines andrewd...@aol.com: On 12/18/10 13:49, ugaciaka wrote: Hi, this is an example of what I do === @Andrew Haines tnx and very beautiful solution :-D -- You are welcome :) I

Re: [Lazarus] send complex command to linux

2010-12-18 Thread Andrew Haines
On 12/18/10 13:49, ugaciaka wrote: Hi, this is an example of what I do === procedure TfrmMain.btnConvertClick(Sender: TObject); var enumFile : TStringsEnumerator; AProcess: TProcess; AStringList: TStringList; begin enumFile :=

Re: [Lazarus] CHM help snapshot

2010-08-23 Thread Andrew Haines
On 08/22/10 14:26, Marco van de Voort wrote: Hello, I've generated a new help snapshot. (chm files) The archive still is at http://www.stack.nl/~marcov/doc-chm.zip and contains rtl,fcl,lcl ,fpdoc,ref,user,prog.chm Hi, there seems to be something wrong with the binary index. See

Re: [Lazarus] Fix for broken scrollbar in lhelp (fix in turbopower_ipro)

2010-08-01 Thread Andrew Haines
On 08/01/10 15:00, Bernd Kreuss wrote: On 01.08.2010 18:01, Žilvinas Ledas wrote: I suggest you add it to the bug tracker. I have added it here: http://bugs.freepascal.org/view.php?id=17081 I hope this is the correct place. i didn't find an existing bug report and the section Lazarus

Re: [Lazarus] TTreeView events OnCreateNodeClass and OnAddition

2010-04-16 Thread Andrew Haines
On 04/16/10 12:38, Juha Manninen wrote: Hi, Delphi compatibility issue again. TTreeView is missing events: TTreeView.OnCreateNodeClass and LCL has TTreeView.OnCustomCreateItem which may do what you want for this TTreeView.OnAddition Sorry I don't know. They don't exist in

Re: [Lazarus] Find in Files Directories combobox history

2010-02-26 Thread Andrew Haines
Graeme Geldenhuys wrote: Hi, I use Find in Files a lot. But now my Directories combobox has a *huge* history. Adding to the fact that GTK2 has a really brain-dead dropdown window (which doesn't actually drop down but rather up), I need to scroll that stupid combo list with a mouse hover

Re: [Lazarus] Lazarus documentation

2009-12-29 Thread Andrew Haines
Graeme Geldenhuys wrote: I just did and it gives the same error message. Pressed F1 will the cursor was over the Controls unit. Even worse, when the cursor is over the Menu unit and I press F1, the whole IDE crashes and closes without giving any error message. No idea why it's trying to open

Re: [Lazarus] Lazarus documentation

2009-12-29 Thread Andrew Haines
Andrew Haines wrote: The SimpleIPC unit that lhelp uses for IPC creates a named pipe in tmp that corresponds to the the HelpLabel option. Try setting the HelpLabel value to something. I think that it uses a default and lazhelp and lazhelpclient see if there are similarly named files in /tmp

Re: [Lazarus] testing virtual TListView in gtk2

2009-12-03 Thread Andrew Haines
Seth Grover wrote: Basically I created a form and dropped a TListView onto it and set the OwnerData property to True, then defined an OnData event like: procedure TForm1.ListView1Data(Sender: TObject; Item: TListItem); begin Item.Caption := 'Item ' + IntToStr(Item.Index + 1); end;

Re: [Lazarus] testing virtual TListView in gtk2

2009-12-01 Thread Andrew Haines
Paul Ishenin wrote: ListViews on gtk can't be absolutely virtual - they need to have all the items. But captions, checks, etc are not stored in it (in the case of virtual) - they are requested before the drawing. So you should have some memory reduction in comparition with the real

Re: [Lazarus] testing virtual TListView in gtk2

2009-12-01 Thread Andrew Haines
Andrew Haines wrote: I did a small test loading a text file with 50,000+ lines with my custom model and the GtkTreeView retrieved the value of each item in the list on startup. I assume it's to calculate the size for the scrollbar since the height of the listitems is not fixed but can vary

Re: [Lazarus] melp /w TMainMenu

2009-11-28 Thread Andrew Haines
Chris Jennings wrote: Hi All I am brand new to Lazarus but have experience with Delphi in the distant past. I am just trying to acertain if Lazarus will meet my needs and am playing with some examples. I have run into a snag that is killing me. I place a TManMenu component on an empty

Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread Andrew Haines
Graeme Geldenhuys wrote: 2009/11/11 Hess, Philip J pjh...@purdue.edu: No idea. Maybe the lhelp develop knows the answer. I doubt the Mac help viewer can. After all, CHM is a Microsoft format. Hasn't CHM been abandoned by Microsoft due to security concerns? It has been replaced by

Re: [Lazarus] Gecko on lazarus

2009-11-12 Thread Andrew Haines
Hans-Peter Diettrich wrote: I wrote an HH2 helpfile decompiler some time ago. I can try to find the sources, if you're interested in it. Yes I would be interested in that, thanks. Currently I can extract any file from the hh2 file. I just don't know the file format of the internal files

Re: [Lazarus] DocView and FPC help available for testing

2009-10-29 Thread Andrew Haines
Graeme Geldenhuys wrote: Looking closer at your 'ldd' output, it is trying to load 32bit libraries. Do you have those installed? yes if the libraries wern't found it would have question marks in the ldd output for the unfound libraries. Michael van Canneyt has also tested the 32bit DocView

Re: [Lazarus] [fpc-devel] New CHM documentation snapshot

2009-10-11 Thread Andrew Haines
Graeme Geldenhuys wrote: I saw,thanks. Now how do you enable CHM help in the Lazarus IDE? I want to use the RTL, FCL, LCL and Lang Ref CHM help so that when I press F1 over a method, or language keyword, my preferred CHM help viewer is loaded with the correct help displayed. So far only

Re: [Lazarus] [fpc-devel] New CHM documentation snapshot

2009-10-11 Thread Andrew Haines
Marco van de Voort wrote: Please don't keep in the dark any longer. Benchmarks, benchmarks of binindex !!! :-) okay here are my benchmarks :) AMD Athlon(tm) 64 Processor 3500+ 2200MHZ Start fcl.chm Text Toc read time: 00.116 Bin Toc read time: 00.021 Text Index read time: 00.176 Bin

Re: [Lazarus] Command line number would be more useful

2009-10-02 Thread Andrew Haines
Arí Ricardo Ody wrote: I'm running a custom program under Lazarus control. When occurs an exception that I didn't intercept I receive a assembly screen. For me, it's totally useless. I don't program in assembly. I know lots of programmers that program in high level languages(as pascal) and

Re: [Lazarus] Command line number would be more useful

2009-10-02 Thread Andrew Haines
Arí Ricardo Ody wrote: I can't catch it. May you explain a little bit, please? In the View menu the second to last item is Debug Windows which has Call stack in it. It shows the stack of functions called by your program and the lines which are being executed. If your ide language is not

Re: [Lazarus] New Help System Viewer - sneak preview

2009-10-01 Thread Andrew Haines
Graeme Geldenhuys wrote: 2009/10/1 Paul Ishenin i...@kmiac.ru: What is wrong with lhelp? Thanks for the help in spotting these errors. Most of them have been fixed in r21945. Can you send me the chm which has the Indy License Agreement over and over in the TOC? I would like to fix this bug.

Re: [Lazarus] New Help System Viewer - sneak preview

2009-10-01 Thread Andrew Haines
Graeme Geldenhuys wrote: 2009/10/1 Paul Ishenin i...@kmiac.ru: What is wrong with lhelp? Searching sucks in any CHM viewer! See attached image and associated help content as an example. One think pro about lhelp compared to other CHM viewers under Linux - it includes a search tab, even

Re: [Lazarus] New Help System Viewer - sneak preview

2009-10-01 Thread Andrew Haines
Graeme Geldenhuys wrote: 2009/10/1 Marco van de Voort mar...@stack.nl: - What is the time to load the LCL index file and merge it with the FCL and RTL files? So that's not bad. :-) 0.177 milliseconds to load 10.3MB of help and display the TOC to the user. In total, that was 13,197 topics

Re: [Lazarus] New Help System Viewer - sneak preview

2009-10-01 Thread Andrew Haines
Andrew Haines wrote: Is the TOC sorted or are the files appended together? Sorry I was thinking of an index not a toc Regards, Andrew -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Request for student project ideas

2009-09-16 Thread Andrew Haines
, not too hard, require actual coding and be interesting enough to motivate students. Students will work on projects they select from October 2009 to April 2010. opens can of worms Perhaps a utf8 compiler supported string type? /opens can of worms Regards, Andrew Haines

Re: [Lazarus] Lazarus IDE help and Application help formats

2009-08-20 Thread Andrew Haines
Graeme Geldenhuys wrote: Mattias Gaertner wrote: Someone broke the example. I fixed it. Thanks, I read the wiki pages and will give the helphtml example another try. The package ChmHelpPkg provides a viewer for chm files by starting and remote controlling lhelp. This sounds more