Re: [fpc-devel] CHM compiler

2007-07-06 Thread Graeme Geldenhuys

Nice work Andrew!  :)

Is this building up to the point where we can incorporate Help files
in applications developed with Lazarus.  So we can actually use the
HelpContext, HelpFile and HelpKeyword in the Object Inspector.

Another point not related to CHM help. Can those fields be used with
HTML files?  Has anybody created a LCL based application with context
help?

Regards,
 - Graeme -



On 06/07/07, Andrew Haines [EMAIL PROTECTED] wrote:

Hi all,

I've been working on a compiler for creating CHM files. It's pretty much
done. :)

I've written a GUI to create and compile project files also a simple
command line program that compiles project files. And a Sitemap editor
(part the GUI) needed to make the Table of Contents and the Index.

So here are a couple screenshots:

http://hainesservice.com/andrew/chmwriter.png
http://hainesservice.com/andrew/chmwriter2.png


and here is a link to a chm with the rtl fcl and lcl in it. The TOC and
Index are small to the point of being almost useless, they are just to
test that my sitemap editor works.

6.2 mb
http://hainesservice.com/andrew/rtl_fcl_lcl.chm

Please let me know if this works for you.

In Linux you can use GnoCHM, kchmviewer or xchm(wxWidgets based) to open
use the file.

The file is not searchable.

Regards,

Andrew
___
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel



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


Re: [lazarus] Databases on the Wiki

2007-07-06 Thread Graeme Geldenhuys

Why not create FPDoc/LazDoc (xml) documentation instead of a wiki
page. Code examples can also be included in fpdoc help as RTL docs
show. That way HTML, PDF or whatever else format FPDoc supports can be
generated. The same as what was done with the RTL, FCL and LCL docs.
We can then link from the Wiki to those files.

Just my 0.02c worth.

Regards,
 Graeme.



On 06/07/07, John [EMAIL PROTECTED] wrote:

I promised Joost that I would do some documentation of the database
components, but I am uncertain where to put it.  There is a page at
wiki.lazarus.freepascal.org/Databases that seems to be a very good
overall guide and starting point, and seems to have been started as just
that.  However, it doesn't seem to be linked from anywhere very obvious
- only from from Lazarus_Database_Tutorial.  Is there somewhere more
central where it could have a link ?  I can than hang my stuff from it .

cheers,
John

_
 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] Subrows in grids...

2007-07-06 Thread Graeme Geldenhuys

Oh yeah. Just to complete the list of features TMS's Advanced
StringGrid supports. Here is the link to all it's features and code
examples.

http://www.tmssoftware.com/advgrid2.htm

Graeme.


On 06/07/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote:

On 06/07/07, Jesus Reyes A. [EMAIL PROTECTED] wrote:

 Can you describe how this feature works with some source code sample?


I don't know the TMS components, but found the following on their
website.  Example code plus screenshots.

http://www.tmssoftware.com/asg38.htm
http://www.tmssoftware.com/asg39.htm
http://www.tmssoftware.com/asg42.htm

Regards,
  - Graeme -



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


Re: [lazarus] Subrows in grids...

2007-07-06 Thread Graeme Geldenhuys

On 06/07/07, Jesus Reyes A. [EMAIL PROTECTED] wrote:


Can you describe how this feature works with some source code sample?



I don't know the TMS components, but found the following on their
website.  Example code plus screenshots.

http://www.tmssoftware.com/asg38.htm
http://www.tmssoftware.com/asg39.htm
http://www.tmssoftware.com/asg42.htm

Regards,
 - Graeme -

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


[lazarus] Lazarus wiki and translated pages

2007-07-06 Thread Graeme Geldenhuys

Hi,

Does the users that translated a English wiki page get (auto) notified
of updates made so that the other language pages can be amended?
Sorry, I'm not sure how this works in Wiki's. :)

Regards,
 - Graeme -

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


Re: [Fwd: [lazarus] Lazarus wiki and translated pages]

2007-07-06 Thread Graeme Geldenhuys

Thanks Swen!

For those interested. I updated the tiOPF (english) wiki page. If the
other languages are not updated in a few days, I'll try and use
Google's language tools. :)

Regards,
 - Graeme -


On 06/07/07, Swen Heinig [EMAIL PROTECTED] wrote:


 Hello Graeme,

 unfortunately there is no automatic notification in a wiki. You can check the 
recent changes or you must activate monitoring of each page you translated.

 Regards,
 Swen

  Original-Nachricht 
   Betreff:[lazarus] Lazarus wiki and translated pages
   Weitersenden-Datum:  Fri, 6 Jul 2007 03:16:27 -0400
   Weitersenden-Von:  lazarus@miraclec.com
   Datum:Fri, 6 Jul 2007 09:24:40 +0200
   Von:Graeme Geldenhuys [EMAIL PROTECTED]
   Antwort an:lazarus@miraclec.com
   An:lazarus@miraclec.com

 Hi,

Does the users that translated a English wiki page get (auto) notified
of updates made so that the other language pages can be amended?
Sorry, I'm not sure how this works in Wiki's. :)

Regards,
 - Graeme -

_
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] Databases on the Wiki

2007-07-06 Thread Felipe Monteiro de Carvalho

I found this page which is directy linked from the main Documentation page:

http://wiki.lazarus.freepascal.org/Lazarus_DB_Faq

It looks quite a weak page. Maybe it's content could be merged into
your Databases page, and then Databases would substitute it on the
main Documentation page, and we can delete the old FAQ page.

--
Felipe Monteiro de Carvalho

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


Re: [fpc-devel] CHM compiler

2007-07-06 Thread Andrew Haines
Graeme Geldenhuys wrote:

 Another point not related to CHM help. Can those fields be used with
 HTML files?  

Sorry I misread this. No, not without some other non html file that can
be used by a program to lookup the correct url from a context id.

Andrew

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


Re: [Fwd: [lazarus] Lazarus wiki and translated pages]

2007-07-06 Thread Antonio Sanguigni


For those interested. I updated the tiOPF (english) wiki page. If the
other languages are not updated in a few days, I'll try and use
Google's language tools. :)



Hi Graeme, I don't know if it's useful but I can translate it in italian. I
didn't see italian link on the wiki page, tough. ;-)

Antonio aka Slapshot

--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org


[lazarus] A counting proxy in lazarus ?

2007-07-06 Thread A.J. Venter

Hi all,
I have an interesting challenge before me. A user has requested the
ability to keep track of http traffic used by OutKafe users. These
should count against the user's available usage units the same way
time does now (so a big downloader will run out of access quicker
basically)
After some thought and discussion, I came to the conclusion that in
their environment the approach should be this (keep in mind we're only
concerned about http):

Put an http proxy inside the outkafe counter window, send the browser
through it. This proxy need not cache ANYTHING. It ONLY needs to relay
the http traffic back and forth - and count the bytes coming in (Each
instance can run on it's own port - no problems there)

So my question is - can I do this with the INet components ? If I hook
up INet's http server and http client components into my app - can I
then let the browser connect to the httpserver component as a proxy
client, and have the httpclient component relay the same connection ?
How hard would this be ? Does the INet components have the tools I
would need to count the bytes ?

If none of this is an option - is there another (easy) way I can do
this ? Perhaps a plugin for squid that can report on bandwith used by
each user ? Or perhaps just a proxy interface that can report this to
stdout ?

Or would you guys suggest some entirely different approach ? (I am
open to possibility here)
Of course, a way to just track 'traffic per user' and respond each
time one meg is transferred could be ideal - again I'm open to
suggestion.

TIA
A.J.
--
A.J. Venter
CEO - OutKast Solutions C.C.
http://www.outkastsolutions.co.za
Cell: +27 83 455 9978
Fax: +27 21 413 2800
Office: +27 21 591 6766

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


Re: [fpc-devel] CHM compiler

2007-07-06 Thread Felipe Monteiro de Carvalho

On 7/6/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote:

 So we can actually use the
HelpContext, HelpFile and HelpKeyword in the Object Inspector.


U, I'm not sure if we should re-use the deprecated winhelp
properties to implement our new chm help system. It could bring
confusion.

--
Felipe Monteiro de Carvalho

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


Re: [fpc-devel] CHM compiler

2007-07-06 Thread Graeme Geldenhuys

It's been a while since I authored help in Delphi application (yes I
did use CHM files). But doesn't CHM help also support Help Context
ID's?  How else would you associate a edit field in you application
with a help article in the CHM file?

Graeme.


On 06/07/07, Felipe Monteiro de Carvalho
[EMAIL PROTECTED] wrote:

On 7/6/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote:
  So we can actually use the
 HelpContext, HelpFile and HelpKeyword in the Object Inspector.

U, I'm not sure if we should re-use the deprecated winhelp
properties to implement our new chm help system. It could bring
confusion.

--
Felipe Monteiro de Carvalho

_
 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-devel] CHM compiler

2007-07-06 Thread Graeme Geldenhuys

On 06/07/07, Andrew Haines [EMAIL PROTECTED] wrote:


Currently afaik those fields don't really do anything other than exist.
I would like for this to work.


Thought so... :-(


 Has anybody created a LCL based application with context
 help?

Not that I know of. This could be quite tedious for the lcl and fcl/rtl
and I think to make it easier it would be nice if fpdoc had some support
for it. Something like a xml file that could be converted into whatever
format was needed for the target media the help used would make it a
snap to add(other than the fact all those values need to be set in order
to be used :).


I wasn't referring to help files for LCL, RTL, FCL or Lazarus.  I'm
talking about help files for application I write.  I'm not sure how
fpdoc would help for such applications. Aren't fpdoc designed for API
help and not for general applications.  I'm looking to author help
files so that if the user is in our Accounts - Debtors screen, they
can press F1 and get some nice friendly help + screenshot about that
window.

So far I have been looking (though not much) at the TZipProject
component written by Darius, so I can create my own help file format
for applications (not API docs, etc). Something like CHM or OpenOffice
help format. A single archive file containing HTML pages with a Table
Of Content and some sort of keyword search (index).

[...runs and hides...]
Seems Open Source developers don't like application help.  :-)  In the
commercial world it's a *must*!


Regards,
 - Graeme -

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


Re: [lazarus] Databases on the Wiki

2007-07-06 Thread John

Felipe Monteiro de Carvalho wrote:
I found this page which is directy linked from the main Documentation 
page:


http://wiki.lazarus.freepascal.org/Lazarus_DB_Faq

It looks quite a weak page. Maybe it's content could be merged into
your Databases page, and then Databases would substitute it on the
main Documentation page, and we can delete the old FAQ page.


It isn't *my* database page, I just found it!

The DB Faq page is already linked from the Databases page, so if the 
Database page just replaced the DB FAQ on the  front documentation  page 
then the FAQ would still be accessible.  Though I agree the FAQ does not 
have much in it that is not covered on the Databases page or in the DB 
Tutorial.


Graeme wrote:

 Why not create FPDoc/LazDoc (xml) documentation instead of a wiki page.

I might do some work in LazDoc later, but I think the level of 
documentation I can write straight away would be more suitable to wiki, 
and also I need others be able to easily check that I am writing is not 
a lot of nonsense!


cheers,
John

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


Re: [fpc-devel] CHM compiler

2007-07-06 Thread Michael Van Canneyt


On Fri, 6 Jul 2007, Graeme Geldenhuys wrote:

 On 06/07/07, Andrew Haines [EMAIL PROTECTED] wrote:
 
  Currently afaik those fields don't really do anything other than exist.
  I would like for this to work.
 
 Thought so... :-(
 
   Has anybody created a LCL based application with context
   help?
 
  Not that I know of. This could be quite tedious for the lcl and fcl/rtl
  and I think to make it easier it would be nice if fpdoc had some support
  for it. Something like a xml file that could be converted into whatever
  format was needed for the target media the help used would make it a
  snap to add(other than the fact all those values need to be set in order
  to be used :).
 
 I wasn't referring to help files for LCL, RTL, FCL or Lazarus.  I'm
 talking about help files for application I write.  I'm not sure how
 fpdoc would help for such applications. Aren't fpdoc designed for API
 help and not for general applications.  I'm looking to author help
 files so that if the user is in our Accounts - Debtors screen, they
 can press F1 and get some nice friendly help + screenshot about that
 window.

fpdoc contains 'topics' which are exactly designed for this.

Michael.

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


Re: [fpc-devel] CHM compiler

2007-07-06 Thread Graeme Geldenhuys

On 06/07/07, Michael Van Canneyt [EMAIL PROTECTED] wrote:


fpdoc contains 'topics' which are exactly designed for this.



Nice one! :)  Thanks Michael.
I'll go do some reading to see how it must be used.

Regards,
 - Graeme -

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


Re: [lazarus] Subrows in grids...

2007-07-06 Thread Jesus Reyes A.


- Original Message - 
From: Graeme Geldenhuys [EMAIL PROTECTED]

To: lazarus@miraclec.com
Sent: Friday, July 06, 2007 1:48 AM
Subject: Re: [lazarus] Subrows in grids...



On 06/07/07, Jesus Reyes A. [EMAIL PROTECTED] wrote:


Can you describe how this feature works with some source code sample?



I don't know the TMS components, but found the following on their
website.  Example code plus screenshots.

http://www.tmssoftware.com/asg38.htm
http://www.tmssoftware.com/asg39.htm
http://www.tmssoftware.com/asg42.htm

Regards,
 - Graeme -



Ah thanks that's what I meant, I think it's a nice feature that we should 
have it. I will try to implement it at the first opportunity.


Jesus Reyes A.

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


Re: [lazarus] Subrows in grids...

2007-07-06 Thread zeljko
On Friday 06 July 2007 17:32, Jesus Reyes A. wrote:
 - Original Message -
 From: Graeme Geldenhuys [EMAIL PROTECTED]
 To: lazarus@miraclec.com
 Sent: Friday, July 06, 2007 1:48 AM
 Subject: Re: [lazarus] Subrows in grids...

  On 06/07/07, Jesus Reyes A. [EMAIL PROTECTED] wrote:
  Can you describe how this feature works with some source code sample?
 
  I don't know the TMS components, but found the following on their
  website.  Example code plus screenshots.
 
  http://www.tmssoftware.com/asg38.htm
  http://www.tmssoftware.com/asg39.htm
  http://www.tmssoftware.com/asg42.htm
 
  Regards,
   - Graeme -

 Ah thanks that's what I meant, I think it's a nice feature that we should
 have it. I will try to implement it at the first opportunity.

Is it necessary to extend TStringGrid over it's counterpart in delphi ?
Such featured grid (like TAdvStringGrid) should inherit TStringGrid (or 
not ) ?

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


Re: [lazarus] Subrows in grids...

2007-07-06 Thread Jesus Reyes

--- zeljko [EMAIL PROTECTED] escribió:

 On Friday 06 July 2007 17:32, Jesus Reyes A. wrote:
  - Original Message -
  From: Graeme Geldenhuys [EMAIL PROTECTED]
  To: lazarus@miraclec.com
  Sent: Friday, July 06, 2007 1:48 AM
  Subject: Re: [lazarus] Subrows in grids...
 
   On 06/07/07, Jesus Reyes A. [EMAIL PROTECTED] wrote:
   Can you describe how this feature works with some source code
 sample?
  
   I don't know the TMS components, but found the following on
 their
   website.  Example code plus screenshots.
  
   http://www.tmssoftware.com/asg38.htm
   http://www.tmssoftware.com/asg39.htm
   http://www.tmssoftware.com/asg42.htm
  
   Regards,
- Graeme -
 
  Ah thanks that's what I meant, I think it's a nice feature that
 we should
  have it. I will try to implement it at the first opportunity.
 
 Is it necessary to extend TStringGrid over it's counterpart in
 delphi ?
 Such featured grid (like TAdvStringGrid) should inherit TStringGrid
 (or 
 not ) ?
 

I don't know exactly how far it needs to be extended, it's already
big in size and features, but what I know is that merged cells
feature is planned since day 0 (there is even some code over there),
appart of this feature I have no plans to add any mayor feature,
except for the features users themselves want to add and others
agreed to have, and keep improving compatibility when it can be
achieved of course.

In fact this is the same question I raised some time ago, no
conclusive answers that I remember but there was some useful feeback
for example the idea of plugins, I think that will be the future: a
standard grid that can be extended by plugins (not before 1.0
though).

Jesus Reyes A.



  Llama gratis a cualquier PC del mundo. 
Con una excelente calidad de sonido. 
http://mx.messenger.yahoo.com/

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


[lazarus] Floating point random numbers generator

2007-07-06 Thread Alain Michaud
Hi.

maybe someone has a (good) pascal procedure for generating some floating
point random numbers ?

Thank you 

Alain

 

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