Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread waldo kitty
On 7/28/2010 17:26, Bernd Kreuss wrote: Mattias Gaertner wrote: I didn't test the code much. I just saw that codebrowser stores file positions, not clean positions. Makes sense. I fixed GetCodeHelp. Ok, It works now. BTW: The explanation about the codetools in the wiki is already quite helpfu

Re: [Lazarus] Resources on Windows

2010-07-28 Thread Paul Ishenin
29.07.2010 8:08, Alexander Klenin wrote: However, my question is -- is this yet another incompatible change made without any warning? Or did I miss it? I wrote about this change here: http://lazarus-dev.blogspot.com/2010/02/work-on-0930-changes-in-resource.html The problem is that previosly

Re: [Lazarus] Coding A PDA

2010-07-28 Thread Paul Breneman
Hi Josh, I've been programming for about 5 years, and I'm quite young in age. I just love programming so much. Ever since I tried a program at school called Scratch, which uses a basic language in the form of GUI blocks. In my life, I would like to code a PDA I know it's far-fetched, and I wou

[Lazarus] Resources on Windows

2010-07-28 Thread Alexander Klenin
Please somebody look at http://bugs.freepascal.org/view.php?id=17054 I have verified that the patch applies and demos are still compilable after it (they compiled for me before the patch because I had the .rc files). However, my question is -- is this yet another incompatible change made without a

Re: [Lazarus] Gtk2 question

2010-07-28 Thread SteveG
theo wrote: /zeljko wrote: /> Yep, if he want to get complete X11 tree he can do that via XLib and (now guessing from my mind) use XQueryTree() and friends. Yes. I had already some code but hacked a class today. The code and an example is here: http://www.theo.ch/lazarus/winlist.zip The ex

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Mattias Gaertner
On Wed, 28 Jul 2010 23:26:47 +0200 Bernd Kreuss wrote: > [sending this a second time because I got a strange error from the list > server] > > Mattias Gaertner wrote: > > > I didn't test the code much. > > I just saw that codebrowser stores file positions, not clean positions. > > Makes sense.

Re: [Lazarus] Jump to implementation (inspired by Bernd Kreuss Codetool ideas "what is an "identifier"")

2010-07-28 Thread Mattias Gaertner
On Wed, 28 Jul 2010 19:56:13 +0100 Martin wrote: > On 28/07/2010 19:27, Martin wrote: > > I am making this a separate thread, because it got nothing to do with > > the old subject "[Lazarus] CodeTools: what is an "identifier"" > > > > The idea discussed there, fails due to the fact that > > "Ob

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Bernd Kreuss
[sending this a second time because I got a strange error from the list server] Mattias Gaertner wrote: > I didn't test the code much. > I just saw that codebrowser stores file positions, not clean positions. > Makes sense. > I fixed GetCodeHelp. Ok, It works now. BTW: The explanation about the

Re: [Lazarus] How to get superuser rights

2010-07-28 Thread Krisztián Nagy
Thank you for the answers! gksudo is what I was looking for, it seems this was a significant gap in my knowledge. As the program is for personal use it doesn't matter that it's system specific. However, I may also look into that PolicyKit sometime later. regards Krisztián 2010/7/28 Marco van de V

[Lazarus] Coding A PDA

2010-07-28 Thread Josh Lee
Hello people. I've been programming for about 5 years, and I'm quite young in age. I just love programming so much. Ever since I tried a program at school called Scratch, which uses a basic language in the form of GUI blocks. In my life, I would like to code a PDA I know it's far-fetched, and

Re: [Lazarus] How to get superuser rights

2010-07-28 Thread Marco van de Voort
On Wed, Jul 28, 2010 at 10:32:43AM +0200, Sven Barth wrote: > Am 28.07.2010 09:59, schrieb Mattias Gaertner: > > Maybe gksudo can help. > > gksudo might be system specific. What about PolicyKit, which is from > FreeDesktop and thus tries to standardisize such tasks: > http://www.freedesktop.org/

Re: [Lazarus] Jump to implementation (inspired by Bernd Kreuss Codetool ideas "what is an "identifier"")

2010-07-28 Thread Martin
On 28/07/2010 19:27, Martin wrote: I am making this a separate thread, because it got nothing to do with the old subject "[Lazarus] CodeTools: what is an "identifier"" The idea discussed there, fails due to the fact that "ObjectOfClass_BaseFoo.SomeMethod" can only be resolved to that base cla

[Lazarus] Jump to implementation (inspired by Bernd Kreuss Codetool ideas "what is an "identifier"")

2010-07-28 Thread Martin
I am making this a separate thread, because it got nothing to do with the old subject "[Lazarus] CodeTools: what is an "identifier"" The idea discussed there, fails due to the fact that "ObjectOfClass_BaseFoo.SomeMethod" can only be resolved to that base class's SomeMethod. One case where th

[Lazarus] Problem using TAsyncProcess.OnReadData

2010-07-28 Thread shoKwave
Hi all, I'm trying to use TAsyncProcess and got into trouble on other widgetsets than GTK2. The code below works fine on Ubuntu 10.04 x64 (GTK2) and openSUSE 11.3 i386 (GTK2), but not on openSUSE 11.3 i386 (QT) or Windows7 i386. I played around with the options and other properties, but no

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Bernd Kreuss
Martin wrote: > procedure TOnlineState.SwitchStateToOffline( Connection: TBaseConnection); > begin >Connection.SayGoodBye; >Connection.GoOffline; > end; It would show like this: - TOnlineState.SwitchStateToOffline( Connection: TBaseConnection) + Connection.SayGoodBye + Connection.GoO

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Mattias Gaertner
On Wed, 28 Jul 2010 18:30:07 +0200 Bernd Kreuss wrote: > Mattias Gaertner wrote: > > I wrote an example in codebrowser.pas: > > function TCodeBrowserView.GetCodeHelp > > I'm now trying your example and it seems to suffer from the same problem > that I found with my experiments. I didn't test t

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Bernd Kreuss
Mattias Gaertner wrote: > I wrote an example in codebrowser.pas: > function TCodeBrowserView.GetCodeHelp I'm now trying your example and it seems to suffer from the same problem that I found with my experiments. I inserted some debugln into your method and look at stdout to see the problem. The fo

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Mattias Gärtner
Zitat von Bernd Kreuss : Bernd Kreuss wrote: The understanding of the codetools seems to be essential for doing any non-trivial thing inside the IDE. For example as an application of the codtools I have a tool in mind that would help me exploring a big codebase with a lot of calls through di

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Mattias Gärtner
Zitat von Bernd Kreuss : Mattias Gaertner wrote: I wrote an example in codebrowser.pas: function TCodeBrowserView.GetCodeHelp Thank you for this example. Now you effectively implemented almost all the things I wanted to do. Sometimes it is easier to implement than to explain it in English.

Re: [Lazarus] Lazarus web site not accessible

2010-07-28 Thread Hans-Peter Diettrich
Robin Hoo schrieb: It's ok for wiki now, but http://www.lazarus.freepascal.org/ still can not access. The server was down for several hours, but now it should be online again. DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org h

Re: [Lazarus] Lazarus installer

2010-07-28 Thread Juha Manninen
> Just get > > http://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Lazarus%200.9.28.2/lazarus-0.9.28.2-fpc-2.2.4-win32.exe/download > ? > > Of course, if you want bleeding edge code, this is more difficult, but > this is always the case. > True, I needed a more recent compi

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Martin
On 28/07/2010 14:59, Bernd Kreuss wrote: Bernd Kreuss wrote The understanding of the codetools seems to be essential for doing any non-trivial thing inside the IDE. Code-exploration maybe There is lot of other stuff in the IDE... This tool would help me build a tree starting with th

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Bernd Kreuss
Bernd Kreuss wrote: > The understanding of the codetools seems to be essential for doing any > non-trivial thing inside the IDE. For example as an application of the codtools I have a tool in mind that would help me exploring a big codebase with a lot of calls through different abstraction layers

Re: [Lazarus] Lazarus installer

2010-07-28 Thread Felipe Monteiro de Carvalho
2010/7/28 Juha Manninen : > I took the liberty to add a task for proper Lazarus installers into the new > http://wiki.freepascal.org/Lazarus_Season_of_Code page. Just to clarify one point: The list is just a list of ideas, I will decide which ones make it to the project or not. For other things,

Re: [Lazarus] Lazarus installer

2010-07-28 Thread Florian Klaempfl
Am 28.07.2010 15:39, schrieb Juha Manninen: > Still I had to ask instructions on chat for how to install on Windows, > and without asking it would have gone wrong. Namely I would have chosen > "fpc-2.4.0.source.zip" instead of "fpcbuild-2.4.0.zip" when I wanted FPC > sources. Lazarus comes with FP

[Lazarus] Lazarus installer

2010-07-28 Thread Juha Manninen
Hi I took the liberty to add a task for proper Lazarus installers into the new http://wiki.freepascal.org/Lazarus_Season_of_Code page. Installation is now much too difficult. This is a typical situation in an open source project. There are few core developers who already know how to install. The

Re: [Lazarus] Lazarus installation on Mac plus other thoughts

2010-07-28 Thread Juha Manninen
Hi Of course this can be tricky to explain to someone who has no idea of > terminal. Maybe you want to try teamviewer. > How come I didn't know about this TeamViewer before? Has it just recently become free for personal use? It has an installation system which could work as an example when buildi

Re: [Lazarus] Lazarus installation on Mac plus other thoughts

2010-07-28 Thread Martin
On 28/07/2010 14:21, Juha Manninen wrote: 2010/7/28 dmitry boyarintsev > One more note about Installation: Did you use the page http://wiki.freepascal.org/Installing_Lazarus_on_MacOS_X ? Yes I looked at it. I guess the problem was still in Apple

Re: [Lazarus] CodeTools: what is an "identifier"

2010-07-28 Thread Bernd Kreuss
Mattias Gaertner wrote: > I wrote an example in codebrowser.pas: > function TCodeBrowserView.GetCodeHelp Thank you for this example. Now you effectively implemented almost all the things I wanted to do. My latest (not working) version before I read your answer was using Tool.BuildSubTreeAndFindD

Re: [Lazarus] Lazarus installation on Mac plus other thoughts

2010-07-28 Thread Juha Manninen
2010/7/28 dmitry boyarintsev > One more note about Installation: > Did you use the page > http://wiki.freepascal.org/Installing_Lazarus_on_MacOS_X ? > Yes I looked at it. I guess the problem was still in Apple devel tools installation. I've also managed to install iDeneb 1.6 on the VirtualBox

Re: [Lazarus] Handheld development

2010-07-28 Thread Michael Schnell
On 07/28/2010 10:19 AM, dmitry boyarintsev wrote: It would be a good promotion for FPC/Lazarus, but the Apple might ban the applications as well, No problem as lately the court ruled that Apple's jailing application distribution in their own stores is not protected by the law. -Michael -- _

Re: [Lazarus] Lazarus Codetools

2010-07-28 Thread Mattias Gaertner
On Wed, 28 Jul 2010 09:50:58 +0400 Дмитрий Курашкин wrote: > Hi to all! > > I am using Lazarus 2 years. Now I want to try develop some features for > Lazarus. Great! > I want make something like Eclipse (java IDE) feature. When user move mouse > cursor over class property or method, my patch m

Re: [Lazarus] Lazarus Resources

2010-07-28 Thread Josh Lee
On 28 Jul 2010, at 06:56 AM, Paul Ishenin wrote: > 26.07.2010 19:59, Mattias Gärtner wrote: > >> Can you add some links or paragraphs on >> http://wiki.lazarus.freepascal.org/Lazarus_Resources >> >> about the new resources? > > Done. Oh brilliant, thanks so much. The article has a lot more i

Re: [Lazarus] Handheld development

2010-07-28 Thread dominique
Hi Dmitry, There are many apps on the AppStore that do not use C/C++/ObjC. For instance, any game written using Unity3D ( and there are loads ), would need to be removed from the AppStore as that uses MonoTouch for scripting, and it is common knowledge that it uses MonoTouch for scripting. Twee

Re: [Lazarus] How to get superuser rights

2010-07-28 Thread Sven Barth
Am 28.07.2010 09:59, schrieb Mattias Gaertner: Maybe gksudo can help. gksudo might be system specific. What about PolicyKit, which is from FreeDesktop and thus tries to standardisize such tasks: http://www.freedesktop.org/wiki/Software/PolicyKit (it's used on Ubuntu as well) Regards, Sven

Re: [Lazarus] Handheld development

2010-07-28 Thread Felipe Monteiro de Carvalho
On Tue, Jul 27, 2010 at 2:12 PM, Andrew Brunner wrote: > Meaning it is entirely plausible that Lazarus leverages Android and > other SDKs in the future and output application packages identical or > nearly identical to what is expected.  With that being said... C and > Java would be written/expect

Re: [Lazarus] Handheld development

2010-07-28 Thread Sven Barth
Am 27.07.2010 11:28, schrieb Bernd Kreuss: Couldn't FPC some day in the future be be given a new backend that emits Java VM bytecode and the linker would jar and zip instead of linking a binary and the LCL two new widgetsets, one that uses swing and the other one that uses whatever Android uses a

Re: [Lazarus] Handheld development

2010-07-28 Thread dmitry boyarintsev
On Wed, Jul 28, 2010 at 6:30 AM, Bee Jay wrote: > May we know which fpc-made app that already went on Apple appstore? I think > it could become a good material to promote FPC/Lazarus. TIA. Don't forget that newer SDK agreement forbids applications written in not C/C++/ObjC language. It would be

Re: [Lazarus] Lazarus Resources

2010-07-28 Thread Mattias Gaertner
On Wed, 28 Jul 2010 13:56:41 +0800 Paul Ishenin wrote: > 26.07.2010 19:59, Mattias Gärtner wrote: > > > Can you add some links or paragraphs on > > http://wiki.lazarus.freepascal.org/Lazarus_Resources > > > > about the new resources? > > Done. Thanks. Mattias -- _

Re: [Lazarus] Lazarus web site not accessible

2010-07-28 Thread Luk Vandelaer
On Wednesday 28 July 2010 08:59:39 Robin Hoo wrote: > Hi, All > > It's ok for wiki now, but http://www.lazarus.freepascal.org/ still can not > access. Freepascal.org is back online. Luk Vandelaer -- ___ Lazarus mailing list Lazarus@lists.lazarus.freep

Re: [Lazarus] How to get superuser rights

2010-07-28 Thread Mattias Gaertner
On Wed, 28 Jul 2010 02:02:08 +0200 Krisztián Nagy wrote: > Hi Lazarus list, > > I've got a simple question. I'm writing a little app with lazarus for linux > which executes some terminal commands through fpSystem(). > I need superuser rights for this so my question is that how can I acquire > th

Re: [Lazarus] Bugs and snapshots downloads?

2010-07-28 Thread Felipe Monteiro de Carvalho
On Wed, Jul 28, 2010 at 8:34 AM, John vd Waeter wrote: > Is bugs.freepascal.org down? Yes, it is down. Subversion too. I don't know who takes care of this. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.or