Re: [fpc-pascal] Javascript in Desktop Applications

2011-02-07 Thread Brian Winfrey
On Mon, Feb 7, 2011 at 6:27 AM, michael.vancann...@wisa.be wrote: On Mon, 7 Feb 2011, Andrew Brunner wrote: On Mon, Feb 7, 2011 at 7:35 AM,  michael.vancann...@wisa.be wrote: A cross-platform solution is to use one of libsee or BESEN. The latter is implemented in 100% native Object

Re: [fpc-pascal] Win32 Application Query.

2011-01-31 Thread Brian Winfrey
On Sun, Jan 23, 2011 at 2:25 AM, Justin Smyth delph...@smythconsulting.net wrote: Hi guys I've been working on a application to application communications protocol via named pipes. the basic idea would be for Application A to change a Component Property on Applications B ( ie the visible

Re: [fpc-pascal] JSON - RTTI streaming.

2011-01-20 Thread Brian Winfrey
On Wed, Jan 5, 2011 at 3:12 PM, Michael Van Canneyt mich...@freepascal.org wrote: Hello, For those of you that need JSON support: I have committed support for streaming published properties (properties for which RTTI  is generated) from objects to JSON and vice versa, in a unit fpjsonrtti.

Re: [fpc-pascal] Cannot get TFPTimer to work

2010-12-02 Thread Brian Winfrey
See .../fpcsrc/packages/fcl-base/examples/testtimer.pp for example usage. On Thu, Dec 2, 2010 at 10:39 AM, Darius Blaszyk dhkblas...@zeelandnet.nl wrote: Whatever I tried, I cannot get TFPTimer to work. Can someone help? For some reason the OnTimer even is never fired. Tried on Windows and

Re: [fpc-pascal] make fpc

2010-11-22 Thread Brian Winfrey
On Mon, Nov 22, 2010 at 1:48 AM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: On 21 Nov 2010, at 19:03, Brian Winfrey wrote: What version should fpc display (Revision: 16393). When I get latest and make /usr/bin/fpc is at version 2.4.2. fpc -vut dummy.pas ... Compiler: /usr/lib/fpc/2.4.2

[fpc-pascal] Re: make fpc

2010-11-21 Thread Brian Winfrey
I also tried make cycle as outlined in programmers guide, but results are the same. On Sun, Nov 21, 2010 at 10:03 AM, Brian Winfrey bwcod...@gmail.com wrote: What version should fpc display (Revision: 16393). When I get latest and make /usr/bin/fpc is at version 2.4.2. fpc -vut dummy.pas

Re: [fpc-pascal] TReader.ReadProperty

2010-11-04 Thread Brian Winfrey
See post from about two weeks ago. Building FPC with debug information On Wed, Nov 3, 2010 at 3:39 AM, Roland Turčan - RoTurSoft i...@rotursoft.sk wrote: On Wed, Nov 3, 2010 at 9:17 AM, Michael Van Canneyt mich...@freepascal.org wrote: PS: How can I debug TReader class, because debuger

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-02 Thread Brian Winfrey
The fixes_2_4 is already at version 2.4.3 and contains everything from 2.4.2 and more... Thank you. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Brian Winfrey
Which address should I be using? It looks like the UUID and revision are the same while Last changed revision and path are different. svn info http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 Path: release_2_4_2 URL: http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 Repository Root:

Re: [fpc-pascal] Re: Re: TPLY

2010-10-29 Thread Brian Winfrey
Well, seems like you all have given some material to get me started. As nobody suggested sticking with TPLY or plex/bison I will back-burner that and proceed with crenshaw/oberon. Thanks to everyone. ___ fpc-pascal maillist -

Re: [fpc-pascal] TPLY

2010-10-29 Thread Brian Winfrey
Thanks, I'll look into this as well. On Fri, Oct 29, 2010 at 2:19 AM, Thierry Coq t...@free.fr wrote: Brian, thanks for the diff, I'll take it into account and publish an update. On 28/10/2010 18:50, Brian Winfrey wrote: ... The changes I made in this diff were simply to get it to compile

Re: [fpc-pascal] Re: TPLY

2010-10-28 Thread Brian Winfrey
Thank you, What techiniques have you used in the past that you could share to get me started? On Wed, Oct 27, 2010 at 8:04 PM, leledumbo leledumbo_c...@yahoo.co.id wrote: Learn compilation technique, a recursive descent parser should be easy to understand and code instead of learning automatic

[fpc-pascal] TPLY

2010-10-25 Thread Brian Winfrey
I recently saw a semi working example of a Java to Delphi converter that was done with javacc. Unfortunately it would only convert simple java (v 1.4 maybe). Can anyone recommend a good place to start reading or offer any advise to accomplish this with TPLY. I am looking into porting some Java

Re: [fpc-pascal] Building FPC with debug information

2010-10-20 Thread Brian Winfrey
make OPT=-O- DEBUG=1 all When I ran this I see that both -dDEBUG and -dRELEASE are passed on the fpc command line. Is that correct? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] IntList

2010-10-19 Thread Brian Winfrey
Take a look at http://code.google.com/p/fprb/. I have just perused it, but it looks pretty good. Brian. Currently, the FPC team is looking at an implementation of Vlado Boza us...@ksp.sk for a standard template library for inclusion in FPC. The code is on

Re: [fpc-pascal] What are the issues involved in threads sharing variables?

2010-10-19 Thread Brian Winfrey
Polling where the list size is highly dynamic you will need protect it.  I think FPC has thread safe list objects too. Yes it does, Classes.TThreadList I think. I thought it was a conatiner for threads, but it is a safe list. ___ fpc-pascal maillist

[fpc-pascal] lNet getting the local IP

2010-10-08 Thread Brian Winfrey
, you should use it as such. I substituted my router's ip for google's and it works.;) Choose a different address that would not fail in a specific situation. As another example, one could read their /etc/resolve file to get the dns server that is assigned. Brian Winfrey

Re: [fpc-pascal] lNet getting the local IP

2010-10-07 Thread Brian Winfrey
On 06/10/10 14:27, Felipe Monteiro de Carvalho wrote: Ok, thanks everyone, it seams that I managed to extract a function from Silvio's code which doesn't use Synapse. I only tested in Windows so far: unit chesstcputils; {$mode objfpc}{$H+} interface uses    {$IFDEF MSWINDOWS}    

Re: [fpc-pascal] lNet getting the local IP

2010-10-07 Thread Brian Winfrey
, I tested again, and discovered that's not is necessary a connection to a web. I changed to 0.0.0.0 and returned 127.0.0.1, perfect! :) I will use this function. Thanks very much again. :) 2010/10/7 Brian Winfrey bwcod...@gmail.com On 06/10/10 14:27, Felipe Monteiro de Carvalho wrote: Ok

Re: [fpc-pascal] lNet getting the local IP

2010-10-07 Thread Brian Winfrey
I don't know if you noticed, but it appears that code has some depracated properties that should be changed. Here are the modifications I made in exploring this issue: program GetPrimaryIpAddress; {$mode objfpc} uses baseunix, unixtype, sockets, SysUtils; procedure Get(out AddrOut:

Re: [fpc-pascal] lNet getting the local IP

2010-10-06 Thread Brian Winfrey
On Wed, Oct 6, 2010 at 7:09 AM, fpc-pascal-requ...@lists.freepascal.org wrote: Send fpc-pascal mailing list submissions to        fpc-pas...@lists.freepascal.org To subscribe or unsubscribe via the World Wide Web, visit        http://lists.freepascal.org/mailman/listinfo/fpc-pascal or, via

[fpc-pascal] Destroy vs Free: Memory Leak?

2010-09-06 Thread Brian Winfrey
I have a TestCase that has this issue.  If I call obj.Free, I am unable to step into the Destroy method and heaptrc indicates a memory leak.  If I call obj.Destroy everything works as expected.  Following the call to Free - ... if (obj nil) then obj.Destroy; it would seem that the object must be