Re: [Lazarus] Ideas for improving lazarus.dci code templates

2009-05-13 Thread Michael Van Canneyt
I can only agree with all Graeme's remarks, except the last, which I think is a bit overkill. Michael. On Wed, 13 May 2009, Graeme Geldenhuys wrote: Hi, Over the years I have noticed some shortcomings in the lazarus.dci handling. Here are some of my ideas. Please comment on them before I

Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-06 Thread Michael Van Canneyt
On Wed, 6 May 2009, Graeme Geldenhuys wrote: On Wed, May 6, 2009 at 3:26 PM, Leonardo M. Ramé l.r...@griensu.com wrote: Does anyone faced the same problem? I don't have slowness, but I do have other graphics problems with fpGUI Toolkit and MSEgui and applications run under WINE.

Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-06 Thread Michael Van Canneyt
On Wed, 6 May 2009, Graeme Geldenhuys wrote: 2009/5/6 Michael Van Canneyt mich...@freepascal.org: Or install KUbuntu 9.04, which works lightning fast, and so far without visible bugs. I updated a PC and a Laptop, and all went smoothly... Sorry Michael, but it has the same problem

Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Michael Van Canneyt
On Tue, 28 Apr 2009, Graeme Geldenhuys wrote: On Tue, Apr 28, 2009 at 12:54 PM, Vincent Snijders vincent.snijd...@gmail.com wrote: I tried to do it for the off line docs, but the --footer-date parameter is overridden by the --footer parameter which adds a link to the on-line

Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Michael Van Canneyt
On Tue, 28 Apr 2009, Graeme Geldenhuys wrote: On Tue, Apr 28, 2009 at 1:17 PM, Michael Van Canneyt mich...@freepascal.org wrote: What is so hard about typing make html ? /opt/fpcdocs_svn $ make html make -C ../compiler/utils msg2inc make: *** ../compiler/utils: No such file

Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Michael Van Canneyt
On Tue, 28 Apr 2009, Graeme Geldenhuys wrote: On Tue, Apr 28, 2009 at 2:15 PM, Michael Van Canneyt mich...@freepascal.org wrote: The following should do it: make rtl.chk make fcl.chk And you don't need latex2html, but tex4ht for the other things. I changed the README file so

Re: [Lazarus] Latest RTL, FCL and LCL online docs

2009-04-28 Thread Michael Van Canneyt
On Tue, 28 Apr 2009, Graeme Geldenhuys wrote: On Tue, Apr 28, 2009 at 3:13 PM, Vincent Snijders vincent.snijd...@gmail.com wrote: I just do: FPCSRCDIR=/path/to/fpc/sources make rtl.chk FPCSRCDIR=$FPCSRCDIR That's even better. :-) Michael, could you add this to the readme file

Re: [Lazarus] Import Form from previous project

2009-04-22 Thread Michael Van Canneyt
On Wed, 22 Apr 2009, German C. Basisty wrote: My fellow colegs: Im trying to import to my current project some form developed for an earlier project. So I copyed the .pas and .lfm from the older project folder to the current project folder, then I opened them via lazarus IDE and in

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

2009-04-14 Thread Michael Van Canneyt
On Tue, 14 Apr 2009, Graeme Geldenhuys wrote: On Tue, Apr 14, 2009 at 4:29 PM, Michael Van Canneyt mich...@freepascal.org wrote: Even in CVS - the mother of all revision systems - a tag could be moved, so there also it could be that you had to do a cvs up on a tag. Software evolves

Re: [Lazarus] Delphi wxWidget plugin for Lazarus

2009-03-31 Thread Michael Van Canneyt
On Tue, 31 Mar 2009, svaa wrote: Hello: By the way, Watching the demo I can see that Lazarus compiles (or complies and links) very slow compared to codegear. And it is just hello world program. I have always felt the Lazarus was a little slow, but this demo has shown it clearly. In

Re: [Lazarus] Controlling DPI

2009-03-28 Thread Michael Van Canneyt
On Sat, 28 Mar 2009, ik wrote: I would like to allow users to set their own DPI as they think it best for them. A zoom factor or the actual DPI ? The former is possible, the latter I have no idea how to do this. Michael. ___ Lazarus mailing list

[Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Michael Van Canneyt
Hi, Is there a reason why ClipBoard.HasFormat() is so slow ? Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action coupled to a toolbutton, seriously slows down an application, to the point of being unusable. If I comment out the call, the application responds normally.

Re: [Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Michael Van Canneyt
On Sat, 28 Mar 2009, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: Is there a reason why ClipBoard.HasFormat() is so slow ? Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action coupled to a toolbutton, seriously slows down an application

Re: [Lazarus] Easiest way to case strings

2009-03-21 Thread Michael Van Canneyt
On Sat, 21 Mar 2009, Reenen Laurie wrote: Hi, I'm sure most of you have had this... is there an easy way to have a case statement that's based on strings rather than ordinal types. Is there somewhere a shortcut? The only solution I can think of is defining constants with strings and

Re: [Lazarus] Exception dialog

2009-03-17 Thread Michael Van Canneyt
On Mon, 16 Mar 2009, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: Is there a reason why the default exception dialog has a cancel button to kill the application ? An unhandled exception IMO is due to some software bug, which the user cannot cure in any way. That's

[Lazarus] Exception dialog

2009-03-16 Thread Michael Van Canneyt
Hello, 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 processing. If the user then uses the cancel button, the program is simply ended, which is not

Re: [Lazarus] Stringgrid woes...

2009-03-14 Thread Michael Van Canneyt
On Fri, 13 Mar 2009, Jesus Reyes wrote: In Delphi, Setting EditorMode:=False; Saves the data (setedittext is called again). In Lazarus, it is not called. I'm taking notes. Great :-) I think it would also be a good idea to have an event which helps to validate

Re: [Lazarus] Stringgrid woes...

2009-03-14 Thread Michael Van Canneyt
On Sat, 14 Mar 2009, Sergei Gorelkin wrote: Michael Van Canneyt wrote: Not in delphi 7, I tested ? However, it is called when you set EditorMode explicitly to false. But never by itself. Yep, I was wrong, details tend to become forgotten with time :( But only partially

Re: [Lazarus] TFloatSpinEdit and DecimalSeparator (GTK)

2009-03-14 Thread Michael Van Canneyt
On Sat, 14 Mar 2009, Paul Ishenin wrote: Bart wrote: Shouldn't we then strive to make SysUtils use locale settings on all platforms? As it is now, it's rather inconsistent. Maybe I should ask on the pfc mailinglist? As I know the core of the fpc rtl (and sysutils is there)

[Lazarus] Stringgrid woes...

2009-03-13 Thread Michael Van Canneyt
Hello, The stringgrid editor does the following: procedure TStringCellEditor.Change; begin inherited Change; if FGridnil then begin FGrid.SetEditText(FCol, FRow, Text); end; end; procedure TStringCellEditor.EditingDone; begin inherited EditingDone; if FGridnil then

Re: [Lazarus] Stringgrid woes...

2009-03-13 Thread Michael Van Canneyt
On Fri, 13 Mar 2009, Sergei Gorelkin wrote: Michael Van Canneyt wrote: ... Is there a reason for the current behaviour, and can it be changed ? With Delphi, I used to check the grid.EditorMode property in OnSetEditText handler, and skip all validations when EditorMode=true. Didn't

Re: [Lazarus] Stringgrid woes...

2009-03-13 Thread Michael Van Canneyt
On Fri, 13 Mar 2009, Jesus Reyes wrote: This makes it completely impossible to do any checking of the entered values, because the SetEditText() event has no way of knowing when the editing ends. In my opinion, the SetEditText() should only be called when the editing is done, i.e.

Re: [Lazarus] Stringgrid woes...

2009-03-13 Thread Michael Van Canneyt
On Fri, 13 Mar 2009, Sergei Gorelkin wrote: Jesus Reyes wrote: Is this different on Delphi? I would like to improve compatibility if it's not. If OnSetEditText is enough in Delphi to know when editing is finished then I think we should do it also. It appears to be different

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

2009-03-13 Thread Michael Van Canneyt
On Fri, 13 Mar 2009, Martin Friebe wrote: Graeme Geldenhuys wrote: Hi, This relates to the new bug report: http://bugs.freepascal.org/view.php?id=13322 Code Folding seems to have gone way overboard! It simply makes the editor look like a mess at the moment (Lazarus svn trunk

Re: [Lazarus] MySQL Database Component and Parameter Binding

2009-03-03 Thread Michael Van Canneyt
On Mon, 2 Mar 2009, Andrew Brunner wrote: Can anyone tell me if the MySQL Database component in Lazarus does Parameter Binding for Insert and Update? Yes. I'm needing a Component to implement binding parameters for Insert and Update methods. I also need a component that enumerates

Re: [Lazarus] GPL'ed projects and closed-sourced tools

2009-03-03 Thread Michael Van Canneyt
On Tue, 3 Mar 2009, Graeme Geldenhuys wrote: Hi, I got told in the CodeGear newsgroups that if you create a GPL'ed project, the tools used to create that project must also be GPL'ed otherwise somebody might require a commercial compiler to compile the GPL'ed project. I have never

Re: [Lazarus] PBear and Gecko SDK components in Lazarus..

2009-02-28 Thread Michael Van Canneyt
On Fri, 27 Feb 2009, domini...@savagesoftware.com.au wrote: Hi all, From reading this thread... http://forum.lazarus.freepascal.org/index.php/topic,6158.15.html It seems that Phil had done some work in getting PBear working with Lazarus. Does anyone know who Phil is, and if this is now

Re: [Lazarus] Examples of IniPropStorage?

2009-02-22 Thread Michael Van Canneyt
On Sat, 21 Feb 2009, David W Noon wrote: On Sat, 2009-02-21 at 19:06 +0100, Luca Olivetti wrote: En/na David W Noon ha escrit: [snip] If there are none, could somebody please give me a quick sample they have knocked up for their own use? Thanks in advance. Drop a TIniPropStorage

Re: [Lazarus] Lazarus 0.9.26, 0.9.26.1, 0.9.26.2, 0.9.27 ou 0.9.28? (Silvio Cl écio)

2009-02-16 Thread Michael Van Canneyt
On Mon, 16 Feb 2009, Felipe Monteiro de Carvalho wrote: 2009/2/16 Vincent Snijders vincent.snijd...@gmail.com: I have a feeling something got lost in the translation from Portuguese to English or from English to Dutch in the next paragraph, because I don't understand your point.

Re: [Lazarus] How to query Enabled/Disabled component state?

2009-02-10 Thread Michael Van Canneyt
On Tue, 10 Feb 2009, Graeme Geldenhuys wrote: Hi, Something weird I just noticed. I have not tested this under Delphi 7, but I have tested it with Lazarus GTK1 and GTK2 widget set. See attached image to help explain If I do Panel1.Enabled = False, all components are disabled

Re: [Lazarus] Docking and Layout managers

2009-02-09 Thread Michael Van Canneyt
On Mon, 9 Feb 2009, Mattias Gärtner wrote: Zitat von Hans-Peter Diettrich drdiettri...@aol.com: Mattias Gärtner schrieb: Maybe I misunderstood your proposal. What parts of TWinControl should be moved to TContainerControl? Do you want to move the ControlCount and Controls

Re: [Lazarus] creating multiple non-modal form instances

2009-02-03 Thread Michael Van Canneyt
On Tue, 3 Feb 2009, Graeme Geldenhuys wrote: Hi, I have a listing screen (grid based) that allows various views and filters - selected by the user. I want the user to be able to open multiple instances of that listing screen. Each with there own views and filters. How do I create such

Re: [Lazarus] creating multiple non-modal form instances

2009-02-03 Thread Michael Van Canneyt
On Tue, 3 Feb 2009, Graeme Geldenhuys wrote: On Tue, Feb 3, 2009 at 11:20 AM, Michael Van Canneyt mich...@freepascal.org wrote: Just do a With TLearnerListForm.Create(Application) do begin Initialize; Show; end; Where is Initialize defined? I only found

Re: [Lazarus] ptInRect question

2009-01-30 Thread Michael Van Canneyt
On Fri, 30 Jan 2009, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: Is there a reason why the top/left sides are included (=), and the left/bottom sides are not included ? I would expect them to be included as well. There exist reasons, mostly the definition in the WinAPI

Re: [Lazarus] TFileStream

2009-01-29 Thread Michael Van Canneyt
On Thu, 29 Jan 2009, Dave Coventry wrote: = snip === case ftype of 43://'+' begin FS:=TFileStream.Create(fname, fmshareDenyWrite); Try FS.Seek(pos,soFromBeginning); FS.ReadBuffer(fldheader[0],4);

[Lazarus] ptInRect question

2009-01-29 Thread Michael Van Canneyt
Hi, I have a question regarding the following function: function PtInRect(const Rect : TRect;const p : TPoint) : Boolean; begin PtInRect:=(p.y=Rect.Top) and (p.yRect.Bottom) and (p.x=Rect.Left) and (p.xRect.Right); end; Is there a reason why the top/left

Re: [Lazarus] ptInRect question

2009-01-29 Thread Michael Van Canneyt
On Fri, 30 Jan 2009, dmitry boyarintsev wrote: AFAIK, Delphi compat.Here's the delphi code from Types unit. function PtInRect(const Rect: TRect; const P: TPoint): Boolean; begin Result := (P.X = Rect.Left) and (P.X Rect.Right) and (P.Y = Rect.Top) and (P.Y Rect.Bottom); end; I

[Lazarus] Canvas clipping ?

2009-01-29 Thread Michael Van Canneyt
Hi, Is TCanvas clipping supported ? I set cliprect, but nothing happens... Michael. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TFileStream

2009-01-26 Thread Michael Van Canneyt
On Mon, 26 Jan 2009, Dave Coventry wrote: Hi AJ. I was under the impression that this: FS:=TFileStream.Create(fname, fmshareDenyWrite); Try FS.ReadBuffer(hdbuffer[0],32); Finally FreeAndNil(FS);- end; would free the File Pointer to be used again. That is correct.

Re: [Lazarus] TFileStream

2009-01-26 Thread Michael Van Canneyt
On Mon, 26 Jan 2009, Dave Coventry wrote: 2009/1/26 Andrew Brunner andrew.t.brun...@gmail.com: Actually, I'm thinking you're creating a memory problem with using fillchar and passing the pointer to the dynarray instead of the element. Try using FillChar with the zero element again...

Re: [Lazarus] Not sure if the Laz Devs have seen this...

2009-01-24 Thread Michael Van Canneyt
On Sat, 24 Jan 2009, Florian Klaempfl wrote: I used git and mercurial at work for small projects to test things a little bit and both are a real pain compared with svn and I saw no increased productivity for small projects and I cannot imagine how this should be different for fpc or

Re: [Lazarus] Docking manager implementation

2009-01-24 Thread Michael Van Canneyt
On Sat, 24 Jan 2009, Graeme Geldenhuys wrote: On Fri, Jan 23, 2009 at 7:16 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: I then downloaded the swingdemoapp.jar file and ran it via the command line. I got a swingdemoapp.jnlp, and a swtdemoappbase.jar. Here is a direct link

Re: [Lazarus] Docking manager implementation

2009-01-24 Thread Michael Van Canneyt
On Sun, 25 Jan 2009, Graeme Geldenhuys wrote: On Sat, Jan 24, 2009 at 1:40 PM, Michael Van Canneyt mich...@freepascal.org wrote: What's the big fuss all about ? * the layout manager can do complex layout without nesting panels or other layout managers. * Auto resize of components so

Re: [Lazarus] Where to place definition of a record?

2009-01-24 Thread Michael Van Canneyt
On Sun, 25 Jan 2009, Dave Coventry wrote: Hi, I'm following a suggestion for producing my own records so that I can define a custom TStringlist as detailed in this article: http://dn.codegear.com/article/33423 However, I am unsure of where to post this code and am wondering if

Re: [Lazarus] Not sure if the Laz Devs have seen this...

2009-01-22 Thread Michael Van Canneyt
On Thu, 22 Jan 2009, Dave Coventry wrote: Please don't shoot me: :) Why would we do this ? I just thought you might be interested in this: http://www.theregister.co.uk/2009/01/21/git_gaining_ground/ Git is certainly promising (I keep an eye on it since some time), but a bit hard on the

Re: [Lazarus] Fatal: Internal error 200208151

2009-01-22 Thread Michael Van Canneyt
On Thu, 22 Jan 2009, User wrote: I get the error: Fatal: Internal error 200208151 This is an internal compiler error; We need more information about how you got this to be able to help. Michael. ___ Lazarus mailing list

Re: [Lazarus] Linux

2009-01-21 Thread Michael Van Canneyt
On Wed, 21 Jan 2009, Bernd Mueller wrote: c...@freemail.hu wrote: Thanks for the answers and suggestions everyone! The speed issue I have is that simple things, like popup menues, clicking on tabs of a pagecontrol, changing tasks ...almost everything is handled too slowly.

Re: [Lazarus] Sqlite usage

2009-01-15 Thread Michael Van Canneyt
On Fri, 16 Jan 2009, SteveG wrote: Is it possible to have the sqlite3.dll library (WinXP) dynamically loaded rather than static linked into my Laz program ? The sqlite dll is not in the Windows path (by choice), and I would like to be able to point my prog to it at run time. At the

Re: [Lazarus] real user name

2009-01-14 Thread Michael Van Canneyt
On Wed, 14 Jan 2009, Reenen Laurie wrote: Ok, so if I want code in which I want to get the username, which is crossplatform... how should it look? {$ifdef windows} username := GetEnvironmentVariable('USERNAME'); {$endif} I'm not sure if this is correct; There is a windows call to get

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Michael Van Canneyt
On Wed, 14 Jan 2009, Felipe Monteiro de Carvalho wrote: This is just fantastic. It really adds a lot of value to the lazarus-qt interface. And even more, it becomes a viable substitute for the gtk2 interface in UNIXes. The only problem being that Qt 4.5 would be required, which means

Re: [Lazarus] real user name

2009-01-13 Thread Michael Van Canneyt
On Wed, 14 Jan 2009, Reenen Laurie wrote: Sorry for digging up an old thread... I just want to know... Is this code crossplatfrom? GetUserData(FpGetuid, Data); Result.Name:= Data.pw_name; Result.Real_name:= Data.pw_gecos; Result.User_id:= Data.pw_uid; Result.Group_id:=

Re: [Lazarus] Randomize

2008-12-30 Thread Michael Van Canneyt
On Tue, 30 Dec 2008, Lv wrote: Randomize seems to be 1 second dependent on the system clock. I cannot remember if this used to be the same in Borland Delphi/Pascal The example below shows a 1 second tick sensitivity to random number creation. Am I missing something? uses unix,crt;

Re: [Lazarus] FpGUI Interface - basic TLabel

2008-12-24 Thread Michael Van Canneyt
On Wed, 24 Dec 2008, Andreas Maier wrote: Hello, last days i've played with implementig (basic) TLabel-support for the fpGUI-Interface. I have now a few basics running. (under Win32, but i will test it under linux x86_64 too). Does it make sence to implement more things for the

Re: [Lazarus] about gif images

2008-12-21 Thread Michael Van Canneyt
On Sun, 21 Dec 2008, C Western wrote: Mattias Gaertner wrote: Do you have a fpimage reader for gif? Mattias I put together a GIF reader based on fpimage a little while ago. I hadn't offered it for lazarus as it was based rather heavily on a unit in the RXLibrary, and I wasn't

Re: [Lazarus] flickering on statusbar panel

2008-12-19 Thread Michael Van Canneyt
On Fri, 19 Dec 2008, Mattias Gaertner wrote: On Fri, 19 Dec 2008 11:52:18 +0100 Andrea Mauri andrea.mauri...@gmail.com wrote: The code I wrote in the e-mail is just a sample! Anyway, create a new project, drop a label, a statusbar and a button on the form. Create a panel on the

Re: [Lazarus] csvexporter

2008-12-16 Thread Michael Van Canneyt
On Tue, 16 Dec 2008, Andrea Mauri wrote: I am developing a cross platform application. Yesterday I dropped a csvexporter on a form (and I was under win). The lazdbexport unit have been added by the IDE. Then today, working on my Ubuntu pc at home I tried to recompile the same project and

Re: [Lazarus] What is current status of fpGUI?

2008-12-09 Thread Michael Van Canneyt
On Tue, 9 Dec 2008, Aleksa Todorovic wrote: Hi, all! In the team I am part of, we are evaulating several GUI frameworks for our next project. One of the options (and I hope one we will choose, since other member of the team are more into some C++ solution) is to use Lazarus with fpGUI.

Re: [Lazarus] Examples of lazDaemon

2008-12-05 Thread Michael Van Canneyt
On Fri, 5 Dec 2008, User wrote: I have installed the lazDaemon package but I do not know how to create a Daemon application. I need some examples. Check the examples/cleandirs directory for an example. Michael. ___ Lazarus mailing list

Re: [Lazarus] Curved text

2008-12-02 Thread Michael Van Canneyt
On Tue, 2 Dec 2008, Mattias Gärtner wrote: Zitat von Michael Van Canneyt [EMAIL PROTECTED]: Hi, Does anyone by any chance have a routine to draw curved text ? aggpas has. I didn't use it yet with fpimage. Aha. Thanks for the hint, I'll have a look. Michael

[Lazarus] Curved text

2008-12-02 Thread Michael Van Canneyt
Hi, Does anyone by any chance have a routine to draw curved text ? Michael. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SQLConnector

2008-12-01 Thread Michael Van Canneyt
On Mon, 1 Dec 2008, Joost van der Sluis wrote: Op maandag 01-12-2008 om 16:48 uur [tijdzone +0100], schreef Andrea Mauri: where I can find information about how to use the SQLConnector component? Is it a general object that can be used to connect to different database types (SQLlite,

Re: [Lazarus] The db-aware controls allow editing a readonly-dataset

2008-11-28 Thread Michael Van Canneyt
On Thu, 27 Nov 2008, Joost van der Sluis wrote: Hi all, When a dataset is read-only, the db-aware controls allow editing. The changes aren't send to the dataset, though. Which is very confusing for the user. I don't know how to fix it. I can change TDatalink.ReadOnly so that is checks

Re: [Lazarus] Lazarus with Oracle database

2008-11-27 Thread Michael Van Canneyt
On Thu, 27 Nov 2008, Graeme Geldenhuys wrote: On Wed, Nov 26, 2008 at 5:15 PM, Michael Van Canneyt [EMAIL PROTECTED] wrote: Based on the amount of things you want to try and do, I estimate that there must be at least 11 clones of you in South Africa. Or else you live in a time

Re: [Lazarus] Lazarus with Oracle database

2008-11-26 Thread Michael Van Canneyt
On Wed, 26 Nov 2008, Graeme Geldenhuys wrote: Hi, Has anybody user Lazarus, SqlDB and Oracle? Is there any major issues, or is it smooth sailing. I want to try out the free Oracle Database 10g Express Edition under Linux.

Re: [Lazarus] Turbopower's OnGuard or some licensing package

2008-11-14 Thread Michael Van Canneyt
On Fri, 14 Nov 2008, Graeme Geldenhuys wrote: Is there a port of Turbopower's OnGuard component to Lazarus or Free Pascal? The original one is very Win32 specific. I also found a Kylix CLX version at: http://tponguardclx.sourceforge.net/ So if nobody ported OnGaurd to Free Pascal yet,

Re: [Lazarus] Performance of GTK 2 and CE

2008-11-14 Thread Michael Van Canneyt
On Fri, 14 Nov 2008, Graeme Geldenhuys wrote: On Fri, Nov 14, 2008 at 1:47 PM, Mark Morgan Lloyd Apropos cross-compiling and noting that I was using a big-endian processor, I did notice that the uidesigner icons were blank but didn't want to mention it until I'd got x86 and SPARC

Re: [Lazarus] Forums on www.lazarus.freepascal.org is virtually unusable

2008-11-13 Thread Michael Van Canneyt
On Thu, 13 Nov 2008, Florian Klaempfl wrote: Maybe Michael H. can find out why it's slow and then we can look for solutions how to improve it for example by moving part of the site to another machine. And while you're at it, update the look of the lazarus site, so it is more in sync with

[Lazarus] Bug 0012616

2008-11-12 Thread Michael Van Canneyt
Hi, Someone entered bug ID 0012616. I confirm this bug, it's really annoying because you can't edit a single imagelist any more :( I did a SVN update today, and got this error, so it must have been a recent change that caused this. Michael. ___

Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Michael Van Canneyt
On Fri, 7 Nov 2008, Paul Ishenin wrote: Michael Van Canneyt wrote: I second this. Borland has (had) a special API in the IDE for this. Specifically, this would mean that lazarus provides an interface in ideintf, which is then implemented for various version control systems

Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Michael Van Canneyt
On Fri, 7 Nov 2008, dmitry boyarintsev wrote: Imho, it's better to make Generic Version Control integration plugin, rather than SVN plugin. So actually ANY version control tool can be used with the same GUI (CVS, SVN, Git .. and others). All control tool provides common features, like:

Re: [Lazarus] Lazarus repository in Git (summary)

2008-11-06 Thread Michael Van Canneyt
On Thu, 6 Nov 2008, Graeme Geldenhuys wrote: Hi, As promised, here is the final details of comparing SubVersion and Git using the *full* Lazarus history. So there is no doubt that Git is extremely optimized for size and it's very impressive how much information it can store in such a

[Lazarus] Grid question

2008-11-04 Thread Michael Van Canneyt
Hi, How can I force the grid to invalidate (or draw if visible) a single cell ? Michael. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Grid question

2008-11-04 Thread Michael Van Canneyt
On Tue, 4 Nov 2008, Graeme Geldenhuys wrote: On 11/4/08, Jesus Reyes [EMAIL PROTECTED] wrote: How can I force the grid to invalidate (or draw if visible) a single cell ? grid.InvalidateCell(ColIndx,RowIndex); That is what I also expected... Jesus Reyes A. Just

[Lazarus] Fix for bug in TTabcontrol/TPageControl/TNotebook

2008-11-04 Thread Michael Van Canneyt
Hi, The TNBPages(TStrings) class does not implement the GetObect and PutObject calls of TStrings correctly. That is, If I do a MyNoteBook.Pages.AddObject('SomeString',SomeObject); the SomeObject is simply lost. (logical, PutObject is not implemented) Instead, the MyNoteBook.Pages.Objects

Re: [Lazarus] IDE idea

2008-11-03 Thread Michael Van Canneyt
On Sun, 2 Nov 2008, Mac Programmer wrote: I've been working recently with QGIS (www.qgis.org), a slick, cross- platform, Qt-based GIS. QGIS has a feature that is so cool, you almost have to see it to appreciate it. But here's a brief description anyway: QGIS supports plugins written

Re: [Lazarus] Commercial components for Lazarus

2008-10-29 Thread Michael Van Canneyt
On Wed, 29 Oct 2008, [EMAIL PROTECTED] wrote: Hello List, I have written a post to the database section of the Lazarus forum about a commercial database engine recently ported for Lazarus, which made me think about the whole Commercial components for Lazarus issue. This is a part of

Re: [Lazarus] Commercial components for Lazarus

2008-10-29 Thread Michael Van Canneyt
On Wed, 29 Oct 2008, [EMAIL PROTECTED] wrote: Would the lazarus community pay commercial developers to port their components ? Am I correct ? Oh no. :) Simply: What is the attitude of the developers, who are using Lazarus as their development tool? Would they buy commercial

Re: [Lazarus] Commercial components for Lazarus

2008-10-29 Thread Michael Van Canneyt
On Wed, 29 Oct 2008, Graeme Geldenhuys wrote: On Wed, Oct 29, 2008 at 2:42 PM, [EMAIL PROTECTED] wrote: Oh no. :) Simply: What is the attitude of the developers, who are using Lazarus as their development tool? Would they buy commercial 3rd party components to improve thier

[Lazarus] TListview issues

2008-10-28 Thread Michael Van Canneyt
Hi, We're trying to implement dragdrop from/to a TListView. There are several issues: 1. The selected listitem is not yet set when the drag is initialized. This prevents knowing which item in the list is being dragged, and this is the initial problem. Trying to work around this, we hit 2

[Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
Hi, How can I rotate a bitmap 90° counterclockwise ? Alternatively, how can I read/write the pixels in the bitmap ? I found ReadChannels/WriteChannels from RawImage, but they use a strange kind of position object which I don't understand :( (an alternate answer is to implement rotated fonts in

Re: [Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
On Mon, 27 Oct 2008, Graeme Geldenhuys wrote: 2008/10/27 Michael Van Canneyt [EMAIL PROTECTED]: Hi, How can I rotate a bitmap 90° counterclockwise ? To save you the trouble... :-) http://www.efg2.com/Lab/ImageProcessing/RotateScanline.htm http://www.delphi-central.com/tutorials

Re: [Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
On Mon, 27 Oct 2008, Vincent Snijders wrote: 2008/10/27 Michael Van Canneyt [EMAIL PROTECTED]: Hi, How can I rotate a bitmap 90° counterclockwise ? Alternatively, how can I read/write the pixels in the bitmap ? I found ReadChannels/WriteChannels from RawImage, but they use

Re: [Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
On Mon, 27 Oct 2008, Reenen Laurie wrote: I had a similar problem... Eventually I moved on to GLscene... Though obviously it's probably not at all what you want to do, but it's pretty easy to rotate things there. :-) obj.rollangle := obj.rollangle + 90; You can use an orthogonal

Re: [Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
On Mon, 27 Oct 2008, Luiz Americo Pereira Camara wrote: Michael Van Canneyt escreveu: All I need is to display a text at a 90° angle. Since GTK 1 doesn't support rotated text (hint hint), I draw the text on a bitmap, rotate that 90 degrees and display the bitmap, when I detect GTK1

Re: [Lazarus] Rotated text ?

2008-10-24 Thread Michael Van Canneyt
On Fri, 24 Oct 2008, Paul Ishenin wrote: Michael Van Canneyt wrote: Hi, Is it possible to draw text at a 90° angle ? Yes. Gtk1 does not support it but win32, qt and gtk2 supports. I use GTK 1 :( You can find an example in the TDockHeader.Draw method (ldocktree.pas). OK, thank you

Re: [Lazarus] Rotated text ?

2008-10-24 Thread Michael Van Canneyt
On Fri, 24 Oct 2008, Felipe Monteiro de Carvalho wrote: 2008/10/24 Michael Van Canneyt [EMAIL PROTECTED]: How can one detect the used widget set in a binary ? That one is easy: ldd myexecutable If it links to gtk1, it must be using the gtk1 widgetset =) This one I could have found

[Lazarus] Rotated text ?

2008-10-23 Thread Michael Van Canneyt
Hi, Is it possible to draw text at a 90° angle ? Michael.___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Mantis statistics

2008-10-22 Thread Michael Van Canneyt
On Wed, 22 Oct 2008, Graeme Geldenhuys wrote: Hi, Does Mantis have a statistics page we can view? Things like new reports per month or week. Resolved reports per week or month. Bug reports per release etc, etc... I'm just curious - are the bug reports becoming more or less for every

Re: [Lazarus] WebService API for Mantis?

2008-10-22 Thread Michael Van Canneyt
On Wed, 22 Oct 2008, Marc Weustink wrote: Graeme Geldenhuys wrote: Hi, Is there some external or webservice API for Mantis? For example: Can I write a Lazarus GUI program to view and submit bug reports, without using a Web Browser? Similar to what CodeGear has with there bug

Re: [Lazarus] Mantis statistics

2008-10-22 Thread Michael Van Canneyt
On Wed, 22 Oct 2008, Florian Klaempfl wrote: Graeme Geldenhuys schrieb: On Wed, Oct 22, 2008 at 9:55 AM, Michael Van Canneyt [EMAIL PROTECTED] wrote: There is such a page, but I don't think it is available for 'normal' users. Only devels/mantis managers can view this page. Why

Re: [Lazarus] fpmake build system in latest FPC

2008-10-17 Thread Michael Van Canneyt
On Fri, 17 Oct 2008, Henry Vermaak wrote: On 17/10/2008, Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gärtner schreef: Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: Is Lazarus going to switch to the fpmake build system? Henry Vermaak created an example for use with fpGUI - I

Re: [Lazarus] Where is form instance being NIL'ed

2008-10-14 Thread Michael Van Canneyt
On Tue, 14 Oct 2008, Graeme Geldenhuys wrote: Hi, When a new form is created using Application.CreateForm(), the form's global instance variable is passed in as well. Now if that form's CloseAction = caFree, where is that instance variable assigned nil after it was freed? It is not,

Re: [Lazarus] infinite loop due no OnChange event firing

2008-10-13 Thread Michael Van Canneyt
On Mon, 13 Oct 2008, Graeme Geldenhuys wrote: Hi, In tiOPF with LCL widgetset we hit a little snag. We react to the OnChange event of a TEdit. In GTK1 we have no issues. In GTK2 we get a core dump as soon as the text has changed (first key being pressed). Here is a discussion about the

Re: [Lazarus] infinite loop due no OnChange event firing

2008-10-13 Thread Michael Van Canneyt
On Mon, 13 Oct 2008, Graeme Geldenhuys wrote: On Mon, Oct 13, 2008 at 11:05 AM, Michael Van Canneyt [EMAIL PROTECTED] wrote: Small correction: I don't think it is 'normal', but I do think one never should rely on this behaviour :-) My apologies... :-) At the very least, all

Re: [Lazarus] Lazarus questions (auto complete, searching, docking, edit height)

2008-10-10 Thread Michael Van Canneyt
On Fri, 10 Oct 2008, John Stoneham wrote: 2008/10/10 Michael Van Canneyt [EMAIL PROTECTED] On Fri, 10 Oct 2008, John Stoneham wrote: On Fri, Oct 10, 2008 at 5:34 AM, Mattias Gärtner [EMAIL PROTECTED]wrote: Zitat von Marius [EMAIL PROTECTED]: -Would

Re: [Lazarus] Frames

2008-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2008, Mattias Gärtner wrote: The IDE now supports TFrame. See here for already working features: http://wiki.lazarus.freepascal.org/IDE_Development#Frames Awesome !! =-) Michael.___ Lazarus mailing list

Re: [Lazarus] GTK2 is now the default widgetset

2008-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2008, Mattias Gärtner wrote: The default widgetset was changed from gtk1 to gtk2 on Linux, BSD, Sparc. Well, that will be an exciting update from SVN... Frames. GTK2 (still use GTK 1)... Does this mean that GTK 1 will not be maintained anymore ? Probably in practice: yes ?

Re: [Lazarus] Xml

2008-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2008, [EMAIL PROTECTED] wrote: i have a light problem with xml. here my code: {.create the document} CFWxmlFile:=TXMLDocument.Create; {.create the root node of the configuration file} CFWxmlRoot:=CFWxmlFile.CreateElement('configfile');

Re: [Lazarus] Xml

2008-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2008, Graeme Geldenhuys wrote: On Tue, Oct 7, 2008 at 9:28 PM, Michael Van Canneyt [EMAIL PROTECTED] wrote: You cannot control the formatting. This is part of the XML specs, and is normal. Whitespace is irrelevant in XML, except for some special cases. I know

Re: [Lazarus] A solution to online AND offline IDE help

2008-10-03 Thread Michael Van Canneyt
On Fri, 3 Oct 2008, Graeme Geldenhuys wrote: Hi, After some replies in other thread about TiddlyWiki, I realized something. That could be a perfect solution to Lazarus IDE help! What's your thoughts on this... Download any one of the listed wikis, or even the 200Kb empty wiki and play

  1   2   3   >