Re: [Lazarus] Mac OS X : Revision 19889 not compiling under 10.4

2009-05-10 Thread Alexander Klenin
On Sun, May 10, 2009 at 07:56, domini...@savagesoftware.com.au wrote: Hi all,  I just grabbed the latest SVN - 19889 and a build of bigide is not working. The error occuring is... Free Pascal Compiler version 2.3.1 [2009/05/09] for powerpc Copyright (c) 1993-2009 by Florian Klaempfl

Re: [Lazarus] Watches/Local variables/Registers [Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-07 Thread Alexander Klenin
On Thu, May 7, 2009 at 20:55, Martin Friebe laza...@mfriebe.de wrote: They should be merged together in a single list with appropriate filtering capabilities. another thing with combining them, is that the amount of Locals keeps changing (watches just display unavailable). This means

Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Alexander Klenin
On Wed, May 6, 2009 at 18:28, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Wed, May 6, 2009 at 2:44 AM, Alexander Klenin kle...@gmail.com wrote: FWIW, I often use Quick search (Ctrl+E) for code navigation, How does quick search work?  I highlighted an identifier I want to seach

Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Alexander Klenin
2009/5/6 Mattias Gärtner nc-gaert...@netcologne.de: 2) Find in files, Messages and Code observer should be merged together, with interface most resembling Find in files I can't see how these can be combined. They are totally different features. Maybe the result windows could be docked

Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Alexander Klenin
1) Find procedure should be merged into Code explorer Ok by me. (I never used it :) ) It's partly there anyway. Lets discuss it first - I use procedure list a *lot*. And at the moment it's behaviour is different to code explorer. Of course, no need to rush. But notice how even many people

Re: [Lazarus] Lazarus IDE Tools - wiki page

2009-05-06 Thread Alexander Klenin
On Thu, May 7, 2009 at 00:02, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Mattias just mentioned the following page in anther message thread. I thought it's worth mentioning it in it's own message thread.  http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools WOW!!!  I have learnt quite

Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Alexander Klenin
On Wed, May 6, 2009 at 13:40, Paul Ishenin i...@kmiac.ru wrote: Please create a wiki page. After few revisions it can become a part of roadmap. http://wiki.freepascal.org/IDE_UI_Consolidation -- Alexander S. Klenin ___ Lazarus mailing list

Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Alexander Klenin
2009/5/7 Bogusław Brandys bran...@o2.pl: In fact we see here old problem of two rights - both groups are right , partially. While it would be nice to have as many nice features placed in one Code explorer as possible - that WILL double windows, because someone not using docking (due to

Re: [Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-06 Thread Alexander Klenin
On Thu, May 7, 2009 at 02:25, Hans-Peter Diettrich drdiettri...@aol.com wrote: Graeme Geldenhuys schrieb: The problem with Code Explorer and FPDoc Editor type windows is that they use processing power as you navigate or switch units. Apropos switch units: who made the editor tab shifting

Re: [Lazarus] Watches/Local variables/Registers [Re: IDE UI consolidation (was: Re: lfm as pascal)]

2009-05-06 Thread Alexander Klenin
On Thu, May 7, 2009 at 08:56, Martin Friebe laza...@mfriebe.de wrote: To heat the discussion up:  From the wiki:     Watches/Local variables/Registers All three are a lists of name/value pairs used at debug time. They should be merged together in a single list with appropriate filtering

[Lazarus] IDE UI consolidation (was: Re: lfm as pascal)

2009-05-05 Thread Alexander Klenin
On Wed, May 6, 2009 at 07:48, Mattias Gaertner nc-gaert...@netcologne.de wrote: Well, power users don't scroll, they fly via shortcuts. Casual users use PgUp/PgDown. That's putting it nicely. My business model units are all fairly big. PgUp/PgDn will just take to long. I the procedure list

Re: [Lazarus] [patch] ModalResult documentation update

2009-04-28 Thread Alexander Klenin
2009/4/28 Graeme Geldenhuys graemeg.li...@gmail.com: As discussed in another message thread. Here are some doc updates which I have tested locally. See attached patch file. Yes, much better. instead a few standard constants are used I'd say usually, since some application use different

Re: [Lazarus] Figures in code explorer

2009-04-20 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 20:50, Mattias Gaertner nc-gaert...@netcologne.de wrote: About (4d) - single line begin..end Maybe you can give an example when this is not about code formatting? I just mean that removing non-whitespace characters is not formally 'formatting'. I agree it is gray area.

Re: [Lazarus] Figures in code explorer

2009-04-20 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 21:27, Martin Friebe laza...@mfriebe.de wrote: Mattias Gaertner wrote: So the code explorer can scan for lines 'do' and 'then' lines where the following line is indented less or equal. Of course some programmers will switch off the equal. while a nice idea, even this

[Lazarus] Code Observer notes

2009-04-20 Thread Alexander Klenin
1) The name is good, if somewhat reminiscent of market-speak. Buy our Lazarus -- now with Code Observer (tm) ;-) 2) The body of empty procedure is superfluously detected as empty block. 3) Perhaps 'Create' and 'CreateFmt' should be added to the list of functions ignoring constants? raise

Re: [Lazarus] Code Observer notes

2009-04-20 Thread Alexander Klenin
On Tue, Apr 21, 2009 at 14:49, Paul Ishenin i...@kmiac.ru wrote: Alexander Klenin wrote: 3) Perhaps 'Create' and 'CreateFmt' should be added to the list of functions ignoring constants?   raise Exception.Create('Error text') is a common construct. No. Create and CreateFmt strings needs

[Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
New figures feature is an excellent addition, thanks Paul and Mattias! It already motivated be to fix some stylistic problems in one of my projects ;-) A few questions/suggestions for improvement: 1) Where did the name came from? It is totally meaningless for me. Maybe 'Stylistic notes' or

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Sun, Apr 19, 2009 at 22:02, Mattias Gaertner nc-gaert...@netcologne.de wrote: A few questions/suggestions for improvement: 1) Where did the name came from? It is totally meaningless for me. See http://www.askoxford.com/concise_oed/figure?view=uk Hm. I'll quote that: figure, noun: 1 a

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 01:10, Marco van de Voort mar...@stack.nl wrote: On Mon, Apr 20, 2009 at 12:00:07AM +1100, Alexander Klenin wrote: However, the checks I suggested are very far from 'nazi' level. Truly nazi-checks would include things as 'begin statement never/always alone on the line

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 01:28, Paul Ishenin webpi...@mail.ru wrote: Martin Friebe wrote: Hm, while some of them probably are most likely to be used to find possible issues, there is no need to see them as an problem indicator only. So point 1 is correct as they are a collecion of numbers

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 09:29, Mattias Gaertner nc-gaert...@netcologne.de wrote: Theoretically you can define 'hint' very generic: some message about a pascal source. But then the term 'hint' becomes almost meaningless But you propose to define 'figure' as an even more generic thing: number,

Re: [Lazarus] Figures in code explorer

2009-04-19 Thread Alexander Klenin
On Mon, Apr 20, 2009 at 10:19, Mattias Gaertner nc-gaert...@netcologne.de wrote: 4c) Add 'Empty begin..end' block, probably with the same check for the comments as in (4a) 4d) Add 'Single statement in begin..end block' 4e) Add 'Too many nesting statements' and 'Too many nesting

Re: [Lazarus] Repository commit statistics. :-)

2009-04-16 Thread Alexander Klenin
On Wed, Apr 15, 2009 at 22:37, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Patches submitted to Mantis is applied by other users that have read/write access to the repository. So only those read/write users are shown. Yes, properly preserving author info in commits is another thing Git

Re: [Lazarus] revision numbers of each SVN tag?

2009-04-15 Thread Alexander Klenin
On Thu, Apr 16, 2009 at 00:02, Florian Klaempfl flor...@freepascal.org wrote: Very difficult. If a release is created from a branch, nobody can ensure that all release builders built the release candidate from exactly the same revision, if they don't, things might be broken when the final

Re: [Lazarus] revision numbers of each SVN tag?

2009-04-15 Thread Alexander Klenin
On Thu, Apr 16, 2009 at 00:02, Florian Klaempfl flor...@freepascal.org wrote: Very difficult. If a release is created from a branch, nobody can ensure that all release builders built the release candidate from exactly the same revision, if they don't, things might be broken when the final

Re: [Lazarus] Notes on 'remove unused units' codetool

2009-04-12 Thread Alexander Klenin
On Sun, Apr 12, 2009 at 16:26, Mattias Gaertner nc-gaert...@netcologne.de wrote: Fixed. Fixed. Added. Thanks. 4) Icons used are strange. I think standard 'unit' icon should be used instead of current one. Same icons as in the code explorer. Make a proposal. Hm... I proposed to use

Re: [Lazarus] Free Pascal version 2.2.4 released

2009-04-12 Thread Alexander Klenin
On Mon, Apr 13, 2009 at 03:19, Joost van der Sluis jo...@cnoc.nl wrote: The Free Pascal team is pleased to announce that version 2.2.4 has been released and is available for download for all major platforms: Congratulations to FPC team. The link to user changes from the announcement on

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-11 Thread Alexander Klenin
On Sat, Apr 11, 2009 at 22:39, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: Alexander Klenin escreveu: OTOH, the hint is not _entirely_ useless and can in some rare cases point to a real bugs. The solution is to enable per-variable hint suppression. It is done in C/C++ by omitting

[Lazarus] Notes on 'remove unused units' codetool

2009-04-11 Thread Alexander Klenin
I tried a new 'remove unused units' refactoring, and in general I like it. A few nits: 1) Tree nodes should not be editable. 2) After removing first unit in the uses clause, the extraneous space is left before the next unit name. 3) A 'select all' button would probably be useful 4) Icons used

Re: [Lazarus] update [Re: Code Folding mess and Code Divider feature]

2009-04-10 Thread Alexander Klenin
On Fri, Apr 10, 2009 at 22:10, Martin Friebe laza...@mfriebe.de wrote: 3) 'Folding'/'Divider' buttons are slightly confusing. Maybe it is better to make common list of language constructs with additional 'Fold' checkbox, and make it visible only when needed? Alternatively, how about at least

Re: [Lazarus] Hints usability

2009-04-10 Thread Alexander Klenin
On Sat, Apr 11, 2009 at 07:17, Christian Iversen chriv...@iversen-net.dk wrote: Ok, I can see what you're doing there. In my opinion, it's not very pretty. How about something like this: procedure SilenceHint(const A); inline; begin end; I still prefer compiler-level solution, but if

Re: [Lazarus] Hints usability

2009-04-10 Thread Alexander Klenin
On Sat, Apr 11, 2009 at 07:53, Alexander Klenin kle...@gmail.com wrote: On Sat, Apr 11, 2009 at 07:17, Christian Iversen chriv...@iversen-net.dk wrote: Ok, I can see what you're doing there. In my opinion, it's not very pretty. How about something like this: procedure SilenceHint(const

Re: [Lazarus] update [Re: Code Folding mess and Code Divider feature]

2009-04-10 Thread Alexander Klenin
On Sat, Apr 11, 2009 at 01:56, Martin Friebe laza...@mfriebe.de wrote: Sorry, no patch from me, but I can create an issue if you want. I have no problems with a separate page, but why do you reject a common list? It seems the best solution to me. Dividers initially could only be set at

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-09 Thread Alexander Klenin
On Wed, Apr 8, 2009 at 18:36, Mattias Gaertner nc-gaert...@netcologne.de wrote: In order to break the circles, you must first find them. Move all uses to the interface section and FPC will find them for you. As I already written some time ago, the solution is to introduce a hint/warning for

[Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread Alexander Klenin
2009/4/9 Mattias Gärtner nc-gaert...@netcologne.de: As I already written some time ago, the solution is to introduce a hint/warning for the circular dependencies in implementation sections. This hint should probably be disabled by default, for compatibility reasons. Yes, a hint would be nice.

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Alexander Klenin
On Fri, Apr 10, 2009 at 03:30, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Thu, Apr 9, 2009 at 5:55 PM, Henry Vermaak henry.verm...@gmail.com wrote: tortoisegit needs msysgit to be installed. I see no problem... why double the work of implementing two native versions of Git. I have

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Alexander Klenin
On Thu, Apr 9, 2009 at 23:14, Graeme Geldenhuys graemeg.li...@gmail.com wrote: The Git mirror is hosted on GitHub at the following URL and is sync'ed with Lazarus SubVersion trunk every 15 minutes.   git://github.com/graemeg/lazarus.git Hm, apparently sync is not working. -- Alexander S.

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Alexander Klenin
On Fri, Apr 3, 2009 at 00:13, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Thu, Apr 2, 2009 at 12:28 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Code explorer can follow the cursor. Can you explain how? I tried all the settings in Code Explorer and nothing allows the

Re: [Lazarus] BoxRect

2009-03-29 Thread Alexander Klenin
On Mon, Mar 30, 2009 at 03:43, Jesus Reyes jesus...@yahoo.com.mx wrote: --- El dom 29-mar-09, Carlos German Tejero german_tej...@yahoo.com.ar escribió: The delphi 7 helps says: Returns the screen coordinates of a specified set of cells. Delphi syntax: function BoxRect(ALeft, ATop,

Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Alexander Klenin
On Fri, Mar 27, 2009 at 11:22, Hans-Peter Diettrich drdiettri...@aol.com wrote: [critique of Graeme's iterators] Since Graeme did not wish to post his article in the open, perhaps he also did not wish it to be cited? Anyway, I understood his design from the quote and agree with some of your

Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Alexander Klenin
On Fri, Mar 27, 2009 at 10:02, Hans-Peter Diettrich drdiettri...@aol.com wrote: Note that I said with defined equality. The reason 'case' should not include floating point numbers is that equality if not usefully defined for them. The same for strings, where mere binary (case sensitive)

Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Alexander Klenin
On Fri, Mar 27, 2009 at 18:49, Graeme Geldenhuys graemeg.li...@gmail.com wrote: The article was written for a magazine so I do not have the rights to publicly publish it myself.  I you want to read it, buy the Toolbox magazine (German translation) and back-order Toolbox 1'2009 or ask and I

Re: [Lazarus] Easiest way to case strings

2009-03-26 Thread Alexander Klenin
On Thu, Mar 26, 2009 at 17:56, Hans-Peter Diettrich drdiettri...@aol.com wrote: Alexander Klenin schrieb: Since string was introduced as built-in scalar type with defined equality, lack of 'case' support can be viewed as a design bug. IMO strings are similarly scalar as are floating point

Re: [Lazarus] Easiest way to case strings

2009-03-26 Thread Alexander Klenin
On Thu, Mar 26, 2009 at 18:59, Marco van de Voort mar...@stack.nl wrote: On Thu, Mar 26, 2009 at 10:28:50AM +1000, Alexander Klenin wrote: What problem does for in really solve? Lack of iterators. No it doesn't IMHO. This is really nice argument ;-) Well, it _should_ solve it. If it does

Re: [Lazarus] Easiest way to case strings

2009-03-26 Thread Alexander Klenin
On Thu, Mar 26, 2009 at 23:07, Marc Weustink marc.weust...@cuperus.nl wrote: Alexander Klenin wrote: 1) Iterating over array property, where and item should be stored in a   temporary variable   to avoid rereated calls to GetItem method inside the loop iteration: var   i: integer; item

Re: [Lazarus] Easiest way to case strings

2009-03-26 Thread Alexander Klenin
On Fri, Mar 27, 2009 at 00:22, Paul Ishenin webpi...@mail.ru wrote: FOR s IN list DO  WriteLn(s); extended: FOR s IN list USING my_reverse_iterator DO  WriteLn(s); In upper case I wrote keywords and in lower case identifiers. I think the extension can be avoided like so: FOR s IN

Re: [Lazarus] Easiest way to case strings

2009-03-24 Thread Alexander Klenin
On Tue, Mar 24, 2009 at 22:40, Florian Klaempfl flor...@freepascal.org wrote: Alexander Klenin schrieb: You can rant about it if we reject a patch adding case with strings ;) I'am quite sure, a good patch (clear definition of the scope, support for all string types, clear definition how

Re: [Lazarus] Easiest way to case strings

2009-03-22 Thread Alexander Klenin
On Sun, Mar 22, 2009 at 05:36, Hans-Peter Diettrich drdiettri...@aol.com wrote: Alexander Klenin schrieb: There exist too many options with string comparison. In a table lookup the compare method can be supplied by the application, in a case statement this would require another syntax

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
As a general design note, I think that PropertyEditor.GetAttributes function should be split into static and dynamic parts, where static part supplies type-specific attributes, and dynamic -- value-specific ones. -- Alexander S. Klenin ___ Lazarus

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
On Sun, Mar 22, 2009 at 16:37, Alexander Klenin kle...@gmail.com wrote: 1) apply the attached patch I somehow managed to save incorrect patch. Please use this version instead. -- Alexander S. Klenin Index: propedits.pp

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
On Sun, Mar 22, 2009 at 20:37, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: FYI, VTV does not define any custom property editor. Ok, I was too lazy to download and install VirtualTree and so shot in the dark. How can i know what is the property giving problem? Call GetName or

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
On Sun, Mar 22, 2009 at 23:22, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: Luiz Americo Pereira Camara escreveu: Columns is a TCollection descendant but is using a TList property editor. The crash probably is due to the cast to TList (TheList:=TList(GetObjectValue);) in

Re: [Lazarus] Help to find cause of crash in IDE after revision 19044

2009-03-22 Thread Alexander Klenin
After IRC discussion the fix was submitted to Mantis as http://bugs.freepascal.org/view.php?id=13381 -- Alexander S. Klenin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Exception dialog

2009-03-16 Thread Alexander Klenin
On Mon, Mar 16, 2009 at 23:44, Paul Ishenin webpi...@mail.ru wrote: Michael Van Canneyt wrote: Is there a reason why the default exception dialog has a cancel button to kill the application ? We often use an exception to signal wrong entry of data or so, because it stops all further

Re: [Lazarus] Code Folding mess and Code Divider feature

2009-03-13 Thread Alexander Klenin
On Fri, Mar 13, 2009 at 22:16, Martin Friebe laza...@mfriebe.de wrote: There is a general plan/idea to add some configuration (have to see how much) to define what you want to have foldable and what not. It wasn't seen as urgent yet (at least not by me...) Most (if not all) of the places that

Re: [Lazarus] Code Folding mess and Code Divider feature

2009-03-13 Thread Alexander Klenin
On Sat, Mar 14, 2009 at 02:03, Martin Friebe laza...@mfriebe.de wrote: Not yet. this will at earliest be implemented, when individual folds can be configured. The same applies for repeat/until It may also have to wait fro some more/other refactoring on the folding. The highlighting currently

Re: [Lazarus] How about new State in Mantis ?

2009-03-12 Thread Alexander Klenin
On Thu, Mar 12, 2009 at 05:45, Marc Weustink m...@dommelstein.net wrote: That is what resolved means. We (devels) think the issue is solved after some tests of our own. If you, the reporter, thinks it is not solved, then you can reopen the issue. If it is ok with you then you can close. If we

Re: [Lazarus] Patch for improved window layout

2009-02-28 Thread Alexander Klenin
2009/3/1 Kostas Michalopoulos badsec...@slashstone.com: 1. The component bar (MainIDEBar)'s height is calculated to match the contents and current window size. This is a good idea in general, however your patch IMHO has some flaws, which I'll list in order from least to most significant: 1)

Re: [Lazarus] Fw: New Features for source editor

2009-02-26 Thread Alexander Klenin
On Wed, Feb 25, 2009 at 04:41, Lee Jenkins l...@datatrakpos.com wrote: -Autocompletion in real-time (no type Ctrl+Space) This by far, is one of the most productive enhancements that any code editor can have.  It is just amazing how fast you can code with this feature as well as reduce

Re: [Lazarus] Fw: New Features for source editor

2009-02-26 Thread Alexander Klenin
On Thu, Feb 26, 2009 at 22:17, Lee Jenkins l...@datatrakpos.com wrote: Alexander Klenin wrote: While I am not against adding this to Lazarus, I would like to note that this is one Delphi 2007 feature I actively do not like, and always turn off. Hmmm.  I didn't think Delphi had this feature

Re: [Lazarus] TAChart child/parent control integration: request for review

2009-02-21 Thread Alexander Klenin
On Sat, Feb 21, 2009 at 22:55, Luca Olivetti l...@wetron.es wrote: En/na Florian Klaempfl ha escrit: How did you solve the problem of MQ with win32 line endings? I don't remember how I set it up (it was a while ago), but under windows I have this in mercurial.ini [extensions]

Re: [Lazarus] TAChart child/parent control integration: request for review

2009-02-21 Thread Alexander Klenin
On Sat, Feb 21, 2009 at 03:52, Florian Klaempfl flor...@freepascal.org wrote: Do you know you can fix up commits in DVCS as long as nobody pulled your changes yet? (And even after that, but at a risk of confusing others). What do you mean with fix up? I mean to change so it is not broken any

Re: [Lazarus] Debugger problems

2009-02-20 Thread Alexander Klenin
On Wed, Feb 18, 2009 at 22:03, Alex du Plessis alexdu...@telkomsa.net wrote: Any pointers on how to get the debugger going? Currently a debugger in Lazarus is barely usable. However, if you submit a bug report http://bugs.freepascal.org/ and attach a sample project to demonstrate a bug, there

Re: [Lazarus] Debugger problems

2009-02-20 Thread Alexander Klenin
On Fri, Feb 20, 2009 at 22:44, Marc Weustink marc.weust...@cuperus.nl wrote: I wonder too what you do differently. How do you think I develop lazarus myself ? I agree that issues Graeme mentioned are tolerable, although inconvenient. For me, however, debugger, just crashes of freezes after 2-3

[Lazarus] TAChart child/parent control integration: request for review

2009-02-20 Thread Alexander Klenin
If any core developer has time, please have a look at commits made for http://bugs.freepascal.org/view.php?id=13214 , in particular r18774. It works as far as I can test, but is that an 'official' way to create parent-child relation between components? Things such as ReadState override seem

Re: [Lazarus] TAChart child/parent control integration: request for review

2009-02-20 Thread Alexander Klenin
On Sat, Feb 21, 2009 at 01:09, Florian Klaempfl flor...@freepascal.org wrote: How did you solve the problem of MQ with win32 line endings? I did not :-( I resorted to manually converting files back and forth. It is not hard, but tedious. -- Alexander S. Klenin

Re: [Lazarus] TAChart child/parent control integration: request for review

2009-02-20 Thread Alexander Klenin
By the way, Mercurial mirror seems to be stuck again since r18773. What is the problem with it? -- Alexander S. Klenin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TAChart child/parent control integration: request for review

2009-02-20 Thread Alexander Klenin
On Sat, Feb 21, 2009 at 02:23, Florian Klaempfl flor...@freepascal.org wrote: Alexander Klenin schrieb: By the way, Mercurial mirror seems to be stuck again since r18773. What is the problem with it? Here it is at 18780? Works for me now, too. What is the update interval? It seems some

Re: [Lazarus] TAChart child/parent control integration: request for review

2009-02-20 Thread Alexander Klenin
On Sat, Feb 21, 2009 at 03:17, Florian Klaempfl flor...@freepascal.org wrote: On Sat, Feb 21, 2009 at 02:28, Florian Klaempfl flor...@freepascal.org wrote: Actually, I think we still can. The DVCS model itself is so powerful It should first solve the awkwardness of line ending problem, it

Re: [Lazarus] TAChart: Delphi mode removal planned

2009-02-18 Thread Alexander Klenin
On Wed, Feb 18, 2009 at 17:51, Alexander Klenin kle...@gmail.com wrote: On Wed, Feb 18, 2009 at 16:27, waldo kitty wkitt...@windstream.net wrote: Alexander Klenin wrote: I plan to remove {$MODE DELPHI} and {$IFDEF fpc} from TAChart code, since it is useless for Delphi anyway. See http

[Lazarus] TAChart: Delphi mode removal planned

2009-02-17 Thread Alexander Klenin
I plan to remove {$MODE DELPHI} and {$IFDEF fpc} from TAChart code, since it is useless for Delphi anyway. Is there any objection? -- Alexander S. Klenin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] TAChart: Delphi mode removal planned

2009-02-17 Thread Alexander Klenin
On Wed, Feb 18, 2009 at 16:27, waldo kitty wkitt...@windstream.net wrote: Alexander Klenin wrote: I plan to remove {$MODE DELPHI} and {$IFDEF fpc} from TAChart code, since it is useless for Delphi anyway. Is there any objection? i can't speak to objections but what, if any, side-effects

[Lazarus] RadialPie angles

2009-02-16 Thread Alexander Klenin
Currently, TCanvas.RadialPie function takes parameters StartAngle and EndAngle, documented as starting and ending angles of a circle segment to draw. However, it actually draws a segment from StartAngle to StartAngle + EndAngle. Is it a bug in code or documentation? I tried to look at the

[Lazarus] Mercurial mirror not updating

2009-02-16 Thread Alexander Klenin
Since SVN r18698, about 35 hours ago. -- Alexander S. Klenin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Space preference for assignment

2009-02-09 Thread Alexander Klenin
On Mon, Feb 9, 2009 at 11:17, Hans-Peter Diettrich drdiettri...@aol.com wrote: Micha Nelissen schrieb: How can I specify I prefer spaces around assignment operators? In the options window I can select several tokens, but not assignment operator, or did I miss it? You can selecet symbols,

[Lazarus] TAChart: request for review

2009-02-05 Thread Alexander Klenin
Darius, if you are still around, could you please review TAChart patches in http://bugs.freepascal.org/view.php?id=12377 and http://bugs.freepascal.org/view.php?id=13119 Otherwise, can someone else do that? -- Alexander S. Klenin ___ Lazarus mailing

Re: [Lazarus] LCL based image viewer like ACDSee?

2009-01-30 Thread Alexander Klenin
On Fri, Jan 30, 2009 at 18:07, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Has anybody implemented a ACDSee (v2.x or v3.x style) clone using Lazarus yet? Free Pascal's fpImage units support various image file formats, so it should be relatively easy to accomplish. While it is not what

[Lazarus] Mercurial mirror is down?

2009-01-08 Thread Alexander Klenin
http://florianklaempfl.de:8000/lazarustrunk returns 404 error to me. -- Alexander S. Klenin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] MaskEdit: question on how it should behave

2008-12-27 Thread Alexander Klenin
On Sun, Dec 28, 2008 at 09:43, Bart bartjun...@gmail.com wrote: I am not sure how modern Delphi behaves, but I'd say that Lazarus way is correct here -- this is clearly a programmes's error. OTOH, I think it would be useful to provide a separate function like 'TrySetText' which whould

Re: [Lazarus] SQLite: How to create lookup fields?

2008-12-26 Thread Alexander Klenin
On Fri, Dec 26, 2008 at 11:28, User usuarioanonimomy...@gmail.com wrote: Hi again, my TSQLite3Dataset components: My new code: [skip] but nothing happen. Why? Because, as I already pointed out: On Thu, Dec 25, 2008 at 21:05, Alexander Klenin kle...@gmail.com wrote: It seems

Re: [Lazarus] MaskEdit: question on how it should behave

2008-12-26 Thread Alexander Klenin
On Sat, Dec 27, 2008 at 10:07, Bart bartjun...@gmail.com wrote: Question 1: If I set the text of a MaskEdit to some value that does not match the mask (e.g. EditMask = '' and then MaskEdit.Text := 'ABCD'), in D3 no exception is raised and the text in the control is set. Is this still the

Re: [Lazarus] SQLite: How to create lookup fields?

2008-12-25 Thread Alexander Klenin
I do it: procedure TForm1.FormCreate(Sender: TObject); begin with DatasetSales do begin Open; DatasetItems.Open; FieldByName('Item').FieldKind := fkLookup; FieldByName('Item').LookupDataSet := DatasetItems; FieldByName('Item').LookupKeyFields := 'Code; Description';

[Lazarus] Mercurial patches

2008-12-24 Thread Alexander Klenin
On Tue, Dec 23, 2008 at 01:38, Florian Klaempfl flor...@freepascal.org wrote: Alexander Klenin schrieb: Just as a side note: http://florianklaempfl.de:8000/lazarustrunk/ is a mercurial mirror of lazarus. It might help you to maintain your patches. Mercurial works fine on windows as well

Re: [Lazarus] Mercurial patches

2008-12-24 Thread Alexander Klenin
On Wed, Dec 24, 2008 at 19:04, Florian Klaempfl flor...@freepascal.org wrote: Alexander Klenin schrieb: Ok, I installed Mercurial and used it to generated a series of patches (to Object Inspector). Let us see how it goes. I guess what you need are the mercurial queues. Let us know how

Re: [Lazarus] How should delete to end of word behave

2008-12-21 Thread Alexander Klenin
On Sun, Nov 9, 2008 at 02:39, Alexander Klenin kle...@gmail.com wrote: Just found another minor glitch. Given text: abc def cursor xyz Ctrl+T results in abc defxyz i.e. spaces _to the left_ of cursor are deleted. Since there was no reaction, I closed original issue http

Re: [Lazarus] TAChart: double-buffering (issue 0012377) questions

2008-12-21 Thread Alexander Klenin
On Sat, Dec 13, 2008 at 11:46, Alexander Klenin kle...@gmail.com wrote: So this question remains. Or should I protect double-buffering with {$IFDEF WIN32}? Since noone is commenting, I assume my patch is ok ;-) (http://bugs.freepascal.org/view.php?id=12377) Can someone review/apply

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 18:41, Mattias Gärtner nc-gaert...@netcologne.de wrote: Zitat von Alexander Klenin kle...@gmail.com: I should note that I was horrified by the amount of glue code needed to route an event through main form, source notebook, source editor and SynEdit. The IDE

[Lazarus] TAChart: double-buffering (issue 0012377) questions

2008-12-12 Thread Alexander Klenin
In issue http://bugs.freepascal.org/view.php?id=12377, reporter said: Painting to an Bitmap and paint this on the Canvas would be much faster This assertion is, of course, incorrect. I assume that the reporter's problem is actually that the TChart flickers when repainted. The flickering is

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 20:38, Martin Friebe laza...@mfriebe.de wrote: I haven't seen the patch? Can you check you really attached it. Sorry, attached now. It is a pity Mantis does not allow to attach a patch and add a note within a single operation. As for the events... There is probably (I

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 21:36, Joost van der Sluis jo...@cnoc.nl wrote: Nope, still no attachment. Maybe that it's too big. There's a limit of the filesize of attachments on this list. I meant attached to an issue: http://bugs.freepascal.org/view.php?id=12785 Anyway, I'll attach it to this

Re: [Lazarus] Code Structure / SourceEdit and SyneEdit [Re: Mouse Link in SynEdit (only link-able items)]

2008-12-12 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 21:37, Martin Friebe laza...@mfriebe.de wrote: In The current structure SynEdit is the Visual control, and therefore also the control that takes all events such as mouse/key down/up/move. Often it is SynEdits work to react to this, but often it also needs to call back

Re: [Lazarus] TAChart: double-buffering (issue 0012377) questions

2008-12-12 Thread Alexander Klenin
On Sat, Dec 13, 2008 at 09:57, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 12 Dec 2008 19:38:55 +1000 Alexander Klenin kle...@gmail.com wrote: The only caveat is that TChart is now TWinControl -- can it lead to some undesirable consequences I am not aware of? All direct

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-12 Thread Alexander Klenin
On Sat, Dec 13, 2008 at 05:20, Martin Friebe laza...@mfriebe.de wrote: Thanks for the patch, looks good to me. A few things: - Originally you had the condition NewX1NewX2 moved into IsLinkable. Now it is omitted? May be right, because codetools may (or may not) return false for those. Yet

Re: [Lazarus] Code Structure / SourceEdit and SyneEdit [Re: Mouse Link in SynEdit (only link-able items)]

2008-12-12 Thread Alexander Klenin
On Sat, Dec 13, 2008 at 06:26, Flávio Etrusco flavio.etru...@gmail.com wrote: My vision deviates a bit from this in the sense that TAbstractSynEdit would just be an abstraction (or dedicated implementation) of a cleaner text manipulation interface (as TStrings won't cut it), which would also

Re: [Lazarus] TAChart: Request to review/apply patch 12758

2008-12-11 Thread Alexander Klenin
I really wonder how a DVCS would solve this or what would be different? You just apply it to your local working copy and you've it in your builds? Yes. The most important difference in this case is that DVCS would preserve local history. This is similar to every developer having his own branch

Re: [Lazarus] TAChart: Request to review/apply patch 12758

2008-12-11 Thread Alexander Klenin
On Thu, Dec 11, 2008 at 20:16, Florian Klaempfl [EMAIL PROTECTED] wrote: Alexander Klenin schrieb: I.e. my specific problem can be solved in SVN by creating a branch of TAChart component and giving me commit access to it, but then similar branch should be created for my patches to DBGrid

Re: [Lazarus] SynEdit patches [Re: TAChart: Request to review/apply patch 12758]

2008-12-11 Thread Alexander Klenin
On Thu, Dec 11, 2008 at 23:49, Martin Friebe [EMAIL PROTECTED] wrote: Alexander Klenin wrote: and yet another one for patches to SynEdit (both stalled for about a month now), etc I just saw this, and consequently found your patches on this mailing list too. As for the SynEdit patches

Re: [Lazarus] TAChart: Request to review/apply patch 12758

2008-12-11 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 11:39, Paul Ishenin i...@kmiac.ru wrote: Same for Alexander Klenin - if you need to update TAChart very often then ask about write access to svn/lazarus/trunk/components/tachart Yes, it can be a workaround for my particular case, so whom should I ask? In general, though

Re: [Lazarus] TAChart: Request to review/apply patch 12758

2008-12-11 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 01:32, Jesus Reyes jesus...@yahoo.com.mx wrote: If it gets applied it has to be temporal and as such, we need a patch for fpc also and another taking in count the patched fpc (but that can wait of course), if the fpc patch doesn't make it, it's unlikely the crack will

Re: [Lazarus] Mouse Link in SynEdit (only link-able items)

2008-12-11 Thread Alexander Klenin
On Fri, Dec 12, 2008 at 02:12, Martin Friebe laza...@mfriebe.de wrote: Alexander Klenin wrote: So if you have time and expertise, please read the mail threads mentioned in the bug report and provide me with insight ;-) I'll look further into it. A few things: - GetHighlighterAttriAtRowColEx

  1   2   >