Re: [lazarus] Default target OS/CPU for projects ?

2008-01-27 Thread Michael Van Canneyt
On Sat, 26 Jan 2008, Marc Weustink wrote: Michael Van Canneyt wrote: Hello, How does the IDE determine the target OS/CPU if none is specified for a project ? Apparently, it takes the same OS/CPU combination as the one the IDE itself was compiled with. In my opinion, this

Re: synedit patch from ales

2008-01-27 Thread Felipe Monteiro de Carvalho
I just tested the patch and it doesn't fixes selecting utf-8 words on synedit. This doesn't mean it isn't on the right direction. I don't know what is missing, as from the description I would think this should start working. -- Felipe Monteiro de Carvalho

Re: synedit patch from ales

2008-01-27 Thread Felipe Monteiro de Carvalho
Another test line: Caption := 'éé'; Behaves like before patching. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: synedit patch from ales

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): I tested with this line (utf-8 encoded), specifically the last word: Application.Title:='Minha Aplicação'; Double clicking on the left part selects Aplica. Clicking on the accented part does nothing and clicking on o selects only o and puts

Re: synedit patch from ales

2008-01-27 Thread Felipe Monteiro de Carvalho
Oh, and another detail. I am not 100% sure, but I think that changes should be around ifdef SYN_LAZARUS thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

Re: synedit patch from ales

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): I tested with this line (utf-8 encoded), specifically the last word: Application.Title:='Minha Aplicação'; Double clicking on the left part selects Aplica. Clicking on the accented part does nothing and clicking on o selects only o and puts

Re: synedit patch from ales

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): I just tested the patch and it doesn't fixes selecting utf-8 words on synedit. This doesn't mean it isn't on the right direction. I don't know what is missing, as from the description I would think this should start working. What words did you

Re: synedit patch from ales

2008-01-27 Thread Felipe Monteiro de Carvalho
On Jan 27, 2008 11:33 AM, Ales Katona [EMAIL PROTECTED] wrote: What words did you test? Can you send the test sample to me? I tested on some slovak accented (eg: 2byte chars) words and it worked perfectly. I tested with this line (utf-8 encoded), specifically the last word:

Re: [lazarus] Component

2008-01-27 Thread Michael Van Canneyt
On Sat, 26 Jan 2008, [EMAIL PROTECTED] wrote: That's it! http://wiki.lazarus.freepascal.org/Lazarus_Packages should be enhanced... I did this, added some stuff. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with

[lazarus] Why do Delphi users hate Lazarus so much?

2008-01-27 Thread John Stoneham
Well, I guess the term Delphi users is a little broad, but it seems that every post that mentions Lazarus on borland.public.delphi.non-technical gets BLASTED by Delphi fanboys. I mean, it's really amazing to see the outright hostility towards a free software package that might very well save

Re: [lazarus] Why do Delphi users hate Lazarus so much?

2008-01-27 Thread Florian Klaempfl
John Stoneham schrieb: Well, I guess the term Delphi users is a little broad, but it seems that every post that mentions Lazarus on borland.public.delphi.non-technical gets BLASTED by Delphi fanboys. 90% of the posts in b.p.d.non-tech would be qualified as troll posts on other mailings lists

[lazarus] New synedit patch

2008-01-27 Thread Ales Katona
This is a revised version of my synedit patch which adds support for doubleclick selection of utf-8 text as well as puts all the changes in {$IFDEF SYN_LAZARUS}. To sum it up: 1. it inverts parsing logic to use Highlighter.WordBlockChars + TSynWhiteChars (or TSynWordBlockChars +

Re: [lazarus] Why do Delphi users hate Lazarus so much?

2008-01-27 Thread Gabor Boros
I Delphi user and I love Lazaros (and FPC). :-) See the newsgoup name. Contains delphi and borland. That is a newsgroup on Borland's own newsserver about Delphi. Gabor John Stoneham írta: borland.public.delphi.non-technical _

Re: [lazarus] Why do Delphi users hate Lazarus so much?

2008-01-27 Thread John Stoneham
On Jan 27, 2008 7:05 AM, [EMAIL PROTECTED] wrote: BTW: the cardinal mul/div overflow bug still exists in Delphi 2007 ;-) Wow, that's weird! They fixed it in the 7.1 update, but that update broke the integer optimization, which in my opinion was just as serious a bug. I guess they re-broke

Re: [lazarus] Why do Delphi users hate Lazarus so much?

2008-01-27 Thread user1
BTW: the cardinal mul/div overflow bug still exists in Delphi 2007 ;-) John Stoneham wrote: Well, I guess the term Delphi users is a little broad, but it seems that every post that mentions Lazarus on borland.public.delphi.non-technical gets BLASTED by Delphi fanboys. I mean, it's really

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
Thanks, applied as it's much better then the current behavior. However, it still isn't perfect. On: Caption := 'éé'; Edit1.Text := 'éé'; If you double click Caption the cursor ends up 1 char before C If you double click Text it goes between t and 1 thanks, -- Felipe Monteiro de

Re: [lazarus] New synedit patch

2008-01-27 Thread Paul Ishenin
Felipe Monteiro de Carvalho wrote: If you double click Text it goes between t and 1 Sorry, where is 1 in word Text :) ? Best regards, Paul Ishenin. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe

Re: [lazarus] New synedit patch

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): Thanks, applied as it's much better then the current behavior. However, it still isn't perfect. On: Caption := 'éé'; Edit1.Text := 'éé'; If you double click Caption the cursor ends up 1 char before C If you double click Text it

[lazarus] DBImage patch

2008-01-27 Thread Michael Van Canneyt
Hi, 2 issues with TDBImage: First, TDBImage does not handle the case of a NULL blob very well. When a blob field is NULL, CreateBlobStream can return Nil. The Nil case is not handled correctly by TDBImage. I submitted a bug report (10711) with a patch attached, please commit it. Secondly: In

Re: [lazarus] New synedit patch

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): Thanks, applied as it's much better then the current behavior. However, it still isn't perfect. On: Caption := 'éé'; Edit1.Text := 'éé'; If you double click Caption the cursor ends up 1 char before C If you double click Text it

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
On Jan 27, 2008 3:48 PM, Paul Ishenin [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho wrote: If you double click Text it goes between t and 1 Sorry, where is 1 in word Text :) ? It's on the word on the left of it: Edit1.Text The idea is that you click one word and the caret goes to

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
Thanks applied. I did some testing and it looks perfect now =) thanks again, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] New synedit patch

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): On Jan 27, 2008 3:48 PM, Paul Ishenin [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho wrote: If you double click Text it goes between t and 1 Sorry, where is 1 in word Text :) ? It's on the word on the left of it:

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
Ok, so we are now reduced to zero known regressions introduced by unicode win32 Lazarus. Just thougth I could use this opportunity to encourage people to test it =) thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe:

Re: [lazarus] DBImage patch

2008-01-27 Thread Joost van der Sluis
Op zondag 27-01-2008 om 16:18 uur [tijdzone +0100], schreef Michael Van Canneyt: Secondly: In general, the TDBImage should be more flexible about the kind of data it expects: it now requires that the first part of the blob stream is an ansistring with the extension of the image. This is of

[lazarus] LazDoc for preparing documentation files

2008-01-27 Thread Chris Kirkpatrick
I have been trying out the new functionality of LazDoc in the IDE, on which Mattias Gaertner has been working very hard. Although it is still incomplete, and has been the subject of several bug reports, it has a number of useful features. One of these is the facility to 'copy from inherited',

Re: [lazarus] LazDoc for preparing documentation files

2008-01-27 Thread Florian Klaempfl
Chris Kirkpatrick schrieb: All comments are most welcome. Just curious, are the docs as pdf available somewhere or how can I build them? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject

Re: [lazarus] LazDoc for preparing documentation files

2008-01-27 Thread Chris Kirkpatrick
No pdf at present; html docs are built regularly and latest snapshot is at ftp://ftp.hu.freepascal.org/pub/lazarus/ HTML is also visible on-line at http://lazarus-ccr.sourceforge.net/docs/lcl/ I don't think we are ready for PDF yet - it would be full of holes! Regards - Chris Florian Klaempfl

[lazarus] TBitmap.LoadFromStream Fails in Lazarus but works fine in Delphi...

2008-01-27 Thread Dominique Louis
Hi all, I'm using the following function to retrieve a Bitmap from a memory stream. function MyStream.ReadBitmap : TBitmap; // Reads a bitmap from the stream var sss : TMemoryStream; begin Result := nil; if not ReadBoolean then Exit; Result := TBitmap.Create; sss :=

Re: [lazarus] Why do Delphi users hate Lazarus so much?

2008-01-27 Thread zaher dirkey
I Delphi programmer too (10 years) , and i like FPC/Lazarus too match, than Delphi. This day (before i see this comments), my co worker ask me if some day we see some people try to make fight Lazarus, i have no answer for him, and i hope no. (OK bad english :P ) On Jan 27, 2008 3:22 PM, John

Re: [lazarus] Mac OS X : TBitBtn Transparency

2008-01-27 Thread Dominique Louis
Tom Gregorovic wrote: It used to work, but after bitmap rewrite (which moved transparency in TBitmap to mask) it was broken. I hope, I have fixed it in latest SVN. Hi Tom, I totally missed this update, I'm downloading the latest snapshot so will let you know if it works for me. Thanks,

Re: [lazarus] Mac OS X : TBitBtn Transparency

2008-01-27 Thread Dominique Louis
Hi Tom, I just checked and transparency does indeed work correctly in Carbon in the latest Snapshot(27/01/2008). Great work! Dominique. Tom Gregorovic wrote: On Jan 11, 2008 10:09 AM, Dominique Louis [EMAIL PROTECTED] wrote: Hi Paul, Does this mean that TBitBtn under Mac OS X does not

Re: [lazarus] TBitmap.LoadFromStream Fails in Lazarus but works fine in Delphi...

2008-01-27 Thread zaher dirkey
try sss.Seek(0, soFromBeginning); //--- Result.LoadFromStream( sss ); On Jan 27, 2008 8:45 PM, Dominique Louis [EMAIL PROTECTED] wrote: Hi all, I'm using the following function to retrieve a Bitmap from a memory stream. function MyStream.ReadBitmap : TBitmap; // Reads a bitmap

Re: [lazarus] New synedit patch

2008-01-27 Thread zaher dirkey
How we can test it?, i use compile from SVN i will use Arabic language in my units (strings). Is we can use it also for WinCE? On Jan 27, 2008 6:20 PM, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Ok, so we are now reduced to zero known regressions introduced by unicode win32 Lazarus.

Re: [lazarus] New synedit patch

2008-01-27 Thread Ales Katona
zaher dirkey wrote / napísal(a): How we can test it?, i use compile from SVN i will use Arabic language in my units (strings). Is we can use it also for WinCE? On Jan 27, 2008 6:20 PM, Felipe Monteiro de Carvalho [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ok, so we are now

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
On Jan 27, 2008 10:43 PM, zaher dirkey [EMAIL PROTECTED] wrote: How we can test it?, i use compile from SVN i will use Arabic language in my units (strings). You need to recompile with unicode enabled: http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#Compiling_LCL-Win32_with_Unicode

Re: [lazarus] Why do Delphi users hate Lazarus so much?

2008-01-27 Thread Marius
I just hope the Lazarus community isn't discouraged by those negative comments. ;-) Everything there is being bashed. In my opinion nothing in that forum should ever be taken to serious (including the teamb or codegear-team msgs). Its all free advertisement in the end (that included the

[lazarus]Have Utilities of parse local html files to Dom?

2008-01-27 Thread wfifi
hi,all i write a program need get some content in html files. Have Utilities of parse local html files to Dom? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] Why do Delphi users hate Lazarus so much?

2008-01-27 Thread Graeme Geldenhuys
On 27/01/2008, John Stoneham [EMAIL PROTECTED] wrote: Well, I guess the term Delphi users is a little broad, but it seems that every post that mentions Lazarus on borland.public.delphi.non-technical gets BLASTED by Delphi fanboys. I Take all those comments with a pinch of salt. ;-) I believe