Re: [Lazarus] TAChart Localization

2015-12-13 Thread Alexander Klenin
On Sun, Dec 13, 2015 at 7:54 AM, Werner Pamler wrote: > Am 12.12.2015 um 22:23 schrieb Maxim Ganetsky: >> >> The basic method to solve this is to move these assignments (or assign >> these values for a second time) to a later stage, e.g. OnCreate event of the >> GUI

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Alexander Klenin
On Sat, Nov 7, 2015 at 5:58 AM, Florian Klaempfl wrote: > Am 06.11.2015 um 20:22 schrieb Luca Olivetti: >> El 06/11/15 a les 18:10, Martin Schreiber ha escrit: >> >>> You are joking, no? It has been discussed on fpc-pascal/fpc-devel several >>> times. An IIRC Italian

Re: [Lazarus] Declaration of an event type inside a class

2015-01-25 Thread Alexander Klenin
On Mon, Jan 26, 2015 at 7:12 AM, Werner Pamler werner.pam...@freenet.de wrote: The declaration of TDrawEvent is part of the TChart declaration! As reported in the German Lazarus forum (http://www.lazarusforum.de/viewtopic.php?f=18t=8474), an error Unable to show method... is generated because

Re: [Lazarus] Declaration of an event type inside a class

2015-01-25 Thread Alexander Klenin
On Mon, Jan 26, 2015 at 8:08 AM, Werner Pamler werner.pam...@freenet.de wrote: Fine, I'll do it like that. FWIW, in my my opinion it is preferable to fix CodeTools, since it feels awkward to avoid legitimate language feature just because IDE does not like it. BTW: Nice to hear from you again,

Re: [Lazarus] TChart - How to read first/last values from DbChartSource after zoom

2013-05-10 Thread Alexander Klenin
On Sat, May 11, 2013 at 3:19 AM, Gabor Boros gaborbo...@yahoo.com wrote: Hi, I have one DBGrid and Chart(LineSeries) with same DataSource. Want to filter DBGrid's content depend Chart's zoom status. How to read the actual first/last values from Chart if it zoomed? You can use

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Alexander Klenin
On Fri, Apr 5, 2013 at 7:32 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: This is independent of the IDE directive {%H-}. It only works on the file position given by the compiler. Newer compilers might warn at different places within an expression, so sometimes you have to add two

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Alexander Klenin
On Sat, Apr 6, 2013 at 12:08 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 05.04.2013 14:52, schrieb Kostas Michalopoulos: {$PUSH}{$WARN 5024 OFF} // Code where you dont want to get warnings about unused parameters {$POP} (you can put the push at the top of the implementation part of a

Re: [Lazarus] data matrix with thousands of columns

2013-03-29 Thread Alexander Klenin
On Wed, Mar 27, 2013 at 7:18 PM, Andrea Mauri andrea.mauri...@gmail.com wrote: Il 27/03/2013 16:11, Max Vlasov ha scritto: CREATE TABLE [Data] ( ... , [Row] INTEGER, [Column] INTEGER, [Value] TEXT ... ) As I answered to Leonardo I tried something like this but I have to insert millions

Re: [Lazarus] embed git version info

2013-03-28 Thread Alexander Klenin
On Thu, Mar 28, 2013 at 9:04 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-03-28 11:52, Xiangrong Fang wrote: That should work :) That does not work. Indeed, I just tested it (which I didn't before). This problem is relatively frequent. See

Re: [Lazarus] TAChart : not reading the OnMarkToText event handler from lfm ?

2013-03-27 Thread Alexander Klenin
On Wed, Mar 27, 2013 at 5:17 PM, Lukasz Sokol el.es...@gmail.com wrote: on Lazarus 0.9.30 r29749 FPC 2.4.2 i386-win32-win32/win64 it seems the TAChart.AxisList[1] (Bottom) is forgetting to read the OnMarkToText assignment from lfm (excerpt below) Shall I bug or is it fixed in later

Re: [Lazarus] IBExpert info about Delphi, Interbase and Lazarus

2013-02-19 Thread Alexander Klenin
On Wed, Feb 20, 2013 at 1:50 AM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: I thought you guys might find this interesting... Most interesting from my POV is the fact that they offer commercial support. If someone can verify that their support is good, then it can be mentioned on the

Re: [Lazarus] svn revision 40207 breaks build at least on MacOS X

2013-02-08 Thread Alexander Klenin
On Sat, Feb 9, 2013 at 1:44 AM, Michael Ring m...@michael-ring.org wrote: I just did a svn update, build breaks, reverting to 40206 solves the problem Should be fixed by r40208 -- Alexander S. Klenin -- ___ Lazarus mailing list

[Lazarus] How to control components order on the palette?

2013-02-04 Thread Alexander Klenin
As far as I understand, conponents are now listed in the order of registration, which depends on the (alphabetical?) order of packages. Is there any way to control that? Specifically, I'd like TGUIConnectorBGRA component, which is currently placed first on the Chart page, to be placed last (or

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread Alexander Klenin
On Sun, Feb 3, 2013 at 10:54 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 3 Feb 2013 14:19:14 +1100 Alexander Klenin kle...@gmail.com wrote: I have recently applied several patches to LazFreeType. Why looking over it, I wonder -- why is it part of LazUtils as opposed

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread Alexander Klenin
On Sun, Feb 3, 2013 at 11:42 PM, Alexander Klenin kle...@gmail.com wrote: I propose to move LazFreeType to a separate package. What units belong to it? lazfreetype.pas lazfreetypefontcollection.pas ttcache.pas ttcalc.pas ttcalc1.inc ttcalc2.inc ttcalc3.inc ttcalc4.inc ttcmap.pas

[Lazarus] Extract LazFreeType from LazUtils

2013-02-02 Thread Alexander Klenin
I have recently applied several patches to LazFreeType. Why looking over it, I wonder -- why is it part of LazUtils as opposed to a separate package? Note that LazUtils is very basic package -- even LCLBase depends on it. I propose to move LazFreeType to a separate package. -- Alexander S. Klenin

[Lazarus] Issues per reporter (was: Re: IDE)

2013-01-22 Thread Alexander Klenin
On Tue, Jan 22, 2013 at 8:46 AM, Martin laza...@mfriebe.de wrote: On 21/01/2013 20:56, Graeme Geldenhuys wrote: Yes - I'm probably the largest contributor of bug reports. Sorry, I am way ahead of you That is actually a fun statistic: Graeme has total of 380 bugs reported, of them 258

Re: [Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

2013-01-22 Thread Alexander Klenin
On Tue, Jan 22, 2013 at 7:20 PM, Bart bartjun...@gmail.com wrote: You cannot define ranges for Floats (they would be uncoutable infinite) Huh? Actually, you can. Real number interval is a well-known mathematical concept (see http://en.wikipedia.org/wiki/Interval_%28mathematics%29), so I would

Re: [Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

2013-01-20 Thread Alexander Klenin
On Mon, Jan 21, 2013 at 4:43 AM, Sven Barth pascaldra...@googlemail.com wrote: case gradeSelected of '12'..'12': tuitionFee := '14500.00'; ^ ^ This should be easy to spot... No, the error is in the line below. '8'..'11' : tuitionFee := '13500.00';

Re: [Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

2013-01-20 Thread Alexander Klenin
On Mon, Jan 21, 2013 at 5:18 PM, Eric Kom eric...@metropolitancollege.co.za wrote: I don't understand this error of lower bound and duplicate case label Please see my previous response for an explanation. -- ___ Lazarus mailing list

[Lazarus] [OFFTOPIC] Person's name variations (Was: [ISSUE] FCL-Web and LazReport)

2013-01-19 Thread Alexander Klenin
On Sat, Jan 19, 2013 at 9:20 PM, Sven Barth pascaldra...@googlemail.com wrote: Alex, could you try porting LazReport to nogui? Aside: Alex, Alexey and Alexander are very different names in Russian. Please do not confuse me by using the wrong name ;) Well, there are people that prefer a

Re: [Lazarus] [ISSUE] FCL-Web and LazReport

2013-01-18 Thread Alexander Klenin
On Thu, Jan 17, 2013 at 6:52 PM, Michael Van Canneyt mich...@freepascal.org wrote: This cannot be fixed. Lazreport is not suitable for use in webapplications. I am curious -- can you elaborate on the reasons for that? I can understand the dependency on the concept of widgetset, but why nogui

Re: [Lazarus] Is it possible to detect type in a generic class

2012-12-28 Thread Alexander Klenin
On Fri, Dec 28, 2012 at 10:58 AM, xrfang xrf...@gmail.com wrote: case typeof(T) of integer: // do something with integer string: // do someting with string ... ... end; Call an overloaded procedure. -- Alexander S. Klenin -- ___ Lazarus

Re: [Lazarus] Undo/Redo in Form Designer

2012-12-16 Thread Alexander Klenin
On Sun, Dec 16, 2012 at 8:37 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 16 Dec 2012 10:51:20 +0200 Juha Manninen juha.mannine...@gmail.com wrote: I am still thinking of the most important case: undo for delete operation. It is also the most difficult one. Anchors and

Re: [Lazarus] Undo/Redo in Form Designer

2012-12-16 Thread Alexander Klenin
On Mon, Dec 17, 2012 at 1:38 AM, Hans-Peter Diettrich drdiettri...@aol.com wrote: IMO an Undo (history) list is the state of the art. E.g. Version Control Systems are based on differences, but they may add snapshots of the last file state(s) for better performance. Actually, it is the other

Re: [Lazarus] Lazarus support for Sorting is completely inadequate.

2012-12-02 Thread Alexander Klenin
On Sun, Dec 2, 2012 at 3:53 AM, Juha Manninen juha.mannine...@gmail.com wrote: The default sort routine is quicksort and it works well in every situation. It uses a compare function which returns -1, 0 or 1 depending on its parameters. You need different compare functions, not different sort

Re: [Lazarus] Lazarus support for Sorting is completely inadequate.

2012-12-02 Thread Alexander Klenin
On Sun, Dec 2, 2012 at 2:53 PM, Michael Van Canneyt mich...@freepascal.org wrote: Some time ago, We received an alternative implementation of these generic classes, but since we do not use generics intensively, we're not really in the position to make well-founded decisions. As a result, the

Re: [Lazarus] Lazarus support for Sorting is completely inadequate.

2012-12-02 Thread Alexander Klenin
On Sun, Dec 2, 2012 at 3:29 PM, Michael Van Canneyt mich...@freepascal.org wrote: Is that alternative implementation available somewhere? I got them by mail. I can send them, if you are interested ? I'll then also give you the email address of the submitter. Yes, please. Also, is the

Re: [Lazarus] TAChart equal range in two charts

2012-11-04 Thread Alexander Klenin
On Mon, Nov 5, 2012 at 4:55 AM, Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I need to set the same range in two contiguous charts. To let you easily understand what I need, I attached a screenshot of two charts. Aftert the first chart is created, the range is defined automatically by

[Lazarus] Assigning Scrollbar.Position crashes on Gtk

2012-10-31 Thread Alexander Klenin
I'd like a help of Gtk expert with issue http://bugs.freepascal.org/view.php?id=23200 This is outside of my usual interests, but the crash happens to affect TAChart, since it imlpements a TScrollBar descendant. Note that the code works on both Win and Qt. -- Alexander S. Klenin --

Re: [Lazarus] No Name Property in Objectinspector!!

2012-10-26 Thread Alexander Klenin
On Sat, Oct 27, 2012 at 1:59 AM, John Landmesser joh...@online.de wrote: strange! I developed my project on windows XP and linux. Now i am on linux and for a popup menu that i added on Win XP there is no name property in objectinspector on linux. This is a known bug:

Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Alexander Klenin
On Fri, Oct 19, 2012 at 3:13 AM, Alexander Klenin kle...@gmail.com wrote: Since r39097 (IDEIntf: OI: component treeview: show all owned objects in properties) it became much harder to understand and use treeview. Please, if you are sure it is an improvement for somebody, at least make

Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Alexander Klenin
On Sun, Oct 21, 2012 at 9:16 PM, Maxim Ganetsky gan...@narod.ru wrote: 21.10.2012 10:07, Alexander Klenin пишет: Please! Object inspector is now totally broken, with multiple crashes, fields disappearing, treeview displaying multiple ghost items... Currently as a workagound I edit lfm files

Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Alexander Klenin
On Sun, Oct 21, 2012 at 9:25 PM, Alexander Klenin kle...@gmail.com wrote: On Sun, Oct 21, 2012 at 9:16 PM, Maxim Ganetsky gan...@narod.ru wrote: 21.10.2012 10:07, Alexander Klenin пишет: Please! Object inspector is now totally broken, with multiple crashes, fields disappearing, treeview

[Lazarus] OI component treeview is now less usable

2012-10-18 Thread Alexander Klenin
Since r39097 (IDEIntf: OI: component treeview: show all owned objects in properties) it became much harder to understand and use treeview. Please, if you are sure it is an improvement for somebody, at least make it configurable. -- Alexander S. Klenin --

[Lazarus] Back-porting patch for r38992

2012-10-18 Thread Alexander Klenin
Direct merging caused a conflict. See attached patch against fixes branch. -- Alexander S. Klenin tachart_marginsformarks.patch Description: Binary data -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Alexander Klenin
On Sun, Oct 7, 2012 at 9:58 PM, Marco van de Voort mar...@stack.nl wrote: On Sun, Oct 07, 2012 at 12:43:34PM +0200, zeljko wrote: tachartaxis.pas(337,46) Error: identifier idents no member GetAlignment Lazarus trunk, fpc trunk. I've successfully compiled laz trunk (r38980) with

Re: [Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Alexander Klenin
On Sun, Oct 7, 2012 at 9:58 PM, Marco van de Voort mar...@stack.nl wrote: I've looked deeper into it, and it seems Alexander is fond of strict protected and private, but calls getalignment in a not inherited fashion. (on another class) Afaik that was where FPC was more lax than Delphi and

[Lazarus] TAChart transparency implementation questions

2012-09-17 Thread Alexander Klenin
This is a re-post of http://forum.lazarus.freepascal.org/index.php/topic,18051.0.html where I report on newly added transparency support in TAChart and ask some questions. I suspect that most of people who could answer do not read the forum, so questions are copied below. Apologies to those who

Re: [Lazarus] Feature request: Single-file mode

2012-09-15 Thread Alexander Klenin
On Sat, Sep 15, 2012 at 1:08 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: No lpi, so no compiler options and no packages. Basically, yes, although compiler options could be saved in the source as directive. One of the goals is that Build single file from Lazarus to be exactly

Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-15 Thread Alexander Klenin
On Sun, Sep 16, 2012 at 4:18 AM, Bart bartjun...@gmail.com wrote: Say I would like to propose to delete a certain wiki page, how would I do that? Why not discuss it here? Alternatively, you can use Talk page on the wiki (discussion link above the page). -- Alexander S. Klenin --

[Lazarus] Feature request: Single-file mode

2012-09-14 Thread Alexander Klenin
See this forum discussion for context: http://forum.lazarus.freepascal.org/index.php/topic,17932.msg102309.html#msg102309 Below is the relevant portion of my post: Finally, I have closely related, but more complex, request -- introduce Single-file mode into Lazarus, where Lazarus does not create

[Lazarus] TAChart tutorials not visible on Category:Tutorials page

2012-09-03 Thread Alexander Klenin
As reported on forum: http://forum.lazarus.freepascal.org/index.php/topic,18068.0/topicseen.html tutorials do not appear on this page unless the user is logged in. Perhaps some caching issue? -- Alexander S. Klenin -- ___ Lazarus mailing list

Re: [Lazarus] File Managers compared

2012-09-03 Thread Alexander Klenin
On Mon, Sep 3, 2012 at 11:12 PM, Kostas Michalopoulos badsectorac...@gmail.com wrote: Yes, i used Norton Commander for many years (basically until early 2000s) and i use Midnight Commander always in Linux. Compared to FAR Manager, Midnight Commander is very limited in features. I'm not sure it

Re: [Lazarus] Proprietary vs Open Source mentality

2012-09-02 Thread Alexander Klenin
On Mon, Sep 3, 2012 at 11:34 AM, Craig Peterson cr...@scootersoftware.com wrote: I don't think it's an open source vs closed source mentality. It's quite possible that Uwe can't open source it; in the post you linked he even mentions that he used knowledge of the compiler internals to

Re: [Lazarus] Charting components in an interactive GUI

2012-08-18 Thread Alexander Klenin
On Sat, Aug 18, 2012 at 7:05 PM, Juha Manninen juha.mannine...@gmail.com wrote: What is the best way to make an interactive GUI with lines, bars etc.? TAChart draws the right kind of graphs but IIRC it has no events for interactive GUI. It does:

Re: [Lazarus] Floating point comparison with ulps precision

2012-08-14 Thread Alexander Klenin
On Tue, Aug 14, 2012 at 8:00 PM, Sven Barth pascaldra...@googlemail.com wrote: However, since it depends on floating point and integer representation, it might cause problems for users on non-Intel platforms (does somebody use TAChart on ARM?), so perhaps some kind of IFDEF is in order. Yes,

[Lazarus] Floating point comparison with ulps precision

2012-08-13 Thread Alexander Klenin
To fix a bug with caused by rounding errors, I have added ulps-based comparison code to TAChart in r38232. The bug was encountered by an actual user, so I requested a merge of that code to 1.0. However, since it depends on floating point and integer representation, it might cause problems for

Re: [Lazarus] Please remove Arabic language from the release version

2012-08-04 Thread Alexander Klenin
On Sat, Aug 4, 2012 at 10:17 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: I'm not sure about other languages, but I've learned that e.g. Russian terms are so long, that they are almost unused in practice. It not that they are unused, but the differences in grammar structure make it hard

[Lazarus] Location for backport requests

2012-07-29 Thread Alexander Klenin
Where should I put backport requests for after-RC1 fixes? For now, I have added a couple of revisions to http://wiki.lazarus.freepascal.org/Lazarus_1.0_fixes_branch#Submitted_by_developer_.2F_committer -- Alexander S. Klenin -- ___ Lazarus mailing

[Lazarus] How does Lazarus find SQLite?

2012-07-24 Thread Alexander Klenin
It seems the Lazaurs uses SQLite. (For what, btw? just curious) I'd like to use in in one of the demos for TAChart (see http://forum.lazarus.freepascal.org/index.php/topic,17636.0.html). So how does Lazarus find the SQLite library? On Windows I suppose I can hard-code a path to the dll relative

Re: [Lazarus] How does Lazarus find SQLite?

2012-07-24 Thread Alexander Klenin
On Tue, Jul 24, 2012 at 9:52 PM, leledumbo leledumbo_c...@yahoo.co.id wrote: It seems the Lazaurs uses SQLite. (For what, btw? just curious) Not at all, except if you install SQLite component. So how does Lazarus find the SQLite library? You are right. This sounds like a bug in the

[Lazarus] TAChart compilation error (issue 22365)

2012-07-05 Thread Alexander Klenin
Issue http://bugs.freepascal.org/view.php?id=22365 was about the compilation error when the TAChart code is compiled by FPC trunk. I did not notice the issue in time, because bug tracker is unusably slow, so I use Google Alerts to track bugs. This usually works, but sometimes causes a delay of a

Re: [Lazarus] TAChart ?

2012-07-02 Thread Alexander Klenin
On Tue, Jul 3, 2012 at 5:35 AM, Terry Haimann te...@haimannonline.com wrote: Is it possible to do something like TeeChart's Bubble Chart? Yes, see http://wiki.lazarus.freepascal.org/TAChart_documentation#Bubble_series and multi demo. -- Alexander S. Klenin --

Re: [Lazarus] Own component - problem with default published property

2012-05-18 Thread Alexander Klenin
On Wed, May 16, 2012 at 5:13 PM, cobines cobi...@gmail.com wrote: 2012/5/16 Krzysztof dib...@wp.pl: Or must I create new descendant of TMyProperty for each control and then change default value of SomeValue property? Yes, I think you have to do this. If you want to have different defaults

Re: [Lazarus] Strip debug info

2012-04-30 Thread Alexander Klenin
On Mon, Apr 30, 2012 at 16:56, Hans-Peter Diettrich drdiettri...@aol.com wrote: AV software tends to affect Delphi and its compiled projects, too. Yes, but in recent years Delphi was included in safe lists of most AV products. It's not a good idea to use AV software on a Windows development

Re: [Lazarus] Strip debug info

2012-04-29 Thread Alexander Klenin
While I am personally ambivalent about the default state of -Xg switch, I'd like to point out another use case where it matters: compiling on Windows on slow machine with antivirus installed. When I tried to persuade my students to switch to Lazarus from Delphi, I've got many complaints about

Re: [Lazarus] Sorting with TDBGrid

2012-04-26 Thread Alexander Klenin
On Thu, Apr 26, 2012 at 20:02, Koenraad Lelong lazar...@de-brouwerij.be wrote: Hi, I would like to implement sorting of columns with a TDBGrid. I found how to detect a click of the title, so that's OK. However, in Delphi there are components where I can modify the title showing the sorting

Re: [Lazarus] Autocomplete with procedure varibles

2012-04-24 Thread Alexander Klenin
While calling the procedure via variable is probably more frequent, assigning to it is a valid case too. I can suggest several alternatives: 1) Output both myproc(params) and myproc:= items in the completion dropdown 2) Choose call vs. assignment based on the key pressed to select from the

Re: [Lazarus] Autocomplete with procedure varibles

2012-04-24 Thread Alexander Klenin
On Wed, Apr 25, 2012 at 01:33, Martin laza...@mfriebe.de wrote: 3) Simple insert it without either ( or :=. Then one can continue typing as one likes. Excellent thinking! I agree. Only this needs to be configurable separate from the := for other variables. I think this is too rare a case to

Re: [Lazarus] IDE Messages window uses much CPU when building a project on Win32

2012-03-29 Thread Alexander Klenin
On Thu, Mar 29, 2012 at 16:30, cobines cobi...@gmail.com wrote: 2012/3/28 Alexander Klenin kle...@gmail.com: The flicker bothers me as well, Win7, trunk. Does it also affect CPU usage? Not sure -- one core is maxed out, but whether it is by compiler (as it should be) or by IDE -- I did

Re: [Lazarus] Dockable IDE

2012-03-17 Thread Alexander Klenin
On Sat, Mar 17, 2012 at 21:12, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Sat, Mar 17, 2012 at 6:59 AM, Hans-Peter Diettrich drdiettri...@aol.com wrote: The LCL, IDE and Win32 widgetset contain code that breaks Delphi compatible drag-dock deliberately, for no

Re: [Lazarus] Dockable IDE

2012-03-17 Thread Alexander Klenin
On Sun, Mar 18, 2012 at 12:59, Hans-Peter Diettrich drdiettri...@aol.com wrote: At least I prefer docking different forms into notebooks, from which I can e.g. select Object/Procject inspector, depending on the current activity (editing forms or source code). I'd like to have this feature. --

Re: [Lazarus] How to iterate through a TAvgLvlTree

2012-03-16 Thread Alexander Klenin
On Fri, Mar 16, 2012 at 19:36, Mattias Gaertner nc-gaert...@netcologne.de wrote: Is it possible to iterate through all items in a TAvgLvlTree? I couldn't find an easy method for doing that. for Node in Tree do By the way, I think you are using TAvgLvlTree rather often, so did you ever wanted

Re: [Lazarus] How to iterate through a TAvgLvlTree

2012-03-16 Thread Alexander Klenin
On Fri, Mar 16, 2012 at 21:06, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 16 Mar 2012 20:47:15 +1100 Alexander Klenin kle...@gmail.com wrote: On Fri, Mar 16, 2012 at 19:36, Mattias Gaertner nc-gaert...@netcologne.de wrote: Is it possible to iterate through all items

Re: [Lazarus] How to iterate through a TAvgLvlTree

2012-03-16 Thread Alexander Klenin
On Fri, Mar 16, 2012 at 21:36, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Can I add a routine to access the AvgLvlTree as an array? To make it a better substitute to TFPList in objects which offer an indirect interface to the internal list, such as

Re: [Lazarus] Lazarus 0.9.30.4 released

2012-03-15 Thread Alexander Klenin
On Thu, Mar 15, 2012 at 20:02, Vincent Snijders vincent.snijd...@gmail.com wrote: The Lazarus team is glad to announce the 0.9.30.4 release. This release is based on fpc 2.6.0. Should we point users to the list of fixes on wiki? -- Alexander S. Klenin --

Re: [Lazarus] Trunk LCL-AggPas demo 1 gives segmentation fault

2012-03-12 Thread Alexander Klenin
On Mon, Mar 12, 2012 at 20:57, Graeme Geldenhuys graemeg.li...@gmail.com wrote: I've got the latest Lazarus Trunk and using FPC 2.6.1 under 64-bit Ubuntu 10.04. Running the demo gives me a near instant crash. Ignoring the error gives me a blank form. No AggPas painting occurs at all. #4  

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-08 Thread Alexander Klenin
On Thu, Mar 8, 2012 at 02:44, Vincent Snijders vincent.snijd...@gmail.com wrote: Compared with 0.9.30.4RC1 the following changes have been made: * configuration error in the windows installer has been fixed * problems with threading under gtk2 has been fixed * several bug fixes for the gtk2

Re: [Lazarus] Update twiki

2012-03-01 Thread Alexander Klenin
2012/3/1 Kaj Mikkelsen l...@vgdata.dk: Will it be OK to put a link to the page in a mail, or is that considered bad? Please do, so I shall see it. I do not monitor wiki actively enough to notice your contribution in the recent changes. I will perform some copyediting, and then link to your

Re: [Lazarus] Help needed building a small dictionary application

2012-01-21 Thread Alexander Klenin
On Thu, Jan 19, 2012 at 04:28, J.A. de Vries hdv.ja...@gmail.com wrote: However I am beginning to feel the itch again and would like to pick up where I left. On top of that I'd also like to give some students of mine a simple dictionary application for company specific vocabulary. So I thought

Re: [Lazarus] TChart usage

2012-01-05 Thread Alexander Klenin
On Fri, Jan 6, 2012 at 02:19, Gustavo Enrique Jimenez gejime...@gmail.com wrote:  Is there any tutorial on how to use TChart? Thanks! For examples, see demo folder. For documentation, see http://wiki.lazarus.freepascal.org/TAChart_documentation. There is no separate tutorial (yet?). --

Re: [Lazarus] Free Pascal 2.6.0 released!

2012-01-01 Thread Alexander Klenin
On Mon, Jan 2, 2012 at 02:43, Marco van de Voort mar...@stack.nl wrote: Details about these new features can be found at http://wiki.freepascal.org/FPC_New_Features_2.6.0 This section: http://wiki.freepascal.org/FPC_New_Features_2.6.0#Constref_parameter_modifier refers to (now empty) User

Re: [Lazarus] IDE

2011-12-03 Thread Alexander Klenin
On Sat, Dec 3, 2011 at 19:53, Mattias Gaertner nc-gaert...@netcologne.de wrote: Maybe you use a short cut caught by other software. Try to set the short cut via the grab key in the editor options / key mapping, instead of the checkboxes and comboboxes. Those shortcuts do not work for me too

Re: [Lazarus] TLMMouseEvent now lacks state

2011-10-27 Thread Alexander Klenin
On Thu, Oct 27, 2011 at 19:37, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: It is also relevant to note that it is rather messy like it is now, with 2 versions of TreeView in the Lazarus-CCR being that the newer one depends on an external package ... the external package

[Lazarus] CodeTools: Lazarus hangs on startup (attn Mattias?)

2011-10-22 Thread Alexander Klenin
Here is a backtrace: #0 0x006a6cd8 in FINDNEXTCOMMENT ( ASOURCE=0x111b0d68 '{'#13#10#13#10' ', '*' repeats 77 times, #13#10' *', ' ' repeats 75 times, '*'#13#10' * See the file COPYING.modifiedLG'..., STARTPOS=7708, MAXPOS=15039) at basiccodetools.pas:1184 #1 0x00963ea0 in

Re: [Lazarus] CodeTools: Lazarus hangs on startup (attn Mattias?)

2011-10-22 Thread Alexander Klenin
2011/10/22 Mattias Gaertner nc-gaert...@netcologne.de: #0  0x006a6cd8 in FINDNEXTCOMMENT (      ASOURCE=0x111b0d68 '{'#13#10#13#10' ', '*' repeats 77 times, #13#10' *', ' ' repeats 75 times, '*'#13#10' *  See   the file COPYING.modifiedLG'..., STARTPOS=7708, MAXPOS=15039) at

Re: [Lazarus] CodeTools: Lazarus hangs on startup (attn Mattias?)

2011-10-22 Thread Alexander Klenin
On Sat, Oct 22, 2011 at 21:31, Alexander Klenin kle...@gmail.com wrote: 2011/10/22 Mattias Gaertner nc-gaert...@netcologne.de: #0  0x006a6cd8 in FINDNEXTCOMMENT (      ASOURCE=0x111b0d68 '{'#13#10#13#10' ', '*' repeats 77 times, #13#10' *', ' ' repeats 75 times, '*'#13#10' *  See   the file

Re: [Lazarus] Is win32 svn broken?

2011-10-14 Thread Alexander Klenin
By the way, I'd recommend to upgrade freepascal repository to the recently released svn 1.7 This will slightly lessen the pain for those who still can not move to git. -- Alexander S. Klenin -- ___ Lazarus mailing list

Re: [Lazarus] Circular references and code quality

2011-10-04 Thread Alexander Klenin
2011/10/4 Juha Manninen juha.mannine...@gmail.com: There is lots of duplicate code and data definitions between Lazarus TProject and TLazPackage (and their ancestors). I tried to improve the situation by creating a common base class for them. It is not possible because it ends up with a

Re: [Lazarus] Circular references and code quality

2011-10-04 Thread Alexander Klenin
On Wed, Oct 5, 2011 at 01:40, Marcos Douglas m...@delfire.net wrote: The comments always tell to use interfaces and abstract base classes, and claim that this feature enforces good design. Bollocks! I agree with you. I found this example by Nikolai ZHUBR:

[Lazarus] TShiftState lock states in mousewheel events

2011-10-03 Thread Alexander Klenin
The TShiftState enum in LCL includes ssNum, ssCaps and ssScroll elements, which should indicate the state of NumLock, CapsLock and ScrollLock correspondingly. However under Win32 KeyDown/Up and MoudeUp/Down/Move events do not recieve these elements, while MouseWheel events do. This required a

Re: [Lazarus] TShiftState lock states in mousewheel events

2011-10-03 Thread Alexander Klenin
2011/10/4 Flávio Etrusco flavio.etru...@gmail.com: However under Win32 KeyDown/Up and MoudeUp/Down/Move events do not recieve these elements, while MouseWheel events do. See http://bugs.freepascal.org/view.php?id=20065. Also there are duplicate functions in Forms and Controls units (apart

Re: [Lazarus] TShiftState lock states in mousewheel events

2011-10-03 Thread Alexander Klenin
2011/10/4 Flávio Etrusco flavio.etru...@gmail.com: Delphi does not have these elements, and, since they are usually not working anyway, This is easily fixable ;-) But until now I didn't realize this breaks code written for Delphi that checked for empty set or superset. I take back my

Re: [Lazarus] TShiftState lock states in mousewheel events

2011-10-03 Thread Alexander Klenin
2011/10/4 Flávio Etrusco flavio.etru...@gmail.com: BTW, does Delphi support ssAltGr and ssWin? No: http://docwiki.embarcadero.com/VCL/en/Classes.TShiftState However, in this case I think Delphi is wrong, since those are real modifiers. -- Alexander S. Klenin --

Re: [Lazarus] TShiftState lock states in mousewheel events

2011-10-03 Thread Alexander Klenin
2011/10/4 Flávio Etrusco flavio.etru...@gmail.com: Hmm, since Borland itself introduced new modifiers (touch, pen, etc), shouldn't we consider code that relies on the original enum constants to be broken? First, the code which relies on original enum elements will not be broken by addition of

[Lazarus] How to recompile whole Lazarus with range check on?

2011-09-12 Thread Alexander Klenin
The obvious method seems to add -Cr to the options in the Configure build profile dialog. However, it does not seem to affect packages, which are still compiled without range check Is there ane method to turn the range check globally? I tested with TAChart -- maybe there is something in TAChart

Re: [Lazarus] How to recompile whole Lazarus with range check on?

2011-09-12 Thread Alexander Klenin
On Tue, Sep 13, 2011 at 08:03, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 13 Sep 2011 04:13:26 +1100 Alexander Klenin kle...@gmail.com wrote: The obvious method seems to add -Cr to the options in the Configure build profile dialog. However, it does not seem to affect packages

Re: [Lazarus] Fixes for lazarus-ccr/cmdline

2011-09-03 Thread Alexander Klenin
2011/9/1 Zaher Dirkey parm...@gmail.com: True, just need to remove this property from all files and commit it. svn:mime-type = plain/text This is because the correct spelling is text/plain -- Alexander S. Klenin -- ___ Lazarus mailing list

Re: [Lazarus] [Feature request] Add PNF image to Package

2011-09-01 Thread Alexander Klenin
On Thu, Sep 1, 2011 at 07:02, Mattias Gaertner nc-gaert...@netcologne.de wrote: It is not that necessary feature, so you can ignore it, but how can i make it without touch the Lazarus source, Is Addons allow me to do that? Yes. Hm, I have also encountered this problem. What Addons are you

Re: [Lazarus] [Feature request] Add PNF image to Package

2011-09-01 Thread Alexander Klenin
On Thu, Sep 1, 2011 at 18:49, Mattias Gaertner nc-gaert...@netcologne.de wrote: The compiler does not check include files. I don't know why. Maybe you can create a FPC feature request. Hm. In my simple test, it does. Maybe you mean resource files? -- Alexander S. Klenin --

Re: [Lazarus] [Feature request] Add PNF image to Package

2011-09-01 Thread Alexander Klenin
On Thu, Sep 1, 2011 at 19:44, Mattias Gaertner nc-gaert...@netcologne.de wrote: Then I don't understand the problem. Should I file a bugreport? -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] [Feature request] Add PNF image to Package

2011-09-01 Thread Alexander Klenin
On Thu, Sep 1, 2011 at 20:08, Mattias Gaertner nc-gaert...@netcologne.de wrote: Yes, please explain the problem. http://bugs.freepascal.org/view.php?id=20128 -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] tbuttonededit

2011-08-31 Thread Alexander Klenin
2011/8/31 Andrea Mauri andrea.mauri...@gmail.com: I started the implementation of TButtonedEdit control, TButtonedEdit is an edit control that has two embedded buttons, it should be the analogue control of the corresponding delphi TButtonedEdit

Re: [Lazarus] Latest lazarus just hangs

2011-08-30 Thread Alexander Klenin
On Wed, Aug 31, 2011 at 01:16, Paul Ishenin webpi...@mail.ru wrote: 30.08.2011 21:36, michael.vancann...@wisa.be wrote: PS. That said, I'd love to see your script. Is it in SVN ? No. The script is simple: C:\programming\fpc\bin\i386-win32\make.exe bigideclean bigide OPT=-Criot -gt -gh -gw

Re: [Lazarus] Moderating the bugtracker

2011-08-28 Thread Alexander Klenin
On Fri, Aug 26, 2011 at 00:31, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Thu, Aug 25, 2011 at 3:08 PM, Bart bartjun...@gmail.com wrote: I would think moving to Patches (with or without unassigning) would be even more indicative? I don't think this solves the

Re: [Lazarus] TAChart legends

2011-08-21 Thread Alexander Klenin
On Sun, Aug 21, 2011 at 16:58, David M. Lawrence d...@fuzzo.com wrote: Set Alignment=laBottomCenter and UseSidebar=true What version of TAchart is the laBottomCenter option in? Svn trunk. -- Alexander S. Klenin -- ___ Lazarus mailing list

Re: [Lazarus] TAChart legends

2011-08-21 Thread Alexander Klenin
On Mon, Aug 22, 2011 at 04:37, David M. Lawrence d...@fuzzo.com wrote: Svn trunk. I have downloaded the latest version of the TAChart files, but I get the following error when I try to compile it in Lazarus: C:\lazarus\components\tachart\tagraph.pas(532,5) Error: Wrong number of parameters

Re: [Lazarus] TAChart legends

2011-08-20 Thread Alexander Klenin
On Sun, Aug 21, 2011 at 16:18, David M. Lawrence d...@fuzzo.com wrote: Is there a way to have the legend aligned bottom center and BELOW the frame of the graph.  The only alignment I could find was top or bottom right or left, with the legend parked on top of the data I'd like to show.  The

Re: [Lazarus] Code completation results in ugly indention

2011-08-19 Thread Alexander Klenin
2011/8/19 Florian Klaempfl flor...@freepascal.org: I just tried another time the code completation in lazarus for a class, however it resulted again in a pretty bad indention, see attachment. I played with various options and things but nothing helped (procedure/constructor should be at column

  1   2   3   4   5   >