Re: [lazarus] Laz / Fpc function listing

2007-11-20 Thread Tiziano De Togni

SteveG wrote:
Would anybody know if there is a listing (or some way of building one) 
of all functions available for Lazarus and/or Fpc ?


maybe the short answer is simply: no.

But I am pleased that people are asking for something I'm currently
working on :-)

Look at this chart:  http://digilander.libero.it/tizzziano/pdf/procs_01.pdf

It was made looking into the FPC pdf documentation and surfing on the
source code of the RTL libraries.

It's only a draft version. Suggestions are welcome.

tiziano


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


Re: [lazarus] [r12910][Ubuntu][GTK2] Compilation failed

2007-11-20 Thread Damien Gerard


On Nov 20, 2007, at 12:43 AM, Mattias Gaertner wrote:


On Mon, 19 Nov 2007 22:04:26 +0100
Damien Gerard [EMAIL PROTECTED] wrote:


[...]

In lcl/interfaces/gtk2/gtk2widgetset.inc(618,48)
Identifier not found pango_layout_get_font_description


I have made a rebuild from scratch and it doesn't work for me :(


You need a FPC 2.2.0, 2.0.4 or recent 2.3.1.



Oo It works with 2.0.4 and not with the 2.1.4 ?

I use the package provided by the ubuntu and for this OS I would not
like to use a specific version.


2.1.4 was a development version. 2.0.4 and 2.2.0 are the released
stable versions.



Aaaah ! Indeed it rocks ! :)



Mattias




--
Damien Gerard
[EMAIL PROTECTED]



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


Re: [lazarus] last svn problems under fpc 2.0.4

2007-11-20 Thread Giuliano Colla

Paul Ishenin ha scritto:
Please test with r12919. If error is still present then please send 
me (or create bug rep with) any test application.



r12920 also make things better (12919 fixes one crashes, 12920 - another)



I tested my apps under r 12920 and they don't crash anymore. :-)
In one of the test apps a weird thing popped out about an edit being 
misplaced when a label above it is hidden, but I have not yet located at 
what revision stage the problem came out.


However the crash for me has been solved.

Thanks,

Giuliano

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


Re: [lazarus] IDE Crashes on Mac OS (gtk)

2007-11-20 Thread Tom Gregorovic
On Nov 19, 2007 3:22 PM, Damien Gerard [EMAIL PROTECTED] wrote:

 
 
  I use the last snapshot for OS X i386 and followed 
  http://wiki.lazarus.freepascal.org/Carbon_Interface
 
  I've got this :
 
  [...]
  unknown stabs type 0xC0 in /usr/local/share/lazarus/lcl/units/i386-
  darwin/carbon/carbonthemes.o
  unknown stabs type 0xE0 in /usr/local/share/lazarus/lcl/units/i386-
  darwin/carbon/carbonthemes.o
  unknown stabs type 0xC0 in /usr/local/share/lazarus/lcl/units/i386-
  darwin/carbon/carbonclipboard.o
  unknown stabs type 0xE0 in /usr/local/share/lazarus/lcl/units/i386-
  darwin/carbon/carbonclipboard.o
  unknown stabs type 0xC0 in /usr/local/share/lazarus/lcl/units/i386-
  darwin/carbon/carbonclipboard.o
  unknown stabs type 0xE0 in /usr/local/share/lazarus/lcl/units/i386-
  darwin/carbon/carbonclipboard.o
  unknown stabs type 0xC0 in /usr/local/share/lazarus/components/
  codetools/units/i386-darwin/basiccodetools.o
  unknown stabs type 0xE0 in /usr/local/share/lazarus/components/
  codetools/units/i386-darwin/basiccodetools.o
  unknown stabs type 0xC0 in /usr/local/share/lazarus/components/
  codetools/units/i386-darwin/basiccodetools.o
  unknown stabs type 0xE0 in /usr/local/share/lazarus/components/
  codetools/units/i386-darwin/basiccodetools.o
  unknown stabs type 0xC0 in /usr/local/share/lazarus/components/
  codetools/units/i386-darwin/laz_xmlwrite.o
  unknown stabs type 0xE0 in /usr/local/share/lazarus/components/
  codetools/units/i386-darwin/laz_xmlwrite.o
  ld: can't write output file: ../startlazarus
  Error: Error while linking
  TExternalToolList.Run Exception: Error: Error while linking
  TMainIDE.DoBuildLazarus: Build Lazarus without linking failed.
 

 Under Mac OS X 10.5.1


Does building from command line work?
Use: make all LCL_PLATFORM=carbon OPT=-k-framework -kcarbon

Tom

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


Re: [lazarus] IDE Crashes on Mac OS (gtk)

2007-11-20 Thread Vincent Snijders

Damien Gerard schreef:



I use the last snapshot for OS X i386 and followed 
http://wiki.lazarus.freepascal.org/Carbon_Interface


I've got this :

[...]
Error: Error while linking
TExternalToolList.Run Exception: Error: Error while linking
TMainIDE.DoBuildLazarus: Build Lazarus without linking failed.



Under Mac OS X 10.5.1



I think for Mac OS X 10.5 you need fpc 2.2.1 or later. See 
http://lists.freepascal.org/lists/fpc-pascal/2007-October/015365.html



Vincent

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


Re: [lazarus] IDE Crashes on Mac OS (gtk)

2007-11-20 Thread Damien Gerard


On Nov 20, 2007, at 12:34 PM, Tom Gregorovic wrote:


On Nov 19, 2007 3:22 PM, Damien Gerard [EMAIL PROTECTED] wrote:





I use the last snapshot for OS X i386 and followed 
http://wiki.lazarus.freepascal.org/Carbon_Interface

I've got this :

[...]
unknown stabs type 0xC0 in /usr/local/share/lazarus/lcl/units/i386-
darwin/carbon/carbonthemes.o
unknown stabs type 0xE0 in /usr/local/share/lazarus/lcl/units/i386-
darwin/carbon/carbonthemes.o
unknown stabs type 0xC0 in /usr/local/share/lazarus/lcl/units/i386-
darwin/carbon/carbonclipboard.o
unknown stabs type 0xE0 in /usr/local/share/lazarus/lcl/units/i386-
darwin/carbon/carbonclipboard.o
unknown stabs type 0xC0 in /usr/local/share/lazarus/lcl/units/i386-
darwin/carbon/carbonclipboard.o
unknown stabs type 0xE0 in /usr/local/share/lazarus/lcl/units/i386-
darwin/carbon/carbonclipboard.o
unknown stabs type 0xC0 in /usr/local/share/lazarus/components/
codetools/units/i386-darwin/basiccodetools.o
unknown stabs type 0xE0 in /usr/local/share/lazarus/components/
codetools/units/i386-darwin/basiccodetools.o
unknown stabs type 0xC0 in /usr/local/share/lazarus/components/
codetools/units/i386-darwin/basiccodetools.o
unknown stabs type 0xE0 in /usr/local/share/lazarus/components/
codetools/units/i386-darwin/basiccodetools.o
unknown stabs type 0xC0 in /usr/local/share/lazarus/components/
codetools/units/i386-darwin/laz_xmlwrite.o
unknown stabs type 0xE0 in /usr/local/share/lazarus/components/
codetools/units/i386-darwin/laz_xmlwrite.o
ld: can't write output file: ../startlazarus
Error: Error while linking
TExternalToolList.Run Exception: Error: Error while linking
TMainIDE.DoBuildLazarus: Build Lazarus without linking failed.



Under Mac OS X 10.5.1



Does building from command line work?
Use: make all LCL_PLATFORM=carbon OPT=-k-framework -kcarbon




Using Fpc 2.2.1 and the lastest snapshot it works even if there is  
still those messages.

Great job !

Some remarks (but I am sure you have already noticed) :
 - The editor still have issue to display the code (ex: class(TForm)  
the `m` is unreadable)
 - Buttons have been transformed into TSpeedButton (it looks like)  
and the notebook is not appropriated under OS X for the components  
toolbar.
 - It should be good to reduce the font size at least in the object  
inspector.


Honestly, I admire the work already done.



Tom




--
Damien Gerard
[EMAIL PROTECTED]



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


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

2007-11-20 Thread Tom Gregorovic
Hi,
it crossed my mind that it would be convenient to have one search
service for all the information about Lazarus and Free Pascal, which
are in forums, mail list archives, documentation reference, wiki,
Mantis, SVN repository, SVN log, blog ...
One possibility is Google Custom Search Engine
(http://www.google.com/coop/cse/):
* it is free for noncommercial usage, but I think it parses not all resources
The alternative is to use some web search engine running on own server
(e.g. http://www.mnogosearch.org/ ).

Tom

_
 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 Wanderlan Santos dos Anjos
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.

Att,

Wanderlan Santos dos Anjos

_
 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 Damien Gerard


On Nov 20, 2007, at 3:23 PM, Wanderlan Santos dos Anjos wrote:


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

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



More Basic is more appropriate I think.
And the main front page of the Google website has not been built to  
find all pages with a specific word.


That's why they propose specific tools to do this.


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.


I believe I can say that Some users would like offline documentation.
Anyway, you don't want to depend on a website which can change its  
result as it likes.





Att,

Wanderlan Santos dos Anjos




--
Damien Gerard
[EMAIL PROTECTED]



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


Fw: Re[2]: [lazarus] Plots

2007-11-20 Thread Vasily I. Volchenko


-Original Message-
From: Vasily I. Volchenko [EMAIL PROTECTED]
To: Luiz Americo Pereira Camara [EMAIL PROTECTED]
Date: Tue, 20 Nov 2007 17:44:51 +0300
Subject: Re[2]: [lazarus] Plots

 
  Hi,
  
  Thanks, i got the packages and successfully compiled. But i did not find 
  example of how to use it.
  
  Can you post some small examples?
  
  Luiz
  
 Presently it is quite difficult for me (as I am at work). As far as I 
 remember, there are the following rules:
 1. TCustomPlot:
 simple plotting control. You need to make a set of points, and them will be 
 connected with line. Points should be set via Points property, which is a 
 decendent of TStrings. So, in program you need to set points[i].x and 
 points.y. In ObjectInspector you may edit it as a stringlist, each line is a 
 point in format x:y, where x and y are float falues.
 XMin,XMax,YMin,YMax - float properties for setting plot borders. 
 Alternatively you may set AutoSizeX and/or AutoSizeY to true, so all points 
 must be shown.
 HasMarks means whether axes have a marks (float numbers). NMarksX and NMarksY 
 shows how many such marks will be at the correspondend axis. XSpacer and 
 YSpacer means how many space (in pixels) are left for float marks. 
 XMarkDigits, YMarkDigits,XMarkDecimals, YMarkDecimals are about formatting 
 the values.
 2. TFunctionPlot:
 Almost the same (it can work the such way), but a new event (OnFunctionCall) 
 is defined. You should write a function body in it, like
 begin
 y=sin(x);
 end;
 Nothing more. Besides, AutoSizeX means nothing while plotting functions, you 
 should set MinX and MaxX.
 Property DividingTabs means how many points will be used to tabulate (and 
 then draw) the function.
 
 Wiki and examples will be tomorrow. Surface3d too.
 
 Sorry for my terrible English. This is because all mathematical courses (from 
 the beginning school's mathemathics to mathematical modelling in post 
 graduate) were in Russian, and technical English doesn't include mathematics.
 

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


Re: [lazarus] WinCE, howto open a networkpath?

2007-11-20 Thread Adrian Veith

Hi,

You have to to use the connection manager api from microsoft. I have 
translated some parts of it to object pascal (source is attached). The 
source is not well tested now, but it works for me. For a simple 
connection to the internet you can use the following code.


Cheers, Adrian.

var
   ConnInfo: CONNMGR_CONNECTIONINFO;

begin
   ZeroMemory(@ConnInfo, sizeof(ConnInfo));
   ConnInfo.cbSize:= sizeof(ConnInfo);
   ConnInfo.dwParams:= CONNMGR_PARAM_GUIDDESTNET;
   ConnInfo.dwPriority:= CONNMGR_PRIORITY_USERBACKGROUND ;
   ConnInfo.guidDestNet:= IID_DestNetInternet;

   if ConnMgrEstablishConnectionSync(ConnInfo, FConnection, 6, 
FStatus)  S_OK

   then
 raise Exception.Create('No connection');



John vd Waeter schrieb:

Hi all,

With the INet components, I managed to use a UDP-component to 
frequently ask an internetserver for some data.


However, no traffic is generated when the handheld is powered up. I 
first have to initiate internet explorer, ask for some trivial page 
and after that my application can continu its UDP traffic.


I guess starting IE opened a networkpath and takes care of obtaining 
an ipnr etc.


What do I have to call to ensure a networkpath (GPRS, WiFi, whatever 
is available) is opened the same way IE does?


tia!
John

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

unit connmgr;
interface
uses
  Windows;

  const
External_library='cellcore'; {Setup as you need}

{$IFDEF FPC}
{$PACKRECORDS C}
{$ENDIF}


  { 436EF144-B4FB-4863-A041-8F905A62C572 }
  {DEFINE_GUID(IID_DestNetInternet, 0x436ef144, 0xb4fb, 0x4863, 0xa0, 0x41, 
0x8f, 0x90, 0x5a, 0x62, 0xc5, 0x72); }
  { A1182988-0D73-439e-87AD-2A5B369F808B }
  {DEFINE_GUID(IID_DestNetCorp, 0xa1182988, 0x0d73, 0x439e, 0x87, 0xad, 
0x2a, 0x5b, 0x36, 0x9f, 0x80, 0x8b); }
  { 7022E968-5A97-4051-BC1C-C578E2FBA5D9 }
  {DEFINE_GUID(IID_DestNetWAP,  0x7022e968, 0x5a97, 0x4051, 0xbc, 0x1c, 
0xc5, 0x78, 0xe2, 0xfb, 0xa5, 0xd9); }
  { F28D1F74-72BE-4394-A4A7-4E296219390C }
  {DEFINE_GUID(IID_DestNetSecureWAP,0xf28d1f74, 0x72be, 0x4394, 0xa4, 0xa7, 
0x4e, 0x29, 0x62, 0x19, 0x39, 0x0c); }
  { }


  const
IID_DestNetInternet: GUID = (D1: $436ef144; D2: $b4fb; D3: $4863 ;D4: ($a0, 
$41, $8f, $90, $5a, $62, $c5, $72));
IID_DestNetCorp: GUID = (D1: $a1182988; D2: $0d73; D3: $439e; D4: ($87, 
$ad, $2a, $5b, $36, $9f, $80, $8b));
IID_DestNetWAP: GUID = (D1: $7022e968; D2: $5a97; D3: $4051; D4: ($bc, $1c, 
$c5, $78, $e2, $fb, $a5, $d9));
IID_DestNetSecureWAP: GUID = (D1: $f28d1f74; D2: $72be; D3: $4394; D4: 
($a4, $a7, $4e, $29, $62, $19, $39, $0c));
  
 CONNMGR_PARAM_GUIDDESTNET = $1; { @constdefine guidDestNet field is 
valid }
 CONNMGR_PARAM_MAXCOST = $2; { @constdefine MaxCost field is valid }
 CONNMGR_PARAM_MINRCVBW = $4; { @constdefine MinRcvBw field is valid }
 CONNMGR_PARAM_MAXCONNLATENCY = $8; { @constdefine MaxConnLatency field 
is valid }

  { 
- }

 CONNMGR_FLAG_PROXY_HTTP = $1; { @constdefine HTTP Proxy supported }
 CONNMGR_FLAG_PROXY_WAP = $2; { @constdefine WAP Proxy (gateway) 
supported }
 CONNMGR_FLAG_PROXY_SOCKS4 = $4; { @constdefine SOCKS4 Proxy supported }
 CONNMGR_FLAG_PROXY_SOCKS5 = $8; { @constdefine SOCKS5 Proxy supported }
  { 
- }
 CONNMGR_FLAG_SUSPEND_AWARE = $10; { @constdefine suspended connections 
supported }
 CONNMGR_FLAG_REGISTERED_HOME = $20; { @constdefine only dial out if 
we're registered on the home network }
 CONNMGR_FLAG_NO_ERROR_MSGS = $40; { @constdefine don't show any error 
messages for failed connections }
 CONNMGR_FLAG_WAKE_ON_INCOMING = $80; { @constdefine to satisfy request 
use only those interfaces that can wake the system on incoming traffic }
  { 
- }
 CONNMGR_PRIORITY_VOICE = $2;
  { @constdefine Voice, highest priority, reserved for internal use only. }
 CONNMGR_PRIORITY_USERINTERACTIVE = $08000; 
  { @constdefine User initiated action caused this request, and UI is   
 }
  { currently pending on the creation of this connection. }
  { This is appropriate for an interactive browsing session, }
  { or if the user selects MORE at the bottom of a truncated }
  { mail message, etc. }
 CONNMGR_PRIORITY_USERBACKGROUND = $02000; 
  { @constdefine User initiated connection which has recently become idle. }
  { A connection should be marked as idle when it is no }
  { longer the user's current task.  }
 CONNMGR_PRIORITY_USERIDLE = $0800; 
  { @constdefine Interactive user task which has 

[lazarus] Lazarus Site is down

2007-11-20 Thread Leonardo M. Ramé

Please, check why lazarus.freepascal.org is down.

Leonardo.

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


[lazarus] anchors to a hidden component

2007-11-20 Thread Giuliano Colla

Recently the anchors behavior has changed.
I have a form with a control anchored to another one.
With the latest revisions it happens that when the second control is 
hidden, the visible one changes its place, inheriting the anchors of the 
hidden control.

Is it an intended change or a bug?

Giuliano

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


[lazarus] i18n usage

2007-11-20 Thread 13stica

Hello!

How to properly use i18n in projects? Is there any documentation of this 
new feature? (project options - i18n - output directory) this is all 
understandable, but what to do with po files? do I need it to be 
converted in .mo file? any information is appreciated...


Thanks in advance. :)

bye,
barko

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


Re: Fw: Re[2]: [lazarus] Plots

2007-11-20 Thread Luiz Americo Pereira Camara

Vasily I. Volchenko wrote:

Thanks. This is a good start.

Luiz

-Original Message-
From: Vasily I. Volchenko [EMAIL PROTECTED]
To: Luiz Americo Pereira Camara [EMAIL PROTECTED]
Date: Tue, 20 Nov 2007 17:44:51 +0300
Subject: Re[2]: [lazarus] Plots

  

Hi,

Thanks, i got the packages and successfully compiled. But i did not find 
example of how to use it.


Can you post some small examples?

Luiz

  

Presently it is quite difficult for me (as I am at work). As far as I remember, 
there are the following rules:
1. TCustomPlot:
simple plotting control. You need to make a set of points, and them will be 
connected with line. Points should be set via Points property, which is a 
decendent of TStrings. So, in program you need to set points[i].x and points.y. 
In ObjectInspector you may edit it as a stringlist, each line is a point in 
format x:y, where x and y are float falues.
XMin,XMax,YMin,YMax - float properties for setting plot borders. Alternatively 
you may set AutoSizeX and/or AutoSizeY to true, so all points must be shown.
HasMarks means whether axes have a marks (float numbers). NMarksX and NMarksY 
shows how many such marks will be at the correspondend axis. XSpacer and 
YSpacer means how many space (in pixels) are left for float marks. XMarkDigits, 
YMarkDigits,XMarkDecimals, YMarkDecimals are about formatting the values.
2. TFunctionPlot:
Almost the same (it can work the such way), but a new event (OnFunctionCall) is 
defined. You should write a function body in it, like
begin
y=sin(x);
end;
Nothing more. Besides, AutoSizeX means nothing while plotting functions, you 
should set MinX and MaxX.
Property DividingTabs means how many points will be used to tabulate (and then 
draw) the function.

Wiki and examples will be tomorrow. Surface3d too.

Sorry for my terrible English. This is because all mathematical courses (from 
the beginning school's mathemathics to mathematical modelling in post graduate) 
were in Russian, and technical English doesn't include mathematics.




_
 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] WinCE, howto open a networkpath?

2007-11-20 Thread John vd Waeter

Hi Adrian,

Thanks!

Looks just like the thing I need!

Do you know of a parameter I can set that hides the 
Connection-in-progress dialog that comes up?


kind regards,
John




if ConnMgrEstablishConnectionSync(ConnInfo, FConnection, 6,
 FStatus)  S_OK



Adrian Veith wrote:

Hi,

You have to to use the connection manager api from microsoft. I have 
translated some parts of it to object pascal (source is attached). The 
source is not well tested now, but it works for me. For a simple 
connection to the internet you can use the following code.


Cheers, Adrian.

var
   ConnInfo: CONNMGR_CONNECTIONINFO;

begin
   ZeroMemory(@ConnInfo, sizeof(ConnInfo));
   ConnInfo.cbSize:= sizeof(ConnInfo);
   ConnInfo.dwParams:= CONNMGR_PARAM_GUIDDESTNET;
   ConnInfo.dwPriority:= CONNMGR_PRIORITY_USERBACKGROUND ;
   ConnInfo.guidDestNet:= IID_DestNetInternet;

   if ConnMgrEstablishConnectionSync(ConnInfo, FConnection, 6, 
FStatus)  S_OK

   then
 raise Exception.Create('No connection');



John vd Waeter schrieb:

Hi all,

With the INet components, I managed to use a UDP-component to 
frequently ask an internetserver for some data.


However, no traffic is generated when the handheld is powered up. I 
first have to initiate internet explorer, ask for some trivial page 
and after that my application can continu its UDP traffic.


I guess starting IE opened a networkpath and takes care of obtaining 
an ipnr etc.


What do I have to call to ensure a networkpath (GPRS, WiFi, whatever 
is available) is opened the same way IE does?


tia!
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] i18n usage

2007-11-20 Thread wile64
2007/11/20, 13stica [EMAIL PROTECTED]:

 Hello!

 How to properly use i18n in projects? Is there any documentation of this
 new feature? (project options - i18n - output directory) this is all
 understandable, but what to do with po files? do I need it to be
 converted in .mo file? any information is appreciated...

 Thanks in advance. :)

 bye,
 barko


See here
http://wiki.lazarus.freepascal.org/Translations_/_i18n_/_localizations_for_programs


-- 
Laurent.

Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


[lazarus] Anchors editor, BorderSpacing limited to 100

2007-11-20 Thread Damien Gerard


Hi !

Could someone tell me why all BorderSpacing is limited to 100 in the  
Anchors Editor ?




--
Damien Gerard
[EMAIL PROTECTED]



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


Re: [lazarus] Laz / Fpc function listing

2007-11-20 Thread SteveG

Tiziano - this is exactly what I was looking for

already have found 14 functions I didnt know about, and can replace
within my own code.

Thanks for your time on this


Tiziano De Togni wrote:

SteveG wrote:

Would anybody know if there is a listing (or some way of building one) 
of all functions available for Lazarus and/or Fpc ?



maybe the short answer is simply: no.

But I am pleased that people are asking for something I'm currently
working on :-)

Look at this chart:  http://digilander.libero.it/tizzziano/pdf/procs_01.pdf

It was made looking into the FPC pdf documentation and surfing on the
source code of the RTL libraries.

It's only a draft version. Suggestions are welcome.

tiziano


_
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] WinCE, howto open a networkpath?

2007-11-20 Thread Adrian Veith

Hi John,

the description of the connection manager API is on the msnd website: 
http://msdn2.microsoft.com/en-us/library/aa457271.aspx


I haven't found any parameter to disable the progress dialog.

Cheers,

Adrian.

John vd Waeter schrieb:

Hi Adrian,

Thanks!

Looks just like the thing I need!

Do you know of a parameter I can set that hides the 
Connection-in-progress dialog that comes up?


kind regards,
John




if ConnMgrEstablishConnectionSync(ConnInfo, FConnection, 6,
 FStatus)  S_OK



Adrian Veith wrote:

Hi,

You have to to use the connection manager api from microsoft. I have 
translated some parts of it to object pascal (source is attached). 
The source is not well tested now, but it works for me. For a simple 
connection to the internet you can use the following code.


Cheers, Adrian.

var
   ConnInfo: CONNMGR_CONNECTIONINFO;

begin
   ZeroMemory(@ConnInfo, sizeof(ConnInfo));
   ConnInfo.cbSize:= sizeof(ConnInfo);
   ConnInfo.dwParams:= CONNMGR_PARAM_GUIDDESTNET;
   ConnInfo.dwPriority:= CONNMGR_PRIORITY_USERBACKGROUND ;
   ConnInfo.guidDestNet:= IID_DestNetInternet;

   if ConnMgrEstablishConnectionSync(ConnInfo, FConnection, 
6, FStatus)  S_OK

   then
 raise Exception.Create('No connection');



John vd Waeter schrieb:

Hi all,

With the INet components, I managed to use a UDP-component to 
frequently ask an internetserver for some data.


However, no traffic is generated when the handheld is powered up. I 
first have to initiate internet explorer, ask for some trivial page 
and after that my application can continu its UDP traffic.


I guess starting IE opened a networkpath and takes care of obtaining 
an ipnr etc.


What do I have to call to ensure a networkpath (GPRS, WiFi, whatever 
is available) is opened the same way IE does?


tia!
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



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


Re: [lazarus] WinCE, howto open a networkpath?

2007-11-20 Thread Alvise Nicoletti

Adrian Veith ha scritto:

Hi John,

the description of the connection manager API is on the msnd website: 
http://msdn2.microsoft.com/en-us/library/aa457271.aspx


I haven't found any parameter to disable the progress dialog.
Sorry if I go a little out of the topic... but WinCE is not discussed 
much here so I take the occasion to ask:

is there someway to manage the dialogs of WinCE?

I would need, for example, a way to force the keyboard to appear and 
disappear...


Thank you for the code about the networkpath, I also needed that.


Cheers,

Adrian.

John vd Waeter schrieb:

Hi Adrian,

Thanks!

Looks just like the thing I need!

Do you know of a parameter I can set that hides the 
Connection-in-progress dialog that comes up?


kind regards,
John




if ConnMgrEstablishConnectionSync(ConnInfo, FConnection, 6,
 FStatus)  S_OK



Adrian Veith wrote:

Hi,

You have to to use the connection manager api from microsoft. I have 
translated some parts of it to object pascal (source is attached). 
The source is not well tested now, but it works for me. For a simple 
connection to the internet you can use the following code.


Cheers, Adrian.

var
   ConnInfo: CONNMGR_CONNECTIONINFO;

begin
   ZeroMemory(@ConnInfo, sizeof(ConnInfo));
   ConnInfo.cbSize:= sizeof(ConnInfo);
   ConnInfo.dwParams:= CONNMGR_PARAM_GUIDDESTNET;
   ConnInfo.dwPriority:= CONNMGR_PRIORITY_USERBACKGROUND ;
   ConnInfo.guidDestNet:= IID_DestNetInternet;

   if ConnMgrEstablishConnectionSync(ConnInfo, FConnection, 
6, FStatus)  S_OK

   then
 raise Exception.Create('No connection');



John vd Waeter schrieb:

Hi all,

With the INet components, I managed to use a UDP-component to 
frequently ask an internetserver for some data.


However, no traffic is generated when the handheld is powered up. I 
first have to initiate internet explorer, ask for some trivial page 
and after that my application can continu its UDP traffic.


I guess starting IE opened a networkpath and takes care of 
obtaining an ipnr etc.


What do I have to call to ensure a networkpath (GPRS, WiFi, 
whatever is available) is opened the same way IE does?


tia!
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



_
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] Slash dot effect?

2007-11-20 Thread Leonardo M. Ramé

Where's the link to Lazarus from SlashDot?

I can't find it.

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


Re: [lazarus] Slash dot effect?

2007-11-20 Thread Alexsander Rosa
http://en.wikipedia.org/wiki/Slashdot_effect

http://slashdot.org

2007/11/20, Leonardo M. Ramé [EMAIL PROTECTED]:

 What means Slash dot effect?

 Leonardo

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




-- 
Atenciosamente,

Alexsander da Rosa


Re: [lazarus] Lazarus Site is down

2007-11-20 Thread Alexsander Rosa
Slashdot effect? Is there a story about Lazarus on Slashdot right now?

2007/11/20, Leonardo M. Ramé [EMAIL PROTECTED]:

 Please, check why lazarus.freepascal.org is down.

 Leonardo.

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




-- 
Atenciosamente,

Alexsander da Rosa


[lazarus] Slash dot effect?

2007-11-20 Thread Leonardo M. Ramé

What means Slash dot effect?

Leonardo

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


Re: [lazarus] Laz / Fpc function listing

2007-11-20 Thread Albert Zeyer
Hey, just looked and it and it's realy nice!

Just wanted to thank you...

Greetings,
Albert

Am Dienstag, den 20.11.2007, 08:53 +0100 schrieb Tiziano De Togni:
 SteveG wrote:
  Would anybody know if there is a listing (or some way of building one) 
  of all functions available for Lazarus and/or Fpc ?
 
 maybe the short answer is simply: no.
 
 But I am pleased that people are asking for something I'm currently
 working on :-)
 
 Look at this chart:  http://digilander.libero.it/tizzziano/pdf/procs_01.pdf
 
 It was made looking into the FPC pdf documentation and surfing on the
 source code of the RTL libraries.
 
 It's only a draft version. Suggestions are welcome.
 
 tiziano
 
 
 _
  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] Slash dot effect?

2007-11-20 Thread Michael A. Hess
On Tue, 20 Nov 2007, Alexsander Rosa wrote:

 http://en.wikipedia.org/wiki/Slashdot_effect

 http://slashdot.org

 2007/11/20, Leonardo M. Ram? [EMAIL PROTECTED]:
 
  What means Slash dot effect?

In case no one noticed some of the major sites such as LinuxToday posted a
link to the following site:

http://itmanagement.earthweb.com/entdev/article.php/3711476

It talks about 49 Open Source Projects in the Spotlight

In the Develoment Tools section 'Lazarus' is the first one listed.

It took several days but it appears the link finally caused some problems.
The link itself went to SourceForge but people eventually ended up coming
to the web site.

Things should be back to normal later today.

-- 
 Programming my first best destiny! 

Michael A. Hess  Miracle Concepts, Inc.
[EMAIL PROTECTED]   http://www.miraclec.com
Phone: 570-388-2211  Fax: 570-388-6101

_
 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 Mattias Gaertner
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


Re: [lazarus] Slash dot effect?

2007-11-20 Thread Vincent Snijders

Michael A. Hess schreef:

On Tue, 20 Nov 2007, Alexsander Rosa wrote:


http://en.wikipedia.org/wiki/Slashdot_effect

http://slashdot.org

2007/11/20, Leonardo M. Ram� [EMAIL PROTECTED]:

What means Slash dot effect?


In case no one noticed some of the major sites such as LinuxToday posted a
link to the following site:

http://itmanagement.earthweb.com/entdev/article.php/3711476

It talks about 49 Open Source Projects in the Spotlight

In the Develoment Tools section 'Lazarus' is the first one listed.

It took several days but it appears the link finally caused some problems.
The link itself went to SourceForge but people eventually ended up coming
to the web site.



Strange. I did not expect such a strong effect. If you look at 
http://sourceforge.net/project/stats/detail.php?group_id=89339ugn=lazarusmode=weektype=sfweb 
then I inteprete the green line as hits to www.lazarus.freepascal.org 
and the blue line as hist to the lazarus related pages on 
sourceforge.net. The blue line doesn't seem to be significantly higher 
than the last couple of days.


Vincent

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


Re: [lazarus] Lazarus in Li nux not compileable for some time

2007-11-20 Thread Lord Satan
On Tue, 20 Nov 2007 20:06:37 +0100
Christian U. [EMAIL PROTECTED] wrote:

 For some time, iam not able to compile Lazarus in Linux has somebody an 
 idea for this ?
 Compiler is fpc 2.2.0

Don't know, works here, same compiler.

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


Re: [lazarus] anchors to a hidden component

2007-11-20 Thread Mattias Gaertner
On Tue, 20 Nov 2007 15:55:45 +0100
Giuliano Colla [EMAIL PROTECTED] wrote:

 Recently the anchors behavior has changed.
 I have a form with a control anchored to another one.
 With the latest revisions it happens that when the second control is 
 hidden, the visible one changes its place, inheriting the anchors of
 the hidden control.
 Is it an intended change or a bug?

Something changed. See

http://wiki.lazarus.freepascal.org/Anchor_Sides#Anchoring_to_invisible_controls


Mattias

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


[lazarus] Lazarus in Li nux not compileable for some time

2007-11-20 Thread Christian U.
For some time, iam not able to compile Lazarus in Linux has somebody an 
idea for this ?

Compiler is fpc 2.2.0


Compiling grids.pas
/home/chris/lazarus/lcl/grids.pas(1,1) Fatal: Can't find unit URIParser 
used by XMLRead



best regards
Christian

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


Re: [lazarus] Anchors editor, BorderSpacing limited to 100

2007-11-20 Thread Mattias Gaertner
On Tue, 20 Nov 2007 16:19:19 +0100
Damien Gerard [EMAIL PROTECTED] wrote:

 
 Hi !
 
 Could someone tell me why all BorderSpacing is limited to 100 in the  
 Anchors Editor ?

Because the developers have not enough imagination to think about a
case where more than 100 is needed, but have enough imagination to
think about typing mistakes resulting in controls hidden far away.


Mattias

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


Re: [lazarus] Anchors editor, BorderSpacing limited to 100

2007-11-20 Thread Damien Gerard


On Nov 20, 2007, at 8:47 PM, Mattias Gaertner wrote:


On Tue, 20 Nov 2007 16:19:19 +0100
Damien Gerard [EMAIL PROTECTED] wrote:



Hi !

Could someone tell me why all BorderSpacing is limited to 100 in the
Anchors Editor ?


Because the developers have not enough imagination to think about a
case where more than 100 is needed, but have enough imagination to
think about typing mistakes resulting in controls hidden far away.



lol

But 100 is for sure too short :)



Mattias




--
Damien Gerard
[EMAIL PROTECTED]



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


RE: [lazarus] anchors to a hidden component

2007-11-20 Thread Hess, Philip J
Hi Mattias,

Will any of this result one day in a fix for this anchor bug?

http://www.freepascal.org/mantis/view.php?id=8056

Thanks.

-Phil


-Original Message-
From: Mattias Gaertner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 20, 2007 2:39 PM
To: lazarus@miraclec.com
Subject: Re: [lazarus] anchors to a hidden component

On Tue, 20 Nov 2007 15:55:45 +0100
Giuliano Colla [EMAIL PROTECTED] wrote:

 Recently the anchors behavior has changed.
 I have a form with a control anchored to another one.
 With the latest revisions it happens that when the second control is 
 hidden, the visible one changes its place, inheriting the anchors of
 the hidden control.
 Is it an intended change or a bug?

Something changed. See

http://wiki.lazarus.freepascal.org/Anchor_Sides#Anchoring_to_invisible_c
ontrols


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] Anchors editor, BorderSpacing limited to 100

2007-11-20 Thread Mattias Gaertner
On Tue, 20 Nov 2007 20:53:04 +0100
Damien Gerard [EMAIL PROTECTED] wrote:

 
 On Nov 20, 2007, at 8:47 PM, Mattias Gaertner wrote:
 
  On Tue, 20 Nov 2007 16:19:19 +0100
  Damien Gerard [EMAIL PROTECTED] wrote:
 
 
  Hi !
 
  Could someone tell me why all BorderSpacing is limited to 100 in
  the Anchors Editor ?
 
  Because the developers have not enough imagination to think about a
  case where more than 100 is needed, but have enough imagination to
  think about typing mistakes resulting in controls hidden far away.
 
 
 lol
 
 But 100 is for sure too short :)

Can you give an example?

Mattias

_
 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 Wanderlan Santos dos Anjos
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



-- 
Att,

Wanderlan Santos dos Anjos
(061) 3345-5496; 9133-3804

_
 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 Mattias Gaertner
On Tue, 20 Nov 2007 17:07:33 -0300
Wanderlan Santos dos Anjos [EMAIL PROTECTED] 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?

Bingo.
See
http://wiki.lazarus.freepascal.org/Lazarus_Documentation#Tools

Mattias

_
 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 Mattias Gaertner
On Tue, 20 Nov 2007 17:07:33 -0300
Wanderlan Santos dos Anjos [EMAIL PROTECTED] 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.:(

That's why I'm working on an integrated tool.

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

That's a little bit tricky.
The reference guide is created from a latex document, so there are no
fixed links. Michael Van Canneyt and I started an approach by using
the kwd files of the FPC documentation. But this file is not yet
included in the normal FPC installation and does not yet contain the
whole list. Maybe Michael can tell you more about it.


Mattias

_
 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


[lazarus] Project inspector files sort order

2007-11-20 Thread Andrey Gusev

In what order files list (files node) do sort of filenames - it quite
unsorted in my opinion. (see snap).
For long filenames lists it must be problematic, to navigate through 
they.

It is reasonable, to expect of sort ability appearance in the future
(far, or be better - near) ?
attachment: TestProject.png

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

2007-11-20 Thread Wanderlan Santos dos Anjos
Very nice...

Put my name at http://wiki.lazarus.freepascal.org/LCL_Documentation_Roadmap
---
Edit in Lazde --- Generate a Patch --- Submit to Mantis---
Return again!!!

I wish to document Grids unit and extend its funcionality.

TIA,
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 Carlos German Tejero

 Maybe, samebody can take a look of this http://ioda.sourceforge.net/, a
 full text search project (posible dead) written in fpc.
 --
 Carlos Germán Tejero


Re: [lazarus] i18n usage

2007-11-20 Thread 13stica




Thanks for the link.

wile64 pravi:

  
  2007/11/20, 13stica [EMAIL PROTECTED]:
  Hello!

How to properly use i18n in projects? Is there any documentation of this
new feature? (project options - i18n - output directory) this
is all
understandable, but what to do with po files? do I need it to be

converted in .mo file? any information is appreciated...

Thanks in advance. :)

bye,
barko

  
  
  
See here 
http://wiki.lazarus.freepascal.org/Translations_/_i18n_/_localizations_for_programs
  
  
-- 
Laurent.
  
Components: http://wiki.lazarus.freepascal.org/Wile64
  
French Forum : http://lazforum-fr.tuxfamily.org/index.php




_
 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 Wanderlan Santos dos Anjos
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

On 11/20/07, Carlos German Tejero [EMAIL PROTECTED] wrote:
 
  Maybe, samebody can take a look of this http://ioda.sourceforge.net/, a
  full text search project (posible dead) written in fpc.
  --
  Carlos Germán Tejero



-- 
Att,

Wanderlan Santos dos Anjos
(061) 3345-5496; 9133-3804

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


Re: [lazarus] Anchors editor, BorderSpacing limited to 100

2007-11-20 Thread Damien Gerard


On Nov 20, 2007, at 9:04 PM, Mattias Gaertner wrote:


On Tue, 20 Nov 2007 20:53:04 +0100
Damien Gerard [EMAIL PROTECTED] wrote:



On Nov 20, 2007, at 8:47 PM, Mattias Gaertner wrote:


On Tue, 20 Nov 2007 16:19:19 +0100
Damien Gerard [EMAIL PROTECTED] wrote:



Hi !

Could someone tell me why all BorderSpacing is limited to 100 in
the Anchors Editor ?


Because the developers have not enough imagination to think about a
case where more than 100 is needed, but have enough imagination to
think about typing mistakes resulting in controls hidden far away.



lol

But 100 is for sure too short :)


Can you give an example?



The project is a closed source one but due to long caption the GUI  
looks like nicer (and in fact it is a request from my chief... How  
boring they can be sometimes...) if it is set to 120, or something  
like this



Mattias




--
Damien Gerard
[EMAIL PROTECTED]



_
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 Michael Van Canneyt


On Tue, 20 Nov 2007, Carlos German Tejero wrote:

 
  Maybe, samebody can take a look of this http://ioda.sourceforge.net/, a
  full text search project (posible dead) written in fpc.

I think this is actually a very good hint.

Maybe we should evaluate this tool and see if we can use it for the
FPC/Lazarus documentation ?

Michael.

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


Re: [lazarus] Project inspector files sort order

2007-11-20 Thread Mattias Gaertner
On Tue, 20 Nov 2007 23:35:22 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:

 In what order files list (files node) do sort of filenames - it quite
 unsorted in my opinion. (see snap).
 For long filenames lists it must be problematic, to navigate through 
 they.
 It is reasonable, to expect of sort ability appearance in the future
 (far, or be better - near) ?

I implemented simple sorting.

Mattias

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


Re: [lazarus] Anchors editor, BorderSpacing limited to 100

2007-11-20 Thread Mattias Gaertner
On Tue, 20 Nov 2007 22:34:24 +0100
Damien Gerard [EMAIL PROTECTED] wrote:

 
 On Nov 20, 2007, at 9:04 PM, Mattias Gaertner wrote:
 
  On Tue, 20 Nov 2007 20:53:04 +0100
  Damien Gerard [EMAIL PROTECTED] wrote:
 
 
  On Nov 20, 2007, at 8:47 PM, Mattias Gaertner wrote:
 
  On Tue, 20 Nov 2007 16:19:19 +0100
  Damien Gerard [EMAIL PROTECTED] wrote:
 
 
  Hi !
 
  Could someone tell me why all BorderSpacing is limited to 100 in
  the Anchors Editor ?
 
  Because the developers have not enough imagination to think about
  a case where more than 100 is needed, but have enough imagination
  to think about typing mistakes resulting in controls hidden far
  away.
 
 
  lol
 
  But 100 is for sure too short :)
 
  Can you give an example?
 
 
 The project is a closed source one but due to long caption the GUI  
 looks like nicer (and in fact it is a request from my chief... How  
 boring they can be sometimes...) if it is set to 120, or something  
 like this

I don't understand why a 'long caption' requires a 'BorderSpacing' of
120, but I increased the max to 200.


Mattias

_
 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] Lazarus in Li nux not compileable for some time

2007-11-20 Thread CHRIS

Lord Satan a écrit :

On Tue, 20 Nov 2007 20:06:37 +0100
Christian U. [EMAIL PROTECTED] wrote:

  
For some time, iam not able to compile Lazarus in Linux has somebody an 
idea for this ?

Compiler is fpc 2.2.0



Don't know, works here, same compiler.

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


  

Hello,

Idem for me with Ubuntu 7.10 and fpc 2.2.0 and lazarus 0.9.24

Imposible to install component !
Imposible to compiling IDE !

(Grant to files are OK)

Compilation abort without error and Lazarus do not restart ...

I dont know how do !

Thank,

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-20 Thread Wanderlan Santos dos Anjos
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



-- 
Att,

Wanderlan Santos dos Anjos
(061) 3345-5496; 9133-3804

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


[lazarus] Mac OS X : Bitmap ScanLine....

2007-11-20 Thread Dominique Louis
I know I've labeled this as Mac OS X, it's probably not specific to that 
 OS.


I've looked at the scanline demo and it works fine on Mac OS X.

My question is when I try to use the code in my project using Delphi 
compatability mode,  I get the error listed below...


var
  lRow : Pointer;
  ScanLineImage : TLazIntfImage;
begin
  for j := 0 to Height - 1 do
  begin
lRow := ScanLineImage.GetDataLineStart( j );
i := 0;
while ( i  Width - 1 ) do
begin
  PByte(lRow)[i] := 0;  // Error : Array type required
end;
  end;
end;

Why and is there a fix for this? Should I define lRow as a PByteArray?

Thanks,


Dominique.

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


Re: [lazarus] anchors to a hidden component

2007-11-20 Thread Mattias Gaertner
On Tue, 20 Nov 2007 14:56:55 -0500
Hess, Philip J [EMAIL PROTECTED] wrote:

 Hi Mattias,
 
 Will any of this result one day in a fix for this anchor bug?
 
 http://www.freepascal.org/mantis/view.php?id=8056

These things are not related.
See my notes in the tracker.


Mattias

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


Re: [lazarus] anchors to a hidden component

2007-11-20 Thread Giuliano Colla

Mattias Gaertner ha scritto:

On Tue, 20 Nov 2007 15:55:45 +0100
Giuliano Colla [EMAIL PROTECTED] wrote:

  

Recently the anchors behavior has changed.
I have a form with a control anchored to another one.
With the latest revisions it happens that when the second control is 
hidden, the visible one changes its place, inheriting the anchors of

the hidden control.
Is it an intended change or a bug?



Something changed. See

http://wiki.lazarus.freepascal.org/Anchor_Sides#Anchoring_to_invisible_controls


  
Well this has pro's and con's. It can make sense if the control is 
hidden since the beginning, much less if the control is hidden run-time, 
because it causes other controls jump around.


In my case a label prompts the user to enter something in an edit. The 
label is anchored to the form, and the edit to the label. When the user 
enters what requested, the label is hidden, and suddenly the edit jumps 
to the top of the form!


Moreover this inhibits the trick of using a hidden control to perform 
some special purpose anchoring (e.g. when you need more than 100 pixels, 
because of layout requirements).


I'd be strongly in favor of reconsidering this feature.

Giuliano



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


Re: [lazarus] anchors to a hidden component

2007-11-20 Thread Mattias Gaertner
On Wed, 21 Nov 2007 00:14:30 +0100
Giuliano Colla [EMAIL PROTECTED] wrote:

 Mattias Gaertner ha scritto:
  On Tue, 20 Nov 2007 15:55:45 +0100
  Giuliano Colla [EMAIL PROTECTED] wrote:
 

  Recently the anchors behavior has changed.
  I have a form with a control anchored to another one.
  With the latest revisions it happens that when the second control
  is hidden, the visible one changes its place, inheriting the
  anchors of the hidden control.
  Is it an intended change or a bug?
  
 
  Something changed. See
 
  http://wiki.lazarus.freepascal.org/Anchor_Sides#Anchoring_to_invisible_controls
 
 

 Well this has pro's and con's. It can make sense if the control is 
 hidden since the beginning, much less if the control is hidden
 run-time, because it causes other controls jump around.
 
 In my case a label prompts the user to enter something in an edit.
 The label is anchored to the form, and the edit to the label. When
 the user enters what requested, the label is hidden, and suddenly the
 edit jumps to the top of the form!
 
 Moreover this inhibits the trick of using a hidden control to perform 
 some special purpose anchoring (e.g. when you need more than 100
 pixels, because of layout requirements).
 
 I'd be strongly in favor of reconsidering this feature.

Edit.Top is anchored to Label.Bottom. 
Label is invisible so the LCL goes to the anchor of Label.Bottom.
Probably you did not set a Label.Bottom anchor, so the LCL found a dead
end and just did nothing. 
Now assumes the label.top is anchored to another control A. If A is
moved then the Label and Edit should move too. With old behavior the
Edit is not moved when the Label is invisible. With new behavior it
will move.


You can get the old behavior by doing:

Edit1.AnchorSide[akTop].Control:=nil;
Label1.Visible:=false;


Mattias

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


Re: [lazarus] anchors to a hidden component

2007-11-20 Thread Giuliano Colla

Mattias Gaertner ha scritto:

Now assumes the label.top is anchored to another control A. If A is
moved then the Label and Edit should move too. With old behavior the
Edit is not moved when the Label is invisible. With new behavior it
will move.


  

OK. Now I understand the reason for changing.

You can get the old behavior by doing:

Edit1.AnchorSide[akTop].Control:=nil;
Label1.Visible:=false;


  

Thanks

Giuliano


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


[lazarus] LAZARUS Buffer error at start with FPC 2.3.1

2007-11-20 Thread fedorax
Hello,

With lazarus SVN 12943 and FPC 2.3.1 9386 startlazarus return a buffer error but
work if i compile with fpc 2.2.0 ( Linux fedora 8 GTK or GTK 2)

The errors in the terminal are:

--

[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  - inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
  Sender=Ecompressionerror
  Exception=buffer error
  Stack trace:
  $081A23EE
  $0819B91B
  $0819B6F4
  $08196AAD
  $081946F1
  $08136681  TFPIMAGEBITMAP__READSTREAM,  line 1905 of graphics.pp
  $0812BE74  TBITMAP__LOADFROMSTREAM,  line 449 of ./include/bitmap.inc
  $081278E0  LOADBITMAPFROMLAZARUSRESOURCE,  line 1488 of graphics.pp
  $08090CE6  CREATEBUTTON,  line 1431 of main.pp
  $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
  $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
  $0805C023  main,  line 93 of lazarus.pp
TApplication.HandleException buffer error
  Stack trace:
  $081A23EE
  $0819B91B
  $0819B6F4
  $08196AAD
  $081946F1
  $08136681  TFPIMAGEBITMAP__READSTREAM,  line 1905 of graphics.pp
  $0812BE74  TBITMAP__LOADFROMSTREAM,  line 449 of ./include/bitmap.inc
  $081278E0  LOADBITMAPFROMLAZARUSRESOURCE,  line 1488 of graphics.pp
  $08090CE6  CREATEBUTTON,  line 1431 of main.pp
  $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
  $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
  $0805C023  main,  line 93 of lazarus.pp


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


Re: [lazarus] LAZARUS Buffer error at start with FPC 2.3.1

2007-11-20 Thread Vincent Snijders

fedorax schreef:

Hello,

With lazarus SVN 12943 and FPC 2.3.1 9386 startlazarus return a buffer error but
work if i compile with fpc 2.2.0 ( Linux fedora 8 GTK or GTK 2)



This error is caused by the ztream rewrite. Jesus Reyes confirmed that 
this bug exists since r9291 and has not been fixed since.


For a more complete backtrace see: 
http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1485


Vincent

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


Re[2]: [lazarus]

2007-11-20 Thread Vasily I. Volchenko
Wiki pages are being constructed. Here is an example project showing all 3 
components.


ptest.tgz
Description: Binary data