Sign in Join

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

Mailing lists / lazarus / 2002-08

CVS updates

34 messages · 11 people ·

Reply by email Subscribe to this list Your subscription

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

Michal Bukovjan
to Michal Bukovjan: I committed some updates today: - make Anchors work again (whoever broke it should rest…
David Creelman wrote 48 lines
Hi, I don't know if this is related to this fix or not. It may be something else. I've been having some issues with getting an OnClick to work with a TButton and I got a suggestion to edit my paths statement to point correctly to the source for TButton, etc. In the process of doing this I went to General Options to try and change the source path. In the process of doing this lazarus crashed Here is the trace from startup to crash. lazarus]$ lazarus Note: miscellaneous options file not found - using defaults Note: codetools config file not found - using defaults TMainIDE.DoNewProject A TMainIDE.DoNewEditorFile A NewFilename= TPascalParserTool.BuildTree B OnlyInterfaceNeeded=FALSE project1.lpr [TCustomFormEditor.CreateComponent] Class='TFORM' TPascalParserTool.BuildTree B OnlyInterfaceNeeded=FALSE project1.lpr TMainIDE.DoNewUnit end unit1.pp TMainIDE.DoNewProject end 0 An unhandled exception occurred at 0x081BB3F5 : Access violation 0x081BB3F5 UPDATELCLRECT, line 306 of gtkobject.inc 0x4553004C main, line 291 of gtkproc.incgtkcallback.inc An unhandled exception occurred at 0x082156CA : Access violation 0x082156CA forms.pp - finalization section [TMainIDE.Destroy] A An unhandled exception occurred at 0x0816CD9F : Access violation 0x0816CD9F TAVLTREENODEMEMMANAGER__DISPOSENODE, line 994 of avl_tree.pas 0xBFFFE77C main, line 291 of gtkproc.incgtkcallback.inc 0x453B0C45 main, line 291 of gtkproc.incgtkcallback.inc An unhandled exception occurred at 0xBFFF73BD : Access violation 0xBFFF73BD main, line 291 of gtkproc.incgtkcallback.inc 0x00000001 0x08352CAC main, line 291 of gtkproc.incgtkcallback.inc hope this helps.

Don't know... Just tried it and it works for me... What exactly you do?

Judging from the error output, this should be unrelated to my changes (i.e. I did not touch anything in those areas).

Also, make sure you "make clean; make" after an update.

Michal

Reply by email

Mattias Gaertner
to Michal Bukovjan: I committed some updates today: - make Anchors work again (whoever broke it should rest…
Show quoted text 13 lines
David Creelman wrote: >Hi, > >I don't know if this is related to this fix or not. It may be something >else. > >I've been having some issues with getting an OnClick to work with a >TButton and I got a suggestion to edit my paths statement to point >correctly to the source for TButton, etc. In the process of doing this I >went to General Options to try and change the source path. In the >process of doing this lazarus crashed Here is the trace from startup to >crash.

I doubt, that this bug has something to do with the fpc source path.

>An unhandled exception occurred at 0x081BB3F5 : >Access violation > 0x081BB3F5 UPDATELCLRECT, line 306 of gtkobject.inc

That means, that a Widget has been resized, which is unknown to the gtk-interface. Not very helpful.

What exactly you do?
Judging from the error output, this should be unrelated to my changes (i.e. I did not touch anything in those areas). Also, make sure you "make clean; make" after an update.

Always a good idea.

Mattias

Reply by email

Michal Bukovjan

Hi,

I commited the following changes:

- fixes for multiline TLabel (GTK)
- therefore, much simplified and prettified Messageboxen.

Michal

Reply by email

Michal Bukovjan

Hi,

I committed some updates today:

- make Anchors work again (whoever broke it should rest in shame)
- published Anchors property in a number of places (most standard controls). Feel free to publish this for any other control.
- SelectAll & the likes for TEdit and TComboBox
- hopefully fixed TComboBox focus behaviour in dialogs
- publish and make work BorderStyle for forms (especially bsDialog)

This resulted in changes to FindReplace dialog

- prettify, make it a dialog, therefore remove resizing code
- preselect the word in Text to Find so that it can be easily replaced by something else
- switch back to combo boxes, prefill history in drop down lists

Michal

Reply by email

David Creelman
to Michal Bukovjan

Hi Mattias, Michal,

This is not related to the fpc source path. It just showed up when I was trying to change the path.

I always do the following : cvs update; make clean all

Cheers
DC

Mattias Gaertner wrote 45 lines
On Fri, 30 Aug 2002 14:23:59 +0200 Michal Bukovjan wrote: > David Creelman wrote: > > >Hi, > > > >I don't know if this is related to this fix or not. It may be something > >else. > > > >I've been having some issues with getting an OnClick to work with a > >TButton and I got a suggestion to edit my paths statement to point > >correctly to the source for TButton, etc. In the process of doing this I > >went to General Options to try and change the source path. In the > >process of doing this lazarus crashed Here is the trace from startup to > >crash. I doubt, that this bug has something to do with the fpc source path. > >An unhandled exception occurred at 0x081BB3F5 : > >Access violation > > 0x081BB3F5 UPDATELCLRECT, line 306 of gtkobject.inc That means, that a Widget has been resized, which is unknown to the gtk-interface. Not very helpful. > What exactly you do? > Judging from the error output, this should be unrelated to my changes > (i.e. I did not touch anything in those areas). > > Also, make sure you "make clean; make" after an update. Always a good idea. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Michal Bukovjan: I committed some updates today: - make Anchors work again (whoever broke it should rest…
I committed some updates today: - preselect the word in Text to Find so that it can be easily replaced by something else

Bug: Going through the history sometimes selects the word, sometimes not.

- switch back to combo boxes, prefill history in drop down lists

Bug: If you type a word 'BUG' and a word with the same letters, but different case ('bug') already exists in the history, the word is automatically changed to the word in the history 'bug'.

Mattias

Reply by email

David Creelman
to Michal Bukovjan: I committed some updates today: - make Anchors work again (whoever broke it should rest…

Hi,

I don't know if this is related to this fix or not. It may be something else.

I've been having some issues with getting an OnClick to work with a TButton and I got a suggestion to edit my paths statement to point correctly to the source for TButton, etc. In the process of doing this I went to General Options to try and change the source path. In the process of doing this lazarus crashed Here is the trace from startup to crash.

lazarus]$ lazarus
Note: miscellaneous options file not found - using defaults Note: codetools config file not found - using defaults TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
TPascalParserTool.BuildTree B OnlyInterfaceNeeded=FALSE project1.lpr [TCustomFormEditor.CreateComponent] Class='TFORM'
TPascalParserTool.BuildTree B OnlyInterfaceNeeded=FALSE project1.lpr TMainIDE.DoNewUnit end unit1.pp
TMainIDE.DoNewProject end 0
An unhandled exception occurred at 0x081BB3F5 :
Access violation
0x081BB3F5 UPDATELCLRECT, line 306 of gtkobject.inc 0x4553004C main, line 291 of gtkproc.incgtkcallback.inc An unhandled exception occurred at 0x082156CA :
Access violation
0x082156CA

forms.pp - finalization section
[TMainIDE.Destroy] A
An unhandled exception occurred at 0x0816CD9F :
Access violation
0x0816CD9F TAVLTREENODEMEMMANAGER__DISPOSENODE, line 994 of avl_tree.pas
0xBFFFE77C main, line 291 of gtkproc.incgtkcallback.inc 0x453B0C45 main, line 291 of gtkproc.incgtkcallback.inc

An unhandled exception occurred at 0xBFFF73BD :
Access violation
0xBFFF73BD main, line 291 of gtkproc.incgtkcallback.inc 0x00000001
0x08352CAC main, line 291 of gtkproc.incgtkcallback.inc

hope this helps.

Cheers
DC

Michal Bukovjan wrote 24 lines
Hi, I committed some updates today: - make Anchors work again (whoever broke it should rest in shame) - published Anchors property in a number of places (most standard controls). Feel free to publish this for any other control. - SelectAll & the likes for TEdit and TComboBox - hopefully fixed TComboBox focus behaviour in dialogs - publish and make work BorderStyle for forms (especially bsDialog) This resulted in changes to FindReplace dialog - prettify, make it a dialog, therefore remove resizing code - preselect the word in Text to Find so that it can be easily replaced by something else - switch back to combo boxes, prefill history in drop down lists Michal _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Marco van de Voort
to Mattias Gaertner: On Thu, 05 Sep 2002 18:27:56 +0200 1. Add a checkbox to the environment options to…
Show quoted text 13 lines
> > Playing with default extensions, I recently switched from .pas to .pp. > So in my /tmp directory, both unit1.pas and unit1.pp existed, unit1.pas > was obsolete, but still there, and when compiling, unit1.pas took > precedence over unit1.pp - therefore this error. > > So question is, how to solve this? This will potentially confuse users... 1. Add a checkbox to the environment options to automatically remove ambigious pascal files on save. 2. Before compiling, all project files are checked for ambigious files and warnings are added to the messages. This is quite easy, I will do that ...

Note that FPC prefers pp over pas!

Reply by email

Tony Maro
to Michal Bukovjan: just commited the following: - prettified TStrings property editor - multiline caption…

Perhaps I just get all the weird errors, but...

Has anyone succeeded in using the mysql unit from a graphical application in Lazarus? I can compile a console application that uses mysql easily enough, but if I have a form displayed and use the exact same code the program dumps on the mysql_connect call (but only if a connect is successful... if I put in an invalid username or password it doesn't die.)

Thanks,

Tony

Reply by email

Michael A. Hess
to Michal Bukovjan: just commited the following: - prettified TStrings property editor - multiline caption…
Tony Maro wrote 8 lines
Perhaps I just get all the weird errors, but... Has anyone succeeded in using the mysql unit from a graphical application in Lazarus? I can compile a console application that uses mysql easily enough, but if I have a form displayed and use the exact same code the program dumps on the mysql_connect call (but only if a connect is successful... if I put in an invalid username or password it doesn't die.)

I haven't tired it with a GUI app. but I did have problems this weekend when trying to use the MySQL unit. It would constantly crash on me when trying to close the connection not when opening as you experienced. I discovered that when I use the example code but insure that the variables that it wants to use are global but not local to the procedure it would work OK. However, while it does now work I do see one output value that is corrupted which is a time value which doesn't effect things. This time value only gets corrupted when I run the procedure with the MySQL code.

So just to assure you, yes it appears at least from my perspective that something is amiss in the MySQL unit.

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

Reply by email

Andrew Johnson
Show quoted text 5 lines
1. Add a checkbox to the environment options to automatically remove ambigious pascal files on save. 2. Before compiling, all project files are checked for ambigious files and warnings are added to the messages.

You should probably make sure that you don't just delete, maybe move to an 'ambigious' folder or rename instead, so that a stupid mistake doesn't mean loss of work persay. Maybe add a radio group and an edit box instead, along the lines of:

"Ambigious File:"

"Just Warn on Compile"

"Move to a Sub-Directory, and Hint" "Sub-Directory Name :"

"Delete, and Warn"

I know I've done similarly stupid renaming, and I would prefer to, by default, back up in a situation like that.

Andrew

_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com

Reply by email

Michael A. Hess
to Michael Van Canneyt: The mysql unit as provided with FPC 1.0.6 works only with version 3.22 of MySQL. If you…
Michael Van Canneyt wrote 10 lines
The mysql unit as provided with FPC 1.0.6 works only with version 3.22 of MySQL. If you want to use version 3.23, you should use the latest version of the mysql unit in CVS. As you will see, there are 3 versions: 3.22 3.23 4.0 Using the wrong version will result in crashes as described by you.

Ahhhhhhhhh. That 'splains it. I'm using 3.23. I will get the correct unit right away. Thanks.

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

Reply by email

Michael Van Canneyt
to Michael A. Hess: I haven't tired it with a GUI app. but I did have problems this weekend when trying to…
Michael A. Hess wrote 23 lines
Tony Maro wrote: > Perhaps I just get all the weird errors, but... > > Has anyone succeeded in using the mysql unit from a graphical > application in Lazarus? I can compile a console application that uses > mysql easily enough, but if I have a form displayed and use the exact > same code the program dumps on the mysql_connect call (but only if a > connect is successful... if I put in an invalid username or password it > doesn't die.) I haven't tired it with a GUI app. but I did have problems this weekend when trying to use the MySQL unit. It would constantly crash on me when trying to close the connection not when opening as you experienced. I discovered that when I use the example code but insure that the variables that it wants to use are global but not local to the procedure it would work OK. However, while it does now work I do see one output value that is corrupted which is a time value which doesn't effect things. This time value only gets corrupted when I run the procedure with the MySQL code. So just to assure you, yes it appears at least from my perspective that something is amiss in the MySQL unit.

The mysql unit as provided with FPC 1.0.6 works only with version 3.22 of MySQL.

If you want to use version 3.23, you should use the latest version of the mysql unit in CVS. As you will see, there are 3 versions: 3.22
3.23
4.0
Using the wrong version will result in crashes as described by you.

Michael.

Reply by email

Mattias Gaertner
to Michal Bukovjan: just commited the following: - prettified TStrings property editor - multiline caption…
Show quoted text 10 lines
BUGS: - TMemo will not stream. Try this. Start a new project, put a memo on a from, compile, run, a form will pop up without the memo. There is an error saying that: [DBGTGT] Form Stream "TFORM1" Signature=TPF0 [DBGTGT] Form streaming "TFORM1" error: Class TMEMO not found Hmmm.

Tried, but it worked.

TReader searches for classes in the published variables of the form. If for some reason the IDE fails to add 'Memo1: TMemo' to the source, you will get the above error, when running the program. The IDE has a component class database, so it can load forms without source.

Mattias

Reply by email

Michal Bukovjan
to Michal Bukovjan: I committed some updates today: - make Anchors work again (whoever broke it should rest…
Mattias Gaertner wrote 23 lines
On Fri, 30 Aug 2002 10:46:21 +0200 Michal Bukovjan wrote: >I committed some updates today: > >- preselect the word in Text to Find so that it can be easily replaced >by something else > > Bug: Going through the history sometimes selects the word, sometimes not. >- switch back to combo boxes, prefill history in drop down lists > > Bug: If you type a word 'BUG' and a word with the same letters, but different case ('bug') already exists in the history, the word is automatically changed to the word in the history 'bug'.

Both bugs should be fixed, providing that I reproduced them correctly.

Michal

Reply by email

Michal Bukovjan

Hi,

just commited the following:

- prettified TStrings property editor
- multiline caption property edit for TCustomLabel.Caption
- Mattias, is there a way how to have the elipsis box AND edit the property in OI? Delphi can do that.
- TMemo now has WordWrap and Scrollbars properties, default size synced with Delphi
- fix mutliline TLabel alignment
- removed TComboBox old string saving code, now Del/Backspace work as expected. The OnChange events are fired the same way as in Kylix (tested). If there is a case I miss, please contact me.

BUGS:

- TMemo: push mouse button inside, move mouse (possibly selecting text) and release mouse OUTSIDE will not release focus, i.e. in TStrings property dialog I cannot click on OK or Cancel button. I have to click into memo again, release the mouse inside the memo and then I can press the buttons.
- there are some sizing problems with TMemo when scrollbars are enabled.
- even if a from is showed modally, accelerators for main menu will work and fire events.

- TMemo will not stream. Try this. Start a new project, put a memo on a from, compile, run, a form will pop up without the memo. There is an error saying that:

[DBGTGT] Form Stream "TFORM1" Signature=TPF0
[DBGTGT] Form streaming "TFORM1" error: Class TMEMO not found

Hmmm.

Michal

Reply by email

Michal Bukovjan

Hi,

just comitted the following changes:

- properties are now alphabetically sorted in OI
- published TForm.BorderStyle instead of TForm.BorderWidth (what was that, anyway ?)
- combo boxes are now case sensitive (solves bugs reported by Mattias)
- working ShowAccelChar and FocusControl for TLabel (you can see it in Find Dialog, where it does not actually work due to broken modality)
- escaped ampersands (&&) are now possible in Captions
- standard bitbtns have now shortcuts (same as in Kylix)

Have fun,

Michal

Reply by email

Michal Bukovjan
to Michal Bukovjan: just commited the following: - prettified TStrings property editor - multiline caption…
Mattias Gaertner wrote 22 lines
On Thu, 05 Sep 2002 14:15:52 +0200 Michal Bukovjan wrote: >BUGS: > >- TMemo will not stream. Try this. Start a new project, put a memo on a >from, compile, run, a form will pop up without the memo. There is an >error saying that: > >[DBGTGT] Form Stream "TFORM1" Signature=TPF0 >[DBGTGT] Form streaming "TFORM1" error: Class TMEMO not found > >Hmmm. > > Tried, but it worked. TReader searches for classes in the published variables of the form. If for some reason the IDE fails to add 'Memo1: TMemo' to the source, you will get the above error, when running the program. The IDE has a component class database, so it can load forms without source.

Ha! I found the bug.

Playing with default extensions, I recently switched from .pas to .pp. So in my /tmp directory, both unit1.pas and unit1.pp existed, unit1.pas was obsolete, but still there, and when compiling, unit1.pas took precedence over unit1.pp - therefore this error.

So question is, how to solve this? This will potentially confuse users...

Michal

Reply by email

Mattias Gaertner
to Michal Bukovjan: just commited the following: - prettified TStrings property editor - multiline caption…
Show quoted text 12 lines
>Tried, but it worked. > >TReader searches for classes in the published variables of the form. If for some reason the IDE fails to add 'Memo1: TMemo' to the source, you will get the above error, when running the program. The IDE has a component class database, so it can load forms without source. > Ha! I found the bug. Playing with default extensions, I recently switched from .pas to .pp. So in my /tmp directory, both unit1.pas and unit1.pp existed, unit1.pas was obsolete, but still there, and when compiling, unit1.pas took precedence over unit1.pp - therefore this error. So question is, how to solve this? This will potentially confuse users...

1. Add a checkbox to the environment options to automatically remove ambigious pascal files on save.

2. Before compiling, all project files are checked for ambigious files and warnings are added to the messages.

This is quite easy, I will do that ...

Mattias

Reply by email

David Creelman
to Mattias Gaertner

Hi Guys,

Delphi actually gives an error on loading the form, something like 'TBlah not defined in TThisForm.pas' with a dialog offering yes, no, cancel (I think). Can something like this be done ? The user needs to know that the form and the pas are out of date, irrespective of .pp .pas issues.

Cheers
DC

Mattias Gaertner wrote 28 lines
On Thu, 5 Sep 2002 18:49:41 +0200 (CEST) (Marco van de Voort) wrote: > > > > > > Playing with default extensions, I recently switched from .pas to .pp. > > > So in my /tmp directory, both unit1.pas and unit1.pp existed, unit1.pas > > > was obsolete, but still there, and when compiling, unit1.pas took > > > precedence over unit1.pp - therefore this error. > > > > > > So question is, how to solve this? This will potentially confuse users... > > > > 1. Add a checkbox to the environment options to automatically remove ambigious pascal files on save. > > > > 2. Before compiling, all project files are checked for ambigious files and warnings are added to the messages. > > > > This is quite easy, I will do that ... > > Note that FPC prefers pp over pas! The IDE now deletes ambigious pascal files. If the filename is unit1.pp then it will delete unit1.pas and the other way around. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Tony Maro
to Michael Van Canneyt: The mysql unit as provided with FPC 1.0.6 works only with version 3.22 of MySQL. If you…
Michael Van Canneyt wrote 14 lines
The mysql unit as provided with FPC 1.0.6 works only with version 3.22 of MySQL. If you want to use version 3.23, you should use the latest version of the mysql unit in CVS. As you will see, there are 3 versions: 3.22 3.23 4.0 Using the wrong version will result in crashes as described by you. Michael.

Okay, so this is certainly more of a FPC question, but I'm gonna ask anyway. I've installed FPC 1.0.6 from the ELF binaries. I have also downloaded the CVS of FPC as well.

I'm clueless about how to rebuild everything from the CVS edition. Besides, all I really want is the mysql unit for 3.23. Is there a way I can just build the mysql unit for 3.23 and install it into my 1.0.6 installation? I tried running "make" from the mysql directory and it bombs looking for sysunixh.inc

OR, is it just possible to grab the mysql.pp, mysql_com.pp and mysql_version.pp files and place them inside my project so they get used instead of the distributed version?

Thanks,
Tony

Reply by email

Mattias Gaertner
to Andrew Johnson: On Date: Thu, 5 Sep 2002 18:44:05 +0200 You should probably make sure that you don't just…
Show quoted text 24 lines
On Date: Thu, 5 Sep 2002 18:44:05 +0200 "Mattias Gaertner" wrote: >1. Add a checkbox to the environment options to automatically remove >ambigious pascal files on save. >2. Before compiling, all project files are checked for ambigious files and >warnings are added to the messages. You should probably make sure that you don't just delete, maybe move to an 'ambigious' folder or rename instead, so that a stupid mistake doesn't mean loss of work persay. Maybe add a radio group and an edit box instead, along the lines of: "Ambigious File:" "Just Warn on Compile" "Move to a Sub-Directory, and Hint" "Sub-Directory Name :" "Delete, and Warn" I know I've done similarly stupid renaming, and I would prefer to, by default, back up in a situation like that.

Ok. Although I think, creating subdirs will not be used very often. I will add a rename option.

Mattias

Reply by email

Michael A. Hess
to Unknown author: Yes, this should work as well. In principle, you can simply take these 3 files, put them…
Show quoted text 12 lines
Yes, this should work as well. In principle, you can simply take these 3 files, put them in any directory and compile them: ppc386 mysql_com.pp ppc386 mysql_version.pp ppc386 mysql.pp Then copy the created files (*.ppu, *.o) to wherever the distributed files are.

Now if I would have just waited a minute or so before sending my response. :-)

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

Reply by email

Michael A. Hess
to Michael Van Canneyt: The mysql unit as provided with FPC 1.0.6 works only with version 3.22 of MySQL. If you…
Tony Maro wrote 11 lines
On Thu, 2002-09-05 at 11:29, Michael Van Canneyt wrote: I'm clueless about how to rebuild everything from the CVS edition. Besides, all I really want is the mysql unit for 3.23. Is there a way I can just build the mysql unit for 3.23 and install it into my 1.0.6 installation? I tried running "make" from the mysql directory and it bombs looking for sysunixh.inc OR, is it just possible to grab the mysql.pp, mysql_com.pp and mysql_version.pp files and place them inside my project so they get used instead of the distributed version?

Just do a checkout of fpc/packages/base/mysql

You don't have to get all of fpc.

Then go into that directory and do

ppc386 mysql.pp

This way it builds the mysql unit to match the current version of the compiler you are using.

Then move the object files from the /usr/lib/fpc ...../mysql directory to someplace else. Copy the .o and .ppu files that you just built into the unit directory and you should be a go with the new code.

At least that is all I did. ;-)

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

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Thu, 05 Sep 2002 18:27:56 +0200 1. Add a checkbox to the environment options to…
Show quoted text 15 lines
> > > > Playing with default extensions, I recently switched from .pas to .pp. > > So in my /tmp directory, both unit1.pas and unit1.pp existed, unit1.pas > > was obsolete, but still there, and when compiling, unit1.pas took > > precedence over unit1.pp - therefore this error. > > > > So question is, how to solve this? This will potentially confuse users... > > 1. Add a checkbox to the environment options to automatically remove ambigious pascal files on save. > > 2. Before compiling, all project files are checked for ambigious files and warnings are added to the messages. > > This is quite easy, I will do that ... Note that FPC prefers pp over pas!

The IDE now deletes ambigious pascal files. If the filename is unit1.pp then it will delete unit1.pas and the other way around.

Mattias

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Thu, 05 Sep 2002 18:27:56 +0200 1. Add a checkbox to the environment options to…
Show quoted text 7 lines
Hi Guys, Delphi actually gives an error on loading the form, something like 'TBlah not defined in TThisForm.pas' with a dialog offering yes, no, cancel (I think). Can something like this be done ? The user needs to know that the form and the pas are out of date, irrespective of .pp .pas issues.

Delphi also cleans up on save. For example removing empty events. I will add these features eventually.

Mattias

Reply by email

Tony Maro
to Andrew Johnson: On Date: Thu, 5 Sep 2002 18:44:05 +0200 You should probably make sure that you don't just…

Okay, like anyone cares...

I downloaded FPC and Lazarus for the first time yesterday. Today I finished my first application, and it's a USEFUL one (none of that hello world crap.)

I have written a front-end for "rdesktop" from www.rdesktop.org that allows a Linux box to connect to a 2000 or XP machine using RDP. The front-end looks and feels like Microsloth's RDP client for XP but has a nice enhancement. rdesktop is required for the program to do any good, but the interface will launch without it.

Features:
Nice look and feel
Remembers the last 10 servers you connect to, along with username and domain
stores those settings in an XML file in the user's home directory

Pretty basic stuff, but I'm proud none the less. You can download it from my website if you're interested at:

http://tony.maro.net/mod.php?mod=userpage&menu=901&page_id=16

No doubt I'll get a cease and desist letter from Microsoft for my graphics... hehe.

Thanks to everyone who helped me get the TIMAGE component working...

The code is horrible (especially one hacked loop I never went back and fixed) but somewhat commented if anyone wants to quickly learn the TImage fix and/or XML data storage.

By the way, nobody's gonna get mad that I put the Lazarus webpage logo on there will they? I didn't see a "Powered by Lazarus" logo to download anywhere...

-Tony Maro
http://tony.maro.net/

Reply by email

Michael A. Hess
to Andrew Johnson: On Date: Thu, 5 Sep 2002 18:44:05 +0200 You should probably make sure that you don't just…
Tony Maro wrote
Okay, like anyone cares...

Very much care. :-)

How about you submit a new article to the web site announcing the same along with the link.

By the way, nobody's gonna get mad that I put the Lazarus webpage logo on there will they? I didn't see a "Powered by Lazarus" logo to download anywhere...

Good suggestion! So last night I created some. I post a news article about it on the web site. I made two logos that people can use to advertise the fact that Lazarus was used.

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

Reply by email

Michael A. Hess
to Mattias Gaertner: On Thu, 05 Sep 2002 13:07:38 -0400 Ok. Although I think, creating subdirs will not be…
Florian Klaempfl wrote
What about a "reference list" on the lazarus page? I.e. applications which are build with lazarus?

Another good thought. However, since we only have the one at this time (that we know of) I'll just settle for a new article about it. Once we start collecting more I'll set up a separate page for it.

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

Reply by email

Unknown author
to Tony Maro: Okay, so this is certainly more of a FPC question, but I'm gonna ask anyway. I've…
Tony Maro wrote 29 lines
On Thu, 2002-09-05 at 11:29, Michael Van Canneyt wrote: > > > The mysql unit as provided with FPC 1.0.6 works only with version 3.22 > of MySQL. > > If you want to use version 3.23, you should use the latest version of > the mysql unit in CVS. As you will see, there are 3 versions: > 3.22 > 3.23 > 4.0 > Using the wrong version will result in crashes as described by you. > > Michael. > Okay, so this is certainly more of a FPC question, but I'm gonna ask anyway. I've installed FPC 1.0.6 from the ELF binaries. I have also downloaded the CVS of FPC as well. I'm clueless about how to rebuild everything from the CVS edition. Besides, all I really want is the mysql unit for 3.23. Is there a way I can just build the mysql unit for 3.23 and install it into my 1.0.6 installation? I tried running "make" from the mysql directory and it bombs looking for sysunixh.inc OR, is it just possible to grab the mysql.pp, mysql_com.pp and mysql_version.pp files and place them inside my project so they get used instead of the distributed version?

Yes, this should work as well.

In principle, you can simply take these 3 files, put them in any directory and compile them:
ppc386 mysql_com.pp
ppc386 mysql_version.pp
ppc386 mysql.pp

Then copy the created files (*.ppu, *.o) to wherever the distributed files are.

Michael.

Reply by email