Re: [Lazarus] FPC 2.6.2 + Thread.Queue?

2013-04-24 Thread Marco van de Voort
On Wed, Apr 24, 2013 at 01:03:38PM +0200, Michael Van Canneyt wrote: Of course it can. You make the task far too complex. Start by NOT looking at the LCL code. You need simply to start with TCustomEventLoopApplication = Class(TCustomApplication) // Whatever end; Which abstracts

Re: [Lazarus] UPDATED: Re: documentation snapshot

2013-04-22 Thread Marco van de Voort
On Sun, Apr 21, 2013 at 11:11:18PM +0100, Graeme Geldenhuys wrote: This specially affects shortdescriptions, since they need the module to resolve, and is often called with .getmodule as argument. I know the HTML backend has very different code to the Linear output writers (Latex, IPF, RTF

Re: [Lazarus] UPDATED: Re: documentation snapshot

2013-04-22 Thread Marco van de Voort
On Mon, Apr 22, 2013 at 10:17:50AM +0200, Michael Van Canneyt wrote: I also don't understand why I constantly find such coarse errors everytime I dive into fpdoc. As said, I don't understand how Michael managed to generate the 2.6.2 output (which generally looks fine) I just do make

Re: [Lazarus] UPDATED: Re: documentation snapshot

2013-04-22 Thread Marco van de Voort
On Mon, Apr 22, 2013 at 11:31:53AM +0100, Graeme Geldenhuys wrote: Curious, when last did you look at DocView and say rtl.inf? I just uploaded new binaries of both onto SourceForge. It has been a while, which is why I added last time I checked, probably in the 2.6.0 run up. I don't follow

Re: [Lazarus] UPDATED: Re: documentation snapshot

2013-04-22 Thread Marco van de Voort
On Mon, Apr 22, 2013 at 11:42:08AM +0200, Michael Van Canneyt wrote: I just do make alldist ? I never do tweaking ? But with what fpdoc ? Did you generate 2.6.2 docs with trunk fpdoc ? Yes, I always do. I'm pretty much flabbergasted. Here it didn't even run through without exception (in

Re: [Lazarus] GetAllFilesMask / AllFilesMask

2013-04-22 Thread Marco van de Voort
On Mon, Apr 22, 2013 at 08:37:36PM +0300, Juha Manninen wrote: On 4/22/13, Mattias Gaertner nc-gaert...@netcologne.de wrote: See here: http://lazarus-ccr.sourceforge.net/docs/rtl/system/allfilesmask.html It says: ... On windows and dos based systems, this will be '*.*', while for unix

Re: [Lazarus] documentation snapshot

2013-04-21 Thread Marco van de Voort
On Sun, Apr 21, 2013 at 09:23:30AM +, Mark Morgan Lloyd wrote: Unless your internet goes down... like what happened to me on Thursday. And I live in a first world country (finally) - but not even such countries are immune to internet outages. First world? I thought you were in

Re: [Lazarus] documentation snapshot

2013-04-21 Thread Marco van de Voort
On Sun, Apr 21, 2013 at 07:41:08AM +0200, Reinier Olislagers wrote: So please, please, no something proprietary. Note: fpdoc can also generate plain html files from the fpdoc sources if told to do so, so you can generate not only CHM,PDF,INF but also HTML and I believe TeX. Of course, that

Re: [Lazarus] UPDATED: Re: documentation snapshot

2013-04-21 Thread Marco van de Voort
On Sun, Apr 21, 2013 at 09:28:41AM +0100, Graeme Geldenhuys wrote: On 2013-04-20 23:47, Marco van de Voort wrote: P.s. I used script build_lcl_chm.sh, not buildchm.sh So what did you change? fpdoc and the *.lpr in Lazarus repository (docs/html/ directory)? As noted in a message a few

Re: [Lazarus] documentation snapshot

2013-04-21 Thread Marco van de Voort
On Sun, Apr 21, 2013 at 01:43:21PM +0200, Reinier Olislagers wrote: Anyway, can we _please_ all agree that we need both online and offline docs. I think the proponents of online docs better work on improving the online experience, rather than declare it perfect ex ante. Only if we also

Re: [Lazarus] documentation snapshot

2013-04-21 Thread Marco van de Voort
On Sun, Apr 21, 2013 at 02:04:12PM +0200, Reinier Olislagers wrote: IMHO the IDE docs should be taken offline (or readonly), and quickly reformed to some master format, and managed in SVN, versioned, like the rest of the docs. Good idea; as long as they can be as easily edited as on the

Re: [Lazarus] documentation snapshot (BUILD ERRORS)

2013-04-21 Thread Marco van de Voort
I've concatenated all warnings and errors in a log: http://www.stack.nl/~marcov/docbuilderrors.txt Some remarks: - Some of it might be due 2.6.x - trunk issues though. (bytesof?) - There seems to be a problem with enumtypes. Many errors are enum values - Importing operators seems to go wrong,

Re: [Lazarus] UPDATED: Re: documentation snapshot

2013-04-21 Thread Marco van de Voort
On Sun, Apr 21, 2013 at 01:45:19PM +0200, Marco van de Voort wrote: In my case the problems were twofold: - In fcl-pastree, classes have been separated into baseclasses and descendents. However the backend code still checks like aclass.classtype= TSomeClass, but TSomeClass now also has

Re: [Lazarus] Building LCL docs

2013-04-20 Thread Marco van de Voort
On Sat, Apr 20, 2013 at 01:16:34AM +0200, Mattias Gaertner wrote: I'm still debugging, but I get the feeling this is because someone passes some fpmake as an unit (to document) while it is a pascal main program. Of course fpdoc could check better, but probably all it can do is throw an

Re: [Lazarus] Lazarus helpfiles

2013-04-20 Thread Marco van de Voort
On Wed, Jul 11, 2012 at 09:53:59AM +0100, Lukasz Sokol wrote: ( very old message, ran into it by accident while searching for something else) If the point of CHM is that they use less disk space than unpacked HTML, (yeah, I see the point : lcl.chm 11.577MB, fcl.chm 1.968MB, vs unpacked HTML

[Lazarus] documentation snapshot

2013-04-20 Thread Marco van de Voort
I've made some progress with getting fpdoc up to speed, and here is an initial snapshot: http://www.stack.nl/~marcov/doc-chm_with_lcl.zip Known issues: - The class trees are not complete/corrupted where they span packages borders (so often ends with an unclickable TComponent with (?) next to

Re: [Lazarus] documentation snapshot

2013-04-20 Thread Marco van de Voort
On Sat, Apr 20, 2013 at 01:22:38PM -0400, Anthony Walter wrote: Were you going to tackle the dotted unit name Certainly not. and Delphi style generic declaration problems in the bug tracker? That is more interesting, and closer to my heart, but a bit beyond me atm, I'm afraid. I'm just doing

Re: [Lazarus] documentation snapshot

2013-04-20 Thread Marco van de Voort
On Sat, Apr 20, 2013 at 02:58:27PM -0400, Anthony Walter wrote: The benefit of online docs ... Anyone can access them without installing a thing (assuming people have a web browser, which everyone does). This allows people to peruse/browse before they try, which is what most people do, read

Re: [Lazarus] documentation snapshot

2013-04-20 Thread Marco van de Voort
On Sat, Apr 20, 2013 at 09:39:49PM +0200, Sven Barth wrote: On 20.04.2013 21:21, Lubos Pintes wrote: ... And something that is totally inaccessible. So please, please, no something proprietary. Use widely used formats like HTML, or PDF if you absolutely must. Considering that IBM is not

[Lazarus] UPDATED: Re: documentation snapshot

2013-04-20 Thread Marco van de Voort
On Sat, Apr 20, 2013 at 05:27:29PM +0200, Marco van de Voort wrote: I've made some progress with getting fpdoc up to speed, and here is an initial snapshot: http://www.stack.nl/~marcov/doc-chm_with_lcl.zip The snapshot above was updated. Most interpackage hyperlinks work again

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-19 Thread Marco van de Voort
On Wed, Apr 17, 2013 at 08:56:12PM -0400, Anthony Walter wrote: Pascal would have to make an inventory of all files in the searchpath, not just in a certain (classpath or GAC) location. There are only 2 differences between what we currently have with dotted unit names acting as

Re: [Lazarus] Building LCL docs

2013-04-19 Thread Marco van de Voort
On Fri, Apr 12, 2013 at 04:45:15PM +0200, Mattias Gaertner wrote: I've tried using fpdoc from FPC 2.6.2, 2.6.3 and 2.7.1. I each case fpdoc crashes. I've tried generating HTML, CHM and IPF documentation - no luck with any of them. I'm using Lazarus (trunk) from r40661 (28 March 2013).

Re: [Lazarus] Fedora 18: problems with package conflicts

2013-04-17 Thread Marco van de Voort
On Wed, Apr 17, 2013 at 05:58:57PM +0200, zeljko wrote: On 04/17/2013 05:53 PM, Bart wrote: /lib/libEGL.so.1: undefined reference to `wl_display_dispatch_queue_pending' Why do we use libwayland-egl and not libEGL in the first place? Maybe some 3rd party package which is installed into

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-17 Thread Marco van de Voort
On Tue, Apr 16, 2013 at 09:39:46AM -0400, Anthony Walter wrote: Regarding you question about code insight, here are two arbitrary nice features of how code insight can be used with dotted namespaces I captured from Visual Studio (other IDEs and other languages do similar things): When adding

Re: [Lazarus] IUnknown and reference counting

2013-04-16 Thread Marco van de Voort
On Thu, Mar 21, 2013 at 11:36:14AM +0100, Hans-Peter Diettrich wrote: As already mentioned, Delphi interfaces are the workaround for the missing multiple inheritance in OPL, as known from many languages (Java...). Everything else IMO is language/implementation specific. I think they are

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-16 Thread Marco van de Voort
On Sat, Apr 13, 2013 at 07:05:51PM -0400, Anthony Walter wrote: Because in theory you should get code insight when you type Identified(dot). Which theory? As far as theory goes, I'd say that Code insight usually looks through the scope stack for matches. The scope stack is created by the

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Marco van de Voort
On Mon, Apr 15, 2013 at 12:07:19PM +0100, Graeme Geldenhuys wrote: Someone recently explained Delphi's namespace usage to me, and gave me a valid example of this. tiOPF has unit names with the same name, but used by different GUI toolkits. eg: tiMediators.pas is used by VCL, LCL and fpGUI.

Re: [Lazarus] Fixes 2.6.2 cod breaks 2.6.0 code?

2013-03-29 Thread Marco van de Voort
On Thu, Mar 14, 2013 at 09:49:55AM +0100, Mattias Gaertner wrote: [...] What fixes branch are you talking about? FPC 2.6 fixes or Lazarus 1.0 fixes? In the next release we should mention that it uses a newer compiler, which includes many bug fixes, but contains a few

Re: [Lazarus] gtk 3 header

2013-03-28 Thread Marco van de Voort
On Wed, Mar 27, 2013 at 06:54:42PM -0400, Andrew Haines wrote: Thats because the files were generated with the introspection files from those two versions. It's pretty easy to generate any version needed for the bindings using the gir2pas program in the Lazarus CCR Thanks, that is the bit of

Re: [Lazarus] TTreeView question

2013-03-28 Thread Marco van de Voort
On Thu, Mar 28, 2013 at 03:21:41PM +0100, Mattias Gaertner wrote: Its logic is platform independent. It uses the LCL theme drawing functions and colors. Some native widgets have some nice features, but have often problems with more than a few thousands items. Do they still in windows

[Lazarus] gtk 3 header

2013-03-27 Thread Marco van de Voort
Was browsing the GTK site a bit, and saw that for recent GTK3 versions there seem to be Pascal headers? http://www.gtk.org/language-bindings.php -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] gtk 3 header

2013-03-27 Thread Marco van de Voort
On Wed, Mar 27, 2013 at 09:53:05AM +, Mark Morgan Lloyd wrote: Was browsing the GTK site a bit, and saw that for recent GTK3 versions there seem to be Pascal headers? http://www.gtk.org/language-bindings.php With the link pointing at

Re: [Lazarus] IUnknown and reference counting

2013-03-25 Thread Marco van de Voort
On Thu, Mar 21, 2013 at 08:26:21AM +, Graeme Geldenhuys wrote: Correct. And as Martin said, the name CORBA is a bit misleading. FPC has no CORBA or ORB implementation, so no distributed communications can be done out of the box. (Well, there is DCOM of course) The interfaces in that

Re: [Lazarus] XML Support in Lazarus

2013-03-11 Thread Marco van de Voort
On Mon, Mar 11, 2013 at 03:35:36PM +0800, Xiangrong Fang wrote: I am reading this: http://wiki.freepascal.org/XML_Tutorial It seems quite old (2005?)I wonder if the status quo is still same, especially that the FCL units still does not support UTF8 encoding? They are UTF16, but can (and

Re: [Lazarus] Ide add-ons licensing issue

2013-02-23 Thread Marco van de Voort
On Sat, Feb 23, 2013 at 05:45:20PM +0100, Sven Barth wrote: The problem of the original poster are IDE design time packages, not extra programs. Thus it's about linking and there I agree with Martin (though I'm no lawyer either...). Me too. GPL is a linking distribution license. Products

Re: [Lazarus] ZeosDBO

2013-02-20 Thread Marco van de Voort
On Tue, Feb 19, 2013 at 09:53:20PM +, Graeme Geldenhuys wrote: until my project actually compiled. I'm using Zeos checked out from the SubVersion repository on SourceForge, and my copy is at r1848. No idea what version it is at. You do know the branch you checked out? :-) --

Re: [Lazarus] Unpack of PHP

2013-02-06 Thread Marco van de Voort
On Mon, Feb 04, 2013 at 03:29:54PM -0200, silvioprog wrote: Oops... And this is the full code: program project1; {$mode objfpc}{$H+} uses Classes, SysUtils; function ReadInt(AStream: TStream): Word; begin Result := 0; AStream.Read(Result, SizeOf(Word));

Re: [Lazarus] Compiling IDE issues using FreeBSD 9.1 FPC 2.6.0

2013-02-05 Thread Marco van de Voort
On Sun, Feb 03, 2013 at 11:40:16PM +0100, Mattias Gaertner wrote: Maybe the gmake clean does not work under FreeBSD? Are there any custom rules regarding this file, or SED use? Makefile operation under FreeBSD is older than fpcmake generated makefiles. [clean] # clear all

Re: [Lazarus] Compiling IDE issues using FreeBSD 9.1 FPC 2.6.0

2013-02-03 Thread Marco van de Voort
On Fri, Feb 01, 2013 at 02:39:00AM +0100, Mattias Gaertner wrote: 'bigide' option, or one of the packages that 'bigide' pulls in has a compile problem under FreeBSD. Please create a bug report with the complete output of the make clean bigide output. And the dates of both fileutil.ppu's.

Re: [Lazarus] Compiling IDE issues using FreeBSD 9.1 FPC 2.6.0

2013-02-03 Thread Marco van de Voort
On Sun, Feb 03, 2013 at 11:22:10PM +0100, Mattias Gaertner wrote: $ find . -name fileutil.* -print ./components/lazutils/fileutil.inc ./components/lazutils/lib/x86_64-freebsd/fileutil.ppu ./components/lazutils/lib/x86_64-freebsd/fileutil.o This is ok.

Re: [Lazarus] Typo in TFPCustomFont?

2013-01-16 Thread Marco van de Voort
On Mon, Jan 14, 2013 at 12:00:43PM +0100, Michael Van Canneyt wrote: correct? StrikeThrough or StrikeTrough? It is a typo. And if it is really a typo, can I fix it even breaking compatibility? Fix it. ... and merge it back to 2.6.2 ? :-) IMHO: yes. --

Re: [Lazarus] Typo in TFPCustomFont?

2013-01-16 Thread Marco van de Voort
On Wed, Jan 16, 2013 at 02:35:07PM +, Martin wrote: ... and merge it back to 2.6.2 ? :-) IMHO: yes. Maybe make the old one deprecated in fixes, while adding the new. Done to fixes. (which will be branched for 2.6.2) -- ___ Lazarus mailing

Re: [Lazarus] Converting pence into pounds and then to string

2012-12-12 Thread Marco van de Voort
On Wed, Dec 12, 2012 at 11:23:46AM +, Richard Mace wrote: Got a simple question that has stumped me, which tends to happen if I don't do development for a couple of months. How's the best way of converting an integer number 208 (that is pence) into a string value that is in pounds (2.08)

[Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Marco van de Voort
tachartaxis.pas(337,46) Error: identifier idents no member GetAlignment Lazarus trunk, fpc trunk. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Marco van de Voort
On Sun, Oct 07, 2012 at 12:43:34PM +0200, zeljko wrote: tachartaxis.pas(337,46) Error: identifier idents no member GetAlignment Lazarus trunk, fpc trunk. I've successfully compiled laz trunk (r38980) with fpc-2.6.1. (including tachart?) I've looked deeper into it, and it seems

Re: [Lazarus] fpc version 2.6.1 source code

2012-10-07 Thread Marco van de Voort
On Thu, Oct 04, 2012 at 03:10:23PM +0200, Bernd wrote: The debs in the official Debian repository are built by someone else (someone from Debian) using a different method and I believe thats also the reason why the Debian debs are needlessly split into a myriad of separate packages while the

Re: [Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Marco van de Voort
On Mon, Oct 08, 2012 at 12:11:38AM +1100, Alexander Klenin wrote: I've looked deeper into it, and it seems Alexander is fond of strict protected and private, but calls getalignment in a not inherited fashion. (on another class) Fixed in r38981 Thanks. --

Re: [Lazarus] OT: Cute little toy program

2012-09-16 Thread Marco van de Voort
On Sat, Sep 15, 2012 at 08:13:58PM +0100, Graeme Geldenhuys wrote: We should add that program to the the collection of odd apps. I have written one (code is still somewhere on my system) that calculates the Stardate (as defined in the Star Trek series). For the life of me, I don't know why

Re: [Lazarus] Process ID

2012-09-15 Thread Marco van de Voort
On Fri, Sep 14, 2012 at 08:06:38PM +, Mark Morgan Lloyd wrote: In Linux, everything is (accessible as if it were) a file (or a directory). This is a _good_thing_. Yeah. Everybody doing his own parsing of system textfiles is *such* a good principle to build durable applications on

Re: [Lazarus] Process ID

2012-09-14 Thread Marco van de Voort
On Fri, Sep 14, 2012 at 11:55:52AM +0200, Michael Schnell wrote: Yet another approach of ransacking the whole disk. /proc is not on a disk. It's a virtual file system that generates it's content only on request. In Linux, everything is (accessible as if it were) a file (or a

Re: [Lazarus] Process ID

2012-09-13 Thread Marco van de Voort
On Thu, Sep 13, 2012 at 09:08:19AM +, Mark Morgan Lloyd wrote: So be fair, I don't think I have ever come across a Linux distro that doesn't include the ps binary as standard. And I have used Linux since 1996. Even *BSD and *Solaris include the ps binary as standard too. Yes, but

Re: [Lazarus] Process ID

2012-09-13 Thread Marco van de Voort
On Thu, Sep 13, 2012 at 03:33:25PM +, Mark Morgan Lloyd wrote: Yet another approach of ransacking the whole disk. This time just to get a process ID. Is that state of the art software developement? There is no other way doing it on Linux? [Sigh] /proc is a special filesystem which

Re: [Lazarus] Parsing command line options

2012-09-11 Thread Marco van de Voort
On Mon, Sep 10, 2012 at 05:39:20PM +0200, michael.vancann...@wisa.be wrote: The main problem is the Windows API, which has only 1 string in which to pass all command-line options. IMHO this is not a Windows problem. There are two problems as I see them, one being that APIs only accept one

Re: [Lazarus] Parsing command line options

2012-09-11 Thread Marco van de Voort
On Mon, Sep 10, 2012 at 05:19:35PM +0200, J.A. de Vries wrote: on *nix). The 3rd step is to add each parameter using TProcess.Parameters.Add. It is kind of a middle ground though I definitely support your suggestion if doable. Parsing a command line is a can of worms! Might I make a

Re: [Lazarus] Passing a section of an array to a function.

2012-09-11 Thread Marco van de Voort
On Mon, Sep 10, 2012 at 02:29:14PM +0200, Sven Barth wrote: The delphi compatible way is slice, but ti was only documented after the last release: http://bugs.freepascal.org/view.php?id=22681 I did know about Slice, but not about the possiblity to use ranges directly (and now I know

Re: [Lazarus] Parsing command line options

2012-09-10 Thread Marco van de Voort
On Sat, Sep 08, 2012 at 10:34:37PM +0300, patspiper wrote: Depends. Split arguments for TProcess use (like in the above bugreport): afaik none. Simply keep all arguments separate and pass them to the parameters propery. Keeping arguments separate may not be possible: Not *easily*

Re: [Lazarus] Passing a section of an array to a function.

2012-09-10 Thread Marco van de Voort
On Mon, Sep 10, 2012 at 10:47:33AM +0200, Sven Barth wrote: func(buf[32 .. Last index of the array]); reference: http://www.freepascal.org/docs-html/ref/refsu59.html And it's still true: even I as a compiler developer can learn something new as I didn't know yet that this was possible.

Re: [Lazarus] Parsing command line options

2012-09-08 Thread Marco van de Voort
On Sat, Sep 08, 2012 at 06:38:40PM +0300, patspiper wrote: This is related to http://bugs.freepascal.org/view.php?id=22751 - What FPC/Lazarus functions are available to parse a command line (where parameters begin with a dash)? Depends. Split arguments for TProcess use (like in the above

Re: [Lazarus] lazarus archive [increasingly OT]

2012-09-07 Thread Marco van de Voort
On Thu, Sep 06, 2012 at 02:47:40PM +0100, Martin wrote: ??? ?

Re: [Lazarus] Delphi post-XE3 roadmap

2012-08-28 Thread Marco van de Voort
On Mon, Aug 27, 2012 at 03:15:43PM +0200, Michael Schnell wrote: On 08/24/2012 10:36 PM, Marco van de Voort wrote: I read that as that there will be ref counted objects, not that all objects will be ref counted per se. -- Ok, but if there are reef-counted objects what is the point

Re: [Lazarus] Delphi post-XE3 roadmap

2012-08-28 Thread Marco van de Voort
On Tue, Aug 28, 2012 at 12:08:05PM +0200, Felipe Monteiro de Carvalho wrote: Does anyone know if: 1 It will be possible to choose if a class or object is to be ref-counted? How? 2 If all existing objects will suddenly be ref-counted? No. The above is all I have seen. I think it is

Re: [Lazarus] Delphi post-XE3 roadmap

2012-08-28 Thread Marco van de Voort
On Sun, Aug 26, 2012 at 10:53:53PM +0200, Felipe Monteiro de Carvalho wrote: On Sun, Aug 26, 2012 at 9:23 PM, Marco van de Voort mar...@stack.nl wrote: Then you will also see that your Office counterexample is irrelevant, since app store rules don't apply to Office. (but they do to nearly

Re: [Lazarus] Delphi post-XE3 roadmap

2012-08-26 Thread Marco van de Voort
On Sat, Aug 25, 2012 at 02:38:23AM +0100, Graeme Geldenhuys wrote: On 24/08/12 21:38, Marco van de Voort wrote: And the TUFKAM(*) option is a skin, not native, and thus not marketstorable. I don't think the skinning is a big deal at all. Especially if you consider that Microsoft itself

Re: [Lazarus] IDE invocation of lhelp, probable endianness issue

2012-08-26 Thread Marco van de Voort
On Wed, Aug 22, 2012 at 02:35:47PM +0200, Sven Barth wrote: Running lhelp from a shell using gdb gives me Program received signal SIGBUS, Bus error. [Switching to Thread 16384 (LWP 25970)] 0x0038c844 in _$CHMREADER$_Ll594 () at src/chmreader.pas:1144 1144

Re: [Lazarus] Delphi post-XE3 roadmap

2012-08-24 Thread Marco van de Voort
On Wed, Aug 22, 2012 at 11:44:14AM +0200, Michael Schnell wrote: On 08/21/2012 01:01 PM, Howard Page-Clark wrote: http://blogs.embarcadero.com/jtembarcadero/2012/08/20/xe3-and-beyond/ Besides, technically, I read that Objects will become reference counting and thus .Free gets obsolete

Re: [Lazarus] Delphi post-XE3 roadmap

2012-08-24 Thread Marco van de Voort
On Wed, Aug 22, 2012 at 06:09:00PM +0100, Graeme Geldenhuys wrote: On 21 August 2012 12:01, Howard Page-Clark h...@talktalk.net wrote: If you have not seen it, users of Delphi XE2 may be interested to read And the big news is that the soon to be launched XE3 will not ship with FireMonkey or

Re: [Lazarus] Delphi post-XE3 roadmap

2012-08-24 Thread Marco van de Voort
On Thu, Aug 23, 2012 at 11:50:08AM +0200, Anders E. Andersen wrote: This they will be added at a later date is exactly the point. They release a product as the successor to XE2 and leave those people in the rain that already built upon the mobile components provided by XE2. Well I

Re: [Lazarus] Translating the Component Palette tabs

2012-08-05 Thread Marco van de Voort
On Sun, Aug 05, 2012 at 10:33:14AM +0200, Sven Barth wrote: It is not an oversight, it is more that a lot of such captions won't be translated anyway, e.g. SynEdit, LazControls, fpWeb, SQLdb. I think that it is better to keep palette not translated at all, than to have a (hard to read and

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-04 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 06:18:24PM +0200, Sven Barth wrote: The main difference though is that they concern different targets, and do not share a Tier 1 target like win9x Nevertheless we have (official) testers for those two targets. They take care for them and even add new features

Re: [Lazarus] System.Enum.GetNames

2012-08-04 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 05:01:27PM -0300, silvioprog wrote: How to I get a list of the names of a specified enumeration type? Eg: http://www.delphibasics.co.uk/Method.asp?NameSpace=SystemClass=EnumType=ClassMethod=GetNames I'm trying to create a function *similar* to implode function of

Re: [Lazarus] New doc CHM snapshot (RC1 testing)

2012-08-04 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 10:40:17PM +0100, Hans-Peter Diettrich wrote: The CHM files are all double spaced in LHelp. This applies to class declarations, unit lists etc. The online (HTML) versions are not double spaced. About a year ago I could fix that by using your CSS file. But I never

Re: [Lazarus] (no subject)

2012-08-04 Thread Marco van de Voort
On Sat, Aug 04, 2012 at 12:29:02PM +0100, Hans-Peter Diettrich wrote: Why is this relevant to a project which is predominantly European? If Sourceforge can't distribute it because of the laws under which they operate then we should look for an alternative. The restriction is an

Re: [Lazarus] Please remove Arabic language from the release version

2012-08-04 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 07:57:53PM -0300, silvioprog wrote: I am Pascal programmer for a 20 years, my wife also teacher, teaching students Delphi 7 in English language. Here in Brazil all programmers (yes, ALL) use Delphi in english. Here in the NL, english is fairly common, and nearly all

Re: [Lazarus] Adding Lazarus 1.0 RC 1 to version options in mantis

2012-08-04 Thread Marco van de Voort
On Sat, Aug 04, 2012 at 10:42:16AM -0300, William Oliveira Ferreira wrote: Could someone add Lazarus 1.0 RC1 in Lazarus Version list on Mantis? I reported a bug some minutes ago and i didn??t see the version on list... Sorry about any english mistakes... Done, I hope the laz devels don't

Re: [Lazarus] Please remove Arabic language from the release version

2012-08-04 Thread Marco van de Voort
On Sat, Aug 04, 2012 at 06:47:00PM +0200, J?rgen Hestermann wrote: If everybody in the world would start with an english version If you believe that I assume you learned Esperanto ? :-) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] (no subject)

2012-08-04 Thread Marco van de Voort
On Sat, Aug 04, 2012 at 09:24:54PM +0100, Hans-Peter Diettrich wrote: The restriction is an *international* agreement, not limited to SourceForge or the USA. What restriction? See the Wassenaar Arrangement wassenaar.org, Cat. 5.D.2 (encryption software), and the participating

[Lazarus] win32 api level testproject for mdi

2012-08-04 Thread Marco van de Voort
Hello, Cleaning my harddisk I found a MDI demo (on win32 api level) that I translated in December. I haven't gotten around trying to integrate in Lazarus yet (seeing that the main windowproc very big), but maybe sb wants to have a look: http://www.stack.nl/~marcov/mdidemo.zip Marco --

Re: [Lazarus] Lazarus and Free Pascal downloads plummeting on SourceForge

2012-08-03 Thread Marco van de Voort
On Thu, Aug 02, 2012 at 06:38:47PM -0500, Curt Carpenter wrote: Could it also have had something to do with the release of DelphiXE? XE2 you mean? No, the codebases of the iOS port snapshot are not distributed by us (via sf.net or otherwise). They just took a snapshot, manage that internally and

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 08:28:41AM +0200, Bart wrote: 2.4.2 didn't work on win9x afaik. Only a handful noticed, afaik all of You mean Win9x I guess. All fpc's up and til 2.6.0 still run fine on at least WinMe (don't know about Win98, can't test that). Ah ok. So I could have taken win95 as

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 09:43:55AM +0100, Graeme Geldenhuys wrote: Ehmm.. I'm trying to contain myself, but WHY does Lazarus 1 and 1+ even support Win9x/ME anymore? Because not everybody feels the need to fix what isn't broken. That is a very strange argument when asking for a NEW version

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 10:26:13AM +0100, Graeme Geldenhuys wrote: So with that I would guess you consider Win 3.1 unsupported for ages too. Yet Microsoft only announced that back in 2008. Now consider when Win 3.1 came out!

[Lazarus] New doc CHM snapshot (RC1 testing)

2012-08-03 Thread Marco van de Voort
Hello, as it happens, yesterday I was working on getting fpdoc from trunk to generate proper CHMs again when RC1 happened. It seems the major fpdoc restructures have been finished (78 patches since 2.6.0, mostly by Michael), and the docs now generate again. As soon as these changes can be

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 10:51:51AM +0100, Graeme Geldenhuys wrote: 2.2 a separate win9x branch supported by whomever wants to work on it I actually like Marco van de Voort's idea of creating two target platforms for Windows. That is the most sane comment on this subject so far. It will be

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 11:54:21AM +0200, Bart wrote: I sympathize with Graeme and his users. OTOH maintaining Win9x/WinMe support is gonna be a huge task, and who's gonna volunteer for that? The fact that we have this discussion during release time says enough. Breakage only noticed during

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 01:04:13PM +0200, Reinier Olislagers wrote: (win9x support might be something that will get harder when more unicode centric releases as fpc/trunk.7.1 come out, though the unicode changes are glacial at the moment) That does sound like a good plan for FPC trunk.

Re: [Lazarus] New doc CHM snapshot (RC1 testing)

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 12:33:50PM +0100, Graeme Geldenhuys wrote: The CHM files are all double spaced in LHelp. This applies to class declarations, unit lists etc. The online (HTML) versions are not double spaced. See attached screenshot. More lhelp problem, though the generated html doesn't

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: That is sale, not support. We are not removing old releases from FTP yet :-) But for someone to still want to buy Win3.1 in 2008, there must clearly be some obscure need for it - in this day and age. Weird, I know. :-) I happen to know that.

Re: [Lazarus] New doc CHM snapshot (RC1 testing)

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 03:26:14PM +0100, Graeme Geldenhuys wrote: Please test an report irregularities in this thread. On the first screen after opening the ref.chm file... Michael van Canneyt 's name is garbled. After all his hard work creating those FPC docs, I think we owe it to him to

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 04:35:46PM +0200, Sven Barth wrote: I'm not waiting or repacking on win9x issues popping up during release process anymore. If it is going to be a viable target, people must work and test with it also between releases and with trunk. Same goes for Dos and OS/2

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 04:23:30PM +0200, Sven Barth wrote: But for someone to still want to buy Win3.1 in 2008, there must clearly be some obscure need for it - in this day and age. Weird, I know. :-) In my university's system for Microsoft software I can still download DOS 6.22 and

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Marco van de Voort
On Fri, Aug 03, 2012 at 04:38:14PM +0200, Sven Barth wrote: win2000 could run decently with 192MB, but is already deprecated (and was always expensive). XP could run with 256MB, but barely, and the requirements due to updates have increased over time. 384MB might be doable, but I

Re: [Lazarus] Translations / Localizations for controls at design time

2012-08-02 Thread Marco van de Voort
On Wed, Aug 01, 2012 at 08:39:19AM +0200, Reinier Olislagers wrote: http://sourceforge.net/projects/dxgettext/ Some advantages: open source; Automatic extract of name of components from form; Manually include text to translate (addition to the above) using .po files Automatic add

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-02 Thread Marco van de Voort
On Thu, Aug 02, 2012 at 08:23:34PM +0200, Bart wrote: Current installer for 1.0RC1 indeed does not run on WinMe. Well, maybe I should have written: I tested the installer for 1.0RC1 on WinMe and it does not run on WinMe. As far as win9x, I've already decided that any win9x problems are no

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-02 Thread Marco van de Voort
On Thu, Aug 02, 2012 at 10:31:47PM +0200, Reinier Olislagers wrote: response/aside It would look like: a. an idiotic decision if there is a large number of Win9x users 2.4.2 didn't work on win9x afaik. Only a handful noticed, afaik all of which were SVN users that could patch/compile their

Re: [Lazarus] Lazarus and Free Pascal downloads plummeting on SourceForge

2012-08-02 Thread Marco van de Voort
On Mon, Jul 30, 2012 at 10:19:02PM +0200, Florian Kl?mpfl wrote: Free Pascal on SourceForge, but for some reason the download rates of both suddenly seem to be in free-fall! See the attached graphs. Actually I find more the increase and randomness in 2012/2012 strange. I see no reason

Re: [Lazarus] Building help files: the nitty-gritty

2012-07-27 Thread Marco van de Voort
On Mon, Jul 23, 2012 at 10:16:04AM +, Mark Morgan Lloyd wrote: Marco van de Voort wrote: Well, the pdf manuals are on average 100-150 pages, but sometimes 300 pages, 40-60% of which is custom per project. Then on top of that, blueprints and BOMs of all mechanical parts. Do you ever

Re: [Lazarus] Bug tracker file formats: 7z prohibited?

2012-07-22 Thread Marco van de Voort
On Sat, Jul 21, 2012 at 09:39:56PM +0300, Juha Manninen wrote: For me personally this is not an issue because I use Ark (comes with KDE) and it opens pretty much any compression format you can imagine. Also, 7z archiver can be installed to Windows. Sure, but I don't like maintaining a set of

Re: [Lazarus] Building help files: the nitty-gritty

2012-07-22 Thread Marco van de Voort
On Wed, Jul 18, 2012 at 07:26:29PM +0100, Graeme Geldenhuys wrote: (Only one helpfile per app?) No, you can concatenate multiple help files, specify a help directory (instead of a file), specify an environment variable etc... DocView is very flexible with this. I don't ship Lazarus

Re: [Lazarus] Building help files: the nitty-gritty

2012-07-17 Thread Marco van de Voort
On Tue, Jul 17, 2012 at 08:15:29AM +, Mark Morgan Lloyd wrote: I'm writing this from the position of an outsider, so am happy to be corrected by Marco, Andrew et al. However if I there are areas that I haven't been able to get my head round after several days scouring the Wiki and

Re: [Lazarus] Building help files: the nitty-gritty

2012-07-16 Thread Marco van de Voort
On Fri, Jul 13, 2012 at 02:38:53PM +0200, Mattias Gaertner wrote: lhelp will open them manually, but keyword help in the IDE (e.g. F1 on begin or {$i) doesn't. I get IDE popups like 'Help keyword FPCKeyword_begin not found. lazarus-trunk$ find . -iname '*chm'

<    1   2   3   4   5   6   7   8   9   >