Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-05

New stuff commited

12 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael A. Hess
to Shane Miller: You forgot to commit (add) GUIAPI. HAve to do that otherwise no one will be able to…
Shane Miller wrote 5 lines
You forgot to commit (add) GUIAPI. HAve to do that otherwise no one will be able to compile.... Please inform us when complete......I think you do a cvs add GUIAPI.PP

Right you are. I remembered to remove application.pp but forgot to add guiapi.pp. Sorry.

It's done.

By the way Shane I discovered some of why it is stopping during load. It has to do with your using fmEditor instead of Self. In TEditor.OpenFile you attempt to call a TMemo.Create(fmEditor) but you declared a local variable called fmEditor and never initialized. When I use Self it works and goes on a little farther, the windows stays open but TMemo seems to crap out somehow and never loads the actual content or at least never puts it in the windows.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Cliff Baeseman
to Shane Miller: You forgot to commit (add) GUIAPI. HAve to do that otherwise no one will be able to…

ant then you will have to do a cvs commit...

Cliff

Earlier message 65 lines
-----Original Message----- From: Shane Miller Sent: Friday, May 14, 1999 3:06 PM To: Subject: Re: [lazarus] New stuff commited You forgot to commit (add) GUIAPI. HAve to do that otherwise no one will be able to compile.... Please inform us when complete......I think you do a cvs add GUIAPI.PP Shane >>> "Michael A. Hess" 05/14 1:21 PM >>> Greetings, Unless I really screwed things up (I wouldn't be surprised) I have commited my changes to CVS. I have moved TApplication to forms.pp and removed applications.pp. The reason will be apparent if you look at the code. Application is automatically built for you so your main project files should look exactly like a Delphi project file. uses guiapi, forms; begin Application.Initialize; Application.CreateForm({formtype}, {form instance}); Application.Run; end; I have added Application.Terminate to the Quit menu item. I modified a small amount of main.pp to adjust TForm1 to use the new application. This meant adding a TForm1.Create. I have also started moving GUI specific API calls into the unit guiapi.pp. In the case of lazarus this will be use for gtk+ calls but in the future a qt specific, or gnome specific guiapi.pp file could be created and then an fpc program could be linked with those libraries. As we make those kind of modifications things like TApplication and TForm should probably be moved into the vcl instead of being in lazarus. I will be doing more to TApplication in the furture to store information about the various Forms under its control. I used {$mode objfpc} to get it to compile since {$mode delphi} really started messing things up. -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael A. Hess
to Cliff Baeseman: I can't wait to see it this evening... Sounds like it is a little cleaner. I suppose we…
Cliff Baeseman wrote
Sounds like it is a little cleaner. I suppose we can move it to a vcl directory once we get most of the bugs worked out of it..

That would be the hope but it has to have more disassociation with gtk before we do that. But it's a start. :-)

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael A. Hess

Greetings,

Unless I really screwed things up (I wouldn't be surprised) I have commited my changes to CVS. I have moved TApplication to forms.pp and removed applications.pp. The reason will be apparent if you look at the code. Application is automatically built for you so your main project files should look exactly like a Delphi project file.

uses guiapi, forms;
begin
   Application.Initialize;
   Application.CreateForm({formtype}, {form instance});
   Application.Run;
end;

I have added Application.Terminate to the Quit menu item.

I modified a small amount of main.pp to adjust TForm1 to use the new application. This meant adding a TForm1.Create. I have also started moving GUI specific API calls into the unit guiapi.pp. In the case of lazarus this will be use for gtk+ calls but in the future a qt specific, or gnome specific guiapi.pp file could be created and then an fpc program could be linked with those libraries.

As we make those kind of modifications things like TApplication and TForm should probably be moved into the vcl instead of being in lazarus.

I will be doing more to TApplication in the furture to store information about the various Forms under its control.

I used {$mode objfpc} to get it to compile since {$mode delphi} really started messing things up.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Cliff Baeseman
to Michael A. Hess: Right you are. I remembered to remove application.pp but forgot to add guiapi.pp. Sorry.…

Looks like I am going to have some catching up to do tonight.

Looking forward to adding a compile button this weekend....

Cliff

Earlier message 37 lines
-----Original Message----- From: Michael A. Hess Sent: Friday, May 14, 1999 3:50 PM To: Subject: Re: [lazarus] New stuff commited Shane Miller wrote: > > You forgot to commit (add) GUIAPI. HAve to do that otherwise no one > will be able to compile.... > > Please inform us when complete......I think you do a cvs add GUIAPI.PP Right you are. I remembered to remove application.pp but forgot to add guiapi.pp. Sorry. It's done. By the way Shane I discovered some of why it is stopping during load. It has to do with your using fmEditor instead of Self. In TEditor.OpenFile you attempt to call a TMemo.Create(fmEditor) but you declared a local variable called fmEditor and never initialized. When I use Self it works and goes on a little farther, the windows stays open but TMemo seems to crap out somehow and never loads the actual content or at least never puts it in the windows. -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

You forgot to commit (add) GUIAPI. HAve to do that otherwise no one will be able to compile....

Please inform us when complete......I think you do a cvs add GUIAPI.PP

Shane

>> "Michael A. Hess" 05/14 1:21 PM >>>

Greetings,

Unless I really screwed things up (I wouldn't be surprised) I have commited my changes to CVS. I have moved TApplication to forms.pp and removed applications.pp. The reason will be apparent if you look at the code. Application is automatically built for you so your main project files should look exactly like a Delphi project file.

uses guiapi, forms;
begin
   Application.Initialize;
   Application.CreateForm({formtype}, {form instance});
   Application.Run;
end;

I have added Application.Terminate to the Quit menu item.

I modified a small amount of main.pp to adjust TForm1 to use the new application. This meant adding a TForm1.Create. I have also started moving GUI specific API calls into the unit guiapi.pp. In the case of lazarus this will be use for gtk+ calls but in the future a qt specific, or gnome specific guiapi.pp file could be created and then an fpc program could be linked with those libraries.

As we make those kind of modifications things like TApplication and TForm should probably be moved into the vcl instead of being in lazarus.

I will be doing more to TApplication in the furture to store information about the various Forms under its control.

I used {$mode objfpc} to get it to compile since {$mode delphi} really started messing things up.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Cliff Baeseman
to Michael A. Hess: That would be the hope but it has to have more disassociation with gtk before we do that.…

Did you commit that gui file! you will have to do a cvs add and then a cvs commit...

cliff

Earlier message 25 lines
-----Original Message----- From: Michael A. Hess Sent: Friday, May 14, 1999 3:11 PM To: Subject: Re: [lazarus] New stuff commited Cliff Baeseman wrote: > > Sounds like it is a little cleaner. I suppose we can move it to a vcl > directory once we get most of the bugs worked out of it.. That would be the hope but it has to have more disassociation with gtk before we do that. But it's a start. :-) -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Cliff Baeseman
to Michael A. Hess: Unless I really screwed things up (I wouldn't be surprised) I have commited my changes to…

I can't wait to see it this evening...

Sounds like it is a little cleaner. I suppose we can move it to a vcl directory once we get most of
the bugs worked out of it..

Cliff

Earlier message 51 lines
-----Original Message----- From: Michael A. Hess Sent: Friday, May 14, 1999 1:20 PM To: Lazarus-List Subject: [lazarus] New stuff commited Greetings, Unless I really screwed things up (I wouldn't be surprised) I have commited my changes to CVS. I have moved TApplication to forms.pp and removed applications.pp. The reason will be apparent if you look at the code. Application is automatically built for you so your main project files should look exactly like a Delphi project file. uses guiapi, forms; begin Application.Initialize; Application.CreateForm({formtype}, {form instance}); Application.Run; end; I have added Application.Terminate to the Quit menu item. I modified a small amount of main.pp to adjust TForm1 to use the new application. This meant adding a TForm1.Create. I have also started moving GUI specific API calls into the unit guiapi.pp. In the case of lazarus this will be use for gtk+ calls but in the future a qt specific, or gnome specific guiapi.pp file could be created and then an fpc program could be linked with those libraries. As we make those kind of modifications things like TApplication and TForm should probably be moved into the vcl instead of being in lazarus. I will be doing more to TApplication in the furture to store information about the various Forms under its control. I used {$mode objfpc} to get it to compile since {$mode delphi} really started messing things up. -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Cliff Baeseman
to Cliff Baeseman

I just commited a whole bunch of changes to the CVS. You will have to have to check out GTK and recompile it before it will compile.

Cliff

"Michael A. Hess" wrote 26 lines
Sergio Kessler wrote: > > sorry to be dense, but... > > why not move this files to fcl/gui/gtk ? When we are done and have the bugs worked out of it we probably will. At that point it will become part of the fcl. That includes all the stuff such as TForm, TControl, etc. etc. However, right now we are working on lazarus. As we have said in previous emails what you are suggesting is the ultimate goal but first we need to try and get it working and get an IDE working and then we can really move things around. We'll get there, be patient. :-) -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

Notice that when you open the compiler form or the source form they sometimes don't appear right away? That's because your not setting the top and left. It's either saet off the screen, or during the show they aren't valid and therefore aren't shown. Make sure you set them. They should be set in TFORM to Left := 1 and Top := 1 or something.....

I am back to working on teditor...yippee!!! :-(

Shane

Earlier message 50 lines
-----Original Message----- From: Cliff Baeseman To: Date: Saturday, May 15, 1999 4:52 PM Subject: [lazarus] Commiting some major changes... >I just commited a whole bunch of changes to the CVS. You will have to have >to check out GTK and recompile it before it will compile. > >Cliff > > > > > >"Michael A. Hess" wrote: > >> Sergio Kessler wrote: >> > >> > sorry to be dense, but... >> > >> > why not move this files to fcl/gui/gtk ? >> >> When we are done and have the bugs worked out of it we probably will. At >> that point it will become part of the fcl. That includes all the stuff >> such as TForm, TControl, etc. etc. >> >> However, right now we are working on lazarus. As we have said in >> previous emails what you are suggesting is the ultimate goal but first >> we need to try and get it working and get an IDE working and then we can >> really move things around. >> >> We'll get there, be patient. :-) >> -- >> ==== Programming my first best destiny! ==== >> >> Michael A. Hess Miracle Concepts, Inc. >> http://www.miraclec.com >> >> _________________________________________________________________ >> To unsubscribe: mail with >> "unsubscribe" as the Subject >> archives at http://www.miraclec.com/list_archives/lazarus > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Michael A. Hess
to Cliff Baeseman: I can't wait to see it this evening... Sounds like it is a little cleaner. I suppose we…
Sergio Kessler wrote
sorry to be dense, but... why not move this files to fcl/gui/gtk ?

When we are done and have the bugs worked out of it we probably will. At that point it will become part of the fcl. That includes all the stuff such as TForm, TControl, etc. etc.

However, right now we are working on lazarus. As we have said in previous emails what you are suggesting is the ultimate goal but first we need to try and get it working and get an IDE working and then we can really move things around.

We'll get there, be patient. :-)

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Sergio Kessler
to Cliff Baeseman: I can't wait to see it this evening... Sounds like it is a little cleaner. I suppose we…
Sounds like it is a little cleaner. I suppose we can move it to a vcl directory once we get most of the bugs worked out of it..

sorry to be dense, but...

why not move this files to fcl/gui/gtk ?

I've done this and the _only_ change needed is to replace the line

NEEDUNITDIR=../fcl/$(OS_TARGET) ../gtk

by

NEEDUNITDIR=../fcl/$(OS_TARGET) ../gtk ../fcl/gui/gtk

in the makefile, and that's all.

Sergio

Reply by email