Re: [Lazarus] Android NDK

2010-07-27 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: The only problem is transforming a program into a library. Here Build modes would help a lot, so you could have a customized Android mode which uses a different main source file to build the library. It's worth wondering whether there are other Java-based

Re: [Lazarus] [fpc-devel] Namespaces like URLs

2010-07-27 Thread Adem
On 2010-07-27 8:49 AM, Martin wrote:Yes, in that example, 'laz_svn' would be a central indirection identifier to your 'C:\lazarus'. It is helpfull, if something looking like a path to the file, is wrong pointing to the wrong location for at least half of the developpers working on a project???

Re: [Lazarus] Android NDK

2010-07-27 Thread Felipe Monteiro de Carvalho
On Tue, Jul 27, 2010 at 9:54 AM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: It's worth wondering whether there are other Java-based platforms which could benefit from this approach, and whether their users could see any benefit to having Lazarus available. No, I don't know any

Re: [Lazarus] [fpc-devel] Namespaces like URLs

2010-07-27 Thread Adem
Sorry. Wrong place. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Android NDK

2010-07-27 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: On Tue, Jul 27, 2010 at 9:54 AM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: It's worth wondering whether there are other Java-based platforms which could benefit from this approach, and whether their users could see any benefit to having Lazarus

Re: [Lazarus] Handheld development

2010-07-27 Thread Bernd Kreuss
Sven Barth wrote: No, they aren't. In fact (as far as I oversee it) it's easier to achieve then Android, because it's all still native code. 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

[Lazarus] CodeTools: what is an identifier

2010-07-27 Thread Bernd Kreuss
Hi, I am just playing around with the CodeTools and have the following: P := node.CodePos.P; Tool := TStandardCodeTool(CodeToolBoss.GetCodeToolForSource(node.CodePos.Code, false, false)); debugln(['identifier: ', Tool.ExtractIdentifier(P)]); where

Re: [Lazarus] Handheld development

2010-07-27 Thread Felipe Monteiro de Carvalho
On Tue, Jul 27, 2010 at 11:28 AM, Bernd Kreuss prof7...@googlemail.com wrote: 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

Re: [Lazarus] Handheld development

2010-07-27 Thread Andrew Brunner
catapult Lazarus into regions that are currently exclusively occupied by Netbeans and IntelliJ. I think that yes, from my experience with java assembler I would say that java can be treated as just another CPU, although with some special features. Some developers say that no, it would never

Re: [Lazarus] Android NDK

2010-07-27 Thread Michael Schnell
On 07/26/2010 05:10 PM, Reimar Grabowski wrote: And you cannot start non-Java programs on unrooted devices A real show-stopper :( -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Android NDK

2010-07-27 Thread Michael Schnell
On 07/26/2010 05:27 PM, Felipe Monteiro de Carvalho wrote: and then we would have a generic Java application which loads that library and communicates with it. Would that not be starting non-Java code which the framework does not allow ? -Michael --

Re: [Lazarus] Android NDK

2010-07-27 Thread Felipe Monteiro de Carvalho
On Tue, Jul 27, 2010 at 2:17 PM, Michael Schnell mschn...@lumino.de wrote: Would that not be starting non-Java code which the framework does not allow ? This works. I've already seen Android apps which bind Java and C++ like that, although not in a generic way like I proposed. -- Felipe

Re: [Lazarus] Android NDK

2010-07-27 Thread Michael Schnell
On 07/27/2010 02:21 PM, Felipe Monteiro de Carvalho wrote: This works. I've already seen Android apps which bind Java and C++ like that, although not in a generic way like I proposed. Thus in theory, a special Lazarus Android Widget Type and Application Type could create a Java application

Re: [Lazarus] Handheld development

2010-07-27 Thread Hans-Peter Diettrich
Bernd Kreuss schrieb: 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 as GUI? Not very

[Lazarus] Lazarus installation on Mac plus other thoughts

2010-07-27 Thread Juha Manninen
Hi I have just witnessed how difficult installing Lazarus on Apple Mac can be, although I think the same applies to other operating systems, too. I made a program for my friend using Lazarus. He has a modern Mac but he mostly just browses Internet and writes e-mails and talks with Skype and

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-27 Thread Marcos Douglas
On Tue, Jul 27, 2010 at 2:34 AM, Juha Manninen juha.mannine...@gmail.com wrote: Marcos Douglas kirjoitti maanantai, 26. heinäkuuta 2010 20:43:44: Would you like to talk in private about some ideas to organize the wiki? (but, if somebody has any ideas about it, we still continue to talk here)

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

2010-07-27 Thread Marcos Douglas
On Tue, Jul 27, 2010 at 10:49 AM, Juha Manninen juha.mannine...@gmail.com wrote: Hi I have just witnessed how difficult installing Lazarus on Apple Mac can be, although I think the same applies to other operating systems, too. I made a program for my friend using Lazarus. He has a modern Mac

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

2010-07-27 Thread dmitry boyarintsev
So far, i'm not aware of anyone ever made cross-compiler for OSX. However, since all build-tools are open source, it should be possible. On Tue, Jul 27, 2010 at 6:13 PM, Marcos Douglas m...@delfire.net wrote: Me and Marcos Douglas have recently improved the installation wiki pages a little but

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-27 Thread Marcos Douglas
On Tue, Jul 27, 2010 at 2:34 AM, Juha Manninen juha.mannine...@gmail.com wrote: Marcos Douglas kirjoitti maanantai, 26. heinäkuuta 2010 20:43:44: Would you like to talk in private about some ideas to organize the wiki? (but, if somebody has any ideas about it, we still continue to talk here)

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

2010-07-27 Thread Marcos Douglas
On Tue, Jul 27, 2010 at 11:16 AM, dmitry boyarintsev skalogryz.li...@gmail.com wrote: On Tue, Jul 27, 2010 at 6:13 PM, Marcos Douglas m...@delfire.net wrote: Me and Marcos Douglas have recently improved the installation wiki pages a little but that is not enough. ...and we will improved even

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

2010-07-27 Thread Juha Manninen
dmitry boyarintsev kirjoitti tiistai, 27. heinäkuuta 2010 17:16:34: So far, i'm not aware of anyone ever made cross-compiler for OSX. However, since all build-tools are open source, it should be possible. I am not going to try that. Instead I could help my friend's installation again after we

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

2010-07-27 Thread Marcos Douglas
On Tue, Jul 27, 2010 at 11:41 AM, Juha Manninen juha.mannine...@gmail.com wrote: dmitry boyarintsev kirjoitti tiistai, 27. heinäkuuta 2010 17:16:34: So far, i'm not aware of anyone ever made cross-compiler for OSX. However, since all build-tools are open source, it should be possible. I am

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

2010-07-27 Thread Juha Manninen
Marcos Douglas kirjoitti tiistai, 27. heinäkuuta 2010 17:47:24: Try install just FPC, not Lazarus, and use the shell to compile. We tried the shell but FPC gave errors, maybe due to non-installed Apple Developer tools. Lazarus was this time the only thing that worked. :-) Do you think my

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

2010-07-27 Thread Mattias Gaertner
On Tue, 27 Jul 2010 17:41:53 +0300 Juha Manninen juha.mannine...@gmail.com wrote: dmitry boyarintsev kirjoitti tiistai, 27. heinäkuuta 2010 17:16:34: So far, i'm not aware of anyone ever made cross-compiler for OSX. However, since all build-tools are open source, it should be possible. I

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

2010-07-27 Thread Mattias Gaertner
On Tue, 27 Jul 2010 17:56:21 +0300 Juha Manninen juha.mannine...@gmail.com wrote: Marcos Douglas kirjoitti tiistai, 27. heinäkuuta 2010 17:47:24: Try install just FPC, not Lazarus, and use the shell to compile. We tried the shell but FPC gave errors, maybe due to non-installed Apple

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

2010-07-27 Thread Marcos Douglas
On Tue, Jul 27, 2010 at 12:01 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 27 Jul 2010 17:56:21 +0300 Juha Manninen juha.mannine...@gmail.com wrote: Marcos Douglas kirjoitti tiistai, 27. heinäkuuta 2010 17:47:24: Try install just FPC, not Lazarus, and use the shell to

Re: [Lazarus] CodeTools: what is an identifier

2010-07-27 Thread Mattias Gaertner
On Tue, 27 Jul 2010 12:48:02 +0200 Bernd Kreuss prof7...@googlemail.com wrote: Hi, I am just playing around with the CodeTools and have the following: P := node.CodePos.P; Tool := TStandardCodeTool(CodeToolBoss.GetCodeToolForSource(node.CodePos.Code, false,

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

2010-07-27 Thread Juha Manninen
Mattias Gaertner kirjoitti tiistai, 27. heinäkuuta 2010 17:59:01: You may try: 1. install the developer tools from dvd 2. install fpc dmg 3. download lazarus svn and run make Of course this can be tricky to explain to someone who has no idea of terminal. Maybe you want to try teamviewer.

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

2010-07-27 Thread shoKwave
On 27.07.2010 18:23, Juha Manninen wrote: So it really requires a DVD? No download option? DVD is easiest I think. You can try to download from apple homepage (http://developer.apple.com/technologies/xcode.html), but you'll have to register first. Also you need the right version. IIRC 3.1 for

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

2010-07-27 Thread Žilvinas Ledas
When I installed Lazarus on osx few weeks ago I didin't know that I need to have dev tools installed but while installing FPC there was a message that I need dev tools so I just went to apple website, registered as developer and downloaded dev tools :) I think it is the problem with non

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

2010-07-27 Thread Cox, Stuart TRAN:EX
As a matter of interest, are you using some form of the Bin Packing or Knapsack algorithms to underpin your woodworking program? Stu Cox Project Management Technician Southern Interior Region Ministry of Transportation and Infrastructure 342-447 Columbia St., Kamloops, BC V2C 2T3 p: 250-828-4320

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

2010-07-27 Thread Juha Manninen
Žilvinas Ledas kirjoitti tiistai, 27. heinäkuuta 2010 21:15:47: When I installed Lazarus on osx few weeks ago I didin't know that I need to have dev tools installed but while installing FPC there was a message that I need dev tools so I just went to apple website, registered as developer and

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

2010-07-27 Thread dmitry boyarintsev
One more note about Installation: Did you use the page http://wiki.freepascal.org/Installing_Lazarus_on_MacOS_X ? I've also managed to install iDeneb 1.6 on the VirtualBox (3.1.6 and 3.2.6). Installing FPC/Lazarus in the virtualized OSX didn't make any problems. The thread

[Lazarus] How to get superuser rights

2010-07-27 Thread Krisztián Nagy
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 them in a lazarus app (in a visual way)? In other apps here the screen

Re: [Lazarus] Handheld development

2010-07-27 Thread Bee Jay
On 26 Jul 2010, at 23:16, domini...@savagesoftwaresolutions.comwrote: FreePascal definitely works on iPhone and I know at least of 2 apps that are on the appstore that were written using FreePascal. May we know which fpc-made app that already went on Apple appstore? I think it could become a

[Lazarus] Lazarus Codetools

2010-07-27 Thread Дмитрий Курашкин
Hi to all! I am using Lazarus 2 years. Now I want to try develop some features for Lazarus. I want make something like Eclipse (java IDE) feature. When user move mouse cursor over class property or method, my patch mast show hint window, which allow make some changes in class definition: change

Re: [Lazarus] Lazarus Resources

2010-07-27 Thread Paul Ishenin
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. Best regards, Paul Ishenin. -- ___ Lazarus mailing list