Re: [Lazarus] mailing list

2008-11-03 Thread davy zhang
check your spam settings?

at least I can read your message here:)

2008/11/4 Henrique Faria <[EMAIL PROTECTED]>:
> Why i can't receive emails from the mailing list?
>
> I try to subscribe and nothing happens. :(
>
> Henrique.
>
>
> 
> Veja mapas e encontre as melhores rotas para fugir do trânsito com o Live
> Search Maps! Experimente já!
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] 0.9.26 released

2008-10-14 Thread davy zhang
Thanks!!! Great news!

On Wed, Oct 15, 2008 at 5:02 AM, Mattias Gaertner
<[EMAIL PROTECTED]> wrote:
> The Lazarus team is glad to announce the 0.9.26 release. This release
> is based on fpc 2.2.2.
>
> This release can be downloaded from the sourceforge download page:
> http://sourceforge.net/project/showfiles.php?group_id=89339
>
> Highlights / Major changes:
> - The LCL now uses Unicode strings UTF-8 encoded on all platforms.
> There are docs, tools and functions to help converting old code.
> - The LCL internal graphic system was rewritten for more consistency,
> more flexibility, better Delphi compatibility, icon support, native
> image lists.
> - Lazarus now runs native under Mac OS X using the 'carbon' widgetset.
> - The IDE designer now allows to connect form components, like
> databases on TDataModule.
>
> This time there were more than 3900 improvements and bug fixes in 11 months. 
> For comparison: 0.9.24 was about half the changes in 8 months.
>
> The list of changes can be found here:
> http://wiki.lazarus.freepascal.org/Lazarus_0.9.26_release_notes
>
> And several thousand fixes and minor improvements.
>
> Mattias
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] why "error expanding embedd ed variable" ?

2008-08-31 Thread davy zhang
finally I made it work! it should be gmake not make in the make path,
just like before. I've successfully installed LNet component and
started my first unix server application. so much thanks for your time
and patience to walk me through.

2008/8/31 davy zhang <[EMAIL PROTECTED]>:
> there is blank, I never changed this place~, so by default it's blank
>
> Should I specified the filename there ?
>
> On Sun, Aug 31, 2008 at 6:50 PM, Mattias Gaertner
> <[EMAIL PROTECTED]> wrote:
>> On Sun, 31 Aug 2008 18:24:30 +0800
>> "davy zhang" <[EMAIL PROTECTED]> wrote:
>>
>>> Thanks so much for the information, I indeed installed fpc2.2.0
>>> instead of 2.2.2 because the port version is 2.2.0
>>>
>>> Finally I successfully installed lazarus on freebsd!
>>>
>>> this is the first time I managed to install application on bsd system
>>>
>>> but... I still get a question. when I use the Tools -> "Build Lazarus"
>>> menu command from the Ide
>>>
>>> I get an error "make: illegal option -- w "
>>
>> What shows Environment / Environment Options .. / Files / Make path?
>>
>> Mattias
>> ___
>> Lazarus mailing list
>> Lazarus@lazarus.freepascal.org
>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] why "error expanding embedd ed variable" ?

2008-08-31 Thread davy zhang
there is blank, I never changed this place~, so by default it's blank

Should I specified the filename there ?

On Sun, Aug 31, 2008 at 6:50 PM, Mattias Gaertner
<[EMAIL PROTECTED]> wrote:
> On Sun, 31 Aug 2008 18:24:30 +0800
> "davy zhang" <[EMAIL PROTECTED]> wrote:
>
>> Thanks so much for the information, I indeed installed fpc2.2.0
>> instead of 2.2.2 because the port version is 2.2.0
>>
>> Finally I successfully installed lazarus on freebsd!
>>
>> this is the first time I managed to install application on bsd system
>>
>> but... I still get a question. when I use the Tools -> "Build Lazarus"
>> menu command from the Ide
>>
>> I get an error "make: illegal option -- w "
>
> What shows Environment / Environment Options .. / Files / Make path?
>
> Mattias
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] why "error expanding embedd ed variable" ?

2008-08-31 Thread davy zhang
Thanks so much for the information, I indeed installed fpc2.2.0
instead of 2.2.2 because the port version is 2.2.0

Finally I successfully installed lazarus on freebsd!

this is the first time I managed to install application on bsd system

but... I still get a question. when I use the Tools -> "Build Lazarus"
menu command from the Ide

I get an error "make: illegal option -- w "

thanks again!

On Sun, Aug 31, 2008 at 1:15 PM, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> davy zhang schreef:
>> thanx so much for the hint, I've read the doc/install document again.
>>
>> but unfortunately I can not compile 0829,0830,0831 version of snapshot,
>>
>> in 0830,0831 I get "Identifier not found ExtractShortPathName"
>>
>> in 0829 I get some undefined variable info
>>
>> I use fpc 2.2.2
>
> Strange, ExtractShortPath is part of fpc 2.2.2. Are you sure you are not
> using fpc 2.2.0, which does not have ExtractShortPathName?
>
> Vincent
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] why "error expanding embedd ed variable" ?

2008-08-30 Thread davy zhang
thanx so much for the hint, I've read the doc/install document again.

but unfortunately I can not compile 0829,0830,0831 version of snapshot,

in 0830,0831 I get "Identifier not found ExtractShortPathName"

in 0829 I get some undefined variable info

I use fpc 2.2.2

On Sun, Aug 31, 2008 at 5:54 AM, Mattias Gaertner
<[EMAIL PROTECTED]> wrote:
> On Sat, 30 Aug 2008 15:36:01 +0800
> "davy zhang" <[EMAIL PROTECTED]> wrote:
>
>> I've downloaded  the source code from
>> http://snapshots.lazarus.shikami.org/lazarus/
>>
>> the win32 package works fine with xp and vista
>>
>> but the zip source package can not be complied on freebsd
>>
>> I use "make clean" command and I get the error " error expanding
>> embedded variable"
>
> Under BSD you must use gmake, not make.
>
> Mattias
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] why "error expanding embedd ed variable" ?

2008-08-30 Thread davy zhang
I've downloaded  the source code from
http://snapshots.lazarus.shikami.org/lazarus/

the win32 package works fine with xp and vista

but the zip source package can not be complied on freebsd

I use "make clean" command and I get the error " error expanding
embedded variable"
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] LNet component Event vs thread ? faster or more reliable?

2008-08-27 Thread davy zhang
I know there are bunch of defects of thread programing and not every
one like to use it

but I am still wondering the real efficiency of these two model

if we use multi-core cpu,  which one is faster, or it just depends on
the compiler's optimization~
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] About Lazarus TWebbrowser solution

2008-08-17 Thread davy zhang
Wow~! that's so cool! great thanks for the efforts!

On Sun, Aug 17, 2008 at 6:19 PM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
>
>
> On Sun, 17 Aug 2008, davy zhang wrote:
>
>> can Ipro suit work with the internet url browsing?
>>
>> Like the IE Core twebbrowser in delphi.
>>
>> if we can work with FireFox, that would be so cool to have a
>> cross-platform web browser component!
>
> I am working on getting Gecko (the firefox engine) to work with
> FPC, but there seem to be some problems with the interface;
> As far as I can see currently, it is a compiler thing which needs
> to be resolved.
>
> Michael.
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] About Lazarus TWebbrowser solution

2008-08-17 Thread davy zhang
can Ipro suit work with the internet url browsing?

Like the IE Core twebbrowser in delphi.

if we can work with FireFox, that would be so cool to have a
cross-platform web browser component!
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] how to convert a tab key press into two spaces in lazarus

2008-08-09 Thread davy zhang
well. sorry for the confusion... this function called Tab Stops in Delphi,

In notepad or other simple txt editor, I press the TAB key on the
keyboard, it will actually insert an ASCII code 09 in the file. That's
fine

but in Delphi IDE code editor, I can choose to insert "20 20" ascii
code when I press the TAB key on the keyboard

Usually I use the function to align my code with spaces

like this way

procedure TestFunction(test:Integer);
begin
<20><20> //do somethingcode
end;

this <20><20> can be generated by one press of TAB key not a really
two strokes of some Keys on the keyboard

in DELPHI they call this " Tab Stops"


On Sat, Aug 9, 2008 at 5:19 PM, Mattias Gaertner
<[EMAIL PROTECTED]> wrote:
> On Sat, 9 Aug 2008 16:56:31 +0800
> "davy zhang" <[EMAIL PROTECTED]> wrote:
>
>> thanks for the reply
>>
>> but I mean when I press the tab key on the keyboard, I was expecting
>> the IDE can automatically convert this operation to two spaces key
>> stroke:)
>
> I have no idea what you are intending to do. Please give an example.
>
> Mattias
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] how to convert a tab key press into two spaces in lazarus

2008-08-09 Thread davy zhang
thanks for the reply

but I mean when I press the tab key on the keyboard, I was expecting
the IDE can automatically convert this operation to two spaces key
stroke:)

On Sat, Aug 9, 2008 at 4:47 PM, Mattias Gaertner
<[EMAIL PROTECTED]> wrote:
> On Sat, 9 Aug 2008 14:05:28 +0800
> "davy zhang" <[EMAIL PROTECTED]> wrote:
>
>> I didn't find an option to make that work, it's pretty much annoying
>> when I have to delete the dynamic tab spaces, and change it to 2
>> spaces
>>
>> I guess there should be an option, but I failed to reach it.
>
> Do you mean this:
> http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options#Tabs_to_spaces
>
> Mattias
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] The variable watch debug tool is a little bit inconvenient for me, I can't watch the true value of many type

2008-08-08 Thread davy zhang
Sometimes it gave me only a pointer address, that makes no sense to me.

It's would be nice if there's a detail for array, object properties, etc~

just an suggestion.

Great Thanks to the dev group for this wonderful product!
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] how to convert a tab key press into two spaces in lazarus

2008-08-08 Thread davy zhang
I didn't find an option to make that work, it's pretty much annoying
when I have to delete the dynamic tab spaces, and change it to 2
spaces

I guess there should be an option, but I failed to reach it.

Any hint please, thanks a lot.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need help on windows Lazarus build

2008-08-01 Thread davy zhang
thanks so much for your response and cfg file!

You just read my mind, I'll try to use nightly build~

and I'll try to build the Lazarus later, for me this is really a challenge :)


2008/8/1 Martin Friebe <[EMAIL PROTECTED]>:
> Hi,
>
> Not a direct answer to your question, but if your main interest is to have
> the latest lazarus, you don't necessarily need fpc from svn. You could
> download and install a nightly build (Lazarus + FPC), *and* have an svn
> checkout of Lazarus. The svn Lazarus, can then use the fpc from the nightly
> build install.
> If you choose an install with fpc 2.2.3, you will have to upgrade every
> couple of weeks, but that's just installing the new nightly build. If you
> copy the fpc directory, then you must edit the fpc.cfg (There will be an
> existing one)
>
>
> Otherwhise I attached an fpc.cfg file (for version 2.2.0), it setuip for an
> install path of c:\lazarus\fpc\2.2.2, but you can edit this.
>
> regards
> Martin
>
>
> davy zhang wrote:
>>
>> windows xp
>>
>> I've checked out all the trunk src from svn
>>
>> and I followed the instructions on
>> :http://wiki.lazarus.freepascal.org/index.php/Getting_Lazarus
>>
>> I get lost on this step:
>>
>> #  From the C:\lazarus\tools\install\win32 directory copy the file
>> 'samplefpc.cfg' to the C:\lazarus\pp\bin\i386-win32 directory and
>> rename it to fpc.cfg (first delete/rename the old fpc version).
>> # Edit this file and replace all occurencies of '$1' by 'C:\lazarus\pp'.
>>
>> I can't find the samplefpc.cfg
>>
>> sorry I'm new to open source project, i don't know how to build the
>> src code into a solid executable file in this way.
>>
>> usually I worked with Delphi project files
>> ___
>> Lazarus mailing list
>> Lazarus@lazarus.freepascal.org
>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
>
> #
> # Config file generated by fpcmkcfg on 27/06/2008 - 12:25:20
> # Example fpc.cfg for Free Pascal Compiler
> #
>
> # --
> # Defines (preprocessor)
> # --
>
> #
> # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
> #
> # -d is the same as #DEFINE
> # -u is the same as #UNDEF
> #
>
> #
> # Some examples (for switches see below, and the -? helppages)
> #
> # Try compiling with the -dRELEASE or -dDEBUG on the commandline
> #
>
> # For a release compile with optimizes and strip debuginfo
> #IFDEF RELEASE
>  -O2
>  -Xs
>  #WRITE Compiling Release Version
> #ENDIF
>
> # For a debug version compile with debuginfo and all codegeneration checks
> on
> #IFDEF DEBUG
>  -glh
>  -Crtoi
>  #WRITE Compiling Debug Version
> #ENDIF
>
> # 
> # Parsing switches
> # 
>
> # Pascal language mode
> #  -Mfpc  free pascal dialect (default)
> #  -Mobjfpc   switch some Delphi 2 extensions on
> #  -Mdelphi   tries to be Delphi compatible
> #  -Mtp   tries to be TP/BP 7.0 compatible
> #  -Mgpc  tries to be gpc compatible
> #  -Mmacpas   tries to be compatible to the macintosh pascal dialects
> #
> # Turn on Object Pascal extensions by default
> #-Mobjfpc
>
> # Assembler reader mode
> #  -Rdefault  use default assembler
> #  -Ratt  read AT&T style assembler
> #  -Rintelread Intel style assembler
> #
> # All assembler blocks are AT&T styled by default
> #-Ratt
>
> # Semantic checking
> #  -S2same as -Mobjfpc
> #  -Scsupports operators like C (*=,+=,/= and -=)
> #  -Sainclude assertion code.
> #  -Sdsame as -Mdelphi
> #  -Se compiler stops after the  errors (default is 1)
> #  -Sgallow LABEL and GOTO
> #  -ShUse ansistrings
> #  -Sisupport C++ styled INLINE
> #  -SI set interface style to 
> # -SIcomCOM compatible interface (default)
> # -SIcorbaCORBA compatible interface
> #  -Smsupport macros like C (global)
> #  -Sosame as -Mtp
> #  -Spsame as -Mgpc
> #  -Ssconstructor name must be init (destructor must be done)
> #  -Stallow static keyword in objects
> #
> # Allow goto, inline, C-operators, C-vars
> -Sgic
>
> # ---
> # Code generation
> # ---
>
> # Uncomment the next line if you always want static/dynamic units by default
> # (can be overruled with -CD, -CS at the commandline)
> #-CS
> #-CD
>

[Lazarus] Need help on windows Lazarus build

2008-08-01 Thread davy zhang
windows xp

I've checked out all the trunk src from svn

and I followed the instructions on
:http://wiki.lazarus.freepascal.org/index.php/Getting_Lazarus

I get lost on this step:

#  From the C:\lazarus\tools\install\win32 directory copy the file
'samplefpc.cfg' to the C:\lazarus\pp\bin\i386-win32 directory and
rename it to fpc.cfg (first delete/rename the old fpc version).
# Edit this file and replace all occurencies of '$1' by 'C:\lazarus\pp'.

I can't find the samplefpc.cfg

sorry I'm new to open source project, i don't know how to build the
src code into a solid executable file in this way.

usually I worked with Delphi project files
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New Lazarus package - MouseAndKeyInput

2008-07-04 Thread davy zhang
thanks for the efforts!

On Fri, Jul 4, 2008 at 9:11 PM, Tom Gregorovic <[EMAIL PROTECTED]> wrote:
> Hi,
> I have finished new tool for Lazarus:
> MouseAndKeyInput package is a tool for cross-platform manipulation
> with mouse and key input. You can move mouse cursor to specified
> location, send clicks and do key presses. It is suitable for GUI
> testing or program control demonstration.
>
> For more info visit: http://wiki.lazarus.freepascal.org/MouseAndKeyInput
>
> Tom Gregorovic
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Is there anyone who use lazarus to develop the commercial products targeted on multiple platform?

2008-06-30 Thread davy zhang
thanks a lot, I'm just trying. I know there will be a huge change of
lazarus on mac, in the next version~ that really make me exciting.

hehe~

On Mon, Jun 30, 2008 at 9:58 PM, Felipe Monteiro de Carvalho
<[EMAIL PROTECTED]> wrote:
> Talk&Write made good progress porting their product to Mac using the
> Carbon interface:
>
> http://www.talkandwrite.com/english/products.php
>
> Althougth it is not ready yet.
>
> The biggest problem will probably be that the Carbon interface is only
> good enougth in the subversion code and recently some very big changes
> broke the subversion code. I recommend getting a revision from 1 or 2
> weeks ago, it should be good enougth for commercial products.
>
> Stable Free Pascal 2.2.0 can be installed. Get Lazarus with subversion:
>
> svn checkout as in the lazarus wiki
> svn update -r 15400
>
> --
> Felipe Monteiro de Carvalho
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Is there anyone who use lazarus to develop the commercial products targeted on multiple platform?

2008-06-30 Thread davy zhang
Especially on mac.

Recently I plan to port some of my products from windows to mac, if it
is possible :)

So I doubted if someone did this before~

thanx for all the people work on lazarus project! You make a better
world for all!
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus