Re: [lazarus] Error: Invalid Free Pascal Source Directory

2008-02-09 Thread Chris Kirkpatrick
Source files will be in /usr/share/fpc ... or somewhere close to that 
(you may have to dig around  a little!)


In general, Lazarus will be in the directory in which it is installed, 
fpc compiler will be in /usr/bin (or there will be a symbolic link from 
/usr/bin/ppc386 to /usr/(local)/lib/fpc/$version/..., make sure ppc386 
is pointing to the correct version of the compiler), fpc units will be 
in /usr/lib/fpc/$version ... or /usr/local/lib/fpc/$version ... and fpc 
sources will be in /usr/share/fpc ...

Regards - Chris

Peter Williams wrote:

Hi Vincent & All,

On 08/02/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote:
  

Luk Vandelaer schreef:


The correct path for you would be /usr/lib/fpc/2.0.4
Lazarus knows his way from there.
  

No that is the path of the compiled units (.ppu and .o), not for the pascal 
*source*
directory, with .pas, .pp and .inc files.




I am more confused than ever now. Can you please tell me what is the
correct path for Lazarus on a standard Linux Ubuntu system? Note that
I used the Synaptic Package Manager to install Lazarus and it
*appears* to be a complete installation... but give the error message:

  

The current Free Pascal source directory
"/usr/lib/fpc/2.0.4/units/i386-linux/
does not look correct.
Choose OK to choose the default "".
Otherwise check Environment -> Environment Options -> File

[OK] [ignore]
  


Help please!!!

Regards,
 PEW   ;-)))
from Hobart, Tasmania, Australia

  

Vincent

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




  


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


Re: [lazarus] LazDoc for preparing documentation files

2008-01-27 Thread Chris Kirkpatrick

No pdf at present;

html docs are built regularly and latest snapshot is at
ftp://ftp.hu.freepascal.org/pub/lazarus/

HTML is also visible on-line at http://lazarus-ccr.sourceforge.net/docs/lcl/

I don't think we are ready for PDF yet - it would be full of holes!
Regards - Chris

Florian Klaempfl wrote:

Chris Kirkpatrick schrieb:
  

All comments are most welcome.



Just curious, are the docs as pdf available somewhere or how can I build
them?

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


 

  


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


[lazarus] LazDoc for preparing documentation files

2008-01-27 Thread Chris Kirkpatrick
I have been trying out the new functionality of LazDoc in the IDE, on 
which Mattias Gaertner has been working very hard.


Although it is still incomplete, and has been the subject of several bug 
reports, it has a number of useful features. One of these is the 
facility to 'copy from inherited', ie if a property has been described 
for an ancestor, the description can be pasted into the descendant's 
documentation.


I have recently done this for the properties of TGroupBox and TComboBox 
in StdCtrls.xml, pasting in the descriptions from TCustomGroupBox and 
TCustomComboBox (or earlier ancestors such as TControl or TWinControl if 
the property is described there).


It is very easy to use, but I believe we should not routinely use it 
until we are very sure the description in the ancestor class is correct 
and complete, because if we decide that the ancestor's description isn't 
right and we have already made the copies, we will have to retrace our 
steps and change all the descendants' properties as well.



I should therefore welcome some quality control on the work I (and 
others) have done in writing descriptions for the components in the LCL. 
I started with TControl and other primitive components in Controls.xml, 
and worked through Graphics, Forms, Dialogs, and then into the 
components that are actually visible in the IDE, in StdCtrls, ExtCtrls 
and ComCtrls as well as Menus, and have recently started on Grids, 
DBCtrls and DBGrids.


I tried to write the descriptions for the ancestors such as 
TCustomXx before describing TXx. In general I have not provided 
detailed descriptions for the child classes if the properties have been 
described in the ancestors; the on-line help and LazDoc hinting facility 
can trace the description back to the ancestor. We should wait until the 
descriptions for the primitive classes are complete and correct before 
pasting the descriptions into the visible components. (This will 
ultimately be needed for completion of the LCL manual, to make it like 
the RTL manual. At present, if a property is not described explicitly 
for a component, it doesn't appear in the HTML documentation files).


I have also been concentrating on Public or Published properties, and 
recognise that there is still a lot to be done on the Protected properties.


All comments are most welcome.

Regards - Chris

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


Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-25 Thread Chris Kirkpatrick

The list of possible nodes is found, of course, in the FPDoc manual.
Some examples of fairly densely populated descriptions are in StdCtrls, 
DBCtrls, Dialogs, and also in Controls, Graphics, and Forms. In general 
the TCustom components are the most fully described. StdCtrls, 
DBCtrls, Menus  have got large Topic sections with extensive seealso 
references. (A Topic is not, of course, seen by LazDoc, nor is there a 
mechanism for creating one - there is such a mechanism in LazDE).


I have submitted a new bug report.

Regards - Chris

Mattias Gärtner wrote:

For examples see the first few entries in the public/published section
for TComboBox and TCustomComboBox in stdctrls.



Thanks. I was searching for some good examples.
Where can I find a list of all possible nodes that lazde/ladoc creates? Or can
you give me some examples, where I can see all flavors?


  


 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: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-25 Thread Chris Kirkpatrick

Hi Mattias -

I note from the bug report 0010686 that you have fixed the immediate 
problem, and on re-building Lazarus from SVN this morning I find that I 
can now save  descriptions from LazDoc in the IDE, and also 
things that I type in other boxes such as .


However the LazDoc  panel does not show text that 
pre-exists in the XML file, and we run the risk of overtyping anything 
that may already be there by using LazDoc, as entries made using LazDoc 
do get saved; similarly, it fails to display the existing contents of 
 fields in the XML file.


As noted before, LazDoc doesn't display formatted text (such as 
underline, italic or bold, marked by word), and I find that if I 
try to copy inherited  titles I don't copy the italic etc words.


For examples see the first few entries in the public/published section 
for TComboBox and TCustomComboBox in stdctrls.


Should I raise a new Bug report, or add this to the existing one?

Regards - Chris


Mattias Gaertner wrote:

On Wed, 23 Jan 2008 16:33:23 +0000
Chris Kirkpatrick <[EMAIL PROTECTED]> wrote:

  

Hi Mattias -

I have looked at LazDoc in the IDE. It is very nice in principle, and 
allows us to copy inherited properties, for example. However, I

cannot save any changes that I make with LazDoc in the IDE. If I make
a change and press SAVE, then go to another property, when I come
back to the property I just changed, there is nothing left! If I exit
from the project, saving changes, none of my changes made with PazDoc
are saved.

I can still edit the XML file using LazDe as a separate application,
and the changes are saved OK.

I have submitted a bug report for the IDE LazDoc.



Thanks. I will take a look.

Mattias

_
 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: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-23 Thread Chris Kirkpatrick

Hi Mattias -

I have looked at LazDoc in the IDE. It is very nice in principle, and 
allows us to copy inherited properties, for example. However, I cannot 
save any changes that I make with LazDoc in the IDE. If I make a change 
and press SAVE, then go to another property, when I come back to the 
property I just changed, there is nothing left! If I exit from the 
project, saving changes, none of my changes made with PazDoc are saved.


I can still edit the XML file using LazDe as a separate application, and 
the changes are saved OK.


I have submitted a bug report for the IDE LazDoc.

Regards - Chris

Mattias Gärtner wrote:

lazdoc and lazde are now the same (since two weeks).
fpdoc is a command line utility.
lazdoc/lazde is a graphical editor for fpdoc files.

  


Mattias

_
 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: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-23 Thread Chris Kirkpatrick

Explanation of some Lazarus documentation terms:

FPDoc - the command-line tool that is part of FPC and is documented in 
the FPC manuals. Includes MakeSkel, for constructing a skeleton XML file 
from the unit source code.


LazDE, aka Lazarus Documentation Editor - an application found in 
/lazarus/docedit/lazde.lpi which you have to compile and use to edit XML 
files built using MakeSkel; this is probably the most useful app for 
doing the documentation, but takes a bit of getting used to.


LazDoc - part of the Lazarus IDE,; if you open a LazDoc window, you 
should (if you have specified the correct paths etc) be able to edit 
documentation XML files in parallel with the .pp or .pas source files. 
I'm afraid I've never got it to work satisfactorily. However, it now has 
a new feature (you don't even have to open a window or anything) whereby 
a hinting pop-up appears if you hover over a keyword etc in your source 
file in the source editor - it searches the source file and the XML file 
to find information about the keyword and displays it (usually the 
 description of the entity). It is very clever, but needs quite a 
lot of tweaking (acknowledged by the developers) to correct it and make 
it fully functional. I use it a lot to check on-line if the changes I 
have made with LazDE produce sensible results.


There is also the option, of course, of hitting F1 for Help while 
highlighting a keyword, in which case you get taken to the appropriate 
SourceForge HTML file, which unfortunately can be several days out of date.


Hope this helps.

Regards - Chris


John wrote:

Chris Kirkpatrick wrote:

Hi John, Joost and Adrian -


snip
So I should very much like to collaborate with you guys in improving 
the documentation of sqldb and fc-db, as well as the stuff in the 
LCL. I agree we should try to use the FPDoc approach as suggested by 
Joost.

snip

_
I agree with FPDoc in principle, but I haven't been able to get any 
sort of handle on how it works.  And I HAVE downloaded the 
documentation for it and tried to read it.  It was a while ago, but my 
memory is that, like most IT documentation, it assumes you know 
basically what you are trying to do, and just need to be reminded of 
the details. I am also confused about the difference/connection 
between fpdoc, lazdoc and lazde (have I even got the names right ?  I 
think there have been others mentioned as well on this list).

I'll try to have another read. :-)

cheers,
John Sunderland

_
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: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-23 Thread Chris Kirkpatrick

Hi John, Joost and Adrian -

As you might know, I have been trying to get the documentation for parts 
of the Lazarus Component Library (LCL) into shape, mainly by putting 
information into the .XML files associated with each Unit, to enable 
generation of .HTML files using FPDoc. Quite a few elements in the LCL 
are now documented to the stage that useful information appears as 
on-line hints when using the Lazarus IDE.


I have started trying to describe some of the Data-Aware components (see 
the DataAccess and Data Control tabs in the Component Palette) but am 
having to delve deeply into the SQLDb and Db files in the FCL in order 
to get information to describe the use of these components. So I should 
very much like to collaborate with you guys in improving the 
documentation of sqldb and fc-db, as well as the stuff in the LCL. I 
agree we should try to use the FPDoc approach as suggested by Joost.


I have been given commit access to the /docs/xml/lcl/ directory in the 
lazarus SVN tree. At present the SQLDb and fcl-db documentation files 
would not appear in that pathway, and we would need to find some way of 
sharing our work on the files - perhaps we need to find a branch of SVN 
to which some or all of us gain access.


I am copying this communication to the lazarus developers list, as they 
are the guys with write-access to the appropriate SVN repositories, and 
may be able to offer suggestions on how best to proceed. I am also 
copying it to the main lazarus mailing list, in the hope that more 
volunteers may emerge!


Please keep in touch and keep the impetus going.

Regards - Chris

John wrote:

Adrian Maier wrote:
Are there any people still interested in making it possible to have 
some real

docs for sqldb and fcl-db ?

If so, let's organize ourselves and see what needs to be done .  I am 
very
interested in the subject but I can't do it myself alone :   if I 
knew enough

about sqldb I wouldn't be so unhappy about the lack of documentation .

  

Hi Adrian,

I am also.

cheers,
John Sunderland
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



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


Re: [lazarus] What is wrong with the Toolbar?

2008-01-22 Thread Chris Kirkpatrick



I don't know whether the Toolbar has been correctly fixed (bug 0010530: 
Toolbar background not painted), but bug 0010562: (LazDe toolbar shows 
previous background) certainly has not been resolved - I had assumed it 
was a consequence of the previous bug, and should be resolved when it 
was fixed, but this has not happened.

Regards - Chris





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


Re: [lazarus] some questions

2007-11-28 Thread Chris Kirkpatrick
There is also a more advanced tutorial which addresses the use of 
data-sensitive components:

http://wiki.lazarus.freepascal.org/MySQLDatabases
Hope it helps!
Chris

Roberto Padovani wrote:

about accessing databases, there is a tutorial:
http://wiki.lazarus.freepascal.org/Lazarus_Database_Tutorial
which is only a very brief introduction, but it's much better than nothing.
After going through it a few times, after going through the forums
many times, and after stumbling upon even more "access violation"
errors, I managed to working with sqlite and mysql...at least for
simple queries.
In my project I went on with sqlite only, but the dataset interfaces
are basically always the same; this is a very active list and if you
ask, you'll probably get an answer.

R#

  

 2) I would like to use MySQL with Lazarus. I have no idea where to start. I
placed a MySQL50conn module. I then tried to connect to the database using
the HostName, DatabaseName, userName, password. Is there a field for port?
Is there a simple example to retrieve data from a MySQL. I have a form that
essentially has some combobox and they are to be filled with info from the
MySQL database. Please help. Thanks

 Lefti





  


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


Re: [lazarus] Primitive classes in fpc/lazarus

2007-11-26 Thread Chris Kirkpatrick



Wanderlan Santos dos Anjos wrote:

Is RTL documented in the same XML format that LCL documents?
As far as I know, all the on-line help files for RTL and FCL were 
produced in the same way as the LCL documentation, using .XML files and 
FPCDoc. The RTL and FCL descriptor files are not, however, in the SVN 
repository or distributions, as the libraries and their documentation 
are considered to be much more mature and stable. I imagine you could 
get access to the XML files by asking one of the devels.

Chris


If yes, because not to integrate RTL documents with LCL documents?

Wanderlan Santos dos Anjos



Doctors.net.uk education: Totally independent, totally 
free.http://www.doctors.net.uk/education


Click here 
 
to report this email as spam.




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


[lazarus] Primitive classes in fpc/lazarus

2007-11-26 Thread Chris Kirkpatrick
Several types and classes that are ancestors of classes in the LCL are 
not found in the RTL, and it is difficult to document the LCL classes 
completely without them. These include many classes with TFPx 
prefixes; some examples are TFPCanvas and related classes, found in 
fpc/packages/fcl-image/src/fpcanvas.pp, fpimage.pp and many others. Is 
there a way of bringing them into the documentation system so that we 
can fully trace the ancestry of LCL components? FPCanvas, for instance, 
has the description of how to do the actual drawing referred to by many 
of the methods in lcl/Graphics/TCanvas.

Regards - Chris

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


Re: [lazarus] Search engine for Lazarus and Free Pascal concerned stuff

2007-11-21 Thread Chris Kirkpatrick



Mattias Gaertner wrote:


 Please concentrate on the public or 
published properties - anyway, these are the only ones that MakeSkel 
will have put into the skeleton XML file.



Would it hurt, if other tools add entries for private and protected
members?
  


No, absolutely not. It would be great to have access to some of the protected/private 
entries, particularly in the 

Chris


Mattias

_
 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] Search engine for Lazarus and Free Pascal concerned stuff

2007-11-21 Thread Chris Kirkpatrick

Hi Wanderlan -

A standard patch from a Diff would be fine. Yu can either post it on the 
mailing list, or you can avoid annoying all the other recipients (!) by 
sending direct to me at the above email. If you like I can make minor 
alterations before committing.


Earliest undocumented ancestor of TStringGrid is TCustomGrid, so that 
would be a good place to start. Please concentrate on the public or 
published properties - anyway, these are the only ones that MakeSkel 
will have put into the skeleton XML file.


Regards - Chris


Wanderlan Santos dos Anjos wrote:

Ok Chris,

I have noticed that you like to write ...

I will take the deepest ancestor to TStringGrid, not documented yet,
and will begin documenting from there. This approach is ok?

How would you prefer to receive the material to review it? Is a
standard patch ok? Or not? Perhaps XML, HTML, plain text...What will
be more productive for you?

TIA
Wanderlan

On 11/20/07, Chris Kirkpatrick <[EMAIL PROTECTED]> wrote:
  

Hi Wanderlan -

I have started at the 'ancestor' level of the LCL, and have produced
documentation for several of the Classes in Controls, mainly TControl,
TWinControl, TCustomControl; then I did some work on Dialogs,  Forms
(TForm, TApplication, TScreen and TScrollBox) and Graphics (TBitMap,
TBrush, TCanvas, TPen). I have tried to concentrate on those public or
published properties and methods that are regularly found in descendant
classes, so that once defined in the ancestor the inherited property
need not be defined again (unless the descendant needs to override the
inherited property).

I then started to work on StdCtrls and Buttons, to describe the widgets
that are most frequently used in forms. I had already done some work on
StdCtrls, ComCtrls and ExtCtrls about two years ago, and Mattijs
Willemstein had also written some documentation, but then I got very
busy at work and was unable to do anything for a while. I am now back in
production!

I would be very grateful for your contributions to Grids, particularly
as this is an area that I  understand only poorly! I should be more than
happy to help with 'English' problems, and our objective should be to
write code that will be easily translatable into other languages, once
we have got the basic information correct.

I look forward to a fruitful collaboration.

Regards - Chris


Wanderlan Santos dos Anjos wrote:


Hi Chris,

What you already documented?
You are alone in this?
What are your priorities? What should be documented next?
How english is not my native language, my texts' style can look a bit
convoluted...;}

Wanderlan



  

_
 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] Search engine for Lazarus and Free Pascal concerned stuff

2007-11-20 Thread Chris Kirkpatrick

Hi Wanderlan -

I have started at the 'ancestor' level of the LCL, and have produced 
documentation for several of the Classes in Controls, mainly TControl, 
TWinControl, TCustomControl; then I did some work on Dialogs,  Forms 
(TForm, TApplication, TScreen and TScrollBox) and Graphics (TBitMap, 
TBrush, TCanvas, TPen). I have tried to concentrate on those public or 
published properties and methods that are regularly found in descendant 
classes, so that once defined in the ancestor the inherited property 
need not be defined again (unless the descendant needs to override the 
inherited property).


I then started to work on StdCtrls and Buttons, to describe the widgets 
that are most frequently used in forms. I had already done some work on 
StdCtrls, ComCtrls and ExtCtrls about two years ago, and Mattijs 
Willemstein had also written some documentation, but then I got very 
busy at work and was unable to do anything for a while. I am now back in 
production!


I would be very grateful for your contributions to Grids, particularly 
as this is an area that I  understand only poorly! I should be more than 
happy to help with 'English' problems, and our objective should be to 
write code that will be easily translatable into other languages, once 
we have got the basic information correct.


I look forward to a fruitful collaboration.

Regards - Chris


Wanderlan Santos dos Anjos wrote:

Hi Chris,

What you already documented?
You are alone in this?
What are your priorities? What should be documented next?
How english is not my native language, my texts' style can look a bit
convoluted...;}

Wanderlan

  
  


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


Re: [lazarus] Search engine for Lazarus and Free Pascal concerned stuff

2007-11-20 Thread Chris Kirkpatrick

Hi Wanderlan -

I am currently trying to assemble on-line help for the LCL, and if you 
are offering to help, I am delighted!


The tool we use is FPCDoc, which takes the source xx.pas or xx.pp and 
extracts all the identifiers, declared classes and types, procedures and 
functions, etc, and then looks at a descriptor file which we have 
constructed that gives details of the procedures, properties etc. This 
documentation is contained in a xx.xml file, and it is the construction 
of these .xml files that is occupying my time at present. FPCDoc uses 
the original xx.pas file and the xx.xml file to construct HTML files 
that are used to provide the on-line help that is currently accessed 
through SourceForge, but will eventually be included as help-files in 
the distribution.


There is a utility called LazDE (for Lazarus Documentation Editor) that 
is quite useful in constructing and editing the .xml files, although I 
do quite a lot of the work using a conventional test editor. Details of 
LazDE are found here:


http://wiki.freepascal.org/Lazarus_Documentation_Editor

and I suggest you read that thoroughly, together with the FPCDoc manual. 
If you want to collaborate in doing some of the documentation, and 
particularly if yuo have an understanding of some of the more abstruse 
aspects of programming, please let me know and we can decide on priorities.


With kindest regards - Chris Kirkpatrick


Wanderlan Santos dos Anjos wrote:

Hello Mattias,

I did some tests now and all is quick... Probably Sourceforge site,
that host the Lazarus help, was slow when I tested. And this occurs
frequently. Sorry by my precipitate comment.:(

One suggestion:
Pascal reserved words would be recognized to show articles at FP
Reference Guide and furthers guides.

Two asks:
How to colaborate for write more descriptions in RTL/FCL/LCL online help?
How to complete the help when there are missing links? For example:
AddDisk routine there isn't a link.

Can FPDoc help with it?

TIA
Wanderlan

On 11/20/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
  

On Tue, 20 Nov 2007 11:23:53 -0300
"Wanderlan Santos dos Anjos" <[EMAIL PROTECTED]> wrote:



I tryed Live Search with optimal results http://search.live.com/

It is more quick and its parser is better than Google.

For example, try this syntax in Live Search:

TStringGrid  (site:lazarus-ccr.sourceforge.net OR
site:www.lazarus.freepascal.org)

It would replace the Lazarus IDE Help engine too, that is slow.
  

What do you mean with 'Lazarus IDE Help engine'?
At the moment the IDE just collects some context information and starts
an external browser to fetch the page from the internet. Do you mean
starting an external browser and fetching an internet page is slow, or
do you mean the IDE help system is slow?

I'm currently working on an integrated FPDoc browser.

Mattias

_
 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] DataAccess components in lazarus 2.9.24

2007-11-18 Thread Chris Kirkpatrick
A live CD is one that you put in your CD rive and boot from it; it 
usually contains a distribution of linux, like Mepis, Ubuntu or Koppix, 
which gets installed in a RAMDISK and you can run it without involving 
the computer's hard drive. Good for evaluating software (you can run 
linux on  windows computer, for example) and can also be used to install 
the operating system. You can download the ISO image from the 
appropriate website and burn your own CD, or get the CD for a trivial 
cost from the distributors.

Regards - Chris

Lee Jenkins wrote:

Jury Azovtzev wrote:

Hallo!

I tryied to make education LiveCD with lazarus for students in local 
college. But when i run all i found out there is not transactions, 
Mysql and PostrgreSQL components in new lazarus anymore. Could 
someone explane? Are they in other place now? Or what i have to do to 
make application with data access functions?




Sorry to be so dense, but can someone explain the concept of a 
LiveCD?  Is it like TrixBox for Asterisk which included CentOS, 
Asterisk (et all) as a one off installation?





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


Re: [lazarus] latest SVN revision

2007-10-27 Thread Chris Kirkpatrick

Thanks.
After even more recent SVN (fpc r8594, lazarus r12606) and 'make 
cleanall all') lazarus compiled successfully.

Regards - Chris

Mattias Gaertner wrote:

On Thu, 25 Oct 2007 12:42:43 +0100
Chris Kirkpatrick <[EMAIL PROTECTED]> wrote:

  

Hi all -

Attempting to recompile lazarus from command line with 'make'.
(Same problem previously occurred when I tried to rebuild from
lazarus ide). Latest SVN revision for lazarus (12586)
Latest SVN for fpc (3925) - re-compiled/installed OK
(have even deleted local version of lazarus and done a new checkout)
Only one version of fpc.cfg (in  /etc/) with correct links to
/usr/local/lib/fpc/2.3.1/
OS: Mepis-32 version 6.5 (a variant of debian linux)

Repeatedly getting error:

..
/usr/bin/ppc386 -gl -dgtk1 -Fu../../units/i386-linux -Fu.
-Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/rtl
-Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/gtk
-Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/x11
-Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/opengl -FE.
-FU../../units/i386-linux/gtk -Fl/usr/lib/gcc/i486-linux-gnu/4.0.3
-Fl/lib -Fl/lib32 -Fl/usr/lib -Fl/usr/X11R6/lib -Fl/usr/lib32
-Fl/usr/X11R6/lib32 -di386 interfaces.pp
Free Pascal Compiler version 2.3.1 [2007/10/25] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling interfaces.pp
PPU Loading
/home/kirkpatc/FreePascal/lazarus/lcl/units/i386-linux/interfacebase.ppu
PPU Source: interfacebase.pp not found
PPU Source: winapih.inc not found
PPU Source: lclintfh.inc not found
PPU Source: interfacebase.inc not found
PPU Source: intfbasewinapi.inc not found
PPU Source: intfbaselcl.inc not found
PPU Loading
/home/kirkpatc/FreePascal/lazarus/lcl/units/i386-linux/interfacebase.ppu
PPU Source: interfacebase.pp not found
PPU Source: winapih.inc not found
PPU Source: lclintfh.inc not found
PPU Source: interfacebase.inc not found
PPU Source: intfbasewinapi.inc not found
PPU Source: intfbaselcl.inc not found
Recompiling InterfaceBase, checksum changed for Themes
interfacebase.pp(35,16) Fatal: Can't find unit InterfaceBase used by
LCLIntf Fatal: Compilation aborted
make[3]: *** [interfaces.ppu] Error 1
make[3]: Leaving directory
`/home/kirkpatc/FreePascal/lazarus/lcl/interfaces/gtk'
make[2]: *** [gtk_all] Error 2
make[2]: Leaving directory
`/home/kirkpatc/FreePascal/lazarus/lcl/interfaces'
make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `/home/kirkpatc/FreePascal/lazarus/lcl'
make: *** [lcl] Error 2

Any ideas?



checksum changed means, the compiler found an old ppu.
This can happen, if some files were renamed. Therefore it is
recommended to use 'make clean all' or even 'make cleanall all' after
an svn update.
If this does not work, compile with 'make OPT=-vut > log.txt'. Then
explore the created log.txt.


Mattias

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


 

  


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


[lazarus] latest SVN revision

2007-10-25 Thread Chris Kirkpatrick
Hi all -

Attempting to recompile lazarus from command line with 'make'.
(Same problem previously occurred when I tried to rebuild from lazarus ide).
Latest SVN revision for lazarus (12586)
Latest SVN for fpc (3925) - re-compiled/installed OK
(have even deleted local version of lazarus and done a new checkout)
Only one version of fpc.cfg (in  /etc/) with correct links to
/usr/local/lib/fpc/2.3.1/
OS: Mepis-32 version 6.5 (a variant of debian linux)

Repeatedly getting error:

..
/usr/bin/ppc386 -gl -dgtk1 -Fu../../units/i386-linux -Fu.
-Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/rtl
-Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/gtk
-Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/x11
-Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/opengl -FE.
-FU../../units/i386-linux/gtk -Fl/usr/lib/gcc/i486-linux-gnu/4.0.3
-Fl/lib -Fl/lib32 -Fl/usr/lib -Fl/usr/X11R6/lib -Fl/usr/lib32
-Fl/usr/X11R6/lib32 -di386 interfaces.pp
Free Pascal Compiler version 2.3.1 [2007/10/25] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling interfaces.pp
PPU Loading
/home/kirkpatc/FreePascal/lazarus/lcl/units/i386-linux/interfacebase.ppu
PPU Source: interfacebase.pp not found
PPU Source: winapih.inc not found
PPU Source: lclintfh.inc not found
PPU Source: interfacebase.inc not found
PPU Source: intfbasewinapi.inc not found
PPU Source: intfbaselcl.inc not found
PPU Loading
/home/kirkpatc/FreePascal/lazarus/lcl/units/i386-linux/interfacebase.ppu
PPU Source: interfacebase.pp not found
PPU Source: winapih.inc not found
PPU Source: lclintfh.inc not found
PPU Source: interfacebase.inc not found
PPU Source: intfbasewinapi.inc not found
PPU Source: intfbaselcl.inc not found
Recompiling InterfaceBase, checksum changed for Themes
interfacebase.pp(35,16) Fatal: Can't find unit InterfaceBase used by LCLIntf
Fatal: Compilation aborted
make[3]: *** [interfaces.ppu] Error 1
make[3]: Leaving directory
`/home/kirkpatc/FreePascal/lazarus/lcl/interfaces/gtk'
make[2]: *** [gtk_all] Error 2
make[2]: Leaving directory
`/home/kirkpatc/FreePascal/lazarus/lcl/interfaces'
make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `/home/kirkpatc/FreePascal/lazarus/lcl'
make: *** [lcl] Error 2

Any ideas?

Regards - Chris


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


Re: [lazarus] Another icons for Lazarus

2007-09-18 Thread Chris Kirkpatrick




wile64 wrote:

Thank you for your answers, but not to forget that the icons make 16x16
pixels!
There is necessary to remain simple and clear ;)
  
Here a first proposal on the Marc idea.
  
-- 
Laurent.

  
My Web : http://wile64.neuf.fr/
French Forum : http://lazforum-fr.tuxfamily.org/index.php
  
  
  
  
  

Looks remarkably like KDiskFree and KwikDisk icons in Linux, but no
harm for that. I like it.
Regards - Chris




Re: [lazarus] Overview of LCL architecture.

2007-09-14 Thread Chris Kirkpatrick
Bruce Tulloch wrote:
> I thought I'd have a go at finding a bug I reported today:
>
>   http://www.freepascal.org/mantis/view.php?id=9676
>
> and I think I might get to the bottom of it eventually.
>
> My question here is a tangential to this...
>
> Is there any overview documentation about the architecture
> of the LCL and what the normal sequence of events is for a
> typical GUI application in general?
>
> I'm talking internally and down to the widget interface level.
>
> How closely to Delphi's VCL does the LCL correspond and how
> useful (or misleading) is Borland's documentation when trying
> to understanding LCL's internal design at these levels below
> the VCL API layer.
>
> For example, in this specific case I think the problem is
> that the TComboBox name is being rendered (by GTK) before
> the component streaming of the TComboBox has even started
> (in TWinControl.InitializeWnd).
>
> The TPanel works because its Caption is not rendered at
> this point in the LCL bootstrap sequence.
>
> However I'm not confident of this diagnosis yet because
> I don't know the normal "sequence of events" and what is
> supposed to happen.
>
> I will soldier on with the debugger to learn by example
> but if there is a source of information that might speed
> up the process and help avoid any blind alleys it would
> be most welcome :-)
>
> Many thanks, Bruce.
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>
>
>  
>
>   
You might try looking at the on-line help for the LCL. The easiest way
to get there is to put the cursor on a key-word in your editor, and
press F1. Provided yu have an internet connection, you will be taken to
a HTML document describing the item, and you should find plenty of links
to help you, for example, to trace the ancestry of a particular
component and the properties defined in the ancestors.

I don't know if this helps; please be aware that the LCL documentation
for Lazarus is still in a pretty primitive state and needs a lot of work
(do I hear offers of help?), but you can discern the underlying
structure of any components you use.

Regards - Chris

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


Re: [lazarus] Mouse wheel and Lazarus IDE editor

2007-09-09 Thread Chris Kirkpatrick
Mattias Gaertner wrote:
> On Sun, 2 Sep 2007 13:32:26 +0200
> Burkhard Carstens <[EMAIL PROTECTED]> wrote:
>
>   
>> Am Samstag, 1. September 2007 15:20 schrieb Marc Weustink:
>> 
>>> Graeme Geldenhuys wrote:
>>>   
 -- Forwarded message --
 From: Graeme Geldenhuys <[EMAIL PROTECTED]>
 Date: 29-Aug-2007 10:04
 Subject: Mouse wheel and Lazarus IDE editor
 To: lazarus@miraclec.com


 Hi,

 I'm using Lazarus under Linux compiled with the GTK1 toolkit.
 Lazarasu v0.9.23 (r11831).   When I scroll the mouse wheel up or
 down, the editor always scrolls down. It seems to happen more
 frequent now than a couple months back.  Lazarus seems to ignore
 the wheel direction and always scroll down.
 
>>> I've seen this to, always in synedit, and iirc only on gtk. But the
>>> behaviour depends on the size(length) of the edited text (at least
>>> thats the feeling I have).
>>>
>>>   
 Have others experienced the same problems?  The only way to fix
 the issue, is to quit Lazarus  completely and then restart Lazarus
 again.
 
>>> Never tried that.
>>>
>>> Marc
>>>
>>>   
 I haven't noticed any pattern as to when the bug occurs and cannot
 reproduce the bug on demand. It happens at random interfiles,
 around twice a day now.

 
>> I don't think it's related to the size but to using the scrollbar of
>> the synedit.
>> See:
>> http://www.hu.freepascal.org/fpcircbot/
>> cgifpcbot?channel=lazarus-ide&fromdate=2007-07-20&todate=2007-07-20&fromtime=22%
>> 3A04%3A00&totime=22%3A15%3A00
>> 
>
> The gtk1 has such a 'bug'. I never saw this bug with gtk2.
>
> Mattias
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>
>
>  
>
>   
I have observed this behaviour in gtk1. I find that if the edit window
scrolls the wrong way using the mouse-wheel, clicking the pointer on the
scroll bar itself restores correct behaviour, at least for a while.
Chris

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


Re: [lazarus] LazDE documentation editor won't build HTML file

2007-08-31 Thread Chris Kirkpatrick
Michael Van Canneyt wrote:
> On Fri, 31 Aug 2007, Chris Kirkpatrick wrote:
>
>   
>> I am trying to use LazDE (documentation editor) to construct an HTML
>> file based on a recently edited XML documentation file.
>>
>> All tools including LazDE and Lazarus built from latest SVN.
>> Mepis32 v6.5 (a variant of debian linux)
>> Intel Pentium4 with 512 MB memory.
>>
>> I (consistently) get the following output - needless to say,
>> 'Documentation was NOT successfully built'!
>>
>>
>> Building docs using command: fpdoc --package="lcl"
>> --output="/home/kirkpatc/FreePascal/doc.tmp/" --format=html --content
>> --descr="/home/kirkpatc/FreePascal/lazarus/docs/xml/lcl/controls.xml"
>> --input="/home/kirkpatc/FreePascal/lazarus/lcl/controls.pp"
>> FPDoc - Free Pascal Documentation Tool
>> Version 2.3.1 [2007/08/27]
>> (c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, [EMAIL PROTECTED]
>>
>> An unhandled exception occurred at $08075A88 :
>> EFOpenError : Unable to open file
>> ""/home/kirkpatc/FreePascal/lazarus/docs/xml/lcl/controls.xml""
>>   $08075A88
>>   $080D16DE
>>   $0809C475
>>   $080492C2
>>   $08049901
>>
>> Documentation successfully built.
>>
>>
>> Any suggestions?
>> 
>
> Yes, the quotes around the filename should not be there.
>
> Michael.
>
>   
FpDoc works OK  from the command line when I remove the quotes, and
generates HTML as expected.

Therefore there seems to be a bug in LazDE, which is inserting spurious
quotes around filenames before invoking FpDoc. Might this be coming from
the file-picker that is used in setting up the 'Build' action in LazDE?

Should I file a bug report about the insertion of spurious quotes in
filenames?

Regards - Chris

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


Re: [lazarus] LazDoc

2007-08-31 Thread Chris Kirkpatrick
Thanks - after recompiling everything using latest versions and all
compatible with each other, it works! When will we learn?
Regards - Chris


Vincent Snijders wrote:
> Chris Kirkpatrick schreef:
>> I have recently started trying to create documentation for Lazarus,
>> after a prolonged break.
>>
>> Running a variant of Debian Linux (Mepis 6.5) I have checked out the
>> latest SVN for lazarus and fpc, compiled lazde and started trying to
>> edit. If I run the just-compiled version of lazde and try to open an XML
>> file that already contains data, the app closes with a message
>> 'execution stopped'. If I run lazde from the command line and try to
>> open a file containing data, I get a segmentation fault and the
>> application terminates.
>>
>> Any suggestions?
>
> So you use fpc 2.3.1 and Lazarus 0.9.23 from SVN? What file did you
> open? I just tried arrows.xml and I did not get an error message (on
> windows).
>
> Vincent
>
> _
> To unsubscribe: mail [EMAIL PROTECTED] with
>"unsubscribe" as the Subject
>   archives at http://www.lazarus.freepascal.org/mailarchives
>
>
>
>

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


[lazarus] LazDE documentation editor won't build HTML file

2007-08-31 Thread Chris Kirkpatrick
I am trying to use LazDE (documentation editor) to construct an HTML
file based on a recently edited XML documentation file.

All tools including LazDE and Lazarus built from latest SVN.
Mepis32 v6.5 (a variant of debian linux)
Intel Pentium4 with 512 MB memory.

I (consistently) get the following output - needless to say,
'Documentation was NOT successfully built'!


Building docs using command: fpdoc --package="lcl"
--output="/home/kirkpatc/FreePascal/doc.tmp/" --format=html --content
--descr="/home/kirkpatc/FreePascal/lazarus/docs/xml/lcl/controls.xml"
--input="/home/kirkpatc/FreePascal/lazarus/lcl/controls.pp"
FPDoc - Free Pascal Documentation Tool
Version 2.3.1 [2007/08/27]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, [EMAIL PROTECTED]

An unhandled exception occurred at $08075A88 :
EFOpenError : Unable to open file
""/home/kirkpatc/FreePascal/lazarus/docs/xml/lcl/controls.xml""
  $08075A88
  $080D16DE
  $0809C475
  $080492C2
  $08049901

Documentation successfully built.


Any suggestions?

Regards - Chris

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


[lazarus] LazDoc

2007-08-27 Thread Chris Kirkpatrick
I have recently started trying to create documentation for Lazarus,
after a prolonged break.

Running a variant of Debian Linux (Mepis 6.5) I have checked out the
latest SVN for lazarus and fpc, compiled lazde and started trying to
edit. If I run the just-compiled version of lazde and try to open an XML
file that already contains data, the app closes with a message
'execution stopped'. If I run lazde from the command line and try to
open a file containing data, I get a segmentation fault and the
application terminates.

Any suggestions?

Regards - Chris

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


Re: [lazarus] Gdk-error on launching lazarus

2006-08-01 Thread Chris Kirkpatrick
On Sat, 2006-07-01 at 13:50 +0200, Michael Van Canneyt wrote:
> 
> On Sat, 1 Jul 2006, Chris Kirkpatrick wrote:
> 
> > Hi folks -
> >
> > New installation of Mepis 6 (with ububtu kernel) on Toshiba satellite - 
> > 512MB
> > RAM
> > Latest libgdk-pixbuf-dev from Debian repository
> > Latest libgtk2
> >
> > latest subversion fpc and lazarus - both compile OK
> >
> > on launching lazatus I get the following errors
> >
> > [EMAIL PROTECTED] ./lazarus
> > TApplication.IconChanged - TODO: convert this message...no implementation in
> > gtk or win32
> > NOTE: editor options config file not found - using defaults
> > NOTE: miscellaneous options file not found - using defaults
> > NOTE: codetools config file not found - using defaults
> > NOTE: help options config file not found - using defaults
> >
> > snip
> >
> > Gdk-ERROR **: BadAlloc (insufficient resources for operation)
> >  serial 7630 error_code 11 request_code 53 minor_code 0
> 
> This indicates not enough memory or too little colors in your display.
> 
> Michael.
> 

I am happy to report that with the latest, final issue of Mepis 6.0 (ie
not the Beta or release candidate versions) Lazarus instals and runs OK
without the above errors. Whatever pathological things were happening
seem to have been cured. I hope other users will have a similar happy
experience.

Regards - Chris

> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
> 
> 
> 
> Doctors.net.uk education: totally independent, totally free.
> http://www.doctors.net.uk/education
> ___
> 
> 

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


[lazarus] Gdk-error on launching lazarus

2006-07-01 Thread Chris Kirkpatrick

Hi folks -

New installation of Mepis 6 (with ububtu kernel) on Toshiba satellite - 
512MB RAM

Latest libgdk-pixbuf-dev from Debian repository
Latest libgtk2

latest subversion fpc and lazarus - both compile OK

on launching lazatus I get the following errors

[EMAIL PROTECTED] ./lazarus
TApplication.IconChanged - TODO: convert this message...no 
implementation in gtk or win32

NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults
NOTE: help options config file not found - using defaults

snip

Gdk-ERROR **: BadAlloc (insufficient resources for operation)
 serial 7630 error_code 11 request_code 53 minor_code 0
Gdk-ERROR **: BadDrawable (invalid Pixmap or Window parameter)
 serial 7631 error_code 9 request_code 62 minor_code 0

I have looked for Gdk-ERROR in Google - lots of entries (rather old, 
circa 20001-2003) reporting the error for a random selection of 
applications (SSH, Firefox, dillo, etc) but no bright ideas about solutions.


Any ideas?

Regards - Chris

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


Re: [lazarus] Wiki

2006-03-13 Thread Chris Kirkpatrick
On Mon, 2006-03-13 at 12:59 +0100, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I would like to propose to merge the following pages;
> 
> http://wiki.lazarus.freepascal.org/index.php/Lazarus_IDE_ToDo_List
> http://www.lazarus.freepascal.org/modules.php?op=modload&name=Roadmap&file=index
> 
> into
> 
> http://wiki.lazarus.freepascal.org/index.php/Road_To_1.0
> 
> Anybody oppose?
> 
> Darius
> 
Good idea
Chris

> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
> 
> 
> National Patient Safety Agency - supporting Doctors.net.uk members in safe 
> practice.
> http://www.doctors.net.uk/NPSA
> ___
> 
> 

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


[lazarus] Relative paths for Lazarus and FPC libraries

2005-08-10 Thread chris . kirkpatrick
I quote something I wrote on the Lazarus-CCR Wiki:

 Installing Lazarus under Windows
The current releases of the Windows Lazarus binary packages install very 
easily, and should work 'out-of-the-box'. 

It is even possible to install the whole Lazarus/FPC package on a portable USB 
drive (capacity at least 256 MB), for use in environments where you are not 
allowed to install software on your Windows workstation or where you haven't 
got administrator privileges. You do have to be a little careful about 
adjusting the paths in the compiler and environment options and the fpc.cfg 
file. It may also be necessary to keep the directory for test compilation on 
your portable drive. 

DOES ANYONE KNOW HOW TO SET UP RELATIVE PATHS IN THESE TAGS AND FILES, SO THAT 
THE ADDRESSING WORKS WHEN YOU MOVE THE USB DEVICE TO ANOTHER MACHINE WHERE IT 
HAS A DIFFERENT DRIVE LETTER?  

It would be helpful to be able to make a single entry in the Environment 
Options and Project Options rather having to change between E:\... and F:\... 
if I move my USB drive from one windows machine to another.

Any ideas?
Regards - Chris




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