Sign in Join

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

Mailing lists / lazarus / 1999-06

Editor.pp Line 337

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Baeseman, Cliff

Shane,

I run into the same error you are getting also. I fought with it for about 3 hours last
night.

I removed all of the writeln's in the repeat loop and it crashes while bringing up a file.
I then put them back in and removed them one at a time. If I do something like this
in the repeat it keeps working mystring := InttoStr(I) it will keep working.

It is sort of like inttostr is fixing something. How it is I do not know. I have even run
gdb against it but it just says the code seg'd at the end of the forms unit.

Cliff

Earlier message 154 lines
-----Original Message----- From: Shane Miller Sent: Thursday, June 03, 1999 8:12 AM To: Subject: Re: [lazarus] Editor.pp Line 337 Thanks for trying it out Payne (is this your last name or first?) Your results with the {$H+} are exectly what I get. Not sure why or how that effects the dialog box being displayed, but it does. I pulled the new version of CVS and when I run a make cycle I get... execvp: /opt/fpc/compiler/ppc1: Permission Denied I'm logged in as a regular user but did a "su -" and gave the super user password when I compiled this. I also tried without the "su -" and it still gave me the same error... Shane >>> Payne Thomas E CNIN 06/02 4:31 PM >>> Shane, Here we go again. It works for me... I comment out 337, it works. I comment out 339,340, it works. Is it fixed for you? With the {H+} inserted, it does behave different. Before {H+}, a blank window appears when FILE OPEN is selected before a file is chosen. When a file is chosen, the colorized version of the file is displayed in this window. With {H+}, no blank window, no display of the file chosen. Sound familiar? Tom > -----Original Message----- > From: Shane Miller > Sent: Tuesday, June 01, 1999 9:24 AM > To: > Subject: Re: [lazarus] Setup > > The latest version of LAzarus is in CVS. Please pull it and take a look. > I still have that problem if you comment out line 337 it'll crash but with > it in it seems to work. > > Here's something interesting though. Run it and open a file. You'll see > a TON of output in your terminal window. Once you open something, close > lazarus and open editor.pp and put {$H+} in right before the {$mode > objfpc} line and re-run it. Try to open something. Did it work? > > Shane > > > >>> Cliff Baeseman 05/31 10:19 PM >>> > Yep I am running both KDE and GNOME. All of our stuff is built on top of > GTK+ > that means that it does not require either desktop to run but it will > run equally well on both. > > Glade is a visual forms designer written in C and is a full up and running > visual layout tool. Glade saves it's project file in XML format. I am > hammering away at a XML parser built wit the unit scan.pp. The idea is to > integrate our IDE with glade. This should allow us to get to rad status > very > quickly indeed. The layout engine is a part that would take us many moons > of > programming but if I can incorporate glade we should be able to do > something > substantial very quickly. > > > BTW I run the IDE in a different directory than the source that I am > compiling. I have a shortcut to the build IDE. Once I feel it is stable I > copy it to my running directory. The stuff that I am doing will be > plugged > into a event handler so feel free to make changes as you go. > > The GTK site ww.gtk.org will be of much help. > > > I can send you a binary rpm for glade if you wish it is around 600k... > > Cliff > > > Curtis White wrote: > > > That sounds fine with me. I will work on these things. > > > > What is glade? I have seen you guys talking about it, but that is the > first > > I have heard of it. > > > > Also, has anyone ever discussed supporting KDE (in addition to GTK) with > > FPC? Just curious since KDE seems to be pretty popular. > > > > Curtis > > > > On 01-Jun-99 Cliff Baeseman wrote: > > > Ok here goes. > > > > > > If you do not mind or wish to work on it we need a good way to do the > > > configuration startup and etc on the IDE that I sent you. In the > > > ideinit is > > > the stuff I wrote so far to save application settings for the IDE. We > > > need > > > to be able to save the stuff unit search paths, library paths and we > > > also > > > need to come up with a initial project file. The project file will > > > contain > > > the stuff such as the compiler settings etc. If you can assume this > > > stuff I > > > will work on the XML parser so that we can use glade output to build > > > pascal > > > source. The unit scan.pp is a lexical tokenizer. I use it to color the > > > source > > > and plan on using it for the XML parser. As for who works on what it > is > > > pretty loose. A bunch of the guys are working on a class structure > that > > > wraps > > > GTK. I plan on using that library to build the source from the Glade > > > XML. > > > You will also have to build a compiler setting window to configure the > > > paths > > > etc. If you do not wish to work on that just let me know and we can > > > find > > > other things for you.... > > > > > > > _________________________________________________________________ > > 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 > > _________________________________________________________________ > 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 _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Payne Thomas E CNIN

Shane,
Here we go again. It works for me... I comment out 337, it works. I comment out 339,340, it works. Is it fixed for you?

With the {H+} inserted, it does behave different. Before {H+}, a blank window appears when FILE OPEN is selected before a file is chosen. When a file is chosen, the colorized version of the file is displayed in this window. With {H+}, no blank window, no display of the file chosen. Sound familiar?

Tom

Show quoted text 109 lines
-----Original Message----- From: Shane Miller Sent: Tuesday, June 01, 1999 9:24 AM To: Subject: Re: [lazarus] Setup The latest version of LAzarus is in CVS. Please pull it and take a look. I still have that problem if you comment out line 337 it'll crash but with it in it seems to work. Here's something interesting though. Run it and open a file. You'll see a TON of output in your terminal window. Once you open something, close lazarus and open editor.pp and put {$H+} in right before the {$mode objfpc} line and re-run it. Try to open something. Did it work? Shane >>> Cliff Baeseman 05/31 10:19 PM >>> Yep I am running both KDE and GNOME. All of our stuff is built on top of GTK+ that means that it does not require either desktop to run but it will run equally well on both. Glade is a visual forms designer written in C and is a full up and running visual layout tool. Glade saves it's project file in XML format. I am hammering away at a XML parser built wit the unit scan.pp. The idea is to integrate our IDE with glade. This should allow us to get to rad status very quickly indeed. The layout engine is a part that would take us many moons of programming but if I can incorporate glade we should be able to do something substantial very quickly. BTW I run the IDE in a different directory than the source that I am compiling. I have a shortcut to the build IDE. Once I feel it is stable I copy it to my running directory. The stuff that I am doing will be plugged into a event handler so feel free to make changes as you go. The GTK site ww.gtk.org will be of much help. I can send you a binary rpm for glade if you wish it is around 600k... Cliff Curtis White wrote: > That sounds fine with me. I will work on these things. > > What is glade? I have seen you guys talking about it, but that is the first > I have heard of it. > > Also, has anyone ever discussed supporting KDE (in addition to GTK) with > FPC? Just curious since KDE seems to be pretty popular. > > Curtis > > On 01-Jun-99 Cliff Baeseman wrote: > > Ok here goes. > > > > If you do not mind or wish to work on it we need a good way to do the > > configuration startup and etc on the IDE that I sent you. In the > > ideinit is > > the stuff I wrote so far to save application settings for the IDE. We > > need > > to be able to save the stuff unit search paths, library paths and we > > also > > need to come up with a initial project file. The project file will > > contain > > the stuff such as the compiler settings etc. If you can assume this > > stuff I > > will work on the XML parser so that we can use glade output to build > > pascal > > source. The unit scan.pp is a lexical tokenizer. I use it to color the > > source > > and plan on using it for the XML parser. As for who works on what it is > > pretty loose. A bunch of the guys are working on a class structure that > > wraps > > GTK. I plan on using that library to build the source from the Glade > > XML. > > You will also have to build a compiler setting window to configure the > > paths > > etc. If you do not wish to work on that just let me know and we can > > find > > other things for you.... > > > > _________________________________________________________________ > 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 _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

I messed up my system at work (can no longer log in as root) :-) I'm currently downloading Mandrake 6.0 and am going to burn a CD and load that. Then I will be back.......that's not a threat, it's a promise.. :-)

If anyone gets a chance, can csomeone else see if removing line 337 in editor.pp now works with the latest FPC from CVS?

Thanks
Shane

>> "Baeseman, Cliff" 06/03 9:17 AM >>>

Shane,

I run into the same error you are getting also. I fought with it for about 3 hours last
night.

I removed all of the writeln's in the repeat loop and it crashes while bringing up a file.
I then put them back in and removed them one at a time. If I do something like this
in the repeat it keeps working mystring := InttoStr(I) it will keep working.

It is sort of like inttostr is fixing something. How it is I do not know. I have even run
gdb against it but it just says the code seg'd at the end of the forms unit.

Cliff

Earlier message 159 lines
-----Original Message----- From: Shane Miller Sent: Thursday, June 03, 1999 8:12 AM To: Subject: Re: [lazarus] Editor.pp Line 337 Thanks for trying it out Payne (is this your last name or first?) Your results with the {$H+} are exectly what I get. Not sure why or how that effects the dialog box being displayed, but it does. I pulled the new version of CVS and when I run a make cycle I get... execvp: /opt/fpc/compiler/ppc1: Permission Denied I'm logged in as a regular user but did a "su -" and gave the super user password when I compiled this. I also tried without the "su -" and it still gave me the same error... Shane >>> Payne Thomas E CNIN 06/02 4:31 PM >>> Shane, Here we go again. It works for me... I comment out 337, it works. I comment out 339,340, it works. Is it fixed for you? With the {H+} inserted, it does behave different. Before {H+}, a blank window appears when FILE OPEN is selected before a file is chosen. When a file is chosen, the colorized version of the file is displayed in this window. With {H+}, no blank window, no display of the file chosen. Sound familiar? Tom > -----Original Message----- > From: Shane Miller > Sent: Tuesday, June 01, 1999 9:24 AM > To: > Subject: Re: [lazarus] Setup > > The latest version of LAzarus is in CVS. Please pull it and take a look. > I still have that problem if you comment out line 337 it'll crash but with > it in it seems to work. > > Here's something interesting though. Run it and open a file. You'll see > a TON of output in your terminal window. Once you open something, close > lazarus and open editor.pp and put {$H+} in right before the {$mode > objfpc} line and re-run it. Try to open something. Did it work? > > Shane > > > >>> Cliff Baeseman 05/31 10:19 PM >>> > Yep I am running both KDE and GNOME. All of our stuff is built on top of > GTK+ > that means that it does not require either desktop to run but it will > run equally well on both. > > Glade is a visual forms designer written in C and is a full up and running > visual layout tool. Glade saves it's project file in XML format. I am > hammering away at a XML parser built wit the unit scan.pp. The idea is to > integrate our IDE with glade. This should allow us to get to rad status > very > quickly indeed. The layout engine is a part that would take us many moons > of > programming but if I can incorporate glade we should be able to do > something > substantial very quickly. > > > BTW I run the IDE in a different directory than the source that I am > compiling. I have a shortcut to the build IDE. Once I feel it is stable I > copy it to my running directory. The stuff that I am doing will be > plugged > into a event handler so feel free to make changes as you go. > > The GTK site ww.gtk.org will be of much help. > > > I can send you a binary rpm for glade if you wish it is around 600k... > > Cliff > > > Curtis White wrote: > > > That sounds fine with me. I will work on these things. > > > > What is glade? I have seen you guys talking about it, but that is the > first > > I have heard of it. > > > > Also, has anyone ever discussed supporting KDE (in addition to GTK) with > > FPC? Just curious since KDE seems to be pretty popular. > > > > Curtis > > > > On 01-Jun-99 Cliff Baeseman wrote: > > > Ok here goes. > > > > > > If you do not mind or wish to work on it we need a good way to do the > > > configuration startup and etc on the IDE that I sent you. In the > > > ideinit is > > > the stuff I wrote so far to save application settings for the IDE. We > > > need > > > to be able to save the stuff unit search paths, library paths and we > > > also > > > need to come up with a initial project file. The project file will > > > contain > > > the stuff such as the compiler settings etc. If you can assume this > > > stuff I > > > will work on the XML parser so that we can use glade output to build > > > pascal > > > source. The unit scan.pp is a lexical tokenizer. I use it to color the > > > source > > > and plan on using it for the XML parser. As for who works on what it > is > > > pretty loose. A bunch of the guys are working on a class structure > that > > > wraps > > > GTK. I plan on using that library to build the source from the Glade > > > XML. > > > You will also have to build a compiler setting window to configure the > > > paths > > > etc. If you do not wish to work on that just let me know and we can > > > find > > > other things for you.... > > > > > > > _________________________________________________________________ > > 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 > > _________________________________________________________________ > 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 _________________________________________________________________ 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

Shane Miller

I have had much trouble getting the newest FPC from CVS to work with the newest mandrake linuz distribution.

I downloaded the 0.99.10 version of the compiler after doing the CVS checkout and it simply hangs during the second make cycle. Very annoying. What I'll try is to pull a snapshot and give that a try and see if I can compile then. Shane

Reply by email

Shane Miller

Thanks for trying it out Payne (is this your last name or first?) Your results with the {$H+} are exectly what I get. Not sure why or how that effects the dialog box being displayed, but it does.

I pulled the new version of CVS and when I run a make cycle I get...

execvp: /opt/fpc/compiler/ppc1: Permission Denied

I'm logged in as a regular user but did a "su -" and gave the super user password when I compiled this. I also tried without the "su -" and it still gave me the same error...

Shane

>> Payne Thomas E CNIN 06/02 4:31 PM >>>

Shane,
Here we go again. It works for me... I comment out 337, it works. I comment out 339,340, it works. Is it fixed for you?

With the {H+} inserted, it does behave different. Before {H+}, a blank window appears when FILE OPEN is selected before a file is chosen. When a file is chosen, the colorized version of the file is displayed in this window. With {H+}, no blank window, no display of the file chosen. Sound familiar?

Tom

Show quoted text 109 lines
-----Original Message----- From: Shane Miller Sent: Tuesday, June 01, 1999 9:24 AM To: Subject: Re: [lazarus] Setup The latest version of LAzarus is in CVS. Please pull it and take a look. I still have that problem if you comment out line 337 it'll crash but with it in it seems to work. Here's something interesting though. Run it and open a file. You'll see a TON of output in your terminal window. Once you open something, close lazarus and open editor.pp and put {$H+} in right before the {$mode objfpc} line and re-run it. Try to open something. Did it work? Shane >>> Cliff Baeseman 05/31 10:19 PM >>> Yep I am running both KDE and GNOME. All of our stuff is built on top of GTK+ that means that it does not require either desktop to run but it will run equally well on both. Glade is a visual forms designer written in C and is a full up and running visual layout tool. Glade saves it's project file in XML format. I am hammering away at a XML parser built wit the unit scan.pp. The idea is to integrate our IDE with glade. This should allow us to get to rad status very quickly indeed. The layout engine is a part that would take us many moons of programming but if I can incorporate glade we should be able to do something substantial very quickly. BTW I run the IDE in a different directory than the source that I am compiling. I have a shortcut to the build IDE. Once I feel it is stable I copy it to my running directory. The stuff that I am doing will be plugged into a event handler so feel free to make changes as you go. The GTK site ww.gtk.org will be of much help. I can send you a binary rpm for glade if you wish it is around 600k... Cliff Curtis White wrote: > That sounds fine with me. I will work on these things. > > What is glade? I have seen you guys talking about it, but that is the first > I have heard of it. > > Also, has anyone ever discussed supporting KDE (in addition to GTK) with > FPC? Just curious since KDE seems to be pretty popular. > > Curtis > > On 01-Jun-99 Cliff Baeseman wrote: > > Ok here goes. > > > > If you do not mind or wish to work on it we need a good way to do the > > configuration startup and etc on the IDE that I sent you. In the > > ideinit is > > the stuff I wrote so far to save application settings for the IDE. We > > need > > to be able to save the stuff unit search paths, library paths and we > > also > > need to come up with a initial project file. The project file will > > contain > > the stuff such as the compiler settings etc. If you can assume this > > stuff I > > will work on the XML parser so that we can use glade output to build > > pascal > > source. The unit scan.pp is a lexical tokenizer. I use it to color the > > source > > and plan on using it for the XML parser. As for who works on what it is > > pretty loose. A bunch of the guys are working on a class structure that > > wraps > > GTK. I plan on using that library to build the source from the Glade > > XML. > > You will also have to build a compiler setting window to configure the > > paths > > etc. If you do not wish to work on that just let me know and we can > > find > > other things for you.... > > > > _________________________________________________________________ > 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 _________________________________________________________________ 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