[Lazarus] Lazreport issue

2008-08-17 Thread Michael Van Canneyt

Hi,

Nothing serious, but could the lazreport project on sourceforge be closed
somehow ? I mistakenly downloaded and tried to install it, leading to all
kinds of errors before I realized that lazreport is actually included
in Lazarus under components/lazreport...

Maybe the project should not be removed (don't know if this is actually
possible on Sourceforge ?) but putting some kind of BIG warning on the 
lazreport website of sourceforge would be nice. Additionally, it would
let people know that lazreport is not dead, which is the impression one
gets when looking at sourceforge  :-)

Michael.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] About Lazarus TWebbrowser solution

2008-08-17 Thread davy zhang
can Ipro suit work with the internet url browsing?

Like the IE Core twebbrowser in delphi.

if we can work with FireFox, that would be so cool to have a
cross-platform web browser component!
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] About Lazarus TWebbrowser solution

2008-08-17 Thread Michael Van Canneyt


On Sun, 17 Aug 2008, davy zhang wrote:

 can Ipro suit work with the internet url browsing?
 
 Like the IE Core twebbrowser in delphi.
 
 if we can work with FireFox, that would be so cool to have a
 cross-platform web browser component!

I am working on getting Gecko (the firefox engine) to work with
FPC, but there seem to be some problems with the interface;
As far as I can see currently, it is a compiler thing which needs
to be resolved.

Michael.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazreport, again.

2008-08-17 Thread Michael Van Canneyt
hi,

I keep getting the following errors in Lazarus when trying to design a report:

Gdk-CRITICAL **: file gdkwindow.c: line 727 (gdk_window_unref): assertion 
`private-ref_count  0' failed.
TCustomForm.SetActiveControl frDesignerForm:TfrDesignerForm 
AWinControl=ValueEdit:TEdit 
GetParentForm(AWinControl)=frDesignerForm:TfrDesignerForm csLoading=False 
AWinControl.CanFocus=False IsControlVisible=True Enabled=True
TApplication.HandleException Cannot focus a disabled or invisible window
  Stack trace:
  $006F4476 line 1278 of include/customform.inc
  $006F1802 line 108 of include/customform.inc
  $00832941 line 4913 of include/wincontrol.inc
  $00A01973 line 1802 of objectinspector.pp
  $00A01F5A line 1932 of objectinspector.pp
  $00840044 line 3202 of include/control.inc
  $006DB279
  $0083C33E line 1583 of include/control.inc
  $00831F90 line 4715 of include/wincontrol.inc
  $009264F0 line 3543 of gtkproc.inc
  $00932719 line 1094 of gtkcallback.inc
  $0093289F line 1172 of gtkcallback.inc

Lazarus from today, x86_64, linux, GTK 1.

Steps to reproduce:
- Install lazreport package
- Drop tfrreport on form
- Select 'Design report' from context menu
- Drop band on report.
- Move the fastreport object inspector around...
- Above error.

A second way of getting this is simply trying to expand the 'Font' editor in 
the fastreport
object inspector.

I've been playing about with it for a couple of hours, and start wondering if 
anyone has
ever been able to make a working report with it, it is extremely unstable... ?

Michael.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac OS X L : TPrintDialog missing from Dialogs tab...

2008-08-17 Thread Dominique Louis
Mattias Gaertner wrote:
 On Sat, 16 Aug 2008 19:25:04 +0100
 Dominique Louis [EMAIL PROTECTED] wrote:
 
 Hi All,
Under Mac OS X, native Carbon IDE, the TPrintDialog is missing
 from the Dialogs tab? Is this intentional? If so why?
 
 Have you installed the printer4lazarus package?

Hmm, it used to be installed by default. Has that changed?

I'll check again.


Dominique.

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] About Lazarus TWebbrowser solution

2008-08-17 Thread davy zhang
Wow~! that's so cool! great thanks for the efforts!

On Sun, Aug 17, 2008 at 6:19 PM, Michael Van Canneyt
[EMAIL PROTECTED] wrote:


 On Sun, 17 Aug 2008, davy zhang wrote:

 can Ipro suit work with the internet url browsing?

 Like the IE Core twebbrowser in delphi.

 if we can work with FireFox, that would be so cool to have a
 cross-platform web browser component!

 I am working on getting Gecko (the firefox engine) to work with
 FPC, but there seem to be some problems with the interface;
 As far as I can see currently, it is a compiler thing which needs
 to be resolved.

 Michael.
 ___
 Lazarus mailing list
 Lazarus@lazarus.freepascal.org
 http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac OS X L : TPrintDialog missing from Dialogs tab...

2008-08-17 Thread Dominique Louis
Mattias Gaertner wrote:
 On Sat, 16 Aug 2008 19:25:04 +0100
 Dominique Louis [EMAIL PROTECTED] wrote:
 
 Hi All,
Under Mac OS X, native Carbon IDE, the TPrintDialog is missing
 from the Dialogs tab? Is this intentional? If so why?
 
 Have you installed the printer4lazarus package?

Ok I cleaned out the settings from ~/.lazarus and attempted to 
re-install printer4lazarus. When it try to rebuild the IDE I get an 
error in Lazarus.pp which says.
Can't create assembler file:../units/i386/lazarus.s

As lazarus is installed in
/usr/local/share/lazarus
do I have to do anything special for it to pick up the sudo settings 
from within the IDE, or can I only do it via the command line?

Thanks,


Dominique.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus 0.9.26

2008-08-17 Thread ik
Hi,

Does 0.9.26 going to be released for FPC 2.2.2 or 2.4 ?
I'ved tried to compile Lazarus from svn today, and it looks for files
that exists at FPC's svn for 2.3 and does not exits for 2.2.2 ...

Thanks
Ido
-- 
http://ik.homelinux.org/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus 0.9.26

2008-08-17 Thread Burkhard Carstens
Am Sonntag, 17. August 2008 14:37 schrieb ik:
 Hi,

 Does 0.9.26 going to be released for FPC 2.2.2 or 2.4 ?
 I'ved tried to compile Lazarus from svn today, and it looks for files
 that exists at FPC's svn for 2.3 and does not exits for 2.2.2 ...

iconvenc unit? probably just an oversight.
Just reported:
http://bugs.freepascal.org/view.php?id=11899


regards
 Burkhard

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus 0.9.26

2008-08-17 Thread Vincent Snijders
ik schreef:
 Hi,
 
 Does 0.9.26 going to be released for FPC 2.2.2 or 2.4 ?
 I'ved tried to compile Lazarus from svn today, and it looks for files
 that exists at FPC's svn for 2.3 and does not exits for 2.2.2 ...

For 2.2.2.

See also
http://bugs.freepascal.org/view.php?id=11899

Vincent
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus on eCS(OS/2)

2008-08-17 Thread Rodney Pont
I'm trying to compile Lazarus 0.9.24 under eCS but I don't have the
units Unix or BaseUnix in the distribution of fpc-2.2.2 for OS/2 so the
make fails at fileutil.pas.

I'm totally new to Pascal so am wondering what the best approach is. Do
I alter fileutil.pas/.inc to find calls that are available in the OS/2
release of fpc or do I grab the units from a Windows installation?

I want to compile skychart_v3 at the end of this but it needs Lazarus
first.

-- 
Regards - Rodney Pont
E-mail by PMMail - [EMAIL PROTECTED]

really weird out of context words courtesy of PMMail's spellchecker


___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazreport issue

2008-08-17 Thread Lee Jenkins
Michael Van Canneyt wrote:
 Hi,
 
 Nothing serious, but could the lazreport project on sourceforge be closed
 somehow ? I mistakenly downloaded and tried to install it, leading to all
 kinds of errors before I realized that lazreport is actually included
 in Lazarus under components/lazreport...
 
 Maybe the project should not be removed (don't know if this is actually
 possible on Sourceforge ?) but putting some kind of BIG warning on the 
 lazreport website of sourceforge would be nice. Additionally, it would
 let people know that lazreport is not dead, which is the impression one
 gets when looking at sourceforge  :-)
 

I only got that impression when trying to use it. ;)

--
Warm Regards,

Lee

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazreport, again.

2008-08-17 Thread Jesus Reyes



--- El dom 17-ago-08, Michael Van Canneyt [EMAIL PROTECTED] escribió:

 De:: Michael Van Canneyt [EMAIL PROTECTED]
 Asunto: [Lazarus] Lazreport, again.
 A: Lazarus mailing list lazarus@lazarus.freepascal.org
 Fecha: domingo, 17 agosto, 2008, 6:54 am
 hi,
 
 I keep getting the following errors in Lazarus when trying
 to design a report:
 
 Gdk-CRITICAL **: file gdkwindow.c: line 727
 (gdk_window_unref): assertion `private-ref_count 
 0' failed.
 TCustomForm.SetActiveControl frDesignerForm:TfrDesignerForm
 AWinControl=ValueEdit:TEdit
 GetParentForm(AWinControl)=frDesignerForm:TfrDesignerForm
 csLoading=False AWinControl.CanFocus=False
 IsControlVisible=True Enabled=True
 TApplication.HandleException Cannot focus a disabled or
 invisible window
   Stack trace:
   $006F4476 line 1278 of include/customform.inc
   $006F1802 line 108 of include/customform.inc
   $00832941 line 4913 of include/wincontrol.inc
   $00A01973 line 1802 of objectinspector.pp
   $00A01F5A line 1932 of objectinspector.pp
   $00840044 line 3202 of include/control.inc
   $006DB279
   $0083C33E line 1583 of include/control.inc
   $00831F90 line 4715 of include/wincontrol.inc
   $009264F0 line 3543 of gtkproc.inc
   $00932719 line 1094 of gtkcallback.inc
   $0093289F line 1172 of gtkcallback.inc
 
 Lazarus from today, x86_64, linux, GTK 1.
 
 Steps to reproduce:
 - Install lazreport package
 - Drop tfrreport on form
 - Select 'Design report' from context menu
 - Drop band on report.
 - Move the fastreport object inspector around...
 - Above error.
 
 A second way of getting this is simply trying to expand the
 'Font' editor in the fastreport
 object inspector.
 
 I've been playing about with it for a couple of hours,
 and start wondering if anyone has
 ever been able to make a working report with it, it is
 extremely unstable... ?
 
 Michael.
 ___
 Lazarus mailing list
 Lazarus@lazarus.freepascal.org
 http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazreport, again.

2008-08-17 Thread Jesus Reyes



--- El dom 17-ago-08, Michael Van Canneyt [EMAIL PROTECTED] escribió:

 De:: Michael Van Canneyt [EMAIL PROTECTED]
 Asunto: [Lazarus] Lazreport, again.
 A: Lazarus mailing list lazarus@lazarus.freepascal.org
 Fecha: domingo, 17 agosto, 2008, 6:54 am
 hi,
 
 I keep getting the following errors in Lazarus when trying
 to design a report:
 
 Gdk-CRITICAL **: file gdkwindow.c: line 727
 (gdk_window_unref): assertion `private-ref_count 
 0' failed.
 TCustomForm.SetActiveControl frDesignerForm:TfrDesignerForm
 AWinControl=ValueEdit:TEdit
 GetParentForm(AWinControl)=frDesignerForm:TfrDesignerForm
 csLoading=False AWinControl.CanFocus=False
 IsControlVisible=True Enabled=True
 TApplication.HandleException Cannot focus a disabled or
 invisible window
   Stack trace:
   $006F4476 line 1278 of include/customform.inc
   $006F1802 line 108 of include/customform.inc
   $00832941 line 4913 of include/wincontrol.inc
   $00A01973 line 1802 of objectinspector.pp
   $00A01F5A line 1932 of objectinspector.pp
   $00840044 line 3202 of include/control.inc
   $006DB279
   $0083C33E line 1583 of include/control.inc
   $00831F90 line 4715 of include/wincontrol.inc
   $009264F0 line 3543 of gtkproc.inc
   $00932719 line 1094 of gtkcallback.inc
   $0093289F line 1172 of gtkcallback.inc
 
 Lazarus from today, x86_64, linux, GTK 1.
 
 Steps to reproduce:
 - Install lazreport package
 - Drop tfrreport on form
 - Select 'Design report' from context menu
 - Drop band on report.
 - Move the fastreport object inspector around...
 - Above error.
 
 A second way of getting this is simply trying to expand the
 'Font' editor in the fastreport
 object inspector.
 
 I've been playing about with it for a couple of hours,
 and start wondering if anyone has
 ever been able to make a working report with it, it is
 extremely unstable... ?

The problem above was introduced in latest patch of LazReport, IMO it works 
much better now but it doesn't mean that everything it's working all fine, and 
the true is that some times while fixing something another one get bad side 
effects, lack of time to test on all widgetsets which doesn't work exactly the 
same on every single detail makes difficult to track down all flaws. Also, I 
don't agree that it's extremely unstable but I do agree that it doesn't work 
all good in all widgetsets, yet.

For the moment this one should fixed in r16090.

 
 Michael.

Jesus Reyes A.

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac OS X L : TPrintDialog missing from Dialogs tab...

2008-08-17 Thread Felipe Monteiro de Carvalho
build it from the command line:

sude make bigide

or something similar. I work with subversion Lazarus, so the code is
in my user directory and sudo isn't necessary.

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazreport issue

2008-08-17 Thread Jesus Reyes



--- El dom 17-ago-08, Lee Jenkins [EMAIL PROTECTED] escribió:

 De:: Lee Jenkins [EMAIL PROTECTED]
 Asunto: Re: [Lazarus] Lazreport issue
 A: General mailing list lazarus@lazarus.freepascal.org
 Fecha: domingo, 17 agosto, 2008, 9:57 am
 Michael Van Canneyt wrote:
  Hi,
  
  Nothing serious, but could the lazreport project on
 sourceforge be closed
  somehow ? I mistakenly downloaded and tried to install
 it, leading to all
  kinds of errors before I realized that lazreport is
 actually included
  in Lazarus under components/lazreport...
  
  Maybe the project should not be removed (don't
 know if this is actually
  possible on Sourceforge ?) but putting some kind of
 BIG warning on the 
  lazreport website of sourceforge would be nice.
 Additionally, it would
  let people know that lazreport is not dead, which is
 the impression one
  gets when looking at sourceforge  :-)
  
 
 I only got that impression when trying to use it. ;)
 
 --
 Warm Regards,
 
 Lee
 

I don't know if I should laugh or cry.

About the SourceForge page, I don't maintain it and if I ever had the 
permissions to change LazReport on sf from CVS to SVN I probably wouldn't 
submited LazReport on Lazarus almost a year ago :) (maybe somebody else would 
do it anyway :D)

Jesus Reyes A.

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazreport issue

2008-08-17 Thread Felipe Monteiro de Carvalho
If the project in source forge is abandoned you can ask for a take
over. If the owner doesn't respond in 1 month or so you have it.

It's impossible to remove a project, you can just hide all downloads
and write a message for people to download it with Lazarus. Maybe if
you ask the source forge staff they can close it.

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazreport, again.

2008-08-17 Thread Michael Van Canneyt


On Sun, 17 Aug 2008, Jesus Reyes wrote:

  
  I've been playing about with it for a couple of hours,
  and start wondering if anyone has
  ever been able to make a working report with it, it is
  extremely unstable... ?
 
 The problem above was introduced in latest patch of LazReport, IMO it works 
 much better now but it doesn't mean that everything it's working all fine, 
 and the true is that some times while fixing something another one get bad 
 side effects, lack of time to test on all widgetsets which doesn't work 
 exactly the same on every single detail makes difficult to track down all 
 flaws. Also, I don't agree that it's extremely unstable but I do agree that 
 it doesn't work all good in all widgetsets, yet.
 

I haven't been able to create a single report, dropping a band on the 
report is simply impossible. I tried during the whole day, and got nowhere, 
hence my impression that it is very unstable... :(

 For the moment this one should fixed in r16090.

Thank you very much, 
I will test tomorrow. Hopefully it will be better :-)

Michael.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Problem working with Params in TSQLQuery

2008-08-17 Thread Eduardo Lopez
The scenario:

Lazarus 0.9.25   svn: 16095M
fpc 2.2.2
Ubuntu 8.04 GTK2
SQLDb components
TIBConnection

The following query works well:

qry02.SQL.Clear;
qry02.SQL.Text:= 'select PASSWOR from USUARIOS where CODUSU = ' + 
chr(39) + trim(pUsuario) + chr(39);
trn02.Active:=true;
qry02.Open;
ContrasenaDB:=qry02.FieldByName('PASSWOR').AsString; // -- 
ContrasenaDB get the value from the query
   

But this one don't get the value of 'PASSWOR':

qry02.SQL.Clear;
qry02.SQL.Text:= 'select PASSWOR from USUARIOS where CODUSU = :pCODUSU';
qry02.Params.ParamByName('pCODUSU').AsString:= trim(pUsuario);
trn02.Active:=true;
qry02.Open;
ContrasenaDB:=qry02.FieldByName('PASSWOR').AsString;// --- 
ContrasenaDB is empty

(The second code was working with fpc 2.2.0 and the UIB components, with 
some changes. When upgrade to fpc 2.2.2 i began to replace de UIB with 
the default SQLDb componentes).

TIA.

Eduardo.

 

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus