Re: [lazarus] Summer of Code

2005-09-26 Thread Juan Martinez

 --- Felipe Monteiro de Carvalho
<[EMAIL PROTECTED]> escribió:

> Hello,
> 
> Has anyone notice Google project "Summer of Code"?
> 
> They are willing to pay around $4.500 to students
> that complete a open 
> source development task. Projects are submited there
> and then, if 
> approved, they select a student and a tutor to try
> to acomplish the 
> coding that. If the student succeds he will get the
> money :)
> 
> Here is the official web-site:
> http://code.google.com/summerofcode.html
> 
> This project generated some important parts for
> projects like Open 
> Office. There are language related projects also,
> like Perl and Python, 
> so why not Pascal? :^)
> 
> Maybe Lazarus should submit a project there?
> 
> Personally I would love a fast and smart internal
> linker for Lazarus. Of 
> course this is Free Pascal and not lazarus, but they
> maybe lazarus 
> developers know something that could be submited to
> summer of code?
> 
> I will eventually post this to free pascal mailling
> list.
> 
> Felipe

I think Summer of Code has just ended, the deadline
for applicants was june 14th and by now the accepted
projects should have conclude.

It's not enough that someone presents a pascal project
but Free Pascal must be a Mentoring Organization too
AFAIK, so I think that is a good idea to participate
as organization in the next Summer of Code.

Juan

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

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


Re: [lazarus] Re: Lazarus Registration

2005-09-26 Thread Juan Martinez

 --- Felipe Monteiro de Carvalho
<[EMAIL PROTECTED]> escribió:

> [EMAIL PROTECTED] wrote:
> > Lazarus Registration
> > 
> > Hi, I tried to register to Lazarus Forums,
> > a week ago, but didn't get any reply.
> > 
> > Is something wrong with my account,
> > or the lazarus page administrator,
> > just had a bussy week ? ;-)
> 
> You can post your questions here. My experience is
> that the mailing list 
>   is much more active then the forum.
> 
> Felipe

Is it required to be registered to post in forums now?
I'm not registered to Lazarus Forum and I've posted
there as guest. Try to do it so.

Juan

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

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


[lazarus] Re: A new marketing strategy

2005-09-26 Thread Felipe Monteiro de Carvalho

Razvan Adrian Bogdan wrote:

If you were wondering what marketing strategies Borland was planning
lately, search no more, Delphiman is here, hope he will beat all those
(C/C++) compilers out there :)

http://www.borland.com/superhero
http://www.delphisuperhero.com/


Microsoft bought a big piece of Borland. Maybe they taught Borland guys 
how to do propaganda??


Felipe

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


[lazarus] Re: dxgettext

2005-09-26 Thread Felipe Monteiro de Carvalho

Bogusław Brandys wrote:

I have found something cool ! gettext conversion for Delphi which is (I
stated) compilable with FreePascal

Look at : http://dybdahl.dk/dxgettext/

Is it much simpler and not restricted by LGPL  then existing Lazarus
gettext support ?
Someone has experience with that tool ?


I have never seen it, but it really would be nice to more translation 
options.


I'm particulary interested in programs that can be internationalized 
without the external .po files because I work on a single-exe installer.


LGPL is a very loose restriction. It just states that if you change the 
source it must remain LGPL, but proprietary program call use LGPL libs 
normally.


As far as i know there are plans to make a native gettext compliant 
functions on LCL.


Felipe

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


[lazarus] Summer of Code

2005-09-26 Thread Felipe Monteiro de Carvalho

Hello,

Has anyone notice Google project "Summer of Code"?

They are willing to pay around $4.500 to students that complete a open 
source development task. Projects are submited there and then, if 
approved, they select a student and a tutor to try to acomplish the 
coding that. If the student succeds he will get the money :)


Here is the official web-site: http://code.google.com/summerofcode.html

This project generated some important parts for projects like Open 
Office. There are language related projects also, like Perl and Python, 
so why not Pascal? :^)


Maybe Lazarus should submit a project there?

Personally I would love a fast and smart internal linker for Lazarus. Of 
course this is Free Pascal and not lazarus, but they maybe lazarus 
developers know something that could be submited to summer of code?


I will eventually post this to free pascal mailling list.

Felipe

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


[lazarus] GNOME Toolkit

2005-09-26 Thread Felipe Monteiro de Carvalho

Hello,

I just noticed that one of the widget options for Lazarus is GNOME. I 
just wonder if there is a library called Gnome for user interface 
development. I googled and searched the wikipedia, but I could not find 
any reliable information that a library called gnome exists.


Of course I am familiar with the gnome desktop. Does anyone know what 
gnome widget means?? Is it really working / active?? If not maybe we 
should substitute it with something else.


thanks,

Felipe

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


[lazarus] Re: Lazarus Registration

2005-09-26 Thread Felipe Monteiro de Carvalho

[EMAIL PROTECTED] wrote:

Lazarus Registration

Hi, I tried to register to Lazarus Forums,
a week ago, but didn't get any reply.

Is something wrong with my account,
or the lazarus page administrator,
just had a bussy week ? ;-)


You can post your questions here. My experience is that the mailing list 
 is much more active then the forum.


Felipe

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


[lazarus] Lazarus Registration

2005-09-26 Thread mramirez
Lazarus Registration

Hi, I tried to register to Lazarus Forums,
a week ago, but didn't get any reply.

Is something wrong with my account,
or the lazarus page administrator,
just had a bussy week ? ;-)

-- 
Marco Aurelio Ramirez Carrillo
star-dev.com

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


Re: [lazarus] Willing to help

2005-09-26 Thread Mattias Gaertner
On Mon, 26 Sep 2005 11:31:57 -0300
Alexsander Rosa <[EMAIL PROTECTED]> wrote:

> I added a note on issue 1044:
> http://www.lazarus.freepascal.org/mantis/view.php?id=1044
> 
> As many new-comers, I am not familiar with the structure of the code.
> I have experience in software development, but lack the (unpaid) time
> to follow the code up and down to figure out where (i.e., in which
> line of which file) any changes should be made.
> 
> In this particular issue, it could be useful if someone familiar with
> the code just add an empty function (following some unwritten naming
> convention) as a place holder, with the right parameters. I am willing
> to test a function that receives a single source code (it's a
> TStringList or something like that?), does the clean up, then return
> the cleaned code, maybe in the same parameter, with the var keyword.

Thanks for the offer. 
It is a little bit more complicated.

1.a) If you simply exchange the whole source, all bookmarks would stay at
their old positions and therefore will wander off. 
1.b) A unit can consist of several files (e.g. controls.pp + control.inc +
wincontrol.inc ..).
1.c) You have to find the corresponding method declaration to delete. 
Gladfully the codetools already provide functions for these problems.
2.) The events must be removed from the form too. But this is already done.
We just have to keep the correct order.
3) There are people, who don't want their code auto deleted. I for example
save very often and found it very annoying, that Delphi deleted my newly
created code. So, this feature must be optional. -> IMO a good place for
this option is the codetools option dialog. Maybe on a new page.

My suggestion:
- first add an option to the codetools dialog. For delphi compatibility the
default can be 'on'.
- Then extend RemoveDanglingEvents in checklfmdlg.pas. 
  This is normally done this way:
  - Add a function to the TCodeToolManager (similar to
FindDanglingComponentEvents).
  - Add a function to the StdCodeTools.pas
  - parse the code
  - go through all methods 
- test if empty
- find the corresponding method declaration
- mark the source parts for deletion
  - apply the changes
  - call the function at the beginning of RemoveDanglingEvents 
I will help you here.


Because this is done on every save, we must optimize it:
The deletion should only be executed, if the designer had added events.
The search for corresponding methods should not be a linear search.

Question:
- Should only published methods be auto deleted, or all empty methods?
Should empty procedures/functions be deletes too?


Mattias

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


Re: [lazarus] [Fwd: [Lazarus 0001209]: lazarus crashes on exit]

2005-09-26 Thread dhkblaszyk

> It worked here today. Can you make a back trace?

It looks as if it's solved now.

Darius

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


Re: [lazarus] How can I???

2005-09-26 Thread Micha Nelissen
On Mon, 26 Sep 2005 16:45:41 -0300
Arí Ricardo Ody <[EMAIL PROTECTED]> wrote:

> wich is the maximum size of the attachment? 

40KB IIRC.

> If it isn't possible how can I show a screen snapshot or similar in the way 
> people in the mailing list can see?

Another option is to open a bug report, and attach the image there. Depends on 
what you want to show.

Micha

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


[lazarus] How can I???

2005-09-26 Thread Arí Ricardo Ody



Post a message with an attachment. Maybe 
a snapshot of the screen. If it's possible, wich is the maximum size of the 
attachment? If it isn't possible how can I show a screen snapshot or similar in 
the way people in the mailing list can see?
 
I don't have a site/place where I can put 
the attachment in the way people can access it.
 
Regards from Sao Paulo - Brazil 

 
Ricardo
 
 
 
"Your home is where your heart 
is"
 
Visit brazilian state Rio Grande do Sul. 
You'll never forget the sundown in the Guaíba River.


Re: [lazarus] dbGrid automatic column resize to data length

2005-09-26 Thread Michał Wojtaszek
Yes, you are right. When you checking every record in remote table it
can take a months. I think about a procedure witch I can call AFTER
putting  all data in.  I do not want automagicaly engine witch do than
on the flay. You now:
Dataset.Open;
Dataset.Append;
Dataset.Post;
dbGrid.AdjustColumns or other function...
And I have a proper width to next update or append. This is no elegant
solution but it should work I think.

I use a SQLite and tables do not contain a valid length information.
Problem is the tables (databases) I use are 3-4 years old and contains
1-25 rows. Previously I use a TCL/TK but I do not find this as
"elegant" solution. I love Lazarus very much but there are few
thinks... :).
By the time my workaround is to query database, put rows to stringGrid
and do AutoAdjustColumns. But it is no RAD solution and require much
more lines of code. More than in TCL... dbControls works great if you
are have all information before coding :).

Regards

Michal




I guess dbGrid is descendant StringGrid and internally stores all cell
as Strings.   

Dnia 26-09-2005, pon o godzinie 12:05 -0500, Jesus Reyes napisał(a):
> It's automatic, when you add a new column and then you set the
> fieldname column's property, the column gets resized according to the
> field specification (Field display width, or column's title the
> bigger it's used)
> 
> An automatic resize based in cell content like in TStringGrid still
> it's possible but it needs check every record in the dataset, for
> small datasets maybe it's not a problem but for big ones, retrieved
> from remote servers it's not an option. And the problem is that
> dbgrid doesn't knowbefore hand what kind of database is attached to.
> 
> Based in the premise that the user 'knows' I could add a function
> that retrieve every record in the database and then it can get a best
> fit for column width. What do other think about this, it's a good
> idea?
> 
> Jesus Reyes A.
> 
> 
>  --- Micha³ Wojtaszek <[EMAIL PROTECTED]> escribió:
> 
> >  ekhm, ekhm only one thing... witch function I should
> > use to
> > do that? 
> > 
> > Sorry
> > 
> > Michal
> > 
> >
> 
> __
> 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] dbgrid error (bug)

2005-09-26 Thread barko
Tested. Thanks! :)

Dne ponedeljek 26. septembra 2005 20:37 je Jesus Reyes napisal(a):
>  --- barko <[EMAIL PROTECTED]> escribió:
> > If I click to red circle I got an error (access violation). See the
> > picture...
> >
> > http://www.opinfos.com/tempo/laz/laz.jpg
> >
> > On Linux, latest lazarus from SVN (revision 7836) and latest fpc
> > 2.0.X from
> > SVN (revision 1203).
> >
> > --
> > bye,
> > ...s]-[it happens...
>
> Fixed.
>
> Jesus Reyes A.
>
> __
> 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

-- 
bye,
...s]-[it happens...

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


Re: [lazarus] dbgrid error (bug)

2005-09-26 Thread Jesus Reyes

 --- barko <[EMAIL PROTECTED]> escribió:

> If I click to red circle I got an error (access violation). See the
> picture...
> 
> http://www.opinfos.com/tempo/laz/laz.jpg
> 
> On Linux, latest lazarus from SVN (revision 7836) and latest fpc
> 2.0.X from 
> SVN (revision 1203).
> 
> -- 
> bye,
> ...s]-[it happens...
> 

Fixed.

Jesus Reyes A.

__
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


Re: [lazarus] dbGrid automatic column resize to data length

2005-09-26 Thread Jesus Reyes
It's automatic, when you add a new column and then you set the
fieldname column's property, the column gets resized according to the
field specification (Field display width, or column's title the
bigger it's used)

An automatic resize based in cell content like in TStringGrid still
it's possible but it needs check every record in the dataset, for
small datasets maybe it's not a problem but for big ones, retrieved
from remote servers it's not an option. And the problem is that
dbgrid doesn't knowbefore hand what kind of database is attached to.

Based in the premise that the user 'knows' I could add a function
that retrieve every record in the database and then it can get a best
fit for column width. What do other think about this, it's a good
idea?

Jesus Reyes A.


 --- Micha³ Wojtaszek <[EMAIL PROTECTED]> escribió:

>  ekhm, ekhm only one thing... witch function I should
> use to
> do that? 
> 
> Sorry
> 
> Michal
> 
>

__
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


Re: [lazarus] [Fwd: [Lazarus 0001209]: lazarus crashes on exit]

2005-09-26 Thread Vincent Snijders

Darius Blaszijk wrote:

Vincent,

The issue is still not fixed, after getting latest SVN today, don't know
the revision, but definitely higher than 7826.



It worked here today. Can you make a back trace?

Vincent

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


Re: [lazarus] StrLCopy for PWideChar ?

2005-09-26 Thread dannym
Hi,

Am Freitag, den 23.09.2005, 21:44 +0300 schrieb Alexander Todorov:
> Hello,
> does somebody know a function to replace StrLCopy and StrLen that works with
> PWideChar instead of PChar ?
> It seems to me that WideString support is not fully working yet.
> (fpc 2.0.0 and Lazarus 0.9.8 from windows binaries).
> C

var
  s: WideString;

s := 'Hello World';

... Length(s);

works :)

Why do you need to use PWideChar pointer / array magic ? Are you
wrapping some C stuff ?

> an you help / give more information about widestrings?
> 
> TIA.

cheers,
  Danny


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


[lazarus] dbgrid error (bug)

2005-09-26 Thread barko
If I click to red circle I got an error (access violation). See the picture...

http://www.opinfos.com/tempo/laz/laz.jpg

On Linux, latest lazarus from SVN (revision 7836) and latest fpc 2.0.X from 
SVN (revision 1203).

-- 
bye,
...s]-[it happens...

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


[lazarus] [Fwd: [Lazarus 0001209]: lazarus crashes on exit]

2005-09-26 Thread Darius Blaszijk
Vincent,

The issue is still not fixed, after getting latest SVN today, don't know
the revision, but definitely higher than 7826.

Darius


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


[lazarus] Willing to help

2005-09-26 Thread Alexsander Rosa
I added a note on issue 1044:
http://www.lazarus.freepascal.org/mantis/view.php?id=1044

As many new-comers, I am not familiar with the structure of the code.
I have experience in software development, but lack the (unpaid) time
to follow the code up and down to figure out where (i.e., in which
line of which file) any changes should be made.

In this particular issue, it could be useful if someone familiar with
the code just add an empty function (following some unwritten naming
convention) as a place holder, with the right parameters. I am willing
to test a function that receives a single source code (it's a
TStringList or something like that?), does the clean up, then return
the cleaned code, maybe in the same parameter, with the var keyword.

--
Atenciosamente,

Alexsander da Rosa

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


[lazarus] Problem compiel Lazarus SVN version 7832

2005-09-26 Thread Adriano Frare

Dear Frends,

I compiled lazarus verison 7832 on LINUX (Kernel 2.4.xx) and I execute 
startlazarus , I have received follow messages:


== BEGIN ==

TApplication.IconChanged - TODO: convert this message...no 
implementation in gtk or win32

NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $08657690  UNITEDITOR_finalize,  line 873 of 
/data/appl/lazarus/svn/trunk/packager/basepkgmanager.pas

TApplication.HandleException Access violation
  Stack trace:
  $08657690  UNITEDITOR_finalize,  line 873 of 
/data/appl/lazarus/svn/trunk/packager/basepkgmanager.pas

Runtime error 217 at $0805D149
  $0805D149
  $0805D53C
  $0807ED33  TMAINIDE__CREATE,  line 995 of main.pp
  $080537C8  main,  line 78 of lazarus.pp

=== END 


Thanks for help


Adriano

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


Re: [lazarus] TLazProject.FLazDocPathList not freed

2005-09-26 Thread Vincent Snijders

Mattias Gaertner wrote:

On Mon, 26 Sep 2005 10:35:21 +0200
Vincent Snijders <[EMAIL PROTECTED]> wrote:



Hi,

TLazProject.FLazDocPathList is created in TLazProject.Create, but nowhere
destroyed.  Shall I add a TLazProject.Destroy, which frees the
TLazProject.FLazDocPathList?



Yes.



Done in revision 7832.

Vincent.

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


Re: [lazarus] IDE interface: commands and menus

2005-09-26 Thread Michał Wojtaszek
Win XP SP2
Built 7830

After Lazarus starts there is no menu. Resizing window brings it back. 
No extra options enabled, just simple "make" in lazarus directory.

Regards 

Michal

Dnia 26-09-2005, pon o godzinie 09:19 +0200, Vincent Snijders
napisał(a):
> Martin Smat wrote:
> > Mattias Gaertner wrote:
> > 
> >> On Sun, 25 Sep 2005 15:49:29 +0200
> >> "Crause, Christo (JC)" <[EMAIL PROTECTED]> wrote:
> >>
> >>  
> >>
>  I'm searching for testers. Just compile the IDE with '-dUseMenuIntf 
>  -dUseIDEScopes' and work wit h it the next days. Tools -> Configure 
>  Build Lazarus -> Options: -dUseMenuIntf -dUseIDEScopes Or at command 
>  line make clean all OPT='-dUseMenuIntf -dUseIDEScopes'
>  
> >>>
> >>> Lazarus build 7818
> >>> FPC 2.0.0 and 2.1.1
> >>> Windows 2000 SP4
> >>>
> >>> After enabling the above options and rebuilding everything, the main
> >>> menu is not displayed. It appears as if the speed buttons and component
> >>> pallette is drawn over the main menu.  The Alt + shortcut key works for
> >>> selecting menu items, which are then drawn over either the speed buttons
> >>> or component pallette.
> >>>
> >>> Selecting say File - New and then closing the dialog results in a
> >>> correctly redrawn menu.
> >>>   
> >>
> >>
> >> It works under linux/gtk.
> >> The menuintf code only changes the order, when the TMenuItems are 
> >> created,
> >> not the drawing.
> >> It seems to be an already existing bug in the win32 interfaces, that has
> >> been revealed. Can some windows user provide more information?
> >>
> >>  
> >>
> > I can confirm this behavior. The menu appears after resizing the 
> > component window.
> > I will tray and fix it.
> 
> Good.
> 
> Note, that this bug doesn't happpen on windows xp, but it does happen on 
> windows 2k. 
> It looks like an issue we had previously with menus with accellerators, for 
> example 
> with the lazde. You fixed this too, if I remember correctly.
> 
> This is a 0.9.10 blocker.
> 
> 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] TLazProject.FLazDocPathList not freed

2005-09-26 Thread Mattias Gaertner
On Mon, 26 Sep 2005 10:35:21 +0200
Vincent Snijders <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> TLazProject.FLazDocPathList is created in TLazProject.Create, but nowhere
> destroyed.  Shall I add a TLazProject.Destroy, which frees the
> TLazProject.FLazDocPathList?

Yes.

Mattias

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


Re: [lazarus] dbGrid automatic column resize to data length

2005-09-26 Thread Michał Wojtaszek
 ekhm, ekhm only one thing... witch function I should use to
do that? 

Sorry

Michal

Dnia 26-09-2005, pon o godzinie 02:36 -0600, Jesus Reyes napisał(a):
> - Original Message - 
> From: "Michał Wojtaszek" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, September 23, 2005 4:05 PM
> Subject: Re: [lazarus] dbGrid automatic column resize to data length
> 
> 
> > It will be just great. I love You Man !!! (only I have no idea what my
> > wife thinks about it :)))
> > I cross my fingers and wait till it comes.
> > 
> > Thanks
> > 
> > Michal
> >  
> > 
> > Dnia 23-09-2005, pią o godzinie 16:27 -0500, Jesus Reyes napisał(a):
> > >  --- Micha³ Wojtaszek <[EMAIL PROTECTED]> escribió:
> > > 
> > > > Hi all
> > > > I have one, i think easy question. I have SQLite table filed by
> > > > data. I
> > > > configure SQLiteDataset, DataSource and etc. and it works just
> > > > fine.
> > > > There only one problem. All cols has fixed width. When I use 
> > > > StringGrid
> > > > just call AutoAlighnColumns (or similar command) and all columns
> > > > have
> > > > automagically proper widths. My question is: Is there (in dbGrid)
> > > > any
> > > > similar function?
> > > > I need answer as soon as possible. I have to complete application
> > > > to
> > > > customer (my father :)) and this is the last issue...
> > > >  
> > > > Thanks a lot
> > > > 
> > > > Michał Wojtaszek
> > > > 
> > > 
> > > It's a known problem which is fixed now, I will commit the patch
> > > tomorrow.
> > > 
> > > Jesus Reyes A.
> 
> My appologies, 'tomorrow' was a little bit longer as the weekend was busier 
> than usual, anyway this bug should be fixed if you update from SVN.
> 
> Jesus Reyes A.
> 
> __
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam gratis! 
> Regstrate 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


[lazarus] TLazProject.FLazDocPathList not freed

2005-09-26 Thread Vincent Snijders

Hi,

TLazProject.FLazDocPathList is created in TLazProject.Create, but nowhere destroyed. 
Shall I add a TLazProject.Destroy, which frees the TLazProject.FLazDocPathList?


Vincent.

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


Re: [lazarus] dbGrid again, problems with dgTitles=False

2005-09-26 Thread Michał Wojtaszek
Thanks again

Michal

Dnia 26-09-2005, pon o godzinie 02:38 -0600, Jesus Reyes napisał(a):
> - Original Message - 
> From: "Micha³ Wojtaszek" <[EMAIL PROTECTED]>
> To: "Lazarus" 
> Sent: Friday, September 23, 2005 6:09 PM
> Subject: [lazarus] dbGrid again, problems with dgTitles=False
> 
> 
> > Hello again.
> > Another problem with dbGrid:
> > When I set dgTitles to false I still have 2 rows, even it they are
> > empty. When they are filed and I delete first row second row comes up
> > and dbGrid displays two exactly the same rows (second is fake, it
> > disappear when I delete first) Probably this is normal behaviour, but
> > when Titles are on place they are cover firs row (or rows are display
> > starting from row 1 not 0).
> > 
> > Regards
> > 
> > Michal
> > 
> 
> Should be fixed now.
> 
> Jesus Reyes A.
> 
> __
> 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] dbGrid automatic column resize to data length

2005-09-26 Thread Michał Wojtaszek
Thanks

Michal

Dnia 26-09-2005, pon o godzinie 02:36 -0600, Jesus Reyes napisał(a):
> - Original Message - 
> From: "Michał Wojtaszek" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, September 23, 2005 4:05 PM
> Subject: Re: [lazarus] dbGrid automatic column resize to data length
> 
> 
> > It will be just great. I love You Man !!! (only I have no idea what my
> > wife thinks about it :)))
> > I cross my fingers and wait till it comes.
> > 
> > Thanks
> > 
> > Michal
> >  
> > 
> > Dnia 23-09-2005, pią o godzinie 16:27 -0500, Jesus Reyes napisał(a):
> > >  --- Micha³ Wojtaszek <[EMAIL PROTECTED]> escribió:
> > > 
> > > > Hi all
> > > > I have one, i think easy question. I have SQLite table filed by
> > > > data. I
> > > > configure SQLiteDataset, DataSource and etc. and it works just
> > > > fine.
> > > > There only one problem. All cols has fixed width. When I use 
> > > > StringGrid
> > > > just call AutoAlighnColumns (or similar command) and all columns
> > > > have
> > > > automagically proper widths. My question is: Is there (in dbGrid)
> > > > any
> > > > similar function?
> > > > I need answer as soon as possible. I have to complete application
> > > > to
> > > > customer (my father :)) and this is the last issue...
> > > >  
> > > > Thanks a lot
> > > > 
> > > > Michał Wojtaszek
> > > > 
> > > 
> > > It's a known problem which is fixed now, I will commit the patch
> > > tomorrow.
> > > 
> > > Jesus Reyes A.
> 
> My appologies, 'tomorrow' was a little bit longer as the weekend was busier 
> than usual, anyway this bug should be fixed if you update from SVN.
> 
> Jesus Reyes A.
> 
> __
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam gratis! 
> Regstrate 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] dbGrid again, problems with dgTitles=False

2005-09-26 Thread Jesus Reyes

- Original Message - 
From: "Micha³ Wojtaszek" <[EMAIL PROTECTED]>
To: "Lazarus" 
Sent: Friday, September 23, 2005 6:09 PM
Subject: [lazarus] dbGrid again, problems with dgTitles=False


> Hello again.
> Another problem with dbGrid:
> When I set dgTitles to false I still have 2 rows, even it they are
> empty. When they are filed and I delete first row second row comes up
> and dbGrid displays two exactly the same rows (second is fake, it
> disappear when I delete first) Probably this is normal behaviour, but
> when Titles are on place they are cover firs row (or rows are display
> starting from row 1 not 0).
> 
> Regards
> 
> Michal
> 

Should be fixed now.

Jesus Reyes A.

__
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


Re: [lazarus] dbGrid automatic column resize to data length

2005-09-26 Thread Jesus Reyes

- Original Message - 
From: "Michał Wojtaszek" <[EMAIL PROTECTED]>
To: 
Sent: Friday, September 23, 2005 4:05 PM
Subject: Re: [lazarus] dbGrid automatic column resize to data length


> It will be just great. I love You Man !!! (only I have no idea what my
> wife thinks about it :)))
> I cross my fingers and wait till it comes.
> 
> Thanks
> 
> Michal
>  
> 
> Dnia 23-09-2005, pią o godzinie 16:27 -0500, Jesus Reyes napisał(a):
> >  --- Micha³ Wojtaszek <[EMAIL PROTECTED]> escribió:
> > 
> > > Hi all
> > > I have one, i think easy question. I have SQLite table filed by
> > > data. I
> > > configure SQLiteDataset, DataSource and etc. and it works just
> > > fine.
> > > There only one problem. All cols has fixed width. When I use 
> > > StringGrid
> > > just call AutoAlighnColumns (or similar command) and all columns
> > > have
> > > automagically proper widths. My question is: Is there (in dbGrid)
> > > any
> > > similar function?
> > > I need answer as soon as possible. I have to complete application
> > > to
> > > customer (my father :)) and this is the last issue...
> > >  
> > > Thanks a lot
> > > 
> > > Michał Wojtaszek
> > > 
> > 
> > It's a known problem which is fixed now, I will commit the patch
> > tomorrow.
> > 
> > Jesus Reyes A.

My appologies, 'tomorrow' was a little bit longer as the weekend was busier 
than usual, anyway this bug should be fixed if you update from SVN.

Jesus Reyes A.

__
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


Re: [lazarus] Grids patch

2005-09-26 Thread Jesus Reyes

- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Friday, September 23, 2005 5:30 PM
Subject: [lazarus] Grids patch


> Here's a new patch for grids.pas. It's just a code cleanup anymore.
> 
> Darius

Applied, thanks.

Jesus Reyes A.

__
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


Re: [lazarus] IDE interface: commands and menus

2005-09-26 Thread Vincent Snijders

Martin Smat wrote:

Mattias Gaertner wrote:


On Sun, 25 Sep 2005 15:49:29 +0200
"Crause, Christo (JC)" <[EMAIL PROTECTED]> wrote:

 

I'm searching for testers. Just compile the IDE with '-dUseMenuIntf 
-dUseIDEScopes' and work wit h it the next days. Tools -> Configure 
Build Lazarus -> Options: -dUseMenuIntf -dUseIDEScopes Or at command 
line make clean all OPT='-dUseMenuIntf -dUseIDEScopes'



Lazarus build 7818
FPC 2.0.0 and 2.1.1
Windows 2000 SP4

After enabling the above options and rebuilding everything, the main
menu is not displayed. It appears as if the speed buttons and component
pallette is drawn over the main menu.  The Alt + shortcut key works for
selecting menu items, which are then drawn over either the speed buttons
or component pallette.

Selecting say File - New and then closing the dialog results in a
correctly redrawn menu.
  



It works under linux/gtk.
The menuintf code only changes the order, when the TMenuItems are 
created,

not the drawing.
It seems to be an already existing bug in the win32 interfaces, that has
been revealed. Can some windows user provide more information?

 

I can confirm this behavior. The menu appears after resizing the 
component window.

I will tray and fix it.


Good.

Note, that this bug doesn't happpen on windows xp, but it does happen on windows 2k. 
It looks like an issue we had previously with menus with accellerators, for example 
with the lazde. You fixed this too, if I remember correctly.


This is a 0.9.10 blocker.

Vincent.

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