Re: [lazarus] Search engine for Lazarus and Free Pascal concerned stuff

2007-11-20 Thread Carlos German Tejero

 Maybe, samebody can take a look of this http://ioda.sourceforge.net/, a
 full text search project (posible dead) written in fpc.
 --
 Carlos Germán Tejero


Re: [lazarus] a litle question about freevision

2007-10-05 Thread Carlos German Tejero
I think lazarus must include all fpc packages. I want to create
TProjectFileDescriptor descendants for freevision Application, Desktop,
Window, etc. Maybe is good that lazarus user's, know fpc include a
TurboVision replacement. (Sorry my bad english).
Thanks Vincent.



2007/10/4, Vincent Snijders [EMAIL PROTECTED]:

 Carlos German Tejero schreef:
  Why the fpc bundled in the lazarus-win32 installer don't include
  freevision??

 Because Lazarus does not need that. I never thought anybody would use
 Lazarus to create freevision applications.

 Vincent

 _
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Carlos Germán Tejero


Re: [lazarus] a litle question about freevision

2007-10-05 Thread Carlos German Tejero
I think lazarus must include all fpc packages. I want to create
TProjectFileDescriptor descendants for freevision Application, Desktop,
Window, etc. Maybe is good that lazarus user's, know fpc include a
TurboVision replacement. (Sorry my bad english).
Thanks Vincent.


Sorry for the previous two mail.

2007/10/4, Vincent Snijders [EMAIL PROTECTED]:

 Carlos German Tejero schreef:
  Why the fpc bundled in the lazarus-win32 installer don't include
  freevision??

 Because Lazarus does not need that. I never thought anybody would use
 Lazarus to create freevision applications.

 Vincent

 _
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Carlos Germán Tejero


Re: [lazarus] a litle question about freevision

2007-10-04 Thread Carlos German Tejero
I think lazarus must include all fpc packages. I want to create
TProjectFileDescriptor descendants for freevision Application, Desktop,
Window, etc. Maybe is good that lazarus user's, know fpc include a
TurboVision replacement. (Sorry my bad english).
Thanks Vincent.


2007/10/4, Vincent Snijders [EMAIL PROTECTED]:

 Carlos German Tejero schreef:
  Why the fpc bundled in the lazarus-win32 installer don't include
  freevision??

 Because Lazarus does not need that. I never thought anybody would use
 Lazarus to create freevision applications.

 Vincent

 _
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Carlos Germán Tejero


[lazarus] a litle question about freevision

2007-10-03 Thread Carlos German Tejero
Why the fpc bundled in the lazarus-win32 installer don't include
freevision??
Thanks to all.
Bye bye.

-- 
Carlos Germán Tejero


Re: [lazarus] VOOE Programming ? so what about running in a browser someday...?

2007-08-20 Thread Carlos German Tejero
maybe port webrad (http://sourceforge.net/projects/webrad) to lazarus is a
good start point.

2007/8/20, Sebastian Günther [EMAIL PROTECTED]:

 Michael Van Canneyt schrieb:
 
  Please explain why that isn't possible to do a conversion of such an
 app using
  Javascript ?
 
  Are you going to compile the pascal to javascript ?

 Hello *,

 as I already wrote Michael in private I'm thinking about developing a
 web widgetset for LCL as well.

 My current considerations are these:

 The application of course gets compiled as usual and runs on the server.
 There is only one major issue: A web application must be prepared for
 multithreading, as there is one instance of the 'main form' per user
 access (or session). But, if properly written (storing data in the main
 class, and not using global variables), this is not a real problem.

 JavaScript will only be used for drawing and content creation, and for
 event propagation of course. Communication using AJAX or JSON, but using
 the synchronous version of HTTPRequest (remember that most desktop
 widget toolkits are working synchronous as well, for good reason). For
 example, the canvas: Drawing commands will be buffered, and as soon as
 execution returned to the main loop, this command buffer will be send to
 the JavaScript client. (Of course there might be special cases like
 painting in a canvas and immediately reading data back from the
 framebuffer. In this case it might be necesseray to emulate the whole
 painting on the server using a memory image.)

 Really all kinds of widgets can be emulated using JavaScript and DHTML.

 This approach surely would work quite well -- but it would be quite
 slow, dependent on the exact application.
 Btw, what we could do is to support Microsofts Silverlight; if this
 plugin is installed, create all widgets using Silverlight, where you can
 use _all_ widgets which .NET's Windows.Forms support.
 But back to JS/DHTML. To improve performance, I see only one way, the
 way that Google's Web Toolkit is going: Analyze the source code and try
 to convert single methods to JavaScript wherever possible, using some
 kind of JS version of the FPC RTL. By time, this library would get
 bigger and bigger, improving the performance step by step. But of course
 the source analyzer has to be extremely careful about keeping the
 application state in sync between client and server.


 Any comments? :-)


 - Sebastian

 _
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Carlos Germán Tejero


Re: [lazarus] Code Completion don't understand new generic sintax

2007-08-16 Thread Carlos German Tejero
Thanks Mattias, good and great job!!!.


2007/8/16, Mattias Gaertner [EMAIL PROTECTED]:

 On Wed, 15 Aug 2007 18:05:18 -0300
 Carlos German Tejero [EMAIL PROTECTED] wrote:

  Hi to Lazarus Team (sorry for my poor english):
 
  I probe the new FPC generic support, and work fine, but the Lazarus
  Code Completion don't understand new generic sintax. For example in
  the next code:
 
 
  program test;
 
  {$apptype console}
  {$mode objfpc}{$H+}
 
  uses
SysUtils, Classes;
 
  type
generic TTestTDato = class(TObject)
  function sum(a,b:TDato):TDato;
end;
 
TIntTest = specialize TTestInteger;
 
TStrTest = specialize TTestString;
 
function TTest.sum(a,b:TDato):TDato;
begin
  Result := a + b;
end;
 
  var
it:TIntTest;
st:TStrTest;
i:integer;
s:string;
 
  begin
it := TIntTest.Create;
i := it.sum(1,2);
it.Free;
WriteLn(i);
 
  end.
 
  when i write it := TIntTest. and press CRTL+SPACE, i got the next
  error in the messages window:
 
test.lpr(10,11) Error: = expected, but TTest found
 
  i'm using Lazarus 0.9.23 Beta SVN:11793 x86_64-win64-win32/win64
  on WindowsXP 64.

 I implemented some basic things, like parsing and simple find
 declaration for generics. Please update svn and test.


 Mattias

 _
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Carlos Germán Tejero


[lazarus] Code Completion don't understand new generic sintax

2007-08-15 Thread Carlos German Tejero
Hi to Lazarus Team (sorry for my poor english):

I probe the new FPC generic support, and work fine, but the Lazarus Code
Completion don't understand new generic sintax. For example in the next
code:


program test;

{$apptype console}
{$mode objfpc}{$H+}

uses
  SysUtils, Classes;

type
  generic TTestTDato = class(TObject)
function sum(a,b:TDato):TDato;
  end;

  TIntTest = specialize TTestInteger;

  TStrTest = specialize TTestString;

  function TTest.sum(a,b:TDato):TDato;
  begin
Result := a + b;
  end;

var
  it:TIntTest;
  st:TStrTest;
  i:integer;
  s:string;

begin
  it := TIntTest.Create;
  i := it.sum(1,2);
  it.Free;
  WriteLn(i);

end.

when i write it := TIntTest. and press CRTL+SPACE, i got the next error in
the messages window:

  test.lpr(10,11) Error: = expected, but TTest found

i'm using Lazarus 0.9.23 Beta SVN:11793 x86_64-win64-win32/win64
on WindowsXP 64.

Thanks!!!


-- 
Carlos Germán Tejero


[lazarus] IBConnection error in win64

2007-06-20 Thread Carlos German Tejero

Hi:
I'm test lazarus 0.9.23beta (r11234), on win64. I have installed Firebird
2.0.1 for 32bits, and works fine.
When try to connect using a sqldb/ibconnection lazarus report an error:

Can not load default Firebird clients(gds32.dll or fbclient.dll). Check
your installation.

But i have installed the gds32.dll and fbclient.dll in C:\WINDOWS\SysWOW64
directory. I put the fbclient.dll in the application directory and the error
persist.

it's a bug?

Thanks, sorry for my english.

Bye.


--
Carlos Germán Tejero


Re: IBConnection error in win64

2007-06-20 Thread Carlos German Tejero

And the same problem with TMySQL50Connection

Can not load MySQL library libmysql.dll. Check your installation.

Bye.


2007/6/20, Carlos German Tejero [EMAIL PROTECTED]:


Hi:
I'm test lazarus 0.9.23beta (r11234), on win64. I have installed Firebird
2.0.1 for 32bits, and works fine.
When try to connect using a sqldb/ibconnection lazarus report an error:

Can not load default Firebird clients(gds32.dll or fbclient.dll).
Check your installation.

But i have installed the gds32.dll and fbclient.dll in C:\WINDOWS\SysWOW64
directory. I put the fbclient.dll in the application directory and the
error persist.

it's a bug?

Thanks, sorry for my english.

Bye.


--
Carlos Germán Tejero





--
Carlos Germán Tejero


Re: [lazarus] IBConnection error in win64

2007-06-20 Thread Carlos German Tejero

Ok, but i'm using mysql5 64bits and the problem is the same.
it's a fpc bug?
i'm using fpc 64bits.
thanks.


2007/6/20, Vincent Snijders [EMAIL PROTECTED]:


On Wed, 20 Jun 2007 19:16:34 -0300
Carlos German Tejero [EMAIL PROTECTED] wrote:

 Hi:
 I'm test lazarus 0.9.23beta (r11234), on win64. I have installed
Firebird
 2.0.1 for 32bits, and works fine.
 When try to connect using a sqldb/ibconnection lazarus report an error:

 Can not load default Firebird clients(gds32.dll or fbclient.dll).
Check
 your installation.

 But i have installed the gds32.dll and fbclient.dll in
C:\WINDOWS\SysWOW64
 directory. I put the fbclient.dll in the application directory and the
error
 persist.

 it's a bug?


That depends.

If you are using the 64 bits version of lazarus, you need the 64 bits
version of gds32.dll.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives





--
Carlos Germán Tejero


Re: [lazarus] IBConnection error in win64

2007-06-20 Thread Carlos German Tejero

Sorry, i'm using a incorrect libmysql.dll, i correct this and the problem is
solved (for mysql). But now i have a new problem, when connect to a mysql
database, the open method raise an exception and the application finish, i
catch the exception with a try/except but the application finish too.
thanks.


2007/6/20, Carlos German Tejero [EMAIL PROTECTED]:


Ok, but i'm using mysql5 64bits and the problem is the same.
it's a fpc bug?
i'm using fpc 64bits.
thanks.


2007/6/20, Vincent Snijders [EMAIL PROTECTED]:

 On Wed, 20 Jun 2007 19:16:34 -0300
 Carlos German Tejero [EMAIL PROTECTED]  wrote:

  Hi:
  I'm test lazarus 0.9.23beta (r11234), on win64. I have installed
 Firebird
  2.0.1 for 32bits, and works fine.
  When try to connect using a sqldb/ibconnection lazarus report an
 error:
 
  Can not load default Firebird clients(gds32.dll or fbclient.dll).
 Check
  your installation.
 
  But i have installed the gds32.dll and fbclient.dll in
 C:\WINDOWS\SysWOW64
  directory. I put the fbclient.dll in the application directory and the
 error
  persist.
 
  it's a bug?
 

 That depends.

 If you are using the 64 bits version of lazarus, you need the 64 bits
 version of gds32.dll.

 Vincent

 _
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




--
Carlos Germán Tejero





--
Carlos Germán Tejero


Re: [lazarus] IBConnection error in win64

2007-06-20 Thread Carlos German Tejero

I put the libmysql.dll in system32 and the application directory and the
problem persist. When i connect with Con.Open; the application finish.
Thanks.


2007/6/20, Vincent Snijders [EMAIL PROTECTED]:


On Wed, 20 Jun 2007 19:39:26 -0300
Carlos German Tejero [EMAIL PROTECTED] wrote:

 Ok, but i'm using mysql5 64bits and the problem is the same.
 it's a fpc bug?
 i'm using fpc 64bits.
 thanks.

If you are using 64 bits dlls from a 64 bits application, you should put
the dll's in the system32 directory.

The syswow64 (system windows on windows 64, AFAIK) is for 32 bits dlls.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives





--
Carlos Germán Tejero


Re: [lazarus] Form Designer + TListView bug

2007-06-06 Thread Carlos German Tejero

Hi, in Lazarus 0.9.23 beta this bug is not present.

Bye.


2007/6/6, Antonio Sanguigni [EMAIL PROTECTED]:


 Can anybody else confirm this bug?


Yes Graeme,

I had this too. Lazarus 0.9.21 .

Slapshot
--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org





--
Carlos Germán Tejero


Re: [lazarus] Lazarus for win64 available for download from sourceforge

2007-06-02 Thread Carlos German Tejero

thanks.

2007/6/2, Vincent Snijders [EMAIL PROTECTED]:


Carlos German Tejero schreef:
 Hi Vincent:
 I have many questions, on how work a Lazarus Daemon Application. In unix
 a Daemon is a process that forks, close the stdin-stdout-stderr and
 running on backgroup. In the SystemV way, put a script in /etc/init.d/
 for start/restart/stop the daemon.
 In windows a Service, is registered with the windows api. One executable
 (or library) can have one or more services.

 What is the funcionality of TMapperDaemon? the programmer catch the
 OnInstal/OnUninstall events for register the Daemon in the System?

 What is the functionality of TDaemon? is a TThread, then emulates the
 windows way?

 Thanks (sorry for my english).

 The work of FPC team and Lazarus team is WONDERFULL!!


I don't know answers to these questions. Maybe Michael van Canneyt, who
contributed these units can give some answers. If I remember correctly,
he also promised some examples.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives





--
Carlos Germán Tejero


Re: [lazarus] Lazarus for win64 available for download from sourceforge

2007-06-01 Thread Carlos German Tejero

Hi Vincent:
I have many questions, on how work a Lazarus Daemon Application. In unix a
Daemon is a process that forks, close the stdin-stdout-stderr and running on
backgroup. In the SystemV way, put a script in /etc/init.d/ for
start/restart/stop the daemon.
In windows a Service, is registered with the windows api. One executable (or
library) can have one or more services.

What is the funcionality of TMapperDaemon? the programmer catch the
OnInstal/OnUninstall events for register the Daemon in the System?

What is the functionality of TDaemon? is a TThread, then emulates the
windows way?

Thanks (sorry for my english).

The work of FPC team and Lazarus team is WONDERFULL!!

bye.

--
Carlos Germán Tejero

2007/6/1, Vincent Snijders [EMAIL PROTECTED]:


Carlos German Tejero schreef:
 Hi,my name is German Tejero, and my english is very bad.

 I download the lazarus win64 release, and i test it on a Intel Core 2
 Duo E6400.
 I install the lazdaemon package and i discover a bug, when add a TDaemon
 or a TDaemonMapper, the uses contains duplicated LResources unit:

 *  uses
   Classes, SysUtils, LResources, LResources, daemonapp;
 *
 the bug is in the reglazdaemon unit:
 ...
 function TDaemonFileDescriptor.GetInterfaceUsesSection: String;
 begin
   Result:=inherited GetInterfaceUsesSection+', LResources, daemonapp';
 end;
 ...
 function TDaemonMapperDescriptor.GetInterfaceUsesSection: String;
 begin
   Result:=inherited GetInterfaceUsesSection+', LResources, daemonapp';
 end;
 ...


Thanks for the report. I wonder why nobody else noticed this before. Did
anybody try out this component at all?

Fixed in r11249 (SVN).

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives



Re: [lazarus] Lazarus for win64 available for download from sourceforge

2007-05-31 Thread Carlos German Tejero

Hi,my name is German Tejero, and my english is very bad.

I download the lazarus win64 release, and i test it on a Intel Core 2 Duo
E6400.
I install the lazdaemon package and i discover a bug, when add a TDaemon or
a TDaemonMapper, the uses contains duplicated LResources unit:

*  uses
 Classes, SysUtils, LResources, LResources, daemonapp;
*
the bug is in the reglazdaemon unit:
...
function TDaemonFileDescriptor.GetInterfaceUsesSection: String;
begin
 Result:=inherited GetInterfaceUsesSection+', LResources, daemonapp';
end;
...
function TDaemonMapperDescriptor.GetInterfaceUsesSection: String;
begin
 Result:=inherited GetInterfaceUsesSection+', LResources, daemonapp';
end;
...

Bye.
German.

2007/5/31, Vincent Snijders [EMAIL PROTECTED]:


The win64 versions of fpc and Lazarus have improved a lot in the last
couple of months. So much that we can include it in the regular releases
when fpc 2.2.0 has been released (expected this summer).

To celebrate this, the Lazarus team has uploaded a snapshot to the
Lazarus testing download area on Sourceforge:

http://sourceforge.net/project/showfiles.php?group_id=89339package_id=93599

Main differences between the win32 and win64 version:
* No debugger support in win64 (there is no gdb for win64).
* No resource support, so no default icon for example and no windows xp
look, due to missing manifest (gnu's windres doesn't support win64)
* Lazarus for windows 64 is less used and tested, so a lot of components
and packages may not work (for example LazReport). Create bug reports
for things you have noticed.

This installer can be seen as a release candidate for the first official
Lazarus release with win64, which will probably made a couple of weeks
after the fpc 2.2.0 release.

The main purpose of this announcement and the upload to sourceforge is
to attract more people who can test this lazarus version. Please use the
bugtracker http://www.freepascal.org/mantis/set_project.php?project_id=1
if you notice bugs that are not in the win32 version.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives





--
Carlos Germán Tejero


Re: [lazarus] Delphi 4 PHP

2007-04-08 Thread Carlos German Tejero

1.  Is Delphi 4 PHP a product for just Delphi, or can Lazarus use it as

well?
Delphi 4 PHP is a product of CodeGear (Borland), the framework is VCL4PHP (
sourceforge.net/products/vcl4php)

2.  What exactly does it do?  Something akin to the .NET components?

Is a serie of units wirten in JS(quoxxdo) and PHP, that mimic the VCL (sorry
my pour english) for write web applications

3.  What are its advantages?

the language? PHP
the familiarity of the VCL?
I don't know. The framework is open source.
Is multiplatform.

4.  What are its disadvantages?

the language? PHP
the familiarity of the VCL?
I don't know, too.

2007/4/8, John Meyer [EMAIL PROTECTED]:


I admit that I haven't kept up with this as much as I should, but I have
a few questions, and if somebody can provide me with a link I am
certainly grateful.

1.  Is Delphi 4 PHP a product for just Delphi, or can Lazarus use it as
well?
2.  What exactly does it do?  Something akin to the .NET components?
3.  What are its advantages?
4.  What are its disadvantages?

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives





--
Carlos Germán Tejero