[lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread johnf
Hi,
All the development lib's are installed.  Using the latest snapshot I can't 
compile a simple project.  SUSE has always complained about GTK+ and GDK but 
it still compiled.  Now with the SUSE 10.1 it really complains when using the 
RPM and will not compile a simple project.   Anybody, have any work arounds 
for SUSE 10.1?
John

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Vincent Snijders

johnf schreef:

Hi,
All the development lib's are installed.  Using the latest snapshot I can't 
compile a simple project.  SUSE has always complained about GTK+ and GDK but 
it still compiled.  Now with the SUSE 10.1 it really complains when using the 
RPM and will not compile a simple project.   Anybody, have any work arounds 
for SUSE 10.1?


Can you post the exact error messages? I don't have Suse, but I might be able to 
give a hint, if I see the error messages.


Vincent.

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


[lazarus] Re: Who needs Unicode controls.

2006-05-17 Thread roozbeh gholizadeh

On Tue, 16 May 2006 20:41:35 +0330, ik [EMAIL PROTECTED] wrote:


בTuesday 16 May 2006 19:08, כתבת:

On Tue, 16 May 2006 09:34:05 -0500 (CDT)

[EMAIL PROTECTED] wrote:
  Take TEdit for example, which has been extended to contain  
properties

  like the Font property.

 Ok, you were making reference to the controls design,
 not the character enconding...

 Yes, I get, I know about OOP principles. Actually once
 I try to make a TFont descendant in a visual control,
 but It didn't allow me to replace.

 Actually, the Font property in visual controls,
 as an example of composition wasn't very well design it.

A font depends on its TCanvas. It's not a separate thing. That's why you
can assign values, but not replace the class.

 Properties like BiDi should be in the Font property, maybe.

AFAIK you can't choose the Bidi of a font. Bidi is defined by the
characters. An 'a' is always left-to-right, while an arabic character is
always RTL, no matter what the font is called or setup.
Can you define, what a BIDI property should do?


You have non printable charechters for giving rules of how the pharagraph
should be. But thats all.

Another issues are the ponctuation points, thay are reverse chars -
located inside a charechter rather then a new letter.

There is no problem with right to left languages as long as there is no  
non

right to left language inside the pharagraph. Whenever there is one, the
problem begins. Thats where the BiDi algorithem take place...

One of the reason why I think the FriBiDI should be in use, is because  
it's
very stable and support 100% of the BiDi algorithem, while new  
implementation

will cause many problems and bugs that already been solved over the years
with FriBiDi.


Mattias



Ido



I think what mattis said was that bidi property shouldnt be on font,and i  
guess thats right,

bidi algorithms always take place for sets of charachters.

And yes i guess i like the idea of having bidi and using fribidi.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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


Re: [lazarus] Request for PR noise !

2006-05-17 Thread Lv
So if you guys want to change the name, where does it leave users like 
me presenting papers at conferences and citing Lazarus in technical 
papers as my software of choice?

I am asked a lot what software I use and I explicitly promote Lazarus/FPC.
This thread make me believe that I will segfault myself to promote 
Lazarus as the rug will be pulled under serious users feet.
Afte this I would rather tell the world I am using Delphi but behind the 
scenes use Lazarus as I know Delphi

I cannot cite Lazarus in papers and then find..oh..it is now called Phoenix.
I will in future not cite Lazarus as the name will probably change, but 
rather give personal credit to the authors who assisted me.


Lazarus was a nice way to get around the Pascal-debunkers and it worked 
well, but I cannot cite something that is so mindlessly considered for 
rebranding.


Usually a name change is associated with public pressure, which would be 
ok as the world requires it and users promoting it  dont have to segfault.







Thierry Andriamirado wrote:

Le samedi 13 mai 2006 à 18:55 -0300, Flávio Etrusco a écrit :



but as somebody already said some days ago in another thread, I think
mixing religion with anything is a bad idea... I wouldn't mind



I remember, after megido (?), and the beginning of Lazarus, I thought
this name was a bad idea. why not Phenix, Phoenix... ? In fact I don't
really care... few years after, I think that it's more important for the
moment to communicate about what Lazarus can do and where it goes.

If we decide to change the name, it's better to do it for example at the
same time as 1.0, or any other important event.



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


Re: [lazarus] Request for PR noise !

2006-05-17 Thread Florian Klaempfl
Lv wrote:
 So if you guys want to change the name, where does it leave users like
 me presenting papers at conferences and citing Lazarus in technical
 papers as my software of choice?

Nice to hear that not all users believe into the imo stupid idea to change the
name. I don't think either that the board of directors of lazarus (Michael H.,
 Matthias, Marc, Vincents, Micha et al.) consider a name change :)


 I am asked a lot what software I use and I explicitly promote Lazarus/FPC.
 This thread make me believe that I will segfault myself to promote
 Lazarus as the rug will be pulled under serious users feet.
 Afte this I would rather tell the world I am using Delphi but behind the
 scenes use Lazarus as I know Delphi
 I cannot cite Lazarus in papers and then find..oh..it is now called
 Phoenix.
 I will in future not cite Lazarus as the name will probably change, but
 rather give personal credit to the authors who assisted me.
 
 Lazarus was a nice way to get around the Pascal-debunkers and it worked
 well, but I cannot cite something that is so mindlessly considered for
 rebranding.
 
 Usually a name change is associated with public pressure, which would be
 ok as the world requires it and users promoting it  dont have to segfault.
 
 
 
 
 
 
 Thierry Andriamirado wrote:
 Le samedi 13 mai 2006 à 18:55 -0300, Flávio Etrusco a écrit :


 but as somebody already said some days ago in another thread, I think
 mixing religion with anything is a bad idea... I wouldn't mind


 I remember, after megido (?), and the beginning of Lazarus, I thought
 this name was a bad idea. why not Phenix, Phoenix... ? In fact I don't
 really care... few years after, I think that it's more important for the
 moment to communicate about what Lazarus can do and where it goes.

 If we decide to change the name, it's better to do it for example at the
 same time as 1.0, or any other important event.

 
 _
 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] Request for PR noise !

2006-05-17 Thread Michael Van Canneyt



On Wed, 17 May 2006, Lv wrote:

So if you guys want to change the name, where does it leave users like me 
presenting papers at conferences and citing Lazarus in technical papers as my 
software of choice?

I am asked a lot what software I use and I explicitly promote Lazarus/FPC.
This thread make me believe that I will segfault myself to promote Lazarus as 
the rug will be pulled under serious users feet.
Afte this I would rather tell the world I am using Delphi but behind the 
scenes use Lazarus as I know Delphi

I cannot cite Lazarus in papers and then find..oh..it is now called Phoenix.
I will in future not cite Lazarus as the name will probably change, but 
rather give personal credit to the authors who assisted me.


Lazarus was a nice way to get around the Pascal-debunkers and it worked well, 
but I cannot cite something that is so mindlessly considered for rebranding.


To assure you:

As far as I know, none of the core team considers a name change.
And if they don't, it won't happen.

Michael.

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


Re: [lazarus] Request for PR noise !

2006-05-17 Thread Graeme Geldenhuys

On 17/05/06, Florian Klaempfl [EMAIL PROTECTED] wrote:

Lv wrote:
 So if you guys want to change the name, where does it leave users like
 me presenting papers at conferences and citing Lazarus in technical
 papers as my software of choice?

Nice to hear that not all users believe into the imo stupid idea to change the
name. I don't think either that the board of directors of lazarus (Michael H.,
 Matthias, Marc, Vincents, Micha et al.) consider a name change :)


I agree.  It is a stupid idea to change the name.  There is nothing
wrong with the name Lazarus.  All it needs is a couple more bug fixes
and a lot of PR work from it's users!
Instead of waisting your energy and time following and writing to this
thread, spend your time constructively with something like fixing
bugs!

Graeme.


--
There's no place like 127.0.0.1

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


Re: [lazarus] Who needs Unicode controls.

2006-05-17 Thread Al Boldi
Mattias Gaertner wrote:
 Can you define, what a BIDI property should do?

- When working with bidirectional text, the characters are still interpreted 
in logical order--only the display is affected. The display ordering of 
bidirectional text depends upon the directional properties of the characters 
in the text. - see http://www.unicode.org/reports/tr9/

Thanks!

--
Al

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


Re: [lazarus] Request for PR noise !

2006-05-17 Thread Bisma Jayadi

I agree. It is a stupid idea to change the name. There is nothing wrong
with the name Lazarus. All it needs is a couple more bug fixes and a lot
of PR work from it's users!


1000% agree!

Instead of waisting your energy and time following and writing to this 
thread, spend your time constructively with something like fixing bugs!


1% agree! Fixing and reporting bugs, building application, promoting 
FPC/Lazarus, writing documentations, etc. for FPC/Lazarus is a lot more 
valueable contributions to this project instead of changing the name.


I've been promoting FPC/Lazarus for more than a year to developers in my 
country, especially to Delphi developers. If the name will change, I'll no 
longer promoting it anymore. Don't we take a lesson from BORLAND - INPRISE - 
BORLAND (again) history? Changing name will requires unnecessary PR works! And 
if it REALLY will be changed, who'll guarantee it will not be changed once more?


Please... stop this stupid, wasting energy and time discussion!

For anybody who still insists to this name changing idea, I believe you're still 
allowed to build a new project based on Lazarus source codes and then name the 
project whatever you want. :p


Just my 2 cents. :p

-Bee-

has Bee.ography at
http://beeography.wordpress.com

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


Re: [lazarus] Who needs Unicode controls.

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 13:55:31 +0300
Al Boldi [EMAIL PROTECTED] wrote:

 Mattias Gaertner wrote:
  Can you define, what a BIDI property should do?
 
 - When working with bidirectional text, the characters are still
 interpreted  in logical order--only the display is affected. The display
 ordering of  bidirectional text depends upon the directional properties of
 the characters  in the text. - see http://www.unicode.org/reports/tr9/

Do you mean, the BIDI property defines how part numbers are presented, or if
displaying BIDI is enabled?

Mattias

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


Re: [lazarus] Re: Lazarus File bigger then Delphi File?

2006-05-17 Thread Bogusław Brandys

roozbeh gholizadeh wrote:

On Wed, 10 May 2006 17:33:02 +0330, Jonas A. [EMAIL PROTECTED] wrote:


let me ask you a few questions:
are you still using 1.44 floppies?
are you sending compiled execs 20 times a day via 56k modem connection?
no? then why 1 or 2 mb bigger is so bad for you?


Well apparently this is not a good reason!
In wince my exe files with lazarus is about 14mg and after strip about 
3-4mg,i dont think for a device with 12mg or 16mg memory,and at best 
20mg storage room a 4-5mg exe is good!
So yes in this case we are using 1.44 floppies and yes we are sending 
compile exes with less than 56kb modem to phone devices

so 1-2mg bigger is not bad,it is worst!





Maybe create KOL based widgetset for Lazarus or simply use KOL 
(http://xcl.cjb.net) for WinCE ? I have quite complicated message 
application with sqlite storage all in about 297 Kb EXE without 
compression under Windows XP.
Perfect for Windows CE and other devices. Unfortunately it's only for 
WinAPI but compiles fine using FPC.



Regards
Boguslaw Brandys

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


[lazarus] fpcUnit patch

2006-05-17 Thread Graeme Geldenhuys

My previous post came back with a message saying that the .zip
extention is a illegal attachment and was blocked (how stupid is
that!).  Here is the message again, with the attachment renamed.
Please change it to .zip when saving it to disk.

Graeme.

---
Hi,

Please find attached another contribution for the fpcUnit users.
Changes apply to the  components/fpcunit directory. This patch needs
to be applied from the root Lazarus directory.

Fixes:
* Resized the height of the form to better fit a large list of tests.
* Added a new image to the image treeview imagelist. Also included
the .xpm file in the archive which might need to go into the
Lazarus/images directory (not sure).
* Enabled feedback while long tests are executing.  The grey ball on
each tree node now turns Blue while a test is running. Once the test
is completed it change to Red, Magenta or Green based on the test
outcome.
* The progress bar also has better feedback.  You can now see in move
while tests are running.


Graeme.

--
There's no place like 127.0.0.1


fpcunit.patch.zipped
Description: Binary data


[lazarus] Focus problem - EncloseSelectionDialog

2006-05-17 Thread Alexandre Leclerc

I send a patch for EncloseSelectionDialog couple days ago to fixe a
taborder / focus problem. This almost worked.

But I see that the focus is not yet active on the radiogroup. I tried
to fixe that again with an explicit form event but this is worst.

procedure TEncloseSelectionDialog.FormActivate(Sender: TObject);
begin
 TypeRadiogroup.SetFocus;
end;

When this code is added, there is no 'cursor' at all on the form. No
focus at all and can't even use tad key to make the focus move
arround. I can't see how to fix that. We must use the mouse to put the
focus back in the form properly.

I think to issue is maybe related to the focus problem when trying to
dock forms in pannels of another form. This is almost the same
problem: must use the mouse to put the focus back.

--
Alexandre Leclerc

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


Re: [lazarus] fpcUnit patch

2006-05-17 Thread Vincent Snijders

Graeme Geldenhuys schreef:

My previous post came back with a message saying that the .zip
extention is a illegal attachment and was blocked (how stupid is
that!).  Here is the message again, with the attachment renamed.
Please change it to .zip when saving it to disk.



Who send that message, you receiving email provider? Because the original zip did 
reach the list and my computer.


Vincent.

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


Re: [lazarus] Who needs Unicode controls.

2006-05-17 Thread Al Boldi
Mattias Gaertner wrote:
 Al Boldi [EMAIL PROTECTED] wrote:
  Mattias Gaertner wrote:
   Can you define, what a BIDI property should do?
 
  - When working with bidirectional text, the characters are still
  interpreted  in logical order--only the display is affected. The display
  ordering of  bidirectional text depends upon the directional properties
  of the characters  in the text. - see
  http://www.unicode.org/reports/tr9/

 Do you mean, the BIDI property defines how part numbers are presented, or
 if displaying BIDI is enabled?

Bidi is a layout property, defining RTL/LTR , alignment, and flipping of 
entire forms/canvases.

It should probably be a wrapper component calling an underlying library.

Thanks!

--
Al

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


Re: [lazarus] fpcUnit patch

2006-05-17 Thread Graeme Geldenhuys

Hi,

I double checked, this isn't my ISP.  It seems to be some IT company
in South Africa. I guess it must be someone that is part of the
mailing list and their email provider doesn't like attachments. Still
an idiotic way of trying to prevent viruses, etc..

Thanks for letting me know. In future I will ignore such bounced emails.

Graeme.



 Forwarded ---
From: [EMAIL PROTECTED]
[EMAIL PROTECTED]   Mailed-By: arivia.co.za
To: [EMAIL PROTECTED]
Date: 17-May-2006 13:22
Subject: [MailServer Notification]Attachment Blocking Notification
Reply | Reply to all | Forward | Print | Add sender to Contacts list |
Delete this message | Report phishing | Show original | Message text
garbled?
The fpcunit.patch.zip has been blocked,
and Replace has been taken on 5/17/2006 1:22:26 PM.
Message details:
Server:MPKWFX01
Sender: [EMAIL PROTECTED];
Recipient:lazarus@miraclec.com;
Subject:[lazarus] fpcUnit patch
Attachment name:fpcunit.patch.zip
---  END  



On 17/05/06, Vincent Snijders [EMAIL PROTECTED] wrote:

Who send that message, you receiving email provider? Because the original zip 
did
reach the list and my computer.

Vincent.



--
There's no place like 127.0.0.1

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


RE: [lazarus] fpcUnit patch

2006-05-17 Thread William Cairns
Looking at the rejecting address it could have been my address that caused the 
problem... Whenever a new virus comes out our mail server is set to reject zip 
files.

-Original Message-
From: Graeme Geldenhuys [mailto:[EMAIL PROTECTED]
Sent: 17 May 2006 14:07 PM
To: lazarus@miraclec.com
Subject: Re: [lazarus] fpcUnit patch


Hi,

I double checked, this isn't my ISP.  It seems to be some IT company
in South Africa. I guess it must be someone that is part of the
mailing list and their email provider doesn't like attachments. Still
an idiotic way of trying to prevent viruses, etc..

Thanks for letting me know. In future I will ignore such bounced emails.

Graeme.



 Forwarded ---
From: [EMAIL PROTECTED]
[EMAIL PROTECTED] Mailed-By: arivia.co.za
To: [EMAIL PROTECTED]
Date: 17-May-2006 13:22
Subject: [MailServer Notification]Attachment Blocking Notification
Reply | Reply to all | Forward | Print | Add sender to Contacts list |
Delete this message | Report phishing | Show original | Message text
garbled?
The fpcunit.patch.zip has been blocked,
and Replace has been taken on 5/17/2006 1:22:26 PM.
Message details:
Server:MPKWFX01
Sender: [EMAIL PROTECTED];
Recipient:lazarus@miraclec.com;
Subject:[lazarus] fpcUnit patch
Attachment name:fpcunit.patch.zip
---  END  



On 17/05/06, Vincent Snijders [EMAIL PROTECTED] wrote:
 Who send that message, you receiving email provider? Because the original zip 
 did
 reach the list and my computer.

 Vincent.


-- 
There's no place like 127.0.0.1

_
 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] Compiling laz from svn + statistically linked components

2006-05-17 Thread Daniel Dugan
In Windows, I was maintaining fpc 20x and fpc211 at various times. My solution was to rename the \pp directory to \pp20x or \pp211 and set the path variableto the location of the gnu libraries and fpc executables at the command prompt before launchinga make from the source directory. Since make build always targets the \pp directory (unless you change the parameters.),fpc will always end in the \pp directory. Just be sure you keep fpc.cfg"safe" and put your working copy in \pp\bin\i386-win32 directory.Ialso had to maintain separate directories for the source offpc. The only real drawback is that this eats a lot of disk space. Also, remember to change the source directories in the Lazarus environment.DanielAlexandre Leclerc [EMAIL PROTECTED] wrote:  2006/5/13, Mattias Gaertner <[EMAIL PROTECTED]>: If you want to use two different lazarus with different setups, then start the second with /path/of/the/second/lazarus --primary-config-path=/home/username/.secondlazarus This way you can test new packages or new lazarus versions comfortably without poking in the files, that the IDE can automatically setup for you.So since, unfortunately, installing a package required to staticallycompile it in the current version of lazarus; with this trick I cankick-start another more recent version of lazarus that does not havethe components yet statically compiled in it? (And it will still workin the design time tools?)When I tested that (replacing the exe with another one) this did notworked quite well...-- Alexandre Leclerc_To
 unsubscribe: mail [EMAIL PROTECTED] with"unsubscribe" as the Subjectarchives at http://www.lazarus.freepascal.org/mailarchives
		Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.

Re: [lazarus] Request for PR noise !

2006-05-17 Thread Andreas Berger

Florian Klaempfl wrote:


Lv wrote:
 


So if you guys want to change the name, where does it leave users like
me presenting papers at conferences and citing Lazarus in technical
papers as my software of choice?
   



Nice to hear that not all users believe into the imo stupid idea to change the
name. I don't think either that the board of directors of lazarus (Michael H.,
Matthias, Marc, Vincents, Micha et al.) consider a name change :)
 

Just for the record, I also think a name change is uncalled for. A name 
change would have serious consequences - and we could start promoting 
everything from zero since the new name will be even less known then 
Lazarus. The word Lazarus is neither offensive or more ambiguous than 
other well known projects and companies.


One more comment: Cheetah is the simbol of FPC, not lazarus. A cheetah 
on a column is Lazarus. Now you don't see anyone calling FPC cheetah, 
nor calling Linux Pinguin.


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


Re: [lazarus] Request for PR noise !

2006-05-17 Thread lazarus . mramirez
 Nice to hear that not all users believe into the imo stupid idea to change
 the name. I don't think either that the board of directors of lazarus

Hi.

I have start some message threads that finish in flame wars,
like foundation one, which wasn't my intention.

But I didn't start the message thread about changing name,
I'll prefer Lazarus to get more mature, before
changing name.

I one of the ones who think that a new name is MUST,
Lazarus seems fine for a project name, but I share
the idea that taking the project to corporate world,
will require a new name.

And for the board of directors, what can I say,
I just respect their work ;-)

Just my 2 cents.

-
Marco Aurelio Ramirez Carrillo
lazarus dot mramirez at star-dev dot com [dot mx]

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


Re: [lazarus] Request for PR noise !

2006-05-17 Thread lazarus . mramirez
 For anybody who still insists to this name changing idea, I believe you're
 still allowed to build a new project based on Lazarus source codes and

I DIDN'T START THE TOPIC,
but even that I think it's a good idea to change the name (in time),
I would like to wait to see Lazarus more mature,
and of course,
( MYSELF ) make some significant contributions or bug fixes
before bothering other users ;-)

Just my 2 cents.

-
Marco Aurelio Ramirez Carrillo
lazarus dot mramirez at star-dev dot com [dot mx]

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread johnf
On Tuesday 16 May 2006 23:31, Vincent Snijders wrote:
 johnf schreef:
  Hi,
  All the development lib's are installed.  Using the latest snapshot I
  can't compile a simple project.  SUSE has always complained about GTK+
  and GDK but it still compiled.  Now with the SUSE 10.1 it really
  complains when using the RPM and will not compile a simple project.  
  Anybody, have any work arounds for SUSE 10.1?

 Can you post the exact error messages? I don't have Suse, but I might be
 able to give a hint, if I see the error messages.

 Vincent.
Of course I didn't provide enough info.  Lazarus runs.  It opens the projects 
and appears to edit correct, etc.   But when I attempt to build a project 
I get the following error.
/usr/bin/ld: cannot find -lgdk


I currently have all the development lib's installed.  In fact this is a 
update install and not a fresh install of SUSE 10.1.  I still have my SUSE 
10.0 development machine and it works correctly with the snapshot.  Since I'm 
new to Linux and not really sure what -lgdk means I at a lost what to do 
next.  Checking YAST and looking for 'gdk' I find that the gdk-pixbuf lib is 
reported installed.  

Actually, if you could explain what Lazarus is looking for or direct me to a 
link that explains what's happening I be happier.  I need to learn.  
John

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


Re: [lazarus] Help Framework proposal

2006-05-17 Thread lazarus . mramirez

 We could use the principle of interfaces yes, but I don't think it

Wait, Delphi Help system is supported by interfaces,
but Lazarus still doesn't, by the moment, right ?

-
Marco Aurelio Ramirez Carrillo
lazarus dot mramirez at star-dev dot com [dot mx]

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


Re: [lazarus] Help Framework proposal

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 09:25:13 -0500 (CDT)
[EMAIL PROTECTED] wrote:

 
  We could use the principle of interfaces yes, but I don't think it
 
 Wait, Delphi Help system is supported by interfaces,
 but Lazarus still doesn't, by the moment, right ?

Right. At the moment you have to create a descendant to create your own help
system/database/viewer.
It's on my ToDo list to make a few things easier to override and write some
examples. But I'm not sure, how many types of help systems will be written.
According to the threads in the list it seems only a few (chm and open
document. html and fpdoc already exists). So there is not much gain
providing interfaces too.


Mattias

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


Re: [lazarus] Lazarus Help System Requirements

2006-05-17 Thread lazarus . mramirez
 one. For the moment I'm sticking on my SQLite+html idea. The html format

Ça va.

What about a SQLLite database that stores the help info, and a php
script that calls that database...

Just my 2 cents.

-
Marco Aurelio Ramirez Carrillo
lazarus dot mramirez at star-dev dot com [dot mx]

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


Re: [lazarus] Who needs Unicode controls.

2006-05-17 Thread lazarus . mramirez

 UTF-16 is multibyte.
 There are more unicode characters than 2 byte numbers, so you won't find a
 complete 2 byte unicode encoding.

I read somewhere that there was a previous Unicode format that ALWAYS uses
2 bytes for each character, but DOESN'T support all languages.

If I'm right, we can use that as a start to design a Unicode L.C.L.,
and eventually change to other format that support other languages.

Just my 2 cents.

-
Marco Aurelio Ramirez Carrillo
lazarus dot mramirez at star-dev dot com [dot mx]

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


Re: [lazarus] Who needs Unicode controls.

2006-05-17 Thread lazarus . mramirez

 AFAIK you can't choose the Bidi of a font. Bidi is defined by the
 characters. An 'a' is always left-to-right, while an arabic character is
 always RTL, no matter what the font is called or setup.
 Can you define, what a BIDI property should do?

I remember a post of a user that wanted to write (english) messages,
right-left, but you're right,
BIDI property dependes on the locale/font...

-
Marco Aurelio Ramirez Carrillo
lazarus dot mramirez at star-dev dot com [dot mx]

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


Re: [lazarus] Who needs Unicode controls.

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 09:52:46 -0500 (CDT)
[EMAIL PROTECTED] wrote:

 
  UTF-16 is multibyte.
  There are more unicode characters than 2 byte numbers, so you won't find
  a complete 2 byte unicode encoding.
 
 I read somewhere that there was a previous Unicode format that ALWAYS uses
 2 bytes for each character, but DOESN'T support all languages.
 
 If I'm right, we can use that as a start to design a Unicode L.C.L.,
 and eventually change to other format that support other languages.

The decision was to 'create' a unicode LCL with UTF-8 supporting all
languages.
*IF* we add properties/methods with widestrings, then they will be UTF-16,
also supporting all languages.


Mattias

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 08:25:43 -0700
johnf [EMAIL PROTECTED] wrote:

 On Tuesday 16 May 2006 23:31, Vincent Snijders wrote:
  johnf schreef:
   Hi,
   All the development lib's are installed.  Using the latest snapshot I
   can't compile a simple project.  SUSE has always complained about GTK+
   and GDK but it still compiled.  Now with the SUSE 10.1 it really
   complains when using the RPM and will not compile a simple project.  
   Anybody, have any work arounds for SUSE 10.1?
 
  Can you post the exact error messages? I don't have Suse, but I might be
  able to give a hint, if I see the error messages.
 
  Vincent.
 Of course I didn't provide enough info.  Lazarus runs.  It opens the
 projects  and appears to edit correct, etc.   But when I attempt to
 build a project  I get the following error.
 /usr/bin/ld: cannot find -lgdk
 
 
 I currently have all the development lib's installed.  In fact this is a 
 update install and not a fresh install of SUSE 10.1.  I still have my SUSE
 
 10.0 development machine and it works correctly with the snapshot.  Since
 I'm  new to Linux and not really sure what -lgdk means I at a lost what
 to do  next.  Checking YAST and looking for 'gdk' I find that the
 gdk-pixbuf lib is  reported installed.  

I added this message to IDE help items. It will open the wiki page:

http://wiki.lazarus.freepascal.org/index.php/Linker_message:_cannot_find_-l

 
 Actually, if you could explain what Lazarus is looking for or direct me to
 a  link that explains what's happening I be happier.  I need to learn.  


Mattias

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Vincent Snijders

Mattias Gaertner wrote:

On Wed, 17 May 2006 08:25:43 -0700
johnf [EMAIL PROTECTED] wrote:



On Tuesday 16 May 2006 23:31, Vincent Snijders wrote:


johnf schreef:


Hi,
All the development lib's are installed.  Using the latest snapshot I
can't compile a simple project.  SUSE has always complained about GTK+
and GDK but it still compiled.  Now with the SUSE 10.1 it really
complains when using the RPM and will not compile a simple project.  
Anybody, have any work arounds for SUSE 10.1?


Can you post the exact error messages? I don't have Suse, but I might be
able to give a hint, if I see the error messages.

Vincent.


Of course I didn't provide enough info.  Lazarus runs.  It opens the
projects  and appears to edit correct, etc.   But when I attempt to
build a project  I get the following error.
/usr/bin/ld: cannot find -lgdk


I currently have all the development lib's installed.  In fact this is a 
update install and not a fresh install of SUSE 10.1.  I still have my SUSE


10.0 development machine and it works correctly with the snapshot.  Since
I'm  new to Linux and not really sure what -lgdk means I at a lost what
to do  next.  Checking YAST and looking for 'gdk' I find that the
gdk-pixbuf lib is  reported installed.  



I added this message to IDE help items. It will open the wiki page:

http://wiki.lazarus.freepascal.org/index.php/Linker_message:_cannot_find_-l

 


Actually, if you could explain what Lazarus is looking for or direct me to
a  link that explains what's happening I be happier.  I need to learn.  


For SUSE, see also 
http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq#I_have_SuSE_and_I_get_.2Fusr.2Fbin.2Fld:_cannot_find_-lgtk_Error:_Error_while_linking


Vincent

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


Re: [lazarus] Help Framework proposal

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 18:32:40 +0200
Graeme Geldenhuys [EMAIL PROTECTED] wrote:

 On 5/17/06, Mattias Gaertner [EMAIL PROTECTED] wrote:
  examples. But I'm not sure, how many types of help systems will be
  written. According to the threads in the list it seems only a few (chm
  and open document. html and fpdoc already exists). So there is not much
  gain providing interfaces too.
 
 For unix only applications, some showed interest in the Man Pages and
 Info help systems.

Yes, and a few more HTML zipped specials and/or using databases. I guess
less than 10 in total. Not much to add something to save a few lines of code
at another place.


Mattias

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 18:41:46 +0200
Vincent Snijders [EMAIL PROTECTED] wrote:

 Mattias Gaertner wrote:
  On Wed, 17 May 2006 08:25:43 -0700
  johnf [EMAIL PROTECTED] wrote:
  
  
 On Tuesday 16 May 2006 23:31, Vincent Snijders wrote:
 
 johnf schreef:
 
 Hi,
 All the development lib's are installed.  Using the latest snapshot I
 can't compile a simple project.  SUSE has always complained about GTK+
 and GDK but it still compiled.  Now with the SUSE 10.1 it really
 complains when using the RPM and will not compile a simple project.  
 Anybody, have any work arounds for SUSE 10.1?
 
 Can you post the exact error messages? I don't have Suse, but I might
 be able to give a hint, if I see the error messages.
 
 Vincent.
 
 Of course I didn't provide enough info.  Lazarus runs.  It opens the
 projects  and appears to edit correct, etc.   But when I attempt to
 build a project  I get the following error.
 /usr/bin/ld: cannot find -lgdk
 
 
 I currently have all the development lib's installed.  In fact this is a
 
 update install and not a fresh install of SUSE 10.1.  I still have my
 SUSE 
 10.0 development machine and it works correctly with the snapshot. 
 Since I'm  new to Linux and not really sure what -lgdk means I at a
 lost what to do  next.  Checking YAST and looking for 'gdk' I find that
 the gdk-pixbuf lib is  reported installed.  
  
  
  I added this message to IDE help items. It will open the wiki page:
  
  http://wiki.lazarus.freepascal.org/index.php/Linker_message:_cannot_find_-l
  
   
  
 Actually, if you could explain what Lazarus is looking for or direct me
 to a  link that explains what's happening I be happier.  I need to
 learn.  
 
 For SUSE, see also 
 http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq#I_have_SuSE_and_I_get_.2Fusr.2Fbin.2Fld:_cannot_find_-lgtk_Error:_Error_while_linking

Thanks for the hint. I added it to the page.

Mattias

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


Re: [lazarus] Who needs Unicode controls.

2006-05-17 Thread Alexandre Leclerc

I'm very much ignorant about widestrings, utf-16, and internationnal
support in Lazarus. I mean, I have just no clue of what kind of work
it requires. What needs to be changed in the lcl source code.

If someone could point me to an example and the implications of the
changes, I'll see if I'm able to give some help on the issue.

2006/5/17, Mattias Gaertner [EMAIL PROTECTED]:

On Wed, 17 May 2006 09:52:46 -0500 (CDT)
[EMAIL PROTECTED] wrote:


  UTF-16 is multibyte.
  There are more unicode characters than 2 byte numbers, so you won't find
  a complete 2 byte unicode encoding.

 I read somewhere that there was a previous Unicode format that ALWAYS uses
 2 bytes for each character, but DOESN'T support all languages.

 If I'm right, we can use that as a start to design a Unicode L.C.L.,
 and eventually change to other format that support other languages.

The decision was to 'create' a unicode LCL with UTF-8 supporting all
languages.
*IF* we add properties/methods with widestrings, then they will be UTF-16,
also supporting all languages.


--
Alexandre Leclerc

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


Re: [lazarus] Request for PR noise !

2006-05-17 Thread Dale Welch
Perhaps we better rename Pascal...
after all... what does Pascal mean?
It Means Passover.  It's a Jewish (Christian - Easter) holiday.:-)

lazarus is as good a name as most.
And I thought it was named for lazarus long.

who is known to have written in his notebooks:
Always listen to experts. They'll tell you what can't be done and why. Then do 
it.
Progress isn't made by early risers. It's made by lazy men trying to find 
easier ways to do something.
Never underestimate the power of human stupidity.
Yield to temptation; it may not pass your way again


and misunderstanding somethings he says:
  Anything free is worth what you pay for it.


---dale

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Vincent Snijders

johnf wrote:

On Wednesday 17 May 2006 09:29, Mattias Gaertner wrote:


On Wed, 17 May 2006 08:25:43 -0700

johnf [EMAIL PROTECTED] wrote:


On Tuesday 16 May 2006 23:31, Vincent Snijders wrote:


johnf schreef:


Hi,
All the development lib's are installed.  Using the latest snapshot I
can't compile a simple project.  SUSE has always complained about
GTK+ and GDK but it still compiled.  Now with the SUSE 10.1 it really
complains when using the RPM and will not compile a simple project.
Anybody, have any work arounds for SUSE 10.1?


Can you post the exact error messages? I don't have Suse, but I might
be able to give a hint, if I see the error messages.

Vincent.


Of course I didn't provide enough info.  Lazarus runs.  It opens the
projects  and appears to edit correct, etc.   But when I attempt to
build a project  I get the following error.
/usr/bin/ld: cannot find -lgdk


I currently have all the development lib's installed.  In fact this is a
update install and not a fresh install of SUSE 10.1.  I still have my
SUSE

10.0 development machine and it works correctly with the snapshot.  Since
I'm  new to Linux and not really sure what -lgdk means I at a lost what
to do  next.  Checking YAST and looking for 'gdk' I find that the
gdk-pixbuf lib is  reported installed.


I added this message to IDE help items. It will open the wiki page:

http://wiki.lazarus.freepascal.org/index.php/Linker_message:_cannot_find_-l



Actually, if you could explain what Lazarus is looking for or direct me
to a  link that explains what's happening I be happier.  I need to learn.


Mattias


I added 'Fl/opt/gnome/lib' and it does not work.  


So, it seems the FAQ didn't help you.

Let's try it somewhat more structured:
Where on your system is libgdk.so?
What lines starting with -Fl are in your /etc/fpc.cfg?
Do you have a ~/.fpc.cfg?

Vincent.

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 10:15:14 -0700
johnf [EMAIL PROTECTED] wrote:

 On Wednesday 17 May 2006 09:29, Mattias Gaertner wrote:
  On Wed, 17 May 2006 08:25:43 -0700
 
  johnf [EMAIL PROTECTED] wrote:
   On Tuesday 16 May 2006 23:31, Vincent Snijders wrote:
johnf schreef:
 Hi,
 All the development lib's are installed.  Using the latest
 snapshot I can't compile a simple project.  SUSE has always
 complained about GTK+ and GDK but it still compiled.  Now with the
 SUSE 10.1 it really complains when using the RPM and will not
 compile a simple project. Anybody, have any work arounds for SUSE
 10.1?
   
Can you post the exact error messages? I don't have Suse, but I
might be able to give a hint, if I see the error messages.
   
Vincent.
  
   Of course I didn't provide enough info.  Lazarus runs.  It opens the
   projects  and appears to edit correct, etc.   But when I attempt
   to build a project  I get the following error.
   /usr/bin/ld: cannot find -lgdk
  
  
   I currently have all the development lib's installed.  In fact this is
   a update install and not a fresh install of SUSE 10.1.  I still have
   my SUSE
  
   10.0 development machine and it works correctly with the snapshot. 
   Since I'm  new to Linux and not really sure what -lgdk means I at a
   lost what to do  next.  Checking YAST and looking for 'gdk' I find
   that the gdk-pixbuf lib is  reported installed.
 
  I added this message to IDE help items. It will open the wiki page:
 
  http://wiki.lazarus.freepascal.org/index.php/Linker_message:_cannot_find_-l
 
   Actually, if you could explain what Lazarus is looking for or direct
   me to a  link that explains what's happening I be happier.  I need to
   learn.
 
  Mattias
 I added 'Fl/opt/gnome/lib' and it does not work.  

-Fl/opt/gnome/lib
^

Did you install the gdk-devel package? Do you have a libgdk.so?


Mattias

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


Re: [lazarus] Lazarus Help System Requirements

2006-05-17 Thread L505
  one. For the moment I'm sticking on my SQLite+html idea. The html format

 Ça va.

 What about a SQLLite database that stores the help info, and a php
 script that calls that database...

No PHP required really. A CGI program written in Pascal that calls some sort of 
database,
and a desktop application that can call that database too. This keeps only one 
codebase
needed for the entire help system - the same database is used for both the web 
docs and
the desktop docs - just that the desktop doc is using an embedded database 
while the web
application may use a real full fledged version of the database. But most 
websites will
only need to use an embedded database because 99 percent of all Pascal 
applications are
not going to have high traffic websites that require a database that can do 
complex
queries fast. Especially on help documents which people will rarely be checking 
on the
website, since they have a local copy - the online docs are mainly for 
promotional
purposes to get a bunch of keyword heavy pages out on the net promoting your
software.

The reason I currently use Google to search for freepascal documentation on the 
RTL
instead of using my local copy of my help documents, is because Google itself 
is my
database that powers the search of the freepascal documentation. Some of you 
just
use grep maybe - I laugh at those people. But if I had a proper local database
there would be no need to search google. Whether the database is a CHM database
or an embedded DBF or SQL database doesn't matter - the disadvantage of CHM is
simply that I can't port CHM to the web database in one shot - since a CHM 
database
won't work on a website.

And for those special cases where you have a Windows CE computer, that can't 
run an
embedded database? Think again, most likely someone has already ported the 
database to
Windows CE. CHM format was never intended to work on Windows CE so CHM  be an
external dependency, as you'd have to have the user download an external CHM 
reader for
Windows CE.

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread johnf
On Wednesday 17 May 2006 10:32, Mattias Gaertner wrote:
 On Wed, 17 May 2006 10:15:14 -0700

 johnf [EMAIL PROTECTED] wrote:
  On Wednesday 17 May 2006 09:29, Mattias Gaertner wrote:
   On Wed, 17 May 2006 08:25:43 -0700
  
   johnf [EMAIL PROTECTED] wrote:
On Tuesday 16 May 2006 23:31, Vincent Snijders wrote:
 johnf schreef:
  Hi,
  All the development lib's are installed.  Using the latest
  snapshot I can't compile a simple project.  SUSE has always
  complained about GTK+ and GDK but it still compiled.  Now with
  the SUSE 10.1 it really complains when using the RPM and will not
  compile a simple project. Anybody, have any work arounds for SUSE
  10.1?

 Can you post the exact error messages? I don't have Suse, but I
 might be able to give a hint, if I see the error messages.

 Vincent.
   
Of course I didn't provide enough info.  Lazarus runs.  It opens the
projects  and appears to edit correct, etc.   But when I attempt
to build a project  I get the following error.
/usr/bin/ld: cannot find -lgdk
   
   
I currently have all the development lib's installed.  In fact this
is a update install and not a fresh install of SUSE 10.1.  I still
have my SUSE
   
10.0 development machine and it works correctly with the snapshot.
Since I'm  new to Linux and not really sure what -lgdk means I at a
lost what to do  next.  Checking YAST and looking for 'gdk' I find
that the gdk-pixbuf lib is  reported installed.
  
   I added this message to IDE help items. It will open the wiki page:
  
   http://wiki.lazarus.freepascal.org/index.php/Linker_message:_cannot_fin
  d_-l
  
Actually, if you could explain what Lazarus is looking for or direct
me to a  link that explains what's happening I be happier.  I need to
learn.
  
   Mattias
 
  I added 'Fl/opt/gnome/lib' and it does not work.

 -Fl/opt/gnome/lib
 ^

 Did you install the gdk-devel package? Do you have a libgdk.so?


 Mattias
First I installed everything available to install for development.  I do have 
'libgdk-1.2.so.0'.
Should there be a soft link to libgdk.so?  On the SUSE 10.0 there is a 
libgdk.so.
Johnf

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


Re: [lazarus] Lazarus Help System Requirements

2006-05-17 Thread Alexandre Leclerc

2006/5/17, L505 [EMAIL PROTECTED]:

  one. For the moment I'm sticking on my SQLite+html idea. The html format

 Ça va.

 What about a SQLLite database that stores the help info, and a php
 script that calls that database...

No PHP required really. A CGI program written in Pascal that calls some sort of


We should od it in PSP
(http://www.psp.furtopia.org/cgi-bin/psp/index.psp) :) I think it
would ba a shame for us not to do a pascal cgi for such a job. ;)

--
Alexandre Leclerc

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 10:49:13 -0700
johnf [EMAIL PROTECTED] wrote:

 On Wednesday 17 May 2006 10:32, Mattias Gaertner wrote:
  On Wed, 17 May 2006 10:15:14 -0700
 
  johnf [EMAIL PROTECTED] wrote:
   On Wednesday 17 May 2006 09:29, Mattias Gaertner wrote:
On Wed, 17 May 2006 08:25:43 -0700
   
johnf [EMAIL PROTECTED] wrote:
 On Tuesday 16 May 2006 23:31, Vincent Snijders wrote:
  johnf schreef:
   Hi,
   All the development lib's are installed.  Using the latest
   snapshot I can't compile a simple project.  SUSE has always
   complained about GTK+ and GDK but it still compiled.  Now with
   the SUSE 10.1 it really complains when using the RPM and will
   not compile a simple project. Anybody, have any work arounds
   for SUSE 10.1?
 
  Can you post the exact error messages? I don't have Suse, but I
  might be able to give a hint, if I see the error messages.
 
  Vincent.

 Of course I didn't provide enough info.  Lazarus runs.  It opens
 the projects  and appears to edit correct, etc.   But when I
 attempt to build a project  I get the following error.
 /usr/bin/ld: cannot find -lgdk


 I currently have all the development lib's installed.  In fact
 this is a update install and not a fresh install of SUSE 10.1.  I
 still have my SUSE

 10.0 development machine and it works correctly with the snapshot.
 Since I'm  new to Linux and not really sure what -lgdk means I
 at a lost what to do  next.  Checking YAST and looking for 'gdk' I
 find that the gdk-pixbuf lib is  reported installed.
   
I added this message to IDE help items. It will open the wiki page:
   
http://wiki.lazarus.freepascal.org/index.php/Linker_message:_cannot_fin
   d_-l
   
 Actually, if you could explain what Lazarus is looking for or
 direct me to a  link that explains what's happening I be happier. 
 I need to learn.
   
Mattias
  
   I added 'Fl/opt/gnome/lib' and it does not work.
 
  -Fl/opt/gnome/lib
  ^
 
  Did you install the gdk-devel package? Do you have a libgdk.so?
 
 
  Mattias
 First I installed everything available to install for development.  I do
 have  'libgdk-1.2.so.0'.
 Should there be a soft link to libgdk.so?  On the SUSE 10.0 there is a 
 libgdk.so.

The soft link is normally set by the gdk-devel package.

Mattias

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


Re: [lazarus] Lazarus Help System Requirements

2006-05-17 Thread Alexandre Leclerc

2006/5/17, Alexandre Leclerc [EMAIL PROTECTED]:

2006/5/17, L505 [EMAIL PROTECTED]:
   one. For the moment I'm sticking on my SQLite+html idea. The html format

  Ça va.

  What about a SQLLite database that stores the help info, and a php
  script that calls that database...

 No PHP required really. A CGI program written in Pascal that calls some sort 
of

We should od it in PSP
(http://www.psp.furtopia.org/cgi-bin/psp/index.psp) :) I think it
would ba a shame for us not to do a pascal cgi for such a job. ;)


:D  I just saw that you are the guy with the PasWiki :) LOL!

--
Alexandre Leclerc

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread johnf
On Wednesday 17 May 2006 10:56, Mattias Gaertner wrote:
 On Wed, 17 May 2006 10:49:13 -0700

 johnf [EMAIL PROTECTED] wrote:
  On Wednesday 17 May 2006 10:32, Mattias Gaertner wrote:
   On Wed, 17 May 2006 10:15:14 -0700
  
   johnf [EMAIL PROTECTED] wrote:
On Wednesday 17 May 2006 09:29, Mattias Gaertner wrote:
 On Wed, 17 May 2006 08:25:43 -0700

 johnf [EMAIL PROTECTED] wrote:
  On Tuesday 16 May 2006 23:31, Vincent Snijders wrote:
   johnf schreef:
Hi,
All the development lib's are installed.  Using the latest
snapshot I can't compile a simple project.  SUSE has always
complained about GTK+ and GDK but it still compiled.  Now
with the SUSE 10.1 it really complains when using the RPM and
will not compile a simple project. Anybody, have any work
arounds for SUSE 10.1?
  
   Can you post the exact error messages? I don't have Suse, but I
   might be able to give a hint, if I see the error messages.
  
   Vincent.
 
  Of course I didn't provide enough info.  Lazarus runs.  It opens
  the projects  and appears to edit correct, etc.   But when I
  attempt to build a project  I get the following error.
  /usr/bin/ld: cannot find -lgdk
 
 
  I currently have all the development lib's installed.  In fact
  this is a update install and not a fresh install of SUSE 10.1.  I
  still have my SUSE
 
  10.0 development machine and it works correctly with the
  snapshot. Since I'm  new to Linux and not really sure what
  -lgdk means I at a lost what to do  next.  Checking YAST and
  looking for 'gdk' I find that the gdk-pixbuf lib is  reported
  installed.

 I added this message to IDE help items. It will open the wiki page:

 http://wiki.lazarus.freepascal.org/index.php/Linker_message:_cannot
_fin d_-l

  Actually, if you could explain what Lazarus is looking for or
  direct me to a  link that explains what's happening I be happier.
  I need to learn.

 Mattias
   
I added 'Fl/opt/gnome/lib' and it does not work.
  
   -Fl/opt/gnome/lib
   ^
  
   Did you install the gdk-devel package? Do you have a libgdk.so?
  
  
   Mattias
 
  First I installed everything available to install for development.  I do
  have  'libgdk-1.2.so.0'.
  Should there be a soft link to libgdk.so?  On the SUSE 10.0 there is a
  libgdk.so.

 The soft link is normally set by the gdk-devel package.

 Mattias
I created the soft link and I ran 'ldconfig'.  But it still will not link.  
What is next?
John

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Den Jean
On Wednesday 17 May 2006 20:08, johnf wrote:
 What is next?
I had the same error due to a fpc.cfg containing
-Fu/usr/lib/fpc/2.0.0/units/$fpctarget
-Fu/usr/lib/fpc/2.0.0/units/$fpctarget/*
-Fu/usr/lib/fpc/2.0.0/units/$fpctarget/rtl
instead of
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
when compiling with a fpc  2.0.0.

The paths are different on Suse, but the
problem may be similar

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread johnf
On Wednesday 17 May 2006 11:20, Den Jean wrote:
 On Wednesday 17 May 2006 20:08, johnf wrote:
  What is next?

 I had the same error due to a fpc.cfg containing
 -Fu/usr/lib/fpc/2.0.0/units/$fpctarget
 -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/*
 -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/rtl
 instead of
 -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
 -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
 -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
 when compiling with a fpc  2.0.0.

 The paths are different on Suse, but the
 problem may be similar
Not my issue.  I'm going to attempt to remove the gdk lib using YAST and 
reinstall.  
John

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 20:20:56 +0200
Den Jean [EMAIL PROTECTED] wrote:

 On Wednesday 17 May 2006 20:08, johnf wrote:
  What is next?
 I had the same error due to a fpc.cfg containing
 -Fu/usr/lib/fpc/2.0.0/units/$fpctarget
 -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/*
 -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/rtl
 instead of
 -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
 -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
 -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
 when compiling with a fpc  2.0.0.
 
 The paths are different on Suse, but the
 problem may be similar

The above are only unit paths. Then the error would be cannot find unit.

If there is a linker error the compiler leaves the link.res file. Please
have a look and see if the path to libgdk.so is there.

Mattias

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread johnf
On Wednesday 17 May 2006 11:31, Mattias Gaertner wrote:
 On Wed, 17 May 2006 20:20:56 +0200

 Den Jean [EMAIL PROTECTED] wrote:
  On Wednesday 17 May 2006 20:08, johnf wrote:
   What is next?
 
  I had the same error due to a fpc.cfg containing
  -Fu/usr/lib/fpc/2.0.0/units/$fpctarget
  -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/*
  -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/rtl
  instead of
  -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
  -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
  -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
  when compiling with a fpc  2.0.0.
 
  The paths are different on Suse, but the
  problem may be similar

 The above are only unit paths. Then the error would be cannot find unit.

 If there is a linker error the compiler leaves the link.res file. Please
 have a look and see if the path to libgdk.so is there.

 Mattias
Where might the link.res be created?
John

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


Re: [lazarus] Help Framework proposal

2006-05-17 Thread Felipe Monteiro de Carvalho

On 5/17/06, Mattias Gaertner [EMAIL PROTECTED] wrote:

It's on my ToDo list to make a few things easier to override and write some
examples. But I'm not sure, how many types of help systems will be written.
According to the threads in the list it seems only a few (chm and open
document. html and fpdoc already exists). So there is not much gain
providing interfaces too.


The framework should be created looking in the future, and that is
being flexible to whatever db or viewer people invent. Temporary
solutions tend to become permanent.

thanks,
--
Felipe Monteiro de Carvalho

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


Re: [lazarus] Re: Lazarus File bigger then Delphi File?

2006-05-17 Thread Felipe Monteiro de Carvalho

On 5/17/06, Bogusław Brandys [EMAIL PROTECTED] wrote:

Maybe create KOL based widgetset for Lazarus


Won't solve anything. LCL is too big. There are too many features, and
thus pascal units to be linked to get lcl working, so any LCL
widgetset will generate big executables.

What would help is really powerful smartlinking (being able to rip
unused methods inside a unit for example).

LCL adds some things, like being able to load a form from XML. This
requires a parser, and parsers are big, so this adds size to software.
The final size is a big sum of all the features. A powerful
smartlinking would kill all unecessary stuff.


or simply use KOL (http://xcl.cjb.net) for WinCE ?


Now this would make software smaller. But then you loose the
cross-platform hability, the form designer and LCL component
repository.

thanks,
--
Felipe Monteiro de Carvalho

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


Re: [lazarus] New Qt patch

2006-05-17 Thread Den Jean
On Tuesday 09 May 2006 22:25, Den Jean wrote:
 I will look into it.
Done in V1.15
Enums with only assigned (parsable) values are sorted (sorted on the value)
The enums that have been sorted have a (2s) in the comments
like : 
  ... 
  QEventType = (  //QEvent::Type (2s)
  ...

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 11:55:48 -0700
johnf [EMAIL PROTECTED] wrote:

 On Wednesday 17 May 2006 11:31, Mattias Gaertner wrote:
  On Wed, 17 May 2006 20:20:56 +0200
 
  Den Jean [EMAIL PROTECTED] wrote:
   On Wednesday 17 May 2006 20:08, johnf wrote:
What is next?
  
   I had the same error due to a fpc.cfg containing
   -Fu/usr/lib/fpc/2.0.0/units/$fpctarget
   -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/*
   -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/rtl
   instead of
   -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
   -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
   -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
   when compiling with a fpc  2.0.0.
  
   The paths are different on Suse, but the
   problem may be similar
 
  The above are only unit paths. Then the error would be cannot find unit.
 
  If there is a linker error the compiler leaves the link.res file. Please
  have a look and see if the path to libgdk.so is there.
 
  Mattias
 Where might the link.res be created?

If you compiled lazarus, then in the main directory.
If you compiled one of your projects, then in the project directory.

Mattias

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


Re: [lazarus] Re: Lazarus File bigger then Delphi File?

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 16:04:04 -0300
Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:

 On 5/17/06, Bogus__aw Brandys [EMAIL PROTECTED] wrote:
  Maybe create KOL based widgetset for Lazarus
 
 Won't solve anything. LCL is too big. There are too many features, and
 thus pascal units to be linked to get lcl working, so any LCL
 widgetset will generate big executables.

Ehm. The widgetsets are in no way optimized for smartlinking. I guess, by
optimizing a few things we can easily reduce the size by half.

 
 What would help is really powerful smartlinking (being able to rip
 unused methods inside a unit for example).

Won't help. For example at the moment the gtk callbacks use case statements
with all kind of controls. This must be improved.

 
 LCL adds some things, like being able to load a form from XML. This
 requires a parser, and parsers are big, so this adds size to software.

True. But this makes less than 5% of the code.


 The final size is a big sum of all the features. A powerful
 smartlinking would kill all unecessary stuff.
 
  or simply use KOL (http://xcl.cjb.net) for WinCE ?
 
 Now this would make software smaller. But then you loose the
 cross-platform hability, the form designer and LCL component
 repository.


Mattias

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


Re: [lazarus] Re: Lazarus File bigger then Delphi File?

2006-05-17 Thread Tony Maro
Mattias Gaertner wrote:
 Won't help. For example at the moment the gtk callbacks use case statements
 with all kind of controls. This must be improved.

  
   
 LCL adds some things, like being able to load a form from XML. This
 requires a parser, and parsers are big, so this adds size to software.
 

 True. But this makes less than 5% of the code.


   
 The final size is a big sum of all the features. A powerful
 smartlinking would kill all unecessary stuff.
 
I know this isn't what everyone is really wanting to hear when they're
discussing this, but I'll add my $.02 USD into the discussion more from
an esoteric corporate view than a lazarus coding view.

I wrote TruckBytes using Lazarus.  It's a full featured graphically
pleasing database application designed to run a trucking company.  The
total download is around 2 MB compressed, including the SSL libraries I
redistribute. 

An equivalent program written using Visual C++ in a Microsoft
environment would never see the light of day for less than 20 MB.  The
database engine alone would probably be 3/4 of the total distributed
program.  If done in VB, the runtimes for VB alone would be large.  Sure
you could force your users to download it separately, but if you want to
reduce customer support issues you distribute everything you need.

Back to TruckBytes.  The EXE is around 3.9 MB all said and done, plus
supporting SSL dll's for the Windows version.  I have 200 GB of hard
disk space.  I have 2 GB of RAM.  I have 3 Mb download speed.  If I was
a nut about trying to reduce EXE size I'd use a macro assembler and a
6502 processor (yes, I've done that before.)

Bloat used to be an issue in code when the code was pushing the limits
of what the computers could handle.   Sure you can talk about bloat
like it's still a horrible problem, but when it comes down to it the
question is do I want to waste 4 months or more of development to reduce
code size or use some preconfigured lego blocks that produce a larger
EXE?  I'll go for the 4 months of man-hours saved.

Of course that's a corporate view and really holds no bearing on the
discussion of how to reduce the LCL size, I just want to point out that
1 MB exe versus 4 MB exe really doesn't make a darn bit of difference
unless your computer was built in the mid 90's.  Or you're simply
writing a console app, in which case you shouldn't use the LCL anyway.

Keep in mind I'm not saying use this to justify NOT optimizing the LCL
or smartlinking.  I'm just saying weigh the time spent coding where it's
best utilized, for instance GTK2, QT, OSX, better compatibility or bug
squishing.

The above statement's obviously don't apply if you're writing for
PocketPC / Windows Mobile.

-Tony

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


Re: [lazarus] Re: Lazarus File bigger then Delphi File?

2006-05-17 Thread L505

 What would help is really powerful smartlinking (being able to rip
 unused methods inside a unit for example).

Theres no such thing, that is what smartlinking is - KOL is designed around 
this but many
people hate KOL because it uses old Objects and requires a bit of thinking - 
and most
people could care less about Exe size - I happen to care a bit, because the 
first
impression of the user is always important - I'm not anal about using KOL for 
every app,
but I use it lots.. it's fun to have a challenge to write a KOL app instead of 
it being so
easy too - but I'm crazy - only crazy people use KOL. Boguslaw is crazy too and 
so is
Thaddy. Don't use KOL unless you are crazy and like being crazy :-)

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


Re: [lazarus] Lazarus Help System Requirements

2006-05-17 Thread Graeme Geldenhuys

On 5/17/06, L505 [EMAIL PROTECTED] wrote:

The reason I currently use Google to search for freepascal documentation on the 
RTL
instead of using my local copy of my help documents, is because Google itself 
is my
database that powers the search of the freepascal documentation. Some of you 
just


Just for interest sake, how do you use Google?  Using the site:
command in the search box...?  eg:  site:freepascal.org GetPropValue

Regards,
 Graeme.

--
There's no place like 127.0.0.1

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


Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-17 Thread johnf
On Wednesday 17 May 2006 12:53, Mattias Gaertner wrote:
 On Wed, 17 May 2006 11:55:48 -0700

 johnf [EMAIL PROTECTED] wrote:
  On Wednesday 17 May 2006 11:31, Mattias Gaertner wrote:
   On Wed, 17 May 2006 20:20:56 +0200
  
   Den Jean [EMAIL PROTECTED] wrote:
On Wednesday 17 May 2006 20:08, johnf wrote:
 What is next?
   
I had the same error due to a fpc.cfg containing
-Fu/usr/lib/fpc/2.0.0/units/$fpctarget
-Fu/usr/lib/fpc/2.0.0/units/$fpctarget/*
-Fu/usr/lib/fpc/2.0.0/units/$fpctarget/rtl
instead of
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
when compiling with a fpc  2.0.0.
   
The paths are different on Suse, but the
problem may be similar
  
   The above are only unit paths. Then the error would be cannot find
   unit.
  
   If there is a linker error the compiler leaves the link.res file.
   Please have a look and see if the path to libgdk.so is there.
  
   Mattias
 
  Where might the link.res be created?

 If you compiled lazarus, then in the main directory.
 If you compiled one of your projects, then in the project directory.

 Mattias
The 4 line has 'SEARCH_DIR(/opt/gnome/lib)'

See attached link.res and a list of lib's from /opt/gnome/lib

SEARCH_DIR(/lib/)
SEARCH_DIR(/usr/lib/)
SEARCH_DIR(/usr/X11R6/lib/)
SEARCH_DIR(/opt/gnome/lib/)
SEARCH_DIR(/usr/lib/lazarus/components/sqldb/lib/i386-linux/)
SEARCH_DIR(/usr/lib/lazarus/lcl/units/i386-linux/)
SEARCH_DIR(/usr/lib/lazarus/lcl/units/i386-linux/gtk/)
SEARCH_DIR(/usr/lib/lazarus/packager/units/i386-linux/)
SEARCH_DIR(./)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/rtl/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/libasync/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/paszlib/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/pasjpeg/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/syslog/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/sqlite/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/oracle/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/opengl/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/libpng/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/gdbint/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/ncurses/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/svgalib/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/postgres/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/lexyacc/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/unzip/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/mysql/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/netdb/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/libgd/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/imlib/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/ibase/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/graph/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/gnome/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/fpgtk/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/forms/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/gconf/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/unixutil/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/cdrom/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/regexpr/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/zlib/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/uuid/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/utmp/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/odbc/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/newt/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/libc/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/gtk2/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/hash/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/gdbm/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/fftw/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/pthreads/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/zvt/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/tcl/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/x11/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/gtk/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/ggi/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/fcl/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/bfd/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/units/i386-linux/)
SEARCH_DIR(/usr/local/lib/fpc/2.1.1/units/i386-linux/rtl/)
SEARCH_DIR(/usr/lib/fpc/2.1.1/)
INPUT(
/usr/lib/fpc/2.1.1/units/i386-linux/rtl/cprt21.o
/usr/lib/crti.o
/home/johnf/myjunk/project1.o
/usr/lib/fpc/2.1.1/units/i386-linux/rtl/system.o
/usr/lib/fpc/2.1.1/units/i386-linux/rtl/lineinfo.o
/usr/lib/fpc/2.1.1/units/i386-linux/rtl/strings.o
/usr/lib/fpc/2.1.1/units/i386-linux/rtl/objpas.o
/usr/lib/lazarus/lcl/units/i386-linux/gtk/interfaces.o
/usr/lib/lazarus/lcl/units/i386-linux/forms.o
/home/johnf/myjunk/unit1.o
/usr/lib/lazarus/components/sqldb/lib/i386-linux/sqldblaz.o
/usr/lib/lazarus/lcl/units/i386-linux/interfacebase.o
/usr/lib/fpc/2.1.1/units/i386-linux/rtl/types.o
/usr/lib/fpc/2.1.1/units/i386-linux/rtl/classes.o

Re: [lazarus] Lazarus Help System Requirements

2006-05-17 Thread L505


 On 5/17/06, L505 [EMAIL PROTECTED] wrote:
  The reason I currently use Google to search for freepascal documentation on 
  the RTL
  instead of using my local copy of my help documents, is because Google 
  itself is my
  database that powers the search of the freepascal documentation. Some of 
  you just

 Just for interest sake, how do you use Google?  Using the site:
 command in the search box...?  eg:  site:freepascal.org GetPropValue

Exactly:

site:freepascal.org docs

The keyword docs helps filter out mailing list stuff and other pages.. if you 
just want
to target in on the Documentatoin just type in Docs keyword in addition to 
the site.

So:
site:freepascal.org docs getpropvalue

instead of just

site:freepascal.org getpropvalue

And don't always use this:
site:www.freepascal.org

Skip the www prefix, incase you find something in community.freepascal, etc.

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


[lazarus] exec-shield problems

2006-05-17 Thread Colin Western
I am encountering problems on Fedora Core 5, in that lazarus crashes on 
displaying some design time forms. The problem seems to be in the 
JITForms.pp the code arounf line 920:


  CodeTemplate:=MethodAddress('DoNothing');
  CodeSize:=100; // !!! what is the real codesize of DoNothing? !!!
  GetMem(NewCode,CodeSize);
  Move(CodeTemplate^,NewCode^,CodeSize);

creates some new code on the heap, which exec-shield does not like. It 
can be fixed as root by:


echo 9 /proc/sys/kernel/exec-shield

(The default value is 11 on my system) but I was wondering if there was 
a better way to fix this. Reading a bit about exec-shield indicated that 
 executable code on the heap was not portable, so this problem could 
appear elsewhere.


Colin

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


Re: [lazarus] exec-shield problems

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 22:39:05 +0100
Colin Western [EMAIL PROTECTED] wrote:

 I am encountering problems on Fedora Core 5, in that lazarus crashes on 
 displaying some design time forms. The problem seems to be in the 
 JITForms.pp the code arounf line 920:
 
CodeTemplate:=MethodAddress('DoNothing');
CodeSize:=100; // !!! what is the real codesize of DoNothing? !!!
GetMem(NewCode,CodeSize);
Move(CodeTemplate^,NewCode^,CodeSize);
 
 creates some new code on the heap, which exec-shield does not like. It 
 can be fixed as root by:
 
 echo 9 /proc/sys/kernel/exec-shield
 
 (The default value is 11 on my system) but I was wondering if there was 
 a better way to fix this. Reading a bit about exec-shield indicated that 
   executable code on the heap was not portable, so this problem could 
 appear elsewhere.

It is planned to use virtual events in the designer. Then the above will not
be needed anymore. 
This touches TReader, TWriter, OI and the TMethodPropertyEditor.


Mattias

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


Re: [lazarus] Lazarus Help System Requirements

2006-05-17 Thread L505


2006/5/17, L505 [EMAIL PROTECTED]:
   one. For the moment I'm sticking on my SQLite+html idea. The html format

  Ça va.

  What about a SQLLite database that stores the help info, and a php
  script that calls that database...

 No PHP required really. A CGI program written in Pascal that calls some sort 
 of

 We should od it in PSP
 (http://www.psp.furtopia.org/cgi-bin/psp/index.psp) :) I think it
 would ba a shame for us not to do a pascal cgi for such a job. ;)

Thanks for recommending the site. I actually recently upgraded the site to have 
a new
look. Micha once told me off for table designed websites because they Sux0r. 
Trustmaster
originally threw up the PSP website many years ago which used Tables. I'm 
converting the
PSP website to pure Div based site soon. It uses Div's now but still old table 
code exists
:-) If Micha is listening I wanted to thank him now for getting me out of my 
stubborn
table design thinking I used to be stuck in, because all sites I've created 
with Div's are
working out nicely.

Our psp devel mailing list has grown more in 2006 already than expected.  But 
be warned
that PSP  is not a perfect copy of Websnap/intraweb. PSP is definitely not 
copying Borland
because we found that Websnap architecture was too complex.  Although, many 
HTML helpers
and visual tools are being worked on, and we are working on more plug-ins for 
lazarus and
MSEGUI/MSEIDE and other text editors to make web development more organized and 
easier.

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


[lazarus] wince patch

2006-05-17 Thread roozbeh gholizadeh

This patch:
* adds arrow unit and tarrow support
* fixes timage,now images being displayed
* add spinedit unit
* add checklist unit for tchecklist box
* fixed some missed pchar to pwidechar conversions
* updated for new rtl
* new winapiemu unit for emulating missing windows apis

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

wince.rar
Description: Zip archive


Re: [lazarus] Request for PR noise !

2006-05-17 Thread m2

Dale Welch a écrit :

Perhaps we better rename Pascal...
after all... what does Pascal mean?
It Means Passover.  It's a Jewish (Christian - Easter) holiday.:-)


Pascal comes from the name of the French mathematician, physician
and philosopher, Blaise Pascal (1623-1662) who built a famous
mechanical calculator.

mm

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


[lazarus] no widestring support in FreeBSD4

2006-05-17 Thread Marc Santhoff
Hi,

since I'm sort of a lazy updater I didn't notice earlier:

Lazarus doesn't compile on FreeBSD 4 any more, since some newer
functions are missing.

Linking ../lazarus
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o: In 
function `CWSTRING_LOWERWIDESTRING$WIDESTRING$$WIDESTRING':
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o(.text+0x460):
 undefined reference to `towlower'
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o: In 
function `CWSTRING_UPPERWIDESTRING$WIDESTRING$$WIDESTRING':
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o(.text+0x4e0):
 undefined reference to `towupper'
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o: In 
function `CWSTRING_COMPAREWIDESTRING$WIDESTRING$WIDESTRING$$LONGINT':
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o(.text+0x79c):
 undefined reference to `wcscoll'
lazarus.pp(113,1) Error: Error while linking
Error: /home/marc/fpc-2.0.2/bin/ppc386 returned an error exitcode (normal if 
you did not specify a source file to be compiled)
gmake[2]: *** [lazarus] Fehler 1

I were able to find at least towlower and towupper in the sources of
FreeBSD 5 and I'm asking myself how I can deal with that. The drawback
for me is, I'm nailed to version 4 for sime time.

My Questions:

Can the use of cwstring be switched off?

If not, what would be the most appropriate way of handling the missing
functions? (I'd tend to write them in pascal into an .inc included by
$ifdef-ing)

TIA,
Marc


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


Re: [lazarus] Request for PR noise !

2006-05-17 Thread Dale Welch

On Wednesday 17 May 2006 18:24, m2 wrote:
 Dale Welch a écrit :
  Perhaps we better rename Pascal...
  after all... what does Pascal mean?
  It Means Passover.  It's a Jewish (Christian - Easter) holiday.:-)
 
 Pascal comes from the name of the French mathematician, physician
 and philosopher, Blaise Pascal (1623-1662) who built a famous
 mechanical calculator.
 
 mm
 

Yes, I know this.
Blaize Pascal is a very famous christian having written pensees
which is also a theological treatise.

but his name comes directly from paschal which comes from passover
which is the jewish holiday celebrated at the time christians celebrate 
what is now popularly called easter.  Jesus had gone to jerusalem for 
the Paschal feast when he was arrested and killed.  

i was just showing that even the language has a link even if most people
don't realize it.  And you might get someone who gets upset and claims
it's offensive to them.  But we have things named from many of the major 
( minor) religions since what people call culture is often a part of 
some religion.  Just live with it.  :-)

---dale

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