[lazarus] LAZARUS and FEDORA 8 Printing

2007-12-04 Thread fedorax
The second problem with lazarus and fedora 8. ( First is in [lazarus] LAZARUS
and FEDORA 8 - Strange things with COMBO's'04/12/07 09:33 )

The same executable give a wrong printing output with fedora 8 like you can see
here:

http://mmaigrot.free.fr/print.jpg

A large white space is insert at top of the page before printing.

I also try to compile my program under fedora 7 and run it under fedora 8, i've
the same and bad results .

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


[lazarus] LAZARUS and FEDORA 8 Printing

2007-12-04 Thread fedorax
The second problem with lazarus and fedora 8. The same executable give a wrong
printing output like you can see in the attachement.

I also try to compile my program under fedora 7 and run it under fedora 8, i've
the same and bad results .


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


[lazarus] LAZARUS and FEDORA 8 - Strange things with COMBO's

2007-12-04 Thread fedorax
Hello,

Fedora 8 have problem with lazarus GTK 2.

An executable compiled and run under fedora 8 have strange behavior. If i move
this executable on fedora 7 all work normaly.

Combobox events:

Fedora 8: Clicking on the arrow at the right of a combo never call combo
onenter, this event is only called when clicking in combo text zone. Fedora 7
work in the two cases.

Fedora 8: combo.sorted:=true If the combo is empty or the item index = -1 this
call the on change event, the same in fedora 7 do nothing.

Fedora 8: Combo.clear call the onchange event for each item to erase. Fedora 7
do nothing.

For this two last points a minor modification like this

mycombo.onchange:=nil
mycombo.clear
mycombo.onchange:[EMAIL PROTECTED];

solve the problem.

For the first nothing todo except clik in the text zone before opên the combo
with the arrow.

Also a problem with printer, i write it in another post.

Svn Lazarus 13136 ( But same thing with older's versions of lazarus and FPC 9290
)
Svn FPC 2.3.1 9387
OS: linux Fedora core 8
Compile under GTK 2

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


Re: [lazarus] Crash: Exception=Resource "TODBCConnection" not found

2007-11-21 Thread fedorax
Selon Andrey Gusev <[EMAIL PROTECTED]>:

> * fedorax <[EMAIL PROTECTED]> [Wed, 21 Nov 2007 11:13:51 +0100]:
> > Selon Andrey Gusev <[EMAIL PROTECTED]>:
> > > fpc 9275
> > > lazarus 12952
> > Same thing with FPC 9290 downgrade to lazarus 12945 to avoid it.
> lazarus 12955 not give ,
> but problem with spoltaneous exiting maybe left.
>
12955 work fine for me.
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


Re: [lazarus] Crash: Exception=Resource "TODBCConnection" not found

2007-11-21 Thread fedorax
Selon Andrey Gusev <[EMAIL PROTECTED]>:

> fpc 9275
> lazarus 12952
>


Same thing with FPC 9290 downgrade to lazarus 12945 to avoid it.

Output error:

---
"IDE" completed
TMainIDE.DoRestart
TMainIDE.DoCloseEditorFile A PageIndex=0
TCustomFormEditor.DeleteComponent Form1:TForm1 IsJITComponent=True
FreeComponent=True
TMainIDE.DoCloseEditorFile end
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
TLazarusManager.Run starting /usr/local/src/lazarus/trunk/lazarus ...
TApplication.IconChanged - TODO: convert this message...no implementation in gtk
or win32
NOTE : fichier de configuration codetools non trouvé. Valeurs par défaut
utilisées.
NOTE: help options config file not found - using defaults
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
  Sender=EResNotFound
  Exception=Resource "TODBCConnection" not found
  Stack trace:
  $081457A6  TLAZARUSRESOURCESTREAM__INITIALIZE,  line 4511 of lresources.pp
  $0814587E  TLAZARUSRESOURCESTREAM__CREATE,  line 4518 of lresources.pp
  $081287EF  LOADBITMAPFROMLAZARUSRESOURCE,  line 1481 of graphics.pp
  $084C7CEB  TPKGCOMPONENT__GETICONCOPY,  line 3411 of
/usr/local/src/lazarus/trunk/packager/packagedefs.pas
  $084C7C5D  TPKGCOMPONENT__ICON,  line 3403 of
/usr/local/src/lazarus/trunk/packager/packagedefs.pas
  $082F6EB7  TCOMPONENTPALETTE__UPDATENOTEBOOKBUTTONS,  line 554 of
componentpalette.pas
  $082F5E29  TCOMPONENTPALETTE__SETNOTEBOOK,  line 221 of componentpalette.pas
  $0832C3DE  TPKGMANAGER__UPDATEVISIBLECOMPONENTPALETTE,  line 1916 of
/usr/local/src/lazarus/trunk/packager/pkgmanager.pas
  $0832712D  TPKGMANAGER__IDECOMPONENTPALETTEENDUPDATE,  line 518 of
/usr/local/src/lazarus/trunk/packager/pkgmanager.pas
  $082F8E6E  TBASECOMPONENTPALETTE__DOENDUPDATE,  line 434 of componentreg.pas
  $082F62D2  TCOMPONENTPALETTE__DOENDUPDATE,  line 326 of componentpalette.pas
  $082F91D3  TBASECOMPONENTPALETTE__ENDUPDATE,  line 516 of componentreg.pas
  $0832C356  TPKGMANAGER__LOADINSTALLEDPACKAGES,  line 1897 of
/usr/local/src/lazarus/trunk/packager/pkgmanager.pas
  $0809011B  TMAINIDE__CREATE,  line 1149 of main.pp
  $0805C023  main,  line 93 of lazarus.pp
TApplication.HandleException Resource "TODBCConnection" not found
  Stack trace:
  $081457A6  TLAZARUSRESOURCESTREAM__INITIALIZE,  line 4511 of lresources.pp
  $0814587E  TLAZARUSRESOURCESTREAM__CREATE,  line 4518 of lresources.pp
  $081287EF  LOADBITMAPFROMLAZARUSRESOURCE,  line 1481 of graphics.pp
  $084C7CEB  TPKGCOMPONENT__GETICONCOPY,  line 3411 of
/usr/local/src/lazarus/trunk/packager/packagedefs.pas
  $084C7C5D  TPKGCOMPONENT__ICON,  line 3403 of
/usr/local/src/lazarus/trunk/packager/packagedefs.pas
  $082F6EB7  TCOMPONENTPALETTE__UPDATENOTEBOOKBUTTONS,  line 554 of
componentpalette.pas
  $082F5E29  TCOMPONENTPALETTE__SETNOTEBOOK,  line 221 of componentpalette.pas
  $0832C3DE  TPKGMANAGER__UPDATEVISIBLECOMPONENTPALETTE,  line 1916 of
/usr/local/src/lazarus/trunk/packager/pkgmanager.pas
  $0832712D  TPKGMANAGER__IDECOMPONENTPALETTEENDUPDATE,  line 518 of
/usr/local/src/lazarus/trunk/packager/pkgmanager.pas
  $082F8E6E  TBASECOMPONENTPALETTE__DOENDUPDATE,  line 434 of componentreg.pas
  $082F62D2  TCOMPONENTPALETTE__DOENDUPDATE,  line 326 of componentpalette.pas
  $082F91D3  TBASECOMPONENTPALETTE__ENDUPDATE,  line 516 of componentreg.pas
  $0832C356  TPKGMANAGER__LOADINSTALLEDPACKAGES,  line 1897 of
/usr/local/src/lazarus/trunk/packager/pkgmanager.pas
  $0809011B  TMAINIDE__CREATE,  line 1149 of main.pp
  $0805C023  main,  line 93 of lazarus.pp
[FORMS.PP] ExceptionOccurred

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


[lazarus] LAZARUS Buffer error at start with FPC 2.3.1

2007-11-20 Thread fedorax
Hello,

With lazarus SVN 12943 and FPC 2.3.1 9386 startlazarus return a buffer error but
work if i compile with fpc 2.2.0 ( Linux fedora 8 GTK or GTK 2)

The errors in the terminal are:

--

[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
  Sender=Ecompressionerror
  Exception=buffer error
  Stack trace:
  $081A23EE
  $0819B91B
  $0819B6F4
  $08196AAD
  $081946F1
  $08136681  TFPIMAGEBITMAP__READSTREAM,  line 1905 of graphics.pp
  $0812BE74  TBITMAP__LOADFROMSTREAM,  line 449 of ./include/bitmap.inc
  $081278E0  LOADBITMAPFROMLAZARUSRESOURCE,  line 1488 of graphics.pp
  $08090CE6  CREATEBUTTON,  line 1431 of main.pp
  $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
  $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
  $0805C023  main,  line 93 of lazarus.pp
TApplication.HandleException buffer error
  Stack trace:
  $081A23EE
  $0819B91B
  $0819B6F4
  $08196AAD
  $081946F1
  $08136681  TFPIMAGEBITMAP__READSTREAM,  line 1905 of graphics.pp
  $0812BE74  TBITMAP__LOADFROMSTREAM,  line 449 of ./include/bitmap.inc
  $081278E0  LOADBITMAPFROMLAZARUSRESOURCE,  line 1488 of graphics.pp
  $08090CE6  CREATEBUTTON,  line 1431 of main.pp
  $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
  $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
  $0805C023  main,  line 93 of lazarus.pp


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


Re: [lazarus] Lazarus component DBExport

2007-11-12 Thread fedorax
Selon Mattias Gaertner <[EMAIL PROTECTED]>:

> On Mon, 12 Nov 2007 02:25:15 +0100
> fedorax <[EMAIL PROTECTED]> wrote:
>
> > In yesterday SVN Ã  new component DbExport was added, but if i can
> > find it in the
> >
> > /usr/local/src/lazarus/trunk/components/dbexport
> >
> > directory it's not appear in the IDE list of components. Bug or not
> > bug ? If not how can i install it ?
>
> Only packages without special requirements are installed in the
> snapshots (bigide). lazdbexport requires the development version of FPC.
>
> Install: Upgrade to the unstable recent FPC 2.3.1, then recompile
> lazarus, open the lazdbexport.lpk and install it.
>
> Mattias

I do this but lazarus can't find path for fpc files when i want to compile the
package:
--
/usr/local/src/lazarus/trunk/components/dbexport/fpdataexporter.pp(1,1) Fatal:
Can't find unit fpdbexport used by fpdataexporter
--
All the requested fpc .pp files are in directory

/usr/local/src/fpc/trunk/packages/fcl-db/src/export

( Fpc 2.3.1 9216 )

But lazarus don't find it.

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


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


[lazarus] Lazarus component DBExport

2007-11-11 Thread fedorax
In yesterday SVN à new component DbExport was added, but if i can find it in the

/usr/local/src/lazarus/trunk/components/dbexport

directory it's not appear in the IDE list of components. Bug or not bug ? If not
how can i install it ?

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


Re: [lazarus] Lazarus SVN 12826 won't compile with GTK2

2007-11-11 Thread fedorax
Selon Mattias Gaertner <[EMAIL PROTECTED]>:
>
> Fixed.
>
> Mattias
>
Yes, work now. Thank's.
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


[lazarus] Lazarus SVN 12826 won't compile with GTK2

2007-11-11 Thread fedorax
Hello

Latest SVN compile with GTK1 but not with GTK2 and return this errors:

---
/usr/local/src/lazarus/trunk/lcl/postscriptcanvas.pas(1946,4) Warning: User
defined: TPostScriptPrinterCanvas.TextRect is not yet fully implemented!
/usr/local/src/lazarus/trunk/lcl/interfaces/gtk/interfaces.pp(29,2) Error: User
defined: wrong gtk2 interfaces source
/usr/local/src/lazarus/trunk/lcl/interfaces/gtk/interfaces.pp(37,1) Fatal: There
were 1 errors compiling module, stopping
---

}
unit Interfaces;

{$mode objfpc}{$H+}

{$IFDEF GTK2}
{$ERROR wrong gtk2 interfaces source}
{$ENDIF}
--

FPC 2.3.1 Svn 9190
Linux fedora 7

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


Re: [lazarus] GTK2 Error: Failed to create handles

2007-09-03 Thread fedorax
Selon "A.J. Venter" <[EMAIL PROTECTED]>:

> There is something wrong in the newer lazarus revisions, it's in
> TBitmap.inc and it causes the GTK2 IDE to die on startup with the error
> "Failed to create handles" - ditto for any GTK2 apps compiled with it.
> I am now reverting to R11800 in the hope of just being able to go on
> with my project.
>
> Here is a sample of the error messages:
> [FORMS.PP] ExceptionOccurred
>   Sender=EReadError
>   Exception=Error reading AddCustomerForm.Icon.Data: Failed to create
> handles
>   Stack trace:
>   $080A3B7F
>   $080A33DF
>   $0809A76B
>   $08115B91  INITCOMPONENT,  line 2706 of lresources.pp
>   $08115A0F  INITLAZRESOURCECOMPONENT,  line 2725 of lresources.pp
>   $0810ED07  INITRESOURCECOMPONENT,  line 526 of lresources.pp
>   $0807A4F2  TCUSTOMFORM__CREATE,  line 1333 of ./include/customform.inc
>   $08080CC2  TAPPLICATION__CREATEFORM,  line 1607 of
> ./include/application.inc
>   $0805B893  main,  line 18 of hawkstoneadmin.lpr
> TApplication.HandleException Error reading AddCustomerForm.Icon.Data:
> Failed to create handles
>   Stack trace:
>   $080A3B7F
>   $080A33DF
>   $0809A76B
>   $08115B91  INITCOMPONENT,  line 2706 of lresources.pp
>   $08115A0F  INITLAZRESOURCECOMPONENT,  line 2725 of lresources.pp
>   $0810ED07  INITRESOURCECOMPONENT,  line 526 of lresources.pp
>   $0807A4F2  TCUSTOMFORM__CREATE,  line 1333 of ./include/customform.inc
>   $08080CC2  TAPPLICATION__CREATEFORM,  line 1607 of
> ./include/application.inc
>   $0805B893  main,  line 18 of hawkstoneadmin.lpr
>
>
> Hope somebody can help me here.
> A.J.
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


Same error for me, the latest revision working with GTK2 is around 11893 / 95

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


Re: [lazarus] utf8toansi and others seem don't work

2007-08-28 Thread fedorax
Selon Sebastian Kraft <[EMAIL PROTECTED]>:

> On Monday 27 August 2007 07:55:40 fedorax wrote:
> > Selon Sebastian Kraft <[EMAIL PROTECTED]>:
> > > On Monday 27 August 2007 07:25:57 fedorax wrote:
> > > > I confirm my precedent message. i just do a test with an older version
> > > > of lazarus and FPC and the application above work, with newers versions
> > > > the same program do nothing and don't report any errors. I've also test
> > > > with fedora 6.
> > >
> > > Perhaps this is related to this topic. Since some weeks programs compiled
> > > with
> > > SVN version don't show special characters when they are read from
> > > ressourcestrings. i.e. menuitem captions containing german letters like
> > > ÄÖÜ only show '?'.
> > >
> > > This has been working for sure with SVN a month ago... Broken since
> > > around begin/mid of august...
>
> > For me all spécial french chars like éàçè etc ...  are correctly displayed
> > in
> >
> > menus, and others.
>
> Do you load your ressourcestrings from a translation file with
> TranslateUnitRessourcestring?
> Problem only occurs when I do so...
>
Not, only textfiles or strings.
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


Re: [lazarus] utf8toansi and others seem don't work

2007-08-26 Thread fedorax
Selon Sebastian Kraft <[EMAIL PROTECTED]>:

> On Monday 27 August 2007 07:25:57 fedorax wrote:
> > I confirm my precedent message. i just do a test with an older version of
> > lazarus and FPC and the application above work, with newers versions the
> > same program do nothing and don't report any errors. I've also test with
> > fedora 6.
>
> Perhaps this is related to this topic. Since some weeks programs compiled
> with
> SVN version don't show special characters when they are read from
> ressourcestrings. i.e. menuitem captions containing german letters like ÄÖÜ
> only show '?'.
>
> This has been working for sure with SVN a month ago... Broken since around
> begin/mid of august...
>
> Sebastian
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>

For me all spécial french chars like éàçè etc ...  are correctly displayed in
menus, and others. My environnement variables are:

> locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=





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


Re: [lazarus] utf8toansi and others seem don't work

2007-08-26 Thread fedorax
I confirm my precedent message. i just do a test with an older version of
lazarus and FPC and the application above work, with newers versions the same
program do nothing and don't report any errors. I've also test with fedora 6.
---
unit testutf;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls;

type

  { TForm1 }

  TForm1 = class(TForm)
Button1: TButton;
Edit1: TEdit;
Edit2: TEdit;
procedure Button1Click(Sender: TObject);
  private
{ private declarations }
  public
{ public declarations }
  end;

var
  Form1: TForm1;

implementation

{ TForm1 }

procedure TForm1.Button1Click(Sender: TObject);
begin
  edit2.text:=Utf8ToAnsi(Edit1.Text);
  ShowMessage(AnsiToUtf8(Edit1.text));
end;

initialization
  {$I testutf.lrs}

end.

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


Re: [lazarus] utf8toansi and others seem don't work

2007-08-26 Thread fedorax
Selon Mattias Gaertner <[EMAIL PROTECTED]>:

> On Thu, 23 Aug 2007 16:41:42 +0200
> fedorax <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> >
> > Whith actuals versions of lazarus this fonction:
> >
> > For i:=0 to LExport.Count-1 do begin
> >   LExport[i]:=AnsiToUtf8(LExport[i]);
> > end;
> >
> > Do absolutely nothing. I've also try with Utf8decode, ansitoutf8 and
> > other's.
>
> They all use the 'widestring manager'. The default manager simply does
> no conversion.
>
>
> > Any idea ?
> >
> > Lazarus svn 11850
> > FPC 2.3.1 8290
> >
> > OS Linux fedora 7
>
> The unit cwstring sets a widestring manager that uses the iconv library.
> Add this unit as one of the first units in the uses section of your
> program (.lpr).
>
> Mattias
>
I can't find iconv unit, just convutils or stdconvs. But i thik somethig wrong ?
 This fonction was working well before without add some unit, and if a unit was
missing using the function n code meut be return an error message ?
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


[lazarus] utf8toansi and others seem don't work

2007-08-23 Thread fedorax
Hello,

Whith actuals versions of lazarus this fonction:

For i:=0 to LExport.Count-1 do begin
  LExport[i]:=AnsiToUtf8(LExport[i]);
end;

Do absolutely nothing. I've also try with Utf8decode, ansitoutf8 and other's.

Any idea ?

Lazarus svn 11850
FPC 2.3.1 8290

OS Linux fedora 7



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


Re: [lazarus] Strange bug with SQLQuery.Close

2007-05-31 Thread fedorax
Selon Joost van der Sluis <[EMAIL PROTECTED]>:


>
> It could be that it's fixed in r7538. Can you test?
>
> Joost
>
That's wok now. I play few minutes with arrows and mouse in the list and nothing
bad happen.

But there is an other bug in r7538 at make install:
--
/usr/local/src/fpc/trunk/utils/fpcm/fpcmake -p -Ti386-linux Makefile.fpc
Processing Makefile.fpc
Error: Target "linux", package "fpmake" not found
-
And fpc install stop just after. That's seem without consequence on lazarus
compilation and program's compile. ( my older /usr/local/lib/fpc/2.3.1 is always
destroy before new install and the fpmake file is actually missing in it ).
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


Re: [lazarus] Strange bug with SQLQuery.Close

2007-05-30 Thread fedorax
Selon Bram Kuijvenhoven <[EMAIL PROTECTED]>:

> fedorax wrote:
> > Selon Joost van der Sluis <[EMAIL PROTECTED]>:
> >
> >> On Sat, 2007-05-26 at 15:00 +0200, fedorax wrote:
> >>
> >>> I've a strange bug. In this fonction ( Which was worked perfectly from
> few
> >>> months an never chage ).
> >>> --
> >>> procedure TFunc_Sql.List_TablesSelectionChange(Sender: TObject; User:
> >> boolean);
> >>> begin
> >>>   If List_Tables.ItemIndex<0 then List_Tables.ItemIndex:=0;
> >>>   T_Name:=List_Tables.Items[List_Tables.ItemIndex]; // The selected table
> >> name
> >>>   If SQLQuery.Active Then SQLQuery.Close; // Close the precedent query
> >>>   SQLQuery.SQL.Text:='Select * From '+ T_Name;
> >>>   SQLQuery.Open;  //Open to list in DbGrid
> >>> end;
> >>> --
> >>> The line   "If SQLQuery.Active Then SQLQuery.Close;" cause an access
> >> violation
> >>> and close the application without visible cause.
> >> My guess is that you've destroyed/freed SQLQuery somewhere before this
> >> code is called.
> >>
> >> Joost
> >>
> > Not that, the SQLComponent is put on the form and no instruction exist for
> free
> > it. Is it possible that a bug free a component without programmer ask to it
> ?
>
> A component is freed when its Owner is destroyed (in this case the form), so
> as long as you don't free the form or SQLQuery by hand, all should be ok.
>
> To track the cause of the exception, you probably need to get a stacktrace;
> e.g. use GDB or Lazarus itself. Hint for GDB:
>
>  break FPC_RAISEEXCEPTION
>  run
>  ...
>  bt
>
> You can insert ShowMessage of DebugLn statements to find out what your
> application is doing.
>
> Regards,
>
> Bram
>

I do as you say and i put here the firts part of ( very long ) bakctrace. may be
somebody can understand this ? For me i just see a problem with a memory pointer
and i'm remember that memory pointer system ha'd changed few day's ago ( Lazarus
won't compile and stop in this fonction ). May be a bug was introduced at this
time ?

I'ts apear ever on the same line of code but never at the same time. Sometime i
can move move in list a long time before crash, sometime just two clicks in list
 are sufficient to crash. And never on a specific location in the list.
I forget to specify: The message 'access violation' and others appears  only if
the program is compiled with gdb active in options. Without gdb no message. The
program freeze and nothing is displayed.

-
Breakpoint 1, 0x080607e6 in fpc_raiseexception ()
(gdb) backtrace
#0  0x080607e6 in fpc_raiseexception ()
#1  0x080a471e in SYSUTILS_RUNERRORTOEXCEPT$LONGINT$POINTER$POINTER ()
#2  0x080634e7 in SYSTEM_HANDLEERRORADDRFRAME$LONGINT$POINTER$POINTER ()
#3  0xbfef4a54 in ?? ()
#4  0x0012b000 in ?? ()
#5  0x00cc in ?? ()
#6  0xbfef49f4 in ?? ()
#7  0xbfef4a54 in ?? ()
#8  0x006ff220 in ?? ()
#9  0x0806358d in SYSTEM_HANDLEERRORFRAME$LONGINT$POINTER ()
#10 0x00cd9000 in ?? ()
#11 0x0002 in ?? ()
#12 0x00cd901c in ?? ()
---Type  to continue, or q  to quit---
#13 0x08064d46 in SYSTEM_TRY_CONCAT_FREE_CHUNK$PMEMCHUNK_VAR$$PMEMCHUNK_VAR ()
#14 0x080635aa in SYSTEM_HANDLEERROR$LONGINT ()
#15 0x08065509 in SYSTEM_SYSFREEMEM_FIXED$PMEMCHUNK_FIXED$$LONGINT ()
#16 0x00cd9000 in ?? ()
#17 0x00f0 in ?? ()
#18 0x00cd901c in ?? ()
#19 0x0002 in ?? ()
#20 0x006ff020 in ?? ()
#21 0x0001 in ?? ()
#22 0x08065626 in SYSTEM_SYSFREEMEM$POINTER$$LONGINT ()
#23 0x00cd9020 in ?? ()
#24 0x0002 in ?? ()
#25 0x0806575c in SYSTEM_SYSFREEMEMSIZE$POINTER$LONGINT$$LONGINT ()
---Type  to continue, or q  to quit---
#26 0x001135e0 in ?? ()
#27 0x0002 in ?? ()
#28 0x08064758 in SYSTEM_FREEMEM$POINTER$LONGINT ()
#29 0x0824227a in BUFDATASET_TBUFDATASET_$__FREEBLOBBUFFER$PBLOBBUFFER ()
#30 0x0009 in ?? ()
#31 0x082407cd in BUFDATASET_TBUFDATASET_$__INTERNALCLOSE ()
#32 0x082179c4 in SQLDB_TCUSTOMSQLQUERY_$__INTERNALCLOSE ()
#33 0x006ff020 in ?? ()
#34 0x0821c613 in DB_TDATASET_$__CLOSECURSOR ()
#35 0x006ff000 in ?? ()
#36 0x0821dc59 in DB_TDATASET_$__SETACTIVE$BOOLEAN ()
#37 0x08217443 in SQLDB_TCUSTOMSQLQUERY_$__SETACTIVE$BOOLEAN ()
#38 0x006ff020 in ?? ()
---Type  to continue, or q  to quit---

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


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


Re: [lazarus] Strange bug with SQLQuery.Close

2007-05-30 Thread fedorax
Selon Joost van der Sluis <[EMAIL PROTECTED]>:

> On Sat, 2007-05-26 at 15:00 +0200, fedorax wrote:
>
> > I've a strange bug. In this fonction ( Which was worked perfectly from few
> > months an never chage ).
> > --
> > procedure TFunc_Sql.List_TablesSelectionChange(Sender: TObject; User:
> boolean);
> > begin
> >   If List_Tables.ItemIndex<0 then List_Tables.ItemIndex:=0;
> >   T_Name:=List_Tables.Items[List_Tables.ItemIndex]; // The selected table
> name
> >   If SQLQuery.Active Then SQLQuery.Close; // Close the precedent query
> >   SQLQuery.SQL.Text:='Select * From '+ T_Name;
> >   SQLQuery.Open;  //Open to list in DbGrid
> > end;
> > --
> > The line   "If SQLQuery.Active Then SQLQuery.Close;" cause an access
> violation
> > and close the application without visible cause.
>
> My guess is that you've destroyed/freed SQLQuery somewhere before this
> code is called.
>
> Joost
>
Not that, the SQLComponent is put on the form and no instruction exist for free
it. Is it possible that a bug free a component without programmer ask to it ?

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


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


[lazarus] Strange bug with SQLQuery.Close

2007-05-26 Thread fedorax
Hello,

With the recent compilation:

Svn Lazarus  11204
Svn FPC 2.3.1 7459
OS: linux Fedora core 6
Compile under GTK 1

I've a strange bug. In this fonction ( Which was worked perfectly from few
months an never chage ).
--
procedure TFunc_Sql.List_TablesSelectionChange(Sender: TObject; User: boolean);
begin
  If List_Tables.ItemIndex<0 then List_Tables.ItemIndex:=0;
  T_Name:=List_Tables.Items[List_Tables.ItemIndex]; // The selected table name
  If SQLQuery.Active Then SQLQuery.Close; // Close the precedent query
  SQLQuery.SQL.Text:='Select * From '+ T_Name;
  SQLQuery.Open;  //Open to list in DbGrid
end;
--
The line   "If SQLQuery.Active Then SQLQuery.Close;" cause an access violation
and close the application without visible cause.

Sometimes this happens after only two or tree selections, sometime after more of
20 selections.
It's no rely with a specific table.

With the debugger active the crash return various messages. I've noticed this
three:
--
Run error 204
Execution suspendue adresse $0806558E
Execution suspendue adresse $08063300
Procedure SYSTEM_HANDLERERRORAARFRAME$LONGINT$POINTER$POINTER
Or
Execution suspendue adresse $0806544A
procedure SYSTEM_SYSTEMFREEMEM$POINTER$$LONGINT
Run error 216
Acces violation
Or
Execution suspendue adresse $08065041
procedure SYSTEM_SYSGETMEM_FIXED$LONGINT$$POINTER
Run error 216
Acces violation
---
Did somebody understand ?
--

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


Re: [lazarus] Font color button stay always black

2007-05-22 Thread fedorax
Selon [EMAIL PROTECTED]:

>
>
> - Original Message -
> From: Mattias Gaertner <[EMAIL PROTECTED]>
> > On Fri, 18 May 2007 15:28:52 +0200
> > fedorax <[EMAIL PROTECTED]> wrote:
> >
> > >
> > >
> > > Hello,
> > >
> > > In my project i've some buttons whith font color clwhite but when i
> > > run project all buttons font color turn to black.
> > >
> > > In the ide when i change font color button the color change in the
> > > IDE but if i close the fiche and reopen font color return to black.
> > >
> > > At execution this line in the code:
> > >
> > >   Button1.Font.Color:=clWhite
> > >
> > > Do nothing.
> > >
> > > Lazarus Svn 11153 ( May be before, was working whis 11021 ) to ->
> > > 11162 FPC 7358
> > > Linux fedora core 6
> >
> > Please create a bug report, so it won't be forgotten.
> >
>
> Isn't this http://www.freepascal.org/mantis/view.php?id=8863
>
> Vincent
>
I'm not sure if it's this bug or not. I've do some test and get different
résults with linux fedora core 6

The bug reported seem concern svn 11042, fpc 204.

I've try to compile lazarus  with 2.0.4 compiler ( usualy i ever use 2.3.1 ) and
the effects are not the same:
GTK 1: In the IDE button.font.color is setting well but turn black at running
and are turned black when i reload the files after run.
GTK 2: The color stay always black only the text clWhite ( or other ) is
displayed in combo but do nothing.

GTK 1 and 2: All the font options ( Change font, bold, etc ... ) do absolutly
nothing.

More amazing: I downgrade svn versions and the bug was again here in revision
9000 ! All compilation where made with make clean all in a terminal.

I cant do a real test with 2.3.1 because the new silly feature of FPC ( See:
 [lazarus] Printer.Canvas.TextStyle.Alignment=taRightJustify => Argument can't
be assigned to )
Abort the compilation of older lazarus versions.

Ther more amazing is : After do some tests i decide to erase all SVN's ( lazarus
and FPC ) and reload freshs SVN's and recompile all with the lazarus 11021 and
FPC 7358 witch was working and after recompilation the bug appear also in this
versions ! Can't retrieve a version without it.

Can't test with latest's versions, recent SVn won't compile. I send a bug report
about this.

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


[lazarus] Font color button stay always black

2007-05-18 Thread fedorax


Hello,

In my project i've some buttons whith font color clwhite but when i run project
all buttons font color turn to black.

In the ide when i change font color button the color change in the IDE but if i
close the fiche and reopen font color return to black.

At execution this line in the code:

  Button1.Font.Color:=clWhite

Do nothing.

Lazarus Svn 11153 ( May be before, was working whis 11021 ) to -> 11162
FPC 7358
Linux fedora core 6

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


Re: [lazarus] Printer.Canvas.TextStyle.Alignment=taRightJustify => Argument can't be assigned to

2007-05-16 Thread fedorax
Selon Jesus Reyes <[EMAIL PROTECTED]>:

>
> --- fedorax <[EMAIL PROTECTED]> escribió:
>
> > Hello,
> >
> > I just make a new svn update and i've a little problem:
> >
> > using:
> > Printer.Canvas.TextStyle.Alignment=taRightJustify;
> > return this error:
> > cheques.pas(210,35) Error: Argument can't be assigned to
> >
> > Did something change or is it a bug ?
> >
> > Lazarus svn 11153
> > FPC svn 7358
> >
> > OS: linux fedora core 6
>
> Yes, unfortunately the compiler (2.3.1) doesn't allow this anymore
> don't know if this will be merged to 2.1.x maybe it is already (?),
> you will have to use a temporal TTextStyle variable, something like
> this:
> var
>   T: TTextStyle;
> begin
>   etc.
>   T := Printer.Canvas.TextStyle;
>   T.Alignment := taRightJustify;
>   Printer.Canvas.TextStyle := T;
>   etc.
> end;
>
> I don't have 2.3.1 to test, hope it works;
>
> Jesus Reyes A.
>
Thank's, your tip work.

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


[lazarus] Printer.Canvas.TextStyle.Alignment=taRightJustify => Argument can't be assigned to

2007-05-16 Thread fedorax
Hello,

I just make a new svn update and i've a little problem:

using:
Printer.Canvas.TextStyle.Alignment=taRightJustify;
return this error:
cheques.pas(210,35) Error: Argument can't be assigned to

Did something change or is it a bug ?

Lazarus svn 11153
FPC svn 7358

OS: linux fedora core 6

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


Re: [lazarus] TFilelistBox dont work

2007-04-27 Thread fedorax
Thank's.
With ftArchive that's work. I cant find exactly when ftArchive become necessary
but when FPC svn version was 2.1.1 the component TFilelistBox work without this
line.
In the IDE the default value of filetype ftArchive is set to false. May be the
best way is set the default to true in future ? I dont know what do ftNormal. I
try it lonely on some directories and in ever case i've nothing in the list.

Selon "Luis R. Hilario B." <[EMAIL PROTECTED]>:

> Try
> FileType:=[ftNormal,ftArchive,ftReadOnly];
>
> Really the implementation of Lazarus is not the same one of Delphi,
> possibly change later.
>
> 2007/4/20, fedorax <[EMAIL PROTECTED]>:
> > Hello,
> >
> > With lazarus svn 10980 fpc svn 7141
> >
> > The component TFileListBox  don't work.
> >
> > With FileListBox1 do begin
> >   FileType:=[ftNormal,ftReadOnly];
> >   Mask:='*.*';
> >   Directory:='/usr/local/bin/';
> > end;
> >
> > Display nothing.
> >
> > Also try with
> > Mask='*';
> > Directory:='/usr/local/bin';
> > nothing change.
> >
> > OS: Linux fedora 6
> >
> > _
> >  To unsubscribe: mail [EMAIL PROTECTED] with
> > "unsubscribe" as the Subject
> >archives at http://www.lazarus.freepascal.org/mailarchives
> >
>
>
> --
> http://luisdigital.com
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


Re: [lazarus] Tprinterdialog dont work

2007-04-22 Thread fedorax
Selon "Jesús Reyes A." <[EMAIL PROTECTED]>:

>
> Thanks for pin pointing the problem.
> It should be fixed in revision 10986.
>
> Jesus Reyes A.
>
That's work with 10986. Thanks.
> __
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> Regístrate ya - http://correo.yahoo.com.mx/
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


Re: [lazarus] Tprinterdialog dont work

2007-04-20 Thread fedorax
Selon Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:

> On 4/20/07, fedorax <[EMAIL PROTECTED]> wrote:
> > With lazarus svn 10980 fpc svn 7141:
> >
> > If i use lazarus svn 10938 with fpc svn 7141 TPrinterDialog work well.
>
> If you test iteratively (first 10960, then 10970 or 10950 depending on
> the result und etc) you will find exactly which revision broke it =)
> Then it should be trivial to fix.
>
> Of course with only 50 revisions to check one could also look for all
> of these on viewcvs and check which ones change printing files.
>
> --
> Felipe Monteiro de Carvalho
>
The last working version is svn 10952
10953 have bug. This revision have only one chnge in maskedit:

svn update -r 10953
Utrunk/lcl/maskedit.pp


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


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


[lazarus] TFilelistBox dont work

2007-04-20 Thread fedorax
Hello,

With lazarus svn 10980 fpc svn 7141

The component TFileListBox  don't work.

With FileListBox1 do begin
  FileType:=[ftNormal,ftReadOnly];
  Mask:='*.*';
  Directory:='/usr/local/bin/';
end;

Display nothing.

Also try with
Mask='*';
Directory:='/usr/local/bin';
nothing change.

OS: Linux fedora 6

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


[lazarus] Tprinterdialog dont work

2007-04-20 Thread fedorax
Hello,

With lazarus svn 10980 fpc svn 7141:

PrintDialog1.Execute;

return this error message:

Error reading edTimeTask DragCursor: Unknown property

If i use lazarus svn 10938 with fpc svn 7141 TPrinterDialog work well.

OS: linux fedora 6

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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-10 Thread fedorax
Selon Vincent Snijders <[EMAIL PROTECTED]>:

> fedorax schreef:
> > Selon Vincent Snijders <[EMAIL PROTECTED]>:
> >> Seems correct to me.  Do you have rtl/inc and packages/fpc-base too?
>
> Oops typo:
> rtl/inc and packages/fcl-base
>
> >
> > I've
> > /usr/local/src/fpc/rtl/inc
> > and
> > /usr/local/src/fpc/packages/base
>
> Vincent
>
Yes,
rtl/inc and packages/fcl-base
is also here.

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


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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-10 Thread fedorax
Selon Vincent Snijders <[EMAIL PROTECTED]>:

> fedorax schreef:
> > Selon Flávio Etrusco <[EMAIL PROTECTED]>:
> >
> >> On 3/9/07, fedorax <[EMAIL PROTECTED]> wrote:
> >>> Selon Vincent Snijders <[EMAIL PROTECTED]>:
> >>>
> >>>> fedorax schreef:
> >>>>> Selon Vincent Snijders <[EMAIL PROTECTED]>:
> >>>>>
> >>>>> I just try r10730 and 10731 and for me nothing change. At start lazarus
> >>>> don't
> >>>>> find the source directory. Like it's say in another post, If i click
> >>>> "ignore"
> >>>>> after set "/usr/local/src/fpc" directory lazarus seem's work.
> >>>>> ( Two revision of lazarus compiled with FPC 2.3.1 r 6761 )
> >>>>> OS Linux fedora core 6.
> >>>> What directories do you have in
> >>>> /usr/local/src/fpc"
> >>>>
> >>>> Vincent
> >>>>
> >>> In /usr/local/src/fpc i have:
> >>>
> >>> .svn
> >>> compiler
> >>> fv
> >>> ide
> >>> installer
> >>> packages
> >>> rtl
> >>> tests
> >>> utils
>
> Seems correct to me.  Do you have rtl/inc and packages/fpc-base too?

I've
/usr/local/src/fpc/rtl/inc
and
/usr/local/src/fpc/packages/base
>
> Can you try setting and resetting the fpc source directory in the
> environment options?

Nothing change.
>
> What revision does the about box show?
Version # 0.9.21 beta
Date 10:03:07
SVN Revision 10733M
i386 linux-gtk

I ever use this in /etc/fpc.cfg for path and never change. May be something
wrong ?
-
# the default language
#-Fr/usr/local/lib/fpc/$fpcversion/msg/errore.msg
#-Fr/usr/local/lib/fpc/$fpcversion/msg/errorn.msg

# searchpath for includefiles
#-Fi/pp/inc;/pp/rtl/inc

# searchpath for units and other system dependent things
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl
#-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl/units/

#-Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~/fpc/rtl/units/

# searchpath for libraries
-Fl/usr/lib/gcc/i386-redhat-linux/4.1.1
#-Fl/pp/lib
#-Fl/lib;/usr/lib
-

>
> >>>
> >> No, that's no it.
> >> What do you have in $FPC_INSTALL_ROOT/2.3.1/units/linux-i386 ?
> >> Where $FPC_INSTALL_DIR is usually "/usr/local/lib/fpc" if you
> >> installed with 'root' permissions.
>
> Flavio, this is incorrect, the message is about the *source* directory,
> so it should not point to the /usr/local/lib
>
> Vincent
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-09 Thread fedorax
Selon Flávio Etrusco <[EMAIL PROTECTED]>:

> On 3/9/07, fedorax <[EMAIL PROTECTED]> wrote:
> > Selon Vincent Snijders <[EMAIL PROTECTED]>:
> >
> > > fedorax schreef:
> > > > Selon Vincent Snijders <[EMAIL PROTECTED]>:
> > > >
> > > > I just try r10730 and 10731 and for me nothing change. At start lazarus
> > > don't
> > > > find the source directory. Like it's say in another post, If i click
> > > "ignore"
> > > > after set "/usr/local/src/fpc" directory lazarus seem's work.
> > > > ( Two revision of lazarus compiled with FPC 2.3.1 r 6761 )
> > > > OS Linux fedora core 6.
> > >
> > > What directories do you have in
> > > /usr/local/src/fpc"
> > >
> > > Vincent
> > >
> >
> > In /usr/local/src/fpc i have:
> >
> > .svn
> > compiler
> > fv
> > ide
> > installer
> > packages
> > rtl
> > tests
> > utils
> >
>
> No, that's no it.
> What do you have in $FPC_INSTALL_ROOT/2.3.1/units/linux-i386 ?
> Where $FPC_INSTALL_DIR is usually "/usr/local/lib/fpc" if you
> installed with 'root' permissions.
>
> -Flávio
>
In /usr/local/lib/fpc/2.3.1 i've

/ide
/msg
/units

And files
ppc386
sample.cfg

Exactly the same thing than in 2.0.4 directory

The major change with older version is:

/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl

was replaced by a lot of specifics directories:

/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-base
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-db
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-fpcinit
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-image
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-net
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-passrc
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-registry
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-web
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-xml
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-09 Thread fedorax
Selon Vincent Snijders <[EMAIL PROTECTED]>:

> fedorax schreef:
> > Selon Vincent Snijders <[EMAIL PROTECTED]>:
> >
> > I just try r10730 and 10731 and for me nothing change. At start lazarus
> don't
> > find the source directory. Like it's say in another post, If i click
> "ignore"
> > after set "/usr/local/src/fpc" directory lazarus seem's work.
> > ( Two revision of lazarus compiled with FPC 2.3.1 r 6761 )
> > OS Linux fedora core 6.
>
> What directories do you have in
> /usr/local/src/fpc"
>
> Vincent
>

In /usr/local/src/fpc i have:

.svn
compiler
fv
ide
installer
packages
rtl
tests
utils

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


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


[lazarus] Directories

2007-03-09 Thread fedorax
In /usr/local/src/fpc i have:

.svn
compiler
fv
ide
installer
packages
rtl
tests
utils



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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-09 Thread fedorax
Selon Vincent Snijders <[EMAIL PROTECTED]>:

> Vincent Snijders schreef:
> > Mattias Gaertner schreef:
> >> On Fri, 09 Mar 2007 07:44:56 +0100
> >> Vincent Snijders <[EMAIL PROTECTED]> wrote:
> >>
> >>> Mattias Gaertner schreef:
> > Mattias, can you find some time to make it possible to use the new
> > fpc sources (with the fcl in several subdirectories of the
> > packages)?
>  Fixed?
> >>> I just looked at this diff:
> >>>
>
http://www.freepascal.org/cgi-bin/viewcvs.cgi/trunk/ide/lazconf.pp?root=lazarus&rev=10725&view=diff&r1=10725&r2=10724&p1=trunk/ide/lazconf.pp&p2=/trunk/ide/lazconf.pp
> >>>
> >>>
> >>> This will break for all windows installers, because they don't
> >>> include the compiler sources in the fpc source directory.
> >>
> >> Ah. I didn't know this. Then 'compiler' should be removed.
> >> The function should check if the directory is not the FPC libs
> >> directory and contains the most important FPC source directories.
> >> IMO 'rtl' and 'packages' is too less. Maybe we should add
> >> 'packages/base' and 'packages/extra'?
> >
> > I think base and extra will be removed in the future too, to flatten the
> > directory structure.
> >
> > Best would be to check that at least one of 'fcl' and
> > 'packages/fcl-base' exist . To eliminate FPC libs, we can check for
> > 'rtl/inc'
>
> Done in r10730.
>
> Vincent

I just try r10730 and 10731 and for me nothing change. At start lazarus don't
find the source directory. Like it's say in another post, If i click "ignore"
after set "/usr/local/src/fpc" directory lazarus seem's work.
( Two revision of lazarus compiled with FPC 2.3.1 r 6761 )
OS Linux fedora core 6.

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


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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-07 Thread fedorax
Selon Flávio Etrusco <[EMAIL PROTECTED]>:

> On 3/7/07, fedorax <[EMAIL PROTECTED]> wrote:
> > Selon Flávio Etrusco <[EMAIL PROTECTED]>:
> >
> > > Just remove your  $FPC/units/i386-linux/fcl/ directory.
> > >
> > > -Flávio
> > >
> >
> > There is no /fcl directory here ( and i can't find it in any locations ) .
> Only
> > fcl-base, fcl-db, etc ...
> >
>
> Are you looking at the right 'units' folder?
> If you didn't change your 'ppc386' link in the PATH then it's probably
> pointing to the old 2.1.1 path. You should remove the 2.3.1 folder
> altogether.
>
Yes the /usr/local/bin/ppc386 link is pointing on FPC 2.3.1. The folder 2.1.1
was removed. I've only 2.0.4 and 2.3.1 at this time. To retrieve 2.1.1 i need to
downgrade SVN .
> Regards,
> Flávio
>


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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-07 Thread fedorax
Selon Vincent Snijders <[EMAIL PROTECTED]>:

> fedorax schreef:
> > Selon Vincent Snijders <[EMAIL PROTECTED]>:
> >
> >> Fedorax schreef:
> >>> Selon Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:
> >>>
> >>> Option -va seem's not exist ? If i type make -va this just give me the
> >> version
> >>> and the list of available options which -v is show version.
> >>>
> >> to pass a option to the compiler use OPT=bla
> >>
> >> make OPT="-va"
> >>
> >> Vincent
> >>
> > Ok, i do this, the result give a lot of not found files like this:
> >
> > 
> > My FPC SRC files is not in /usr/local/lib/fpc/2.3.1/ but in
> /usr/local/src/fpc
>
> Fine. Keep it that way.
> >
> > I try to copy all FPC source files in /usr/local/lib/fpc/2.3.1/ and i've
> the
> > same result. The directory /units/ have no .pas or .pp files, only .ppu and
> .o
> > files ( I reload and recompile the full FPC SVN before do this to be sure
> of
> > that ).
>
> Never try to let the compiler find these source. Don't copy sources to
> locations
> reserved for compiled units.
>
> >
> > If this can help i put here the full terminal output in a text file ( 30mo.
> in
> > 2Mo zipped file )
> >
>
> Everything looked ok to me, executables were created.
>
> It is designed that the unit source are found only at one stage and further
> on only
> compiled units are used, evn if the compiler checks it there are some changes
> in the
> source code.
>
> Vincent

Yes, In every case  lazarus compile and start but he say /usr/local/src/fpc is
not a source directory. Same thing if i try to compile with fpc-2.0.4. That's
make me crazy.

Terminal output say:

[EMAIL PROTECTED] trunk]# ./startlazarus
TApplication.IconChanged - TODO: convert this message...no implementation in gtk
or win32
NOTE: miscellaneous options file not found - using defaults
NOTE : fichier de configuration codetools non trouvé. Valeurs par défaut
utilisées.

--- May be the problem is here  
NOTE: FPC Source Directory not set! (see Environment Options)
TDefinePool.CreateFPCSrcTemplate FPCSrcDir does not exist: FPCSrcDir=""

NOTE: Incapable de créer le modèle 'Define' pour sources Free Pascal
-- But what ? i never change the environement options --

NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
[TCustomFormEditor.CreateComponent] Class='TForm'
TMainIDE.DoNewEditorFile end unit1.pas
TMainIDE.DoCloseEditorFile A PageIndex=0
TCustomFormEditor.DeleteComponent Form1:TForm1 IsJITComponent=True
FreeComponent=True
TMainIDE.DoCloseEditorFile end
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[EMAIL PROTECTED] trunk]#


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


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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-07 Thread fedorax
Selon Vincent Snijders <[EMAIL PROTECTED]>:

> Fedorax schreef:
> > Selon Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:
> >
> > Option -va seem's not exist ? If i type make -va this just give me the
> version
> > and the list of available options which -v is show version.
> >
>
> to pass a option to the compiler use OPT=bla
>
> make OPT="-va"
>
> Vincent
>
Ok, i do this, the result give a lot of not found files like this:

--

[16.268] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/odbc/stdctrls.pp... not found
[16.268] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/odbc/STDCTRLS.PP... not found
[16.268] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/../stdctrls.pp... not found
[16.268] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/../STDCTRLS.PP... not found
[16.268] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/tcl/stdctrls.pp... not found
[16.269] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/tcl/STDCTRLS.PP... not found
[16.269] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/pasjpeg/stdctrls.pp... not found
[16.269] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/pasjpeg/STDCTRLS.PP... not found
[16.269] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-passrc/stdctrls.pp... not found
[16.269] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-passrc/STDCTRLS.PP... not found
[16.269] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/opengl/stdctrls.pp... not found
[16.269] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/opengl/STDCTRLS.PP... not found
[16.269] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/cairo/stdctrls.pp... not found
[16.269] Searching file
/usr/local/lib/fpc/2.3.1/units/i386-linux/cairo/STDCTRLS.PP... not found
.

My FPC SRC files is not in /usr/local/lib/fpc/2.3.1/ but in /usr/local/src/fpc

I try to copy all FPC source files in /usr/local/lib/fpc/2.3.1/ and i've the
same result. The directory /units/ have no .pas or .pp files, only .ppu and .o
files ( I reload and recompile the full FPC SVN before do this to be sure of
that ).

If this can help i put here the full terminal output in a text file ( 30mo. in
2Mo zipped file )

http://bouquinique.com/lazarus/t_output.txt.zip

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


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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-06 Thread Fedorax
Selon Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:

> Use option -va and compile on the command line to see details of why
> it canŽt find the unit.
>
> Sometimes itŽs a path problem, or you need to copy the compiled
> RTL/FCL files to another location
>
> --
> Felipe Monteiro de Carvalho
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>
Option -va seem's not exist ? If i type make -va this just give me the version
and the list of available options which -v is show version.

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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-06 Thread fedorax
Selon Graeme Geldenhuys <[EMAIL PROTECTED]>:

> On 2/27/07, Joost van der Sluis <[EMAIL PROTECTED]> wrote:
> >
> > Yup. I had the same problem. Log in as root and remove all files
> > in /usr/local/lib/fpc/2.1.1/i386-linux/* and then do a make install.
> >
> > The 'old' fcl-packages are still in i386-linux/fcl and the new ones are
> > in i386-linux/fcl-base. That result in those troubles...
>
> That's why I always do a 'make clean', svn update and then a 'make
> install'.  One tiny script does it all. :-)
>
> Oh, and always compile FPC 2.1.1 with 2.0.4 or 2.0.5.  So make sure
> you PATH setting picks up the correct compiler.
>
>
Yes, the path are correct. in /usr/local/bin ppu386 is a link to fpc2.0.4
compiler.
Like it's say before i destroy the /usr/lib/fpc/2.3.1 before compile and after
2.0.4 in the only one compiler.

> --
> Graeme Geldenhuys
>
> There's no place like S34° 03.168'  E018° 49.342'
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-06 Thread fedorax
Selon Vincent Snijders <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] schreef:
> > Hello,
> >
> > With FPC 2.1.1 SVN 6671 and Lazarus SVN 10693 compilation of lazarus abort
> on
> > this message:
> >
> > /usr/local/src/lazarus/lcl/graphics.pp(36,17) Fatal: Can't find unit
> contnrs
> >
> > I've try to downgrade to some others SVN versions. Same thing happen with
> FPC
> > 2.1.1 SVN 6664 and Lazarus SVN 10685.
> >
> > With FPC 2.1.1 6610 and lazarus 10678 all work's.
> >
> > O.S Linux fedora core 6.
>
> This problem is likely to be caused by the restructuring of fpc directory
> layout.
> The fcl directory has been moved to the packages directory. I didn't dare to
> update
> yet.
>
> Can you confirm there is an up-to-date contnrs.ppu somewhere in
> /usr/local/lib/fpc/2.1.1/i386-linux or below?
>
> Vincent
>
Yes with today svn i've it in:

/usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-base/contnrs.ppu

I'm wondering by the jump fpc 2.1.1 to 2.3.1 ???

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


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


Re: [lazarus] Re: Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-02-27 Thread fedorax
Selon Funky Beast <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] wrote:
> > Hello,
> >
> > With FPC 2.1.1 SVN 6671 and Lazarus SVN 10693 compilation of lazarus abort
> on
> > this message:
> >
> > /usr/local/src/lazarus/lcl/graphics.pp(36,17) Fatal: Can't find unit
> contnrs
> >
> > I've try to downgrade to some others SVN versions. Same thing happen with
> FPC
> > 2.1.1 SVN 6664 and Lazarus SVN 10685.
>
> Hi,
>
> After you downgrade fpc 2.1.1, you need to delete your
> /usr/local/lib/fpc/2.1.1 directory
> before you "make install". So that there won't be multiple versions of the
> same .ppu files
> lying around inside, due to fpc's restructuring. Latest Lazarus SVN should be
> compilable
> with your r6610 version.
>
> >
> > With FPC 2.1.1 6610 and lazarus 10678 all work's.
> >
> > O.S Linux fedora core 6.
> >
>
I do like you say and that's work. But always only with old SVN 6610 FPC 2.1.1.
With new's SVN the last lazarus version ( now 10697 ) can't find the sources FPC
2.1.1 at start.

> HTH,
> Funky Beast.
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>


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


[lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-02-27 Thread fedorax
Hello,

With FPC 2.1.1 SVN 6671 and Lazarus SVN 10693 compilation of lazarus abort on
this message:

/usr/local/src/lazarus/lcl/graphics.pp(36,17) Fatal: Can't find unit contnrs

I've try to downgrade to some others SVN versions. Same thing happen with FPC
2.1.1 SVN 6664 and Lazarus SVN 10685.

With FPC 2.1.1 6610 and lazarus 10678 all work's.

O.S Linux fedora core 6.

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


[lazarus] Lazarus 10204 dont' compile with FPC 2.1.1 5390

2006-11-15 Thread Fedorax

Hello

With lazarus svn 1024 and FPC 2.1.1 svn 5390 the compilation return a 
svn error:


Compiling synhighlightersql.pas
synhighlightersql.pas(1640,67) Error: Variable identifier expected
synhighlightersql.pas(1785) Fatal: There were 1 errors compiling module, 
stopping

Fatal: Compilation aborted
make[2]: *** [allsyneditunits.ppu] Erreur 1
make[2]: Leaving directory `/usr/local/src/lazarus/components/synedit'
make[1]: *** [synedit_all] Erreur 2
make[1]: Leaving directory `/usr/local/src/lazarus/components'
make: *** [components] Erreur 2

OS: Linux fedora 5

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


Re: [lazarus] Accessing a button with keyboard

2006-11-02 Thread Fedorax
With latest SVN of lazarus and FPC-2.1.1 all shortcuts work for me ( 
Linux fedora 5 KDE envt. ).


Carlos Avogaro a écrit :

Hi,
 
I have a button in my project,  the caption is  &Start,
button1.caption :=  '&Start', 
when I pulse in the keyboard the keys   Alt + S, 
I get this message from lazarus  "  access  violation "
 
any idea?
 
Thanks,

Carlos Avogaro
 



Want to start your own business? Learn how on Yahoo! Small Business. 
 


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


[lazarus] Lazarus svn loose the fpc-2.1.1 source path

2006-11-01 Thread Fedorax

Hello

Lazarus svn #10151 compile but loose the path for fpc. When it start 
it's complain about fpc src.
After start when i wan't set the fpc src directory it's impossible. It 
don't want recognize this path wich was ok for all precedent compilations.

The svn fpc-2.1.1 version is #5144


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


Re: [lazarus] lazarus doesn't build with latest FPC 2.1.1

2006-10-09 Thread Fedorax



Graeme Geldenhuys a écrit :

Hi,

Has anybody tried to build Lazarus with the latest FPC 2.1.1 (r4838)
lately?  I keep getting the following error so for now, will revert
FPC 2.1.1 back to r4642 which was the last one I could use to get
Lazarus compiled and working.

Last week Monday I also tried.  It managed to compile Lazarus (using
last weeks latest FPC 2.1.1), but gave an Access Violation when
lazarus starts up.

Now I get this error while trying to build.  And yes, I always do a
"make clean" before I do a build.

/mnt/data/opt/lazarus/lcl/interfaces/gtk/gtkwinapiwindow.pp(258,3)
Error: Wrong type "Array Of LongWord" in array constructor

Any ideas?  I am using FPC 2.1.1 (r4838) on Linux with GTK1 widget set.

Regards,
 - Graeme -


At this time the svn FPC 2.1.1 version is 4842 and i get the same error 
when i want compile lazarus.


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


Re: [lazarus]

2006-10-04 Thread Fedorax

With SVN Version and FPC 2.0.4 lazarus works with fedora 5.

cpio is a GNU archiving program. Did it installed ?


Arí Ricardo Ody a écrit :

I tried to install Lazarus various times and always receive the message:

error: The open of the package failed in the file 
/usr/lib/lazarus/lazarus:4523ed86: cpio: read


The string before the word "cpio" modify each time I saw the error. 
Would it a checksum of any kind?


Is this correct to admit that it isn't possible to install Lazarus 
0.9.18 under linux Fedora Core  5? Is the message an indication of an 
error the package downloaded?


I've installed this new version under Mandriva 2006? Is it possible 
that it runs in error under Fedora?


May someone of you give me another suggestion?

[ ]

Ricardo

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



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


[lazarus] Lazarus SVN #10034 dont start with FPC 2.1.1 SVN #4782

2006-10-04 Thread Fedorax
When it's compiling with latest svn FPC 2.1.1 lazarus dont start. The 
splashscreen appears / disapears and nothing follow . No terminal 
output, just this ( Linux fedora 5 ).

--
[EMAIL PROTECTED] lazarus]# ./startlazarus
[WARNING] ***
[WARNING] **   **
[WARNING] ** Multibyte character encodings (like UTF8) are not **
[WARNING] ** supported at the moment.  **
[WARNING] ** For full keyboard event support, make sure that   **
[WARNING] ** the LANG environment var has no UTF8  **
[WARNING] **   **
[WARNING] ***
[WARNING] ***
[WARNING] **   **
[WARNING] ** Multibyte character encodings (like UTF8) are not **
[WARNING] ** supported at the moment.  **
[WARNING] ** For full keyboard event support, make sure that   **
[WARNING] ** the LANG environment var has no UTF8  **
[WARNING] **   **
[WARNING] ***
TApplication.IconChanged - TODO: convert this message...no 
implementation in gtk or win32
  
When it's compiling with official FPC 2.0.4 all work.


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


[lazarus] Lazarus SVN and FPC 2.1.1

2006-10-01 Thread Fedorax
Lazarus SVN and my projects work's perfectly with official relase of fpc 
2.0.4.
I can also compile SVN without problem with FPC 2.1.1 Latest SVN but 
when i load projects i've a lot off errors about StringsGrids and 
DbGrids like 'property visible is read only' and others.


What's wrong ? My project or lazarus can't work with FPC 2.1.1 ?

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


[lazarus] Fatal: Internal error 200310221

2006-09-05 Thread Fedorax

Hello,

What is the exact signification of this message ? When it happen the 
compilation is stopped, if i press F9 just after the compilation restart 
and all work well.


I'm use latest svn lazarus and fpc 2.0.4 rc3.

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


[lazarus] TListBox is not an active control ?

2006-08-11 Thread Fedorax

Hello

The following code work with Tbuttons, Tedit, Tdbedit, Tdbgrids, etc but 
never works with a Tlistbox.

What's wrong here ?

Thank's

If Self.ActiveControl.ClassType=TListBox then Begin

ShowMessage 
(FindComponent((components[ActiveControl.ComponentIndex]).Name).Name);


End;

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


[lazarus] Latest SVN cant reload my project ( TstringGrid Fail )

2006-07-31 Thread Fedorax

Hello

I made a new compilation with:

Fpc - SVN 4318
Lazarus - SVN 9694
Os Linux fedora 5

And when i load my project i've this error message:

Error reading SGrid_Fields.VisibleColCount: Property is read only

Something has changed or bug ? ( My latest and working compilation was 
made 30 days ago )


What can i do ?

Thank's

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


[lazarus] imagesforlazarus.lpk don't compile with latest's SVN

2006-06-01 Thread Fedorax

Hello:

With latest svn imagesforlazarus.lpk retrun errors when compile.

Svn's version's
lazarus 9382
fpc 3761
Os:Linux fedora 5


Error messages:

"Compiler l'IDE (sans assemblage)" completed
/usr/local/src/lazarus/components/images/lazpng.pas(48,20) Error: 
function header doesn't match the forward declaration "class 
TPNGImage.GetDefaultFPReader:Class Of TFPCustomImageReader"
/usr/local/src/lazarus/components/images/lazpng.pas(53,20) Error: 
function header doesn't match the forward declaration "class 
TPNGImage.GetDefaultFPWriter:Class Of TFPCustomImageWriter"
/usr/local/src/lazarus/components/images/lazpng.pas(63,20) Error: 
function header doesn't match the forward declaration "class 
TPNGImage.GetFileExtensions:AnsiString"
/usr/local/src/lazarus/components/images/lazpng.pas(81) Fatal: There 
were 3 errors compiling module, stopping


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


[lazarus] Re: Strange bug with TDBEdit charset in revision 8767

2006-02-17 Thread Fedorax
Fedorax  bouquinique.com> writes:

> 
> When the font size is set to 14 the charset go in japanese or chinese in
> TDBEdit.  That seems happen only with size 14.
> 
> I use linux fedora 4 with Kde and UTF 8 charset.
> 
> http://encheresbidon.com/images_forum_10/size_14.jpg>
> 
> 

And i just see that other sizes also modify charset ( No correct display for
spécific french characters ) Only 0 in size have a correct result.


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


[lazarus] Strange bug with TDBEdit charset in revision 8767

2006-02-17 Thread Fedorax
When the font size is set to 14 the charset go in japanese or chinese in
TDBEdit.  That seems happen only with size 14.

I use linux fedora 4 with Kde and UTF 8 charset.


http://encheresbidon.com/images_forum_10/size_14.jpg>

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


[lazarus] Again problem with gtk2 compilation with linux fedora 4

2005-12-14 Thread Fedorax
With latest SVN i can recompile with the gtk2 option but when lazarus restart
i've a message: "Access violation" and no icon's componets are visible in the
tabs. The error message in the terminal:

---
( lazarus:15682): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion
`G_IS_OBJECT (object)' failed

(lazarus:15682): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion
`GDK_IS_COLORMAP (colormap)' failed

(lazarus:15682): Gdk-CRITICAL **: gdk_visual_get_screen: assertion
`GDK_IS_VISUAL (visual)' failed
TApplication.HandleException Access violation
  Stack trace:
  $

(lazarus:15682): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion
`G_IS_OBJECT (object)' failed

(lazarus:15682): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion
`GDK_IS_COLORMAP (colormap)' failed

(lazarus:15682): Gdk-CRITICAL **: gdk_visual_get_screen: assertion
`GDK_IS_VISUAL (visual)' failed
TApplication.HandleException: there was another exception during showing the
first exception
Note: GetTextBuf is overridden for: i��v_�d^_
TApplication.HandleException: there was another exception during showing the
first exception
lazarus.pp - unhandled exception
-

I try to compile with fpc 2.0.2 compiler and with fpc 2.0.0. I've the same
résult with the two versions.


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


[lazarus] Re: Can't compile lazarus-0.9.11-20051211 with gtk 2

2005-12-11 Thread Fedorax
Mattias Gaertner  netcologne.de> writes:

> 
> This has been fixed. Please use the new snapshot or the current svn.
> 
> Mattias
> 
> 
Nothing new. I reload:
ftp://ftp.de.freepascal.org/pub/lazarus/lazarus-0.9.11-20051211-src.tar.bz2
and i've install and compile the svn, i get the same error on the two.




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


[lazarus] Can't compile lazarus-0.9.11-20051211 with gtk 2

2005-12-10 Thread Fedorax
Hello,

I just install the new fpc 2.0.2 and lazarus-0.9.11-20051211.
OS: Linux fedora 4
All work fine except if i want rebuild lazarus with gtk 2 option.

I receive this error:

gtk2winapi.inc(432,22) Error: 
Identifier not found "gdk_x11_drawable_get_xdisplay"
gtk2winapi.inc(433,22) Error: 
Identifier not found "gdk_x11_drawable_get_xid"
gtk2int.pas(547) Fatal: There were 
2 errors compiling module, stopping
TExternalToolList.Run Exception:
/usr/local/lazarus/lcl/interfaces/gtk2/gtk2int.pas(547) 
Fatal: There were 2
errors compiling module, stopping
---

Can you help ?

Thank's



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


[lazarus] Re: Problem updatde DBEDIT with TDBF ( Could be another solution )

2005-11-04 Thread Fedorax
Luiz Americo Pereira Camara  oi.com.br> writes:

> 
> Em Qui, 2005-11-03 às 23:29 +, Fedorax escreveu:
> > Hello 
> > 
> > I've a problem for update data base with tdbf 6.41.
> > 
> > As long i type my datas manualy in fields all work fine but
> > if i do something like :
> > 
> > DBEDIT.Text:='Something'
> > 
> > The data base field give as datafield to DBEDIT is not 
> > updated at post and keep his old value ? I try some thing's 
> > like DBEDIT.Doenter, DBEDIT.click, before assign value
> > but nothing work. What can i do ?
> > 
> > Here are parameters for components TDBF and Datasource
> > 
> >  MyDbf.ShowDeleted:=False;
> >  MyDbf.TableName:=Dbf_Dir+Table_Name;
> >  MyDbf.Exclusive := true;
> >  MyDbf.TableLevel:=4;
> >  MyDbf.ReadOnly:=False;
> >  MySource.AutoEdit:=true;
> >  MySource.DataSet:=MyDbf;  
> > 
> > TDBF Version 6.41
> > Lazarus 0.9.10
> > Fpc 2.0.1
> 
> It's a know problem. See bug report 1329. The solution is to update also
> the database directly.
> 
> ADbf.FieldByName('AFieldName').AsString:='Something';
> 
> Luiz
> 
> 

Hello,

Thank's. That's work but in few case i've problem with this ( i need use 
event datachange and in this case i't hapens that the old value is 
relaoded ). 

I find a brutal way which seem's work in every case:

// Set the Dbf in edit mode
  MyDbf.Edit;
// Update the DbField
  DBECODE.Text:=NewCode;
// Post
  MyDbf.Post; 

And i also move the updating events wich only need to be read from Datasource
Ondatachange to Dbf Afterscroll.

For me that's work. 



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


[lazarus] Problem updatde DBEDIT with TDBF

2005-11-03 Thread Fedorax
Hello 

I've a problem for update data base with tdbf 6.41.

As long i type my datas manualy in fields all work fine but
if i do something like :

DBEDIT.Text:='Something'

The data base field give as datafield to DBEDIT is not 
updated at post and keep his old value ? I try some thing's 
like DBEDIT.Doenter, DBEDIT.click, before assign value
but nothing work. What can i do ?

Here are parameters for components TDBF and Datasource

 MyDbf.ShowDeleted:=False;
 MyDbf.TableName:=Dbf_Dir+Table_Name;
 MyDbf.Exclusive := true;
 MyDbf.TableLevel:=4;
 MyDbf.ReadOnly:=False;
 MySource.AutoEdit:=true;
 MySource.DataSet:=MyDbf;  

TDBF Version 6.41
Lazarus 0.9.10
Fpc 2.0.1

Thanks

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