Re: [Lazarus] Compiling lazarus in a headless server

2010-11-03 Thread Marco van de Voort
On Wed, Nov 03, 2010 at 12:20:59PM +0100, Michael Schnell wrote: E) drop the graphics and do a TCL-TK alike TUI program that can be accessed via Telnet or SSH. Again Lazarus does not have a Widget Type for this. Using the IDE provided by FPC might help. Why use an ugly TCL TUI, if the

Re: [Lazarus] News on Delphi x64

2010-11-02 Thread Marco van de Voort
On Tue, Nov 02, 2010 at 04:51:15PM +0700, Paul Ishenin wrote: Barry Kelly (on stackoverflow) also said that Delphi 64-bit probably won't have an internal assembler (iow asm only via external tasm and .obj linking) Here you can read more:

Re: [Lazarus] windows and audio development

2010-10-31 Thread Marco van de Voort
On Sun, Oct 31, 2010 at 08:32:03PM +0200, ik wrote: Thanks all, For now it appears that the project will not take place, but it is interesting regardless of that. Something for the archive then; I forgot to say that the project I researched this for was finally done using these components:

Re: [Lazarus] windows and audio development

2010-10-30 Thread Marco van de Voort
On Fri, Oct 29, 2010 at 02:07:36PM +0200, ik wrote: If I have raw alaw or ulaw (or other codec) of audio I get in a socket. How can i play that data in Windows ? Please note that I haven't developed for Windows for over 7 years now, so a good tutorial or Pascal code will be very good help in

Re: [Lazarus] Indy with Lazarus, what is the latest state?

2010-10-26 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 11:01:19PM +0200, Thierry B. wrote: Where is the Indy 9 for freepascal/lazarus ? There isn't one. Indy 9 never supported FPC. This is wrong. There is a port that did support Windows. I never bothered with Linux (because the libc using Kylix port was on the way out

Re: [Lazarus] object type: strange behaviour

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 09:05:48AM +0200, Graeme Geldenhuys wrote: I hope FPC does not have this bug? Yes it does. For Delphi compatibility I guess? Not that I know. One can argue if it really is a bug. See my other mail. For most purposes where one would use object, records with

Re: [Lazarus] object type: strange behaviour

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 09:14:41AM +0200, Graeme Geldenhuys wrote: I think they didn't pick the object type because it also supports VMTs, a feature that complicates resolving methods, and considerably complicating those features. TP Tobject can magically gain a VMT when a virtual method

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 09:38:26AM +0200, Graeme Geldenhuys wrote: Op 2010-10-25 09:25, Michael Van Canneyt het geskryf: Too much work, because it requires me to know in which branches the features are. That only occurs if they don't name the branch appropriately. For example, a

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 09:20:39AM +0100, Lukasz Sokol wrote: [...] good idea, but what actually stops us from adopting the Linux model ? About 6 dedicated paid people (and a whole bunch more volunteers) to manage all the branches and review and administrate each patch to reitegrate all the

Re: [Lazarus] Getting a program's true name

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 08:25:28AM +, Mark Morgan Lloyd wrote: versioning. But it can regurgitate information it gets passed _by_ Lazarus. Defines and {$I %environmentvariable%} are examples of this. The point I was trying to make- which I didn't do very well- was that if

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 10:35:12AM +0200, Graeme Geldenhuys wrote: Op 2010-10-25 10:22, Marco van de Voort het geskryf: Such schemes only work in retrospect. With 20 people all having a couple of pet projects you are quickly talking hundreds of branches. So what's the problem

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 10:47:05AM +0200, Graeme Geldenhuys wrote: Op 2010-10-25 10:35, Vincent Snijders het geskryf: No, there is a limit on the number of branches you - sorry, I mean *I* - can overview. For me, two long living branches are already too much. Distribute the work-load.

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 09:42:47AM +0100, Lukasz Sokol wrote: being able to put in a lot of time into the project on a regular, guaranteed basis, which is hard if they are not at least partially fulltime. I know the FULL Linux workflow won't fit - but what if it was scaled to our needs

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 11:19:27AM +0200, Graeme Geldenhuys wrote: Op 2010-10-25 10:52, Marco van de Voort het geskryf: The problem is keeping track of them. See my other reply in this thread. Again, use the right tools for the job. Git (I really didn't what to say this again) makes

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 08:10:18PM +1100, Alexander Klenin wrote: What I haven't seen: - the problem Lazarus project is unable to do releases in a timely manner. Major or minor? - the solution Make a releases time-based, as suggested at the start of the thread. This has been

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 11:28:20AM +0100, Lukasz Sokol wrote: The whole point of the others is that the current setup already strains resources, specially during release preparation times. I.e you needed a volunteer to step up and propose himself to do this, and somebody did. (i.e. Juha,

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 10:19:42PM +1100, Alexander Klenin wrote: The problems are always that people only start moving when release building is already upon them. And then these people have no time, and then those. This indicates a problem with the release process. No doubt. But I doubt

Re: [Lazarus] Getting a program's true name

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 09:55:29AM +, Mark Morgan Lloyd wrote: In project1.lpr add uses FileUtil; ProjectName := ExtractFilenameOnly({$I %file%}); which looks like it will handle the project name issue perfectly. In this case, yes. --

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 02:10:17PM +0100, Paulo Costa wrote: Then 0.9.28.2 has to be release very shortly after that. Not very good, and clearly shows that we need more people responsible for doing testing of the basic functionality at least before releases. That kind of reasoning leads

Re: [Lazarus] Getting a program's true name

2010-10-24 Thread Marco van de Voort
On Sun, Oct 24, 2010 at 01:38:42PM +, Mark Morgan Lloyd wrote: Is it possible to get the original name of a project by doing something like scratch:= {$I %PROJFILE% }; Free Pascal doesn't know about projects, but can inline custom environment variables that way, if Lazarus would set them

Re: [Lazarus] Getting a program's true name

2010-10-24 Thread Marco van de Voort
On Sun, Oct 24, 2010 at 03:44:47PM +, Mark Morgan Lloyd wrote: Is it possible to get the original name of a project by doing something like scratch:= {$I %PROJFILE% }; Free Pascal doesn't know about projects, but can inline custom environment variables that way, if Lazarus

Re: [Lazarus] Build modes, macros and conditionals

2010-10-24 Thread Marco van de Voort
On Sun, Oct 24, 2010 at 10:49:11PM +0200, Mattias Gaertner wrote: There are some new options to create * sets of compiler options - called Build modes, * project and package macros - called Build macros * and rules to set macros, paths and options automatically depending on target platform -

Re: [Lazarus] object type: strange behaviour

2010-10-23 Thread Marco van de Voort
On Fri, Oct 22, 2010 at 01:14:29PM +0200, Graeme Geldenhuys wrote: application that uses records with methods. Side Note: I still don't get why Borland/Embarcadero did that... records with methods. MvC hinted that it is because .Net has records with methods. But delphi Objects do exactly

Re: [Lazarus] object type: strange behaviour

2010-10-23 Thread Marco van de Voort
On Sat, Oct 23, 2010 at 01:10:58PM +1100, Alexander Klenin wrote: The initialization and finalization, required for managed types (AnsiString...), is broken in derived Objects, since the introduction of these types. Because it were easy to fix that bug (like with nested records), it seems

Re: [Lazarus] TThread.WaitFor blocks the main event loop under Linux

2010-10-21 Thread Marco van de Voort
On Tue, Oct 19, 2010 at 10:41:15AM +0200, Michael Schnell wrote: Thread support _might_ be a candidate, as threadvar access could be improved (but maybe it could be improved even without dropping the threadlib binding). OTOH threadlib automatically provides FUTEX access for archs that

Re: [Lazarus] Verdict of Lazarus 0.9.29

2010-10-21 Thread Marco van de Voort
On Wed, Oct 20, 2010 at 07:59:48AM -0500, Andrew Brunner wrote: ?if Accept then ?begin | 1 2 ? ?3 ? ?4 ? 5 Actually, I rarely break my If statements across more than one line save to accommodate large logic statements for code readability. if (condition1=condition2) or

Re: [Lazarus] FPC 2.4.2 RC1 available

2010-10-19 Thread Marco van de Voort
On Tue, Oct 19, 2010 at 10:34:27AM +0200, Graeme Geldenhuys wrote: Using the snapshot listed above, I get the following error, when I try and rebuild the IDE (with my new package selection). Compiling seems fine, it's just the linking that keeps failing. I have also setup this snapshot to

Re: [Lazarus] FPC 2.4.2 RC1 available

2010-10-19 Thread Marco van de Voort
On Mon, Oct 18, 2010 at 03:07:55PM +0200, Bernd Kreuss wrote: On 13.10.2010 11:33, Marco van de Voort wrote: Make sure you test it well anyways. (add one or two local hotfixes if you have to). 2.4.2 must really last a while. Why does it have to last a while? Does it cost money to apply

Re: [Lazarus] FPC 2.4.2 RC1 available

2010-10-15 Thread Marco van de Voort
On Wed, Oct 13, 2010 at 01:35:30PM +0200, Torsten Bonde Christiansen wrote: ftp://ftp.freepascal.org/pub/fpc/beta/2.4.2-rc1/ and ftp://freepascal.stack.nl/pub/fpc/beta/2.4.2-rc1/ Is this the same available via svn here: http://svn.freepascal.org/svn/fpc/tags/release_2_4_2_rc1 The

Re: [Lazarus] FPC 2.4.2 RC1 available

2010-10-13 Thread Marco van de Voort
On Wed, Oct 13, 2010 at 09:54:47AM +0200, Sven Barth wrote: I haven't yet tested it, but what about the problem mentioned here http://bugs.freepascal.org/view.php?id=16121 , which renders generics completly unusable in 2.4.2 and 2.4.3 (last time I tested)? I've also added a comment which

Re: [Lazarus] FPC 2.4.2 RC1 available

2010-10-13 Thread Marco van de Voort
On Wed, Oct 13, 2010 at 11:46:16AM +0200, Sven Barth wrote: Make sure you test it well anyways. (add one or two local hotfixes if you have to). 2.4.2 must really last a while. This time, I will :) How long do we have time for RC1? Depends on what comes up and how much patching there

[Lazarus] FPC 2.4.2 RC1 available

2010-10-12 Thread Marco van de Voort
Hello, We have placed the first release-candidate of the Free Pascal Compiler version 2.4.2 on our ftp-servers. You can help improve the upcoming 2.4.2 release by downloading and testing this release. If you want you can report what you have done here: http://wiki.freepascal.org/Testers_2.4.2

Re: [Lazarus] Is the a subversion command to list changes to a file or directory you are interested in?

2010-10-10 Thread Marco van de Voort
On Sun, Oct 10, 2010 at 02:41:17PM +0200, Frank Church wrote: Is the a subversion command to list changes to a file or directory you are interested in? Play with svn status / svn diff -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Syntax highlighting anomalies

2010-10-09 Thread Marco van de Voort
On Sat, Oct 09, 2010 at 05:24:55AM +0200, Hans-Peter Diettrich wrote: Question is, what the users expect from a syntax highlighter. (can't resist: Usually they expect the impossible :-) -- ___ Lazarus mailing list

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-05 Thread Marco van de Voort
On Tue, Oct 05, 2010 at 12:22:20AM +0100, Frank Church wrote: This may be because since creating the article I have made changes directly online to the web page to make it easier to understand, rather than running the new changes and copying it back to the article. No, it is because you

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Marco van de Voort
On Sun, Oct 03, 2010 at 02:30:11PM +0100, Frank Church wrote: On 3 October 2010 13:23, Joshua Lim joshua__...@hotmail.com wrote: Hi Frank, do you have something for Win32? Thanks. I don't have anything for Win32 yet, but it should be easy to convert. You only have to look out for the

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Marco van de Voort
On Mon, Oct 04, 2010 at 02:44:19PM +0300, Juha Manninen (gmail) wrote: P.S. Scripting language term is used loosely for dynamic languages like Perl, Python and Ruby, Dynamic typic and scripting are not related. Scripting usually points towards a more interpretive way of execution. You can

Re: [Lazarus] rewriting of LConvEncoding

2010-09-23 Thread Marco van de Voort
On Thu, Sep 23, 2010 at 11:11:48AM +0200, Guy Fink wrote: the conversions into tables, so they can be linked in, already. With the tool you mean the charset-unit? No, I mean fpc/rtl/units/creumap.pp that afaik generates statically linkable units from ISO files that plugin to charset. What

Re: [Lazarus] Can I run Lazarus well on a 512Mb VM

2010-09-21 Thread Marco van de Voort
On Tue, Sep 21, 2010 at 02:33:43PM +0100, Frank Church wrote: Will Lazarus work well on a 512Mb VM with a provider like Linode or Slicehost? Has anyone tried it? You had some answers, I can only give one other tip: if low on memory, disable smartlinking as much as possible. Then you should

Re: [Lazarus] Threads in Lazarus code base

2010-09-19 Thread Marco van de Voort
On Sat, Sep 18, 2010 at 06:33:19PM -0500, Andrew Brunner wrote: On Sat, Sep 18, 2010 at 5:17 PM, Marco van de Voort mar...@stack.nl wrote: Well, one pain less. Delphi deprecated suspending/resuming of threads. That makes for interesting news. What about suspending / resuming Manager

Re: [Lazarus] Threads in Lazarus code base

2010-09-18 Thread Marco van de Voort
On Wed, Sep 15, 2010 at 10:48:09AM +0200, Michael Van Canneyt wrote: I was amazed that there isn't a single use of threads in Lazarus code base. Threads however are the thing of the future because computers have more and more CPU cores. Threads are a way to utilize them. Threads are a

Re: [Lazarus] Strings

2010-09-09 Thread Marco van de Voort
On Wed, Nov 18, 2009 at 07:12:24AM +0100, J?rgen Hestermann wrote: And I think shortstring should generally be discouraged. The standard is always 255 is enough, but sooner or later somebody hits it: That's like saying that short integer types like byte or word should be discouraged and

Re: [Lazarus] Regex expressions

2010-09-08 Thread Marco van de Voort
On Wed, Sep 08, 2010 at 08:04:42AM +0200, Maik Wojcieszak wrote: I've tried some regex units implemented in pascal but they are either not complete or buggy or slow. The best I've found was PCRE which is kind of a standard in many scripting languages. I'm not sure if there is a lazarus

Re: [Lazarus] TStringList : how should it behave on Delimiter = ' ' ?

2010-09-08 Thread Marco van de Voort
On Tue, Sep 07, 2010 at 02:53:32PM +0100, Lukasz Sokol wrote: Hi Group, How should the TStringList behave when Delimiter := ' '; QuoteChar := ''; ? On my Lazarus 0.9.28.2 r22279 FPC 2.2.4 i386-win32-win32/win64 when reading a line like this Sep 3 16:27:32 router_ip

Re: [Lazarus] TStringList : how should it behave on Delimiter = ' ' ?

2010-09-08 Thread Marco van de Voort
On Wed, Sep 08, 2010 at 04:53:30PM +0100, Lukasz Sokol wrote: But plain TStrings (hence TStringList too) already has the Names[index], Value['Name'], ValueOfIndex[Index] properties; And IIRC Delphi supports 'Name with spaces=Value with spaces,Other Name=Other Value' format on plain

[Lazarus] DocView and FPC documentation release

2010-08-27 Thread Marco van de Voort
On Thu, Aug 26, 2010 at 05:55:13PM +0200, Graeme Geldenhuys wrote: Download size: -- DocView plus it's help file: Linux 32-bit= 533KB Linux 64-bit= 446KB Windows 32-bit = 367KB Class Documentation: fpGUI [fpgui-20100826.zip]= 0.1MB RTL + FCL

Re: [Lazarus] DocView and FPC documentation release

2010-08-27 Thread Marco van de Voort
On Fri, Aug 27, 2010 at 04:02:44PM +0200, Michael Van Canneyt wrote: But e.g. the fact that in the html output, see also has an description and has links on top, goes for every lemma. You cannot compare IPF format to HTML. You should compare it to RTF or PDF or something similar. Why? See

Re: [Lazarus] Mutlithreaded Dll Callback crashes my Application

2010-08-25 Thread Marco van de Voort
On Wed, Aug 25, 2010 at 09:28:14AM +0200, Maik Wojcieszak wrote: Is something exported, but not explicitely declared __cdecl really cdecl? I am using cdecl in Delphi and it works very well. So, I guess it is ok. I've tested stdcall and it show's the same problem. Then I don't know. The

Re: [Lazarus] Mutlithreaded Dll Callback crashes my Application

2010-08-24 Thread Marco van de Voort
On Tue, Aug 24, 2010 at 01:41:51PM +0200, Maik Wojcieszak wrote: After my holiday I've done done more research on this problem and hope I can get an answer while continuing this thread. My Versions (again) Lazarus IDE v0.9.28.2 Beta MS Windows XP Prof DE sp3 FPC Version 2.2.4 What I

Re: [Lazarus] CHM help snapshot

2010-08-23 Thread Marco van de Voort
On Sun, Aug 22, 2010 at 10:34:15PM +0100, Howard Page-Clark wrote: http://www.stack.nl/~marcov/doc-chm.zip and contains rtl,fcl,lcl ,fpdoc,ref,user,prog.chm Thanks for this. The archive contains .xct, but no .kwd files. Is this an oversight? Yes, will fix that tonight. --

Re: [Lazarus] CHM help snapshot

2010-08-23 Thread Marco van de Voort
On Mon, Aug 23, 2010 at 09:26:10AM -0400, Andrew Haines wrote: Hi, there seems to be something wrong with the binary index. See the attached screenshots. For instance the first items of fcl.chm should be: Strange. Nothing changed there in months afaik. Will look into it. --

[Lazarus] CHM help snapshot

2010-08-22 Thread Marco van de Voort
Hello, I've generated a new help snapshot. (chm files) The archive still is at http://www.stack.nl/~marcov/doc-chm.zip and contains rtl,fcl,lcl ,fpdoc,ref,user,prog.chm This release benefits from several improvements in the fpdoc generation, specially links between packages, and links in

[Lazarus] fpdoc inheritance diagrams improvements

2010-08-21 Thread Marco van de Voort
Hello, Graeme filed a bugreport (15774) about inheritance diagrams. Mostly he wanted interfaces in the inheritance, but while preparing that I found out that inheritance diagrams were broken already. I fixed this, but there are several problems and conditions left, and this message documents

Re: [Lazarus] FPC compiled from latest trunk says version is 2.4.0

2010-08-17 Thread Marco van de Voort
On Tue, Aug 17, 2010 at 12:08:47AM +0100, S?rgio Lopes wrote: I just compiled FPC from trunk, and though it creates the various folders with the name 2.5.1, the binary indicates it's 2.4.0. Is there anything I need to change so that binaries get compiled and give the correct version when

Re: [Lazarus] ExecuteProcess and URL

2010-08-12 Thread Marco van de Voort
On Wed, Aug 11, 2010 at 10:34:08AM -0400, Luis R. Hilario B. wrote: I am experiencing a problem with the URLs and some characters. E.g. file:///home/user1/help/file.html#help It does not work, because the result is: file:///home/user1/help/file.html%23help Web browsers say File not

[Lazarus] Help for keywords

2010-08-09 Thread Marco van de Voort
Hi, I tried to add help for keywords by adding a database entry to helpmanager.pas for the ref manual (which contains the language keywords). This seems to work, but the keywords are not routed to the lhelp binary. How does the helpmanager query lhelp what keywords are available? (ref.chm

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:

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

2010-07-24 Thread Marco van de Voort
On Fri, Jul 23, 2010 at 11:13:19AM -0300, Marcos Douglas wrote: I didn't find a starting compiler for windows, but for linux, darwin and freebsd you can get ppcxxx from ftp://ftp.freepascal.org/pub/fpc/dist/2.4.0/bootstrap/ As Win too! Look

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

2010-07-23 Thread Marco van de Voort
On Thu, Jul 22, 2010 at 08:01:10PM -0300, Julio C. Taborda wrote: I didn't find a starting compiler for windows, but for linux, darwin and freebsd you can get ppcxxx from ftp://ftp.freepascal.org/pub/fpc/dist/2.4.0/bootstrap/ I added win32. -- ___

Re: [Lazarus] Cross-compiling without target libs

2010-07-21 Thread Marco van de Voort
On Sun, Jul 18, 2010 at 03:53:09PM +0200, Kjow wrote: Is it possible to cross compile for arm without having target libs? Yes, for wince. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] TreeView with columns

2010-07-14 Thread Marco van de Voort
On Tue, Jul 13, 2010 at 12:13:48PM +0200, Vincent Snijders wrote: Actually I would need it for the Lazarus code itself, for converter configuration. VirtualTreeView is not very big but it adds some more kilobytes to Lazarus code. I hope it is OK for other developers. I don't mind the

Re: [Lazarus] TreeView with columns

2010-07-14 Thread Marco van de Voort
On Wed, Jul 14, 2010 at 10:06:55AM +0200, Mattias Gaertner wrote: So we kick out synedit too ? :-) License wise it is also not possible IIRC. (MPL) Synedit is double licensed under GPL2. I was wrong, VST is dual licensed to LGPL even (but not with FPC exception) --

Re: [Lazarus] TreeView with columns

2010-07-14 Thread Marco van de Voort
In our previous episode, Luiz Americo Pereira Camara said: (I seem to have failed to receive Adem's msg, so I might reply to him sometimes) I don't think it is a valid issue, since VT is licensed under MPL and GPL; MPL makes it even more liberally licensed than LGPL. Not that i think this

Re: [Lazarus] Replacing Delphi function calls with FCL/LCL functions by converter

2010-07-09 Thread Marco van de Voort
On Thu, Jul 08, 2010 at 02:38:13PM +0300, Juha Manninen wrote: Delphi converter in Lazarus trunk now supports also replacement of function calls. It is all configurable and user changes to the configuration are persistent. The converter settings window has a button Function Replacements

Re: [Lazarus] Replacing Delphi function calls with FCL/LCL functions by converter

2010-07-09 Thread Marco van de Voort
On Fri, Jul 09, 2010 at 11:10:27AM +0200, Felipe Monteiro de Carvalho wrote: Yes, ShellExecute can be mapped to OpenURL, OpenDocument or even a program execution routine. In some cases it can be used even to print o.O In general it is mostly execute based on program extension, except when

Re: [Lazarus] Replacing Delphi function calls with FCL/LCL functions by converter

2010-07-09 Thread Marco van de Voort
On Fri, Jul 09, 2010 at 12:24:31PM +0200, Felipe Monteiro de Carvalho wrote: In general it is mostly execute based on program extension, except when protocol (mailto:/,http:// etc) is prefixed. Then it should be mapped to OpenDocument() and sometimes to OpenURL And if it is not 100% clear,

Re: [Lazarus] Some information please

2010-07-05 Thread Marco van de Voort
On Mon, Jul 05, 2010 at 10:04:37AM +, Mark Morgan Lloyd wrote: This is rapidly getting to the point where it ought to be in lazarus-other, but Well, let's do it there then. I'll reply there. -- ___ Lazarus mailing list

Re: [Lazarus] Some information please

2010-07-04 Thread Marco van de Voort
On Sun, Jul 04, 2010 at 01:01:49PM +, Mark Morgan Lloyd wrote: programming on spec. Moreover, even if you specify it as day-job, can you consider in-house stuff commercial? It is not sold. But very often the software facilitates services which are sold. We send out hourly

Re: [Lazarus] Some information please

2010-07-03 Thread Marco van de Voort
On Sat, Jul 03, 2010 at 09:07:08PM +, Mark Morgan Lloyd wrote: Are these people users of Lazarus in their day jobs or is Lazarus just a hobby that they don't ever expect to use professionally? For some it is a hobby, some use it for commercial stuff. I'd prefer to use the word

Re: [Lazarus] Parser

2010-07-02 Thread Marco van de Voort
On Fri, Jul 02, 2010 at 06:13:06PM +1000, Peter E Williams wrote: I have been trying to follow this discussion but didn't know what part to quote. I was under the possibly mistaken impression that Delphi allowed the user to link in C/C++ code to a Delphi project. I have never done this. I

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 01:36:56AM +0300, Adem wrote: I think these pie in the sky kind of scenarios are several years if not longer beyond the initial C compiler. It will be a plant that needs a lot of nurturing and care for a very long term, before it becomes an alternative, and faces

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 12:17:47AM +0200, Hans-Peter Diettrich wrote: I've already translated a couple of available C libraries into Pascal, using ToPas. There exist only a few constructs that do not translate into Pascal directly (bitfields...), but their addition to the compiler (code

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 08:48:00AM +0200, Florian Klaempfl wrote: And, frankly, the project is called Free Pascal for a simple reason: it is a *Pascal* compiler and a *Pascal* project. I'm sorry. Can't agree with that. I'm still dreaming of a FreeWirth (though admitted, M2 is so

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 09:18:06AM +0200, Michael Schnell wrote: On 06/30/2010 10:23 PM, Adem wrote: If you could compile, say, Modula (or C/C++) with FPC, you would have direct access to a huge time-tested resource of libraries In fact being able to tightly integrate C code (I can't

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 09:34:12AM +0200, Michael Schnell wrote: On 07/01/2010 08:26 AM, Marco van de Voort wrote: Since accessing header files is repeated as possible advantage files again and again, In fact I already missed sadly a fully working preprocessor (to be activated optionally

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 10:21:30AM +0200, Michael Schnell wrote: On 07/01/2010 10:00 AM, Florian Klaempfl wrote: Even if FPC supported such a mess, this won't solve the fundamental problem with C headers: they work only properly if every used header is compiled for each source file again

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 11:08:49AM +0200, Michael Schnell wrote: Ask yourself why GCC doesn't have preprocessed headers, I supposed you mean precompiled headers and not headers that are passed through the preprocessor. This is according to what I called the C philosophy in the other mail.

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 08:12:52PM +0300, Adem wrote: You could have asked the fpc team or put it into one of the many free repositories. If you put something into lazarus examples then lazarus users expect a reason for downloading 650KB extra. If the above is the only reason, then you

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 02:27:22PM +0200, Hans-Peter Diettrich wrote: Aren't you against a e.g. .Net backend because it requires a completely different runtime :)? I think the same applies to M2 etc. as well? IMO we could separate the language itself (syntax) from the RTL (semantics). Hmm,

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 01:55:43PM +0200, Hans-Peter Diettrich wrote: the .Net thing mostly on the premise of 'write in the language you're most comfortable yet share with others you/they find useful'; Exactly, sold. It's marketing speech. You could use any language but only to a degree

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 06:56:26PM +0200, Hans-Peter Diettrich wrote: FPC overcomes this problem with the .ppu files (I assume) No. That is an optimalization. The core feature is defining the unit concept, and clearing (reinitializing from cmdline params) preprocessor state C++ with

Re: [Lazarus] Parser

2010-06-30 Thread Marco van de Voort
On Wed, Jun 30, 2010 at 11:59:15PM +0300, Adem wrote: Why do you think Pascal would lose its glamor when (or if) FPC can compile other languages? ... because it increases the maintainance work on fpc. Even with one front end only we are almost unable to keep the issue count under

Re: [Lazarus] Wiki instructions for installing FPC trunk

2010-06-27 Thread Marco van de Voort
On Sun, Jun 27, 2010 at 07:40:11PM +0200, Mattias Gaertner wrote: -installs under Linux under /usr/local/lib, while the packages install under /usr/lib Depends on the distribution and package conventions of that package system. -- ___ Lazarus

Re: [Lazarus] New website www.lazarussupport.com launched

2010-06-20 Thread Marco van de Voort
On Sun, Jun 20, 2010 at 03:37:13PM +0300, Adem wrote: On 2010-06-20 14:41, Marco van de Voort wrote: On Sun, Jun 20, 2010 at 02:26:20PM +0300, Adem wrote: Shouldn't the mascot be a member of Canidae family --coyote, volf, jackal, fox or preferably a dog. If you find one

Re: [Lazarus] Updating an app on the fly

2010-06-20 Thread Marco van de Voort
On Sun, Jun 20, 2010 at 09:36:25AM +, Mark Morgan Lloyd wrote: FPC loads foreign libraries externally all the time. But you also don't communicate on Pascal level between with them, and keep the RTL/libc states totally apart. I refer to this as the manual solution. (which is btw not

Re: [Lazarus] Updating an app on the fly

2010-06-19 Thread Marco van de Voort
On Sat, Jun 19, 2010 at 12:34:34PM +, Mark Morgan Lloyd wrote: For example, Packages share the same memory space and class inheritance tree. Libraries do not. Thanks both. So if I understand things correctly: * A package uses the same LCL as the rest of the app. Yes. Both code

Re: [Lazarus] New website www.lazarussupport.com launched

2010-06-19 Thread Marco van de Voort
On Sat, Jun 19, 2010 at 10:20:46AM -0400, Doug Chamberlin wrote: Please remove the animated leopard! IMHO, it is truly distracting and juvenile. That (Cheetah) is the FPC logo, and IMHO should stay no matter what. But IMHO the animation could be done away with. --

Re: [Lazarus] New website www.lazarussupport.com launched

2010-06-18 Thread Marco van de Voort
On Fri, Jun 18, 2010 at 10:39:09PM +1100, Alexander Klenin wrote: Please take a look and tell what you think about it. A design nitpick: the toxic-blue rectangular buttons in the right-upper corner are hurtful to an eye. Agree. They don't seem to fit in with the theme. They should,

Re: [Lazarus] Failed to initialize component: No streaming method available

2010-06-18 Thread Marco van de Voort
On Fri, Jun 18, 2010 at 12:17:14PM +0100, Frank Church wrote: I keep getting this error message whenever I try to open a form. What does it mean? Form contains a (designtime) component that is not installed. -- ___ Lazarus mailing list

Re: [Lazarus] Why was XML format chosen for storing settings in Lazarus IDE?

2010-06-18 Thread Marco van de Voort
On Fri, Jun 18, 2010 at 11:15:02AM +0200, Graeme Geldenhuys wrote: I'm curious to know what was the reason behind the decision to use XML for storing simple Lazarus settings, instead of the much simpler INI format? This is a legit question and I'm very curious as to the answer. Please note,

Re: [Lazarus] Why was XML format chosen for storing settings in Lazarus IDE?

2010-06-18 Thread Marco van de Voort
On Fri, Jun 18, 2010 at 10:55:03AM +0100, Henry Vermaak wrote: On 18 June 2010 10:15, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Now both examples contain the same information, but lets be honest.. Which one is easier to read (via human or program), manually tweak if needed via

Re: [Lazarus] Why was XML format chosen for storing settings in Lazarus IDE?

2010-06-18 Thread Marco van de Voort
On Fri, Jun 18, 2010 at 02:08:38PM +0200, Graeme Geldenhuys wrote: The simple reason is that .ini is one level only, and XML has an infinite nesting depth. Technically yes, but also no. For example. 'regedit' in Microsoft Windows can export the registry (a f***ken huge tree and garbled

Re: [Lazarus] Why was XML format chosen for storing settings in Lazarus IDE?

2010-06-18 Thread Marco van de Voort
On Fri, Jun 18, 2010 at 02:15:30PM +0200, Graeme Geldenhuys wrote: On 18/06/2010, Marco van de Voort mar...@stack.nl wrote: The simple reason is that .ini is one level only, and XML has an infinite nesting depth. Could you give a small code example of how you read/write values

Re: [Lazarus] Basic chm help creator (LHelpCreator)

2010-06-13 Thread Marco van de Voort
On Sat, Jun 12, 2010 at 08:27:23PM +0300, ??ilvinas Ledas wrote: * TOC can be designed in program. * Index is created from TOC (as a result: not very useful yet). * Saves and loads project from xml file. Package chm's or an own? Own. I save TOC tree and file names (paths)

Re: [Lazarus] Basic chm help creator (LHelpCreator)

2010-06-12 Thread Marco van de Voort
On Tue, Jun 08, 2010 at 12:05:12PM +0300, ??ilvinas Ledas wrote: Some points: * It takes specified dir with all the files in it and compiles them to the chm archive (context ids and names can be assigned). * TOC can be designed in program. * Index is created from TOC (as a result: not very

Re: [Lazarus] Multiple LCL instances

2010-06-12 Thread Marco van de Voort
On Fri, Jun 11, 2010 at 02:21:39PM +0200, Michael Schnell wrote: That only fixes the memorymanager issue, not the fact that there are two copies of RTL/FCL/LCL state. (and VMTs for all duplicate classes etc). OK. Do you suggest that the LCL that seemingly automatically is created and

Re: [Lazarus] Multiple LCL instances

2010-06-11 Thread Marco van de Voort
On Fri, Jun 11, 2010 at 12:04:06PM +0200, Michael Schnell wrote: OTOH, it might be possible to hook to the address space of another process to share the heap and thus all instances of user defined classes. Madshi's MadRemote seems to do something like this for Delphi/Windows. That only

Re: [Lazarus] No help found for...

2010-06-10 Thread Marco van de Voort
On Sun, May 30, 2010 at 11:25:12PM +0200, Graeme Geldenhuys wrote: On 30 May 2010 22:47, Hans-Peter Diettrich wrote: We also should have local IDE help sources, for every lazarus version. I hope to release the final fpGUI v0.7 in a few days. At the same time I'll release pre-compiled INF

Re: [Lazarus] No help found for...

2010-06-10 Thread Marco van de Voort
On Thu, Jun 10, 2010 at 11:16:17AM +0200, Graeme Geldenhuys wrote: On 10/06/2010, Marco van de Voort wrote: It is not that help that is the problem, it is the context sensitive help which is currently done by wiki. But with DocView and INF help files, I have solved the context

Re: [Lazarus] No help found for...

2010-06-10 Thread Marco van de Voort
On Thu, Jun 10, 2010 at 11:34:27AM +0200, Mattias Gaertner wrote: That help unfortunately sits in a very crappy format and in the wiki only. Maybe one day we will have an export wiki to XXX format, where XXX is something more usable, like the XML format of fpdoc. Then just like fpdoc, we

<    2   3   4   5   6   7   8   9   >