Re: [Lazarus] DBMaskEdit: A small contribuition for Lazarus project.

2010-05-28 Thread Marco van de Voort
On Fri, May 28, 2010 at 11:22:43AM +0200, Florian Klaempfl wrote: > >> This is not carved in stone but a good thumb rule. > > > > So what is the criteria to get a new feature in the "fixes" branch > > You've to ask the release manager about this ;) I merge compiler features only in the rare case

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-05-28 Thread Marco van de Voort
On Fri, May 28, 2010 at 12:08:02PM -0300, Marcos Douglas wrote: > Whenever I used the Lazarus on Windows, has been through the binary > compiled. Simply download and install. > Now I'm want to install Lazarus on Windows but not > using the binaries already compiled. The reason is that I want to > u

Re: [Lazarus] fpweb for delphi?

2010-05-29 Thread Marco van de Voort
On Fri, May 28, 2010 at 11:48:45AM -0400, waldo kitty wrote: > On 5/28/2010 05:03, Bee Jay wrote: > > On 27 Mei 2010, at 18:56, Michael Van Canneyt wrote: > > > >> I don't think we will do this. It will require too many changes. > > > > Yes, I've seen the code. fpWeb has a very tight dependency to

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-29 Thread Marco van de Voort
On Sat, May 29, 2010 at 12:43:48AM +0400, dmitry boyarintsev wrote: > On Fri, May 28, 2010 at 11:06 PM, Adem wrote: > > Would I have your blessing if I proposed a bounty to unentwine them so that > > each one of those major modules becomes objects in tehir own right > > --commnicating with one ano

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-29 Thread Marco van de Voort
On Sat, May 29, 2010 at 06:41:12AM +0200, Hans-Peter Diettrich wrote: > Florian Klaempfl schrieb: > > > BTW: We had this discussion ten years ago already when fpdoc was made > > and it was decided to write a separate parser after failed attempts to > > use fpc's frontend. > > Just a question: AFA

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-29 Thread Marco van de Voort
On Sat, May 29, 2010 at 12:30:44PM +0200, Graeme Geldenhuys wrote: > On 29 May 2010 06:41, Hans-Peter Diettrich wrote: > > for documentation or other purposes. But when this is no more true, the > > discussion could be resurrected? > > So what are the main reasons nobody wants to use the fcl-passr

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-29 Thread Marco van de Voort
On Fri, May 28, 2010 at 10:06:37PM +0300, Adem wrote: > On 2010-05-28 21:50, Florian Klaempfl wrote: > > > > It might be possible but the fpc scanner/parser are rather interwinded > > with other parts of the compiler, just to name an example: pmodules.pas > > parses units and programs but controls

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-29 Thread Marco van de Voort
On Sat, May 29, 2010 at 07:05:31PM +0300, Adem wrote: > > That doesn't mean the various parsers could be better synchronized, and I > > think something can be done there. But I think it would yield more to > > integrating fcl-passrc into the testsuite, and thus document the boundery > > conditions

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread Marco van de Voort
On Sun, May 30, 2010 at 02:30:19AM +0200, Dimitri Smits wrote: > >> Yes, I've seen the code. fpWeb has a very tight dependency to other fcl > >> packages. Poor Delphi people. ;) > > > > serve's'em right... what's that old saying? ya get what ya pay for? i think > > getting a whole lot more for fr

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-30 Thread Marco van de Voort
On Sat, May 29, 2010 at 06:05:26PM +0200, Michael Van Canneyt wrote: > > think something can be done there. But I think it would yield more to > > integrating fcl-passrc into the testsuite, and thus document the boundery > > conditions of implemented constructs. > > Well, given the recent breakag

Re: [Lazarus] too many TXMLConfigs! (att: fcl-xml package maintainers)

2010-05-30 Thread Marco van de Voort
On Sat, May 29, 2010 at 10:35:24PM +0200, Hans-Peter Diettrich wrote: > dmitry boyarintsev schrieb: > > > I must agree that marking the unit as "deprecated" should be enough. > > It won't break the existing code using the old file, but would also > > notify maintainers that they should update. >

Re: [Lazarus] fpweb for delphi?

2010-05-31 Thread Marco van de Voort
On Sun, May 30, 2010 at 09:09:31AM -0700, Myles Wakeham wrote: > Marco wrote: > > >That leaves PHP. Which is good for small stuff, but I wouldn't like having > it write to mission critical databases. PHP is only used for small potatoe > and frontends. (leaving a service to do the real work). > >

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting "case"]

2010-05-31 Thread Marco van de Voort
On Mon, May 31, 2010 at 11:50:45AM +0200, Michael Schnell wrote: > On 05/28/2010 06:18 PM, waldo kitty wrote: > > i don't see begin/end as inside or outside... they _are_ the boundary > > or frame of the block ;) > > To represent this as an indentation you would need to go_ > > if x then > begi

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Marco van de Voort
On Mon, May 31, 2010 at 03:21:34PM +0300, Adem wrote: > > simply skips ELSE code. > > A code formatter should not ignore that parts. > > How do you want to format an include file for another target? > > How to handle macros? > At this moment, all I can utter will be theoretical stuff. Like, > prod

Re: [Lazarus] easy cross-platform compiling??

2010-06-01 Thread Marco van de Voort
On Tue, Jun 01, 2010 at 08:57:13AM +0200, Graeme Geldenhuys wrote: > On 1 June 2010 02:56, waldo kitty wrote: > > hopefully one day > > it will be as simple as installing the base product and then simply ticking > > all of the other platforms you want to compile for and at the end, you end > > up w

Re: [Lazarus] Lazarus + FreeBSD

2010-06-03 Thread Marco van de Voort
On Fri, Jun 04, 2010 at 12:32:23AM -0400, waldo kitty wrote: > On 6/3/2010 14:33, Marc Santhoff wrote: > > For practical reason it has always been the better way to install fpc > > and lazarus per user, not globally in the systems /usr/local tree. It is > > easier to swap compilers or mess with the

Re: [Lazarus] Lazarus + FreeBSD

2010-06-04 Thread Marco van de Voort
On Fri, Jun 04, 2010 at 10:40:30AM -0400, waldo kitty wrote: > >> scripts so that FPC and/or Lazarus were installed in this manner? it would > >> definitely fix a lot of headaches when it comes to installing the prepared > >> release packages... > > > > I always do install them to some prefix (e.g.

Re: [Lazarus] logic bug in many (or most) TSynEdit

2010-06-04 Thread Marco van de Voort
On Fri, Jun 04, 2010 at 04:21:03PM +0100, Martin wrote: > > Pascal-Highlighter, can resolve to the trick of treading text of > > ascii. All pascal relevant keywords are limited to latin chars => > > and they are the same in Ascii/Ansi or utf8. > > > > > > On Delphi.NET they also allow m

Re: [Lazarus] logic bug in many (or most) TSynEdit

2010-06-05 Thread Marco van de Voort
On Sat, Jun 05, 2010 at 11:29:10AM +0300, ik wrote: > > Not really. UTF-8 is implemented in such a way that it is indeed > > possible to treat it as Extended ASCII in this case. > > > > How is so ? here is a multi-byte char: ?? . It takes more then a word to be > used, so you can not do S[i] becau

Re: [Lazarus] Lazarus + FreeBSD

2010-06-06 Thread Marco van de Voort
On Sat, Jun 05, 2010 at 10:40:08AM +0200, Michael Van Canneyt wrote: > > None of the OS packaging mechanisms (rpm, .deb) allow you to do a user install > (well, not without very complicated tricks) FreeBSD does, but maybe that is not really an user install. In fact one creates a second package ad

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-08 Thread Marco van de Voort
On Mon, Jun 07, 2010 at 01:02:48PM -0400, waldo kitty wrote: > > Always try "clean": > > > > make clean all OPT="-glw2" > > i've been noticing that it seems that locating that Contnrs unit is a real > buggar... the bad ppu was that one and now that the ppus are gone, this one > unit's sources ar

Re: [Lazarus] Vortex unit for Turbo Pascal -- looking for volunteers to convert this excellent unit and others to Free Pascal and Lazarus.

2010-06-08 Thread Marco van de Voort
On Mon, Jun 07, 2010 at 08:31:02PM +1000, Peter E Williams wrote: > > This unit contains various routines that I use regularly in the software > I write. > > This includes routines to UpperCase, LowerCase, and Capitalise strings; > reading / writing disk sectors; searching a drive for a particula

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-compil

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

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 fpd

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 onl

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 ve

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 an

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

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 Lazarus@li

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 no

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 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 human in IDE screws

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

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 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

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. Bot

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-20 Thread Marco van de Voort
On Sun, Jun 20, 2010 at 02:26:20PM +0300, Adem wrote: > Speaking of pedanticism: > > Cheetah live only in a small portion of the world [see > http://upload.wikimedia.org/wikipedia/commons/6/63/Cheetah_range.gif ]. > > FPC/Lazarus, OTOH, isn't so restricted. > > Shouldn't the mascot be a member

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

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

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 mai

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 und

Re: [Lazarus] Parser

2010-06-30 Thread Marco van de Voort
On Wed, Jun 30, 2010 at 10:53:39PM +0200, Michael Van Canneyt wrote: > > ... because it increases the maintainance work on fpc. Even with one > > front end only we are almost unable to keep the issue count under > > control. I'am pretty sure that more front ends will be rejected without > > more pe

Re: [Lazarus] Parser

2010-06-30 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, a

Re: [Lazarus] Parser

2010-06-30 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 admitt

Re: [Lazarus] Parser

2010-07-01 Thread Marco van de Voort
On Thu, Jul 01, 2010 at 09:26:35AM +0200, Florian Klaempfl wrote: > > FP-Pascal and GNU-C++. I don't know it it's possible at all to share > > classes between Pascal and C++, even if FP would be enhanced to compile > > C++ code. > > Only as a cppclass because the Object Pascal class modell is very

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

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 (

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

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 ot

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

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).

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 > > onl

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 > man

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.

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 wor

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

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 Lazarus@lists.lazarus.fr

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 p

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%

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 mi

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

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 http://lists.lazarus.freepascal.org/mailman/list

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 03:55:19PM -0300, Marcos Douglas wrote: > >> So, is it mandatory to install one version of FPC (to get ppc386.exe) > >> BEFORE get sources from SVN?! > > It's quite hard to compile pascal code without a pascal compiler. > > Would be easy if we could download a ppc386 in som

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] 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 > ftp://ftp.freepascal.org/pub/fpc/dist/2

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/

[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 cont

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

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

[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 t

[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 clas

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. -- _

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 > >

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 kn

[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 >

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. Wh

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 wr

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

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"' > form

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 > discourage

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 a

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 wrote: > > Well, one pain less. Delphi deprecated suspending/resuming of threads. > > That makes for interesting news. What about suspending / resuming > Ma

Re: [Lazarus] rewriting of LConvEncoding

2010-09-21 Thread Marco van de Voort
On Mon, Sep 20, 2010 at 10:16:39PM +0200, Mattias Gaertner wrote: > > > > So I took a deeper view at this unit. It is far not complete concerning > > existing codepages and support for Unicode. > > It's goal is to convert the most common codepages and do the > rest with the existing OS libraries

Re: [Lazarus] rewriting of LConvEncoding

2010-09-21 Thread Marco van de Voort
On Mon, Sep 20, 2010 at 11:16:39PM +0200, merlin...@globe.lu wrote: > > Note that FPC does contain a some conversion code in the RTL, > > see the ucmaps directory and the charset unit. > > The files in ucmaps are the files from ftp.unicode.org that I mentionned. > > My opinion is that static tabl

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 shoul

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. >W

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 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 Windows gotchas

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.

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 exe

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 Lazarus@lists.lazarus.freepasca

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.or

[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 Ch

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

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

<    1   2   3   4   5   6   7   8   9   10   >