Re: [Lazarus] software licence question - deceased author

2011-02-25 Thread Marco van de Voort
On Fri, Feb 25, 2011 at 09:54:08AM +0100, Felipe Monteiro de Carvalho wrote: > 2011/2/24 Fl?vio Etrusco : > > IIRC (at least) on US law only the copyright holder can file an > > infrigent lawsuit, > > In Brazil too Reading this I wonder how "heirs" are defined in this context. Do cousins count? S

Re: [Lazarus] software licence question - deceased author

2011-02-25 Thread Marco van de Voort
On Fri, Feb 25, 2011 at 01:45:47PM +0100, Jos? Mejuto wrote: > MvdV> On Fri, Feb 25, 2011 at 09:54:08AM +0100, Felipe Monteiro de Carvalho > wrote: > >> 2011/2/24 Fl?vio Etrusco : > >> > IIRC (at least) on US law only the copyright holder can file an > >> > infrigent lawsuit, > >> In Brazil too >

Re: [Lazarus] Error compiling Lazarus: makefile:29: *** You need the GNU utils package to use this Makefile. Stop.

2011-02-25 Thread Marco van de Voort
In our previous episode, Peter Williams said: > > Lazarus 0.9.31 > I have done a SVN Update on my c:\freepascal\laz folder and Lazarus is still > dated 2011-02-13 So far so good. > I have downloaded GNU Make for Windows and GNU Utils There should be no reason to do that. If you do that, you ar

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-26 Thread Marco van de Voort
On Sat, Feb 26, 2011 at 12:46:07PM +0100, Luca Olivetti wrote: > >> BTW: in which unit are clock_gettime and related constants defined? The answer should be : in no portable unit. Unit libc doesn't count since it is only for certain legacy reasons, and Lazarus should NOT use it. -- _

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-26 Thread Marco van de Voort
On Sat, Feb 26, 2011 at 07:19:52PM +0100, Luca Olivetti wrote: > > > > Unit libc doesn't count since it is only for certain legacy reasons, and > > Lazarus should NOT use it. > > I know that, I know the reasons, and I agree. > But those are posix functions, so they could be defined somewhere else

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-27 Thread Marco van de Voort
On Sun, Feb 27, 2011 at 06:51:21PM +0200, Graeme Geldenhuys wrote: > The current linux version of GetTickCount is > very rudimentary. Possibly. But IMHO it is a windows knock-off function, and is defined as it is defined to keep code more or less running. If it drags in heaps of requirements, its

Re: [Lazarus] Portable way to get accurate timestamps?

2011-02-27 Thread Marco van de Voort
On Sun, Feb 27, 2011 at 06:06:13PM +0100, Sven Barth wrote: > > I don't know whether you stuff the GetTickCount API call under > "Multimedia API", but the GetTickCount implementation for Windows uses > just that. > > See this snippet from lcl/lclintf.pas: Ah. it is in lazarus. (I had in mind i

Re: [Lazarus] Does Lazarus support a complete Unicode Component Library?

2011-03-02 Thread Marco van de Voort
On Wed, Feb 16, 2011 at 09:15:44AM +0200, Graeme Geldenhuys wrote: > > of such an target-specific string type? > > Please do share your thoughts... > > I must add, that I would be very surprised if Embarcadero doesn't use > native encoded string types for the "unicode string" support in the > upc

Re: [Lazarus] Next FPC official release

2011-03-04 Thread Marco van de Voort
On Mon, Feb 28, 2011 at 10:23:44AM -0300, Alexsander Rosa wrote: > Ok, thanks. The bugtrack "roadmap" page has 3.0.0 only, probably I was > looking in the wrong place. See http://www.freepascal.org/faq.var#versions for a short summary about versioning. > Where do I find the roadmap for 2.6.0? Is

Re: [Lazarus] Next FPC official release

2011-03-04 Thread Marco van de Voort
On Fri, Mar 04, 2011 at 02:56:21PM +0100, Sven Barth wrote: > > That being said, specially when branching a major branch, it is hard to get > > an overview what has been added but not merged (for e.g. the release > > manifest), and some more administration on this front wouldn't be bad. > > > > Som

Re: [Lazarus] Next FPC official release

2011-03-05 Thread Marco van de Voort
On Sat, Mar 05, 2011 at 11:58:21AM +0100, Sven Barth wrote: > > That's why I do it the following way: > > I have one directory for FPC and one for Lazarus which are the SVN > working copies (but I'm not "working" in them). When I do an update I > export that working copy to a build directory an

Re: [Lazarus] Refactor Menu

2011-03-06 Thread Marco van de Voort
On Sat, Mar 05, 2011 at 04:26:14PM +, Howard Page-Clark wrote: > I'm not wanting to complain, rather to raise the question if now is not > a good time to take stock of the erratic menu growth and changes over > the past few years, and as Juha suggests, refactor it constructively. The trouble

Re: [Lazarus] The perfect Linux distro for FPC and Lazarus development

2011-03-08 Thread Marco van de Voort
On Tue, Mar 08, 2011 at 10:57:12AM +, Frank Church wrote: > I think the real issue here is a lot of leading > Lazarus/FPC developers are comfortable and satisfied with their computer > setup and organization, which they probably have spent a long time > perfecting, pre cloud and pre Web 2.0 an

Re: [Lazarus] The perfect Linux distro for FPC and Lazarus development

2011-03-08 Thread Marco van de Voort
In our previous episode, Frank Church said: > > > > Before you judge other people's procedures and actions, at least build a > > case why it could be beneficial. > > > > The last attempt (the Netscape community server engine), didn't fare so > > well, because just one person knew it. > I am not ju

Re: [Lazarus] exception handling

2011-03-13 Thread Marco van de Voort
On Sat, Mar 12, 2011 at 10:53:45PM +0100, Bernd wrote: > 2011/3/9 Hans-Peter Diettrich : > > > An exception down in some calculation doesn't give you any clue of what > > exactly went wrong, only that *something* went wrong. > > It can often be useful and remove a lot of if/else for cleanly exiti

Re: [Lazarus] More explorations with tiOPF

2011-03-16 Thread Marco van de Voort
On Tue, Mar 15, 2011 at 03:32:48PM +, Henry Vermaak wrote: > I've actually enjoyed this thread up to now, but it's getting up to > the flamebait and fud stage. Facebook primarily uses MySQL, as do > many other of your "toy" applications. (one should make a difference between using a DB mainl

Re: [Lazarus] How to create a directory from a path string? (cross-platform needed).

2011-03-18 Thread Marco van de Voort
On Wed, Mar 16, 2011 at 09:39:38AM +0100, Sven Barth wrote: > > explain. > > > > An example, please? > > While the others already sent you the correct solution > ("ForceDirectories") I just wanted to note, that FPC abstracts all those > file and directory related functions for you. There are for

Re: [Lazarus] Lazarus on Ubuntu 11.04 (Natty)

2011-03-21 Thread Marco van de Voort
On Mon, Mar 21, 2011 at 09:47:30AM -0300, Alexsander Rosa wrote: > Who is in charge of Ubuntu's Lazarus/FPC packaging? Ubuntu? That's what distro's do. They package other packages integrated with their own base system, and other packages. > Can't we talk with them to include a newer version? Put

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-21 Thread Marco van de Voort
On Sun, Mar 20, 2011 at 07:30:27PM +0100, Michael Van Canneyt wrote: > > > > I get an Access Violation. > > Simply said: you can't. > > The current TAChart is not suitable for a CGI application. It expects a > GUI. (If people know how to fix/abstract that, I'd be interested due to a possible app

Re: [Lazarus] Get JPEG from TAChart in CGI app

2011-03-22 Thread Marco van de Voort
On Tue, Mar 22, 2011 at 06:47:11AM +1000, Alexander Klenin wrote: > > (If people know how to fix/abstract that, I'd be interested due to a > > possible application in an OpenGL gui) > > As you can see further in the thread, it is already half-fixed ;-) > TAChart still can not work without any widg

Re: [Lazarus] Indy compilation problem revisited.

2011-03-24 Thread Marco van de Voort
On Tue, Mar 22, 2011 at 07:15:57PM +0100, Mattias Gaertner wrote: > > > >What do they actually mean, in particular which process is emitting the > > >message Fatal: Can't find unit IdStreamVCL used by IdStream? > > Process: fpc > Meaning: a ppu file is outdated. There is a bug in fpc that can tr

Re: [Lazarus] Indy compilation problem revisited.

2011-03-25 Thread Marco van de Voort
On Thu, Mar 24, 2011 at 09:28:54AM +0100, Mattias Gaertner wrote: > > > Meaning: a ppu file is outdated. There is a bug in fpc that can trigger > > > this. There are several ways to work around the bug. One is to use -Ur. > > > > Afaik this bug is not caused by that, but due to includefiles with t

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-25 Thread Marco van de Voort
On Thu, Mar 24, 2011 at 09:37:52AM +, Mark Morgan Lloyd wrote: > > wiki page on how to set up a native FPC environment on ARM/Linux. > > e.g. an "ARM-based development systems" page referenced at > http://wiki.lazarus.freepascal.org/Platform_list#Supported_targets_for_ARM > > I'd be happy to

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-25 Thread Marco van de Voort
On Fri, Mar 25, 2011 at 10:06:47AM +, Henry Vermaak wrote: > > The latter is particularly interesting since it is effectively a desktop > > (sata + lots of USB + VGA). I'm planning to install the just new Fedora 13 > > and need to set up a crosscompile kernel. > > I've been thinking about gett

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-25 Thread Marco van de Voort
On Fri, Mar 25, 2011 at 04:36:54PM +, Mark Morgan Lloyd wrote: > I find that surprising, since I could run Debian's Mozilla on a 32Mb > Slug /provided/ that I used FluxBox rather than KDE as the window > manager. There is always a possibility that current browsers use vastly > more resources

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-25 Thread Marco van de Voort
On Fri, Mar 25, 2011 at 03:34:07PM +, Henry Vermaak wrote: > > The Cortex A8 (armv7) is 2 generations newer than the Kirkwood processor > on open-rd (armv5). It's got almost twice the DMIPS/MHz. I'd be very > surprised if it's slower. Interesting, do you have an URL to those benchmarks?

Re: [Lazarus] FPC and Lazarus on ARM

2011-03-26 Thread Marco van de Voort
On Fri, Mar 25, 2011 at 11:21:27PM +, Mark Morgan Lloyd wrote: > Everybody knows that benchmarks are odious, but I've got a handy > "torture test" that I've run on a variety of systems from a 16-way Sun > down to a "Slug". Usefully, this can be used both to get a time to > completion of the

Re: [Lazarus] [OT] About licences

2011-03-26 Thread Marco van de Voort
On Sat, Mar 26, 2011 at 02:43:45PM +0100, Kjow wrote: > I need some help to understand the licences world, probably due my not > English origins I have some difficulties to understand the terms of > various licences and their relating limitations. > Do you know a simple and clear site that explain

Re: [Lazarus] Rescan FPC sources crashes Lazarus

2011-03-26 Thread Marco van de Voort
On Fri, Mar 25, 2011 at 11:19:48PM +0200, Graeme Geldenhuys wrote: > > In all fairness, how are all developers supposed to know that? Isn't > there a better way that FPC could hide such functionality (not > allowing a developer to set a RTL controlled variable they are not > supposed do). That sh

Re: [Lazarus] Rescan FPC sources crashes Lazarus

2011-03-26 Thread Marco van de Voort
On Sat, Mar 26, 2011 at 11:12:18AM +0200, Graeme Geldenhuys wrote: > > You know the answer, Graeme... > > > > But I agree that this could be done better. Keep the IsMultiThread variable > > for Delphi compatibility, > > And if Delphi jumps off a cliff so will all FPC developers? Well, I will > NO

Re: [Lazarus] Rescan FPC sources crashes Lazarus

2011-03-26 Thread Marco van de Voort
On Sat, Mar 26, 2011 at 11:55:28AM +0100, Mattias Gaertner wrote: > > I have to partially agree with Graeme on this point, especially that > > this package was ported from Delphi. The symptoms were on the surface > > unrelated to the cause. I had to debug for quite a while until I > > stumbled u

Re: [Lazarus] Rescan FPC sources crashes Lazarus

2011-03-26 Thread Marco van de Voort
On Sat, Mar 26, 2011 at 11:36:26AM +0200, Graeme Geldenhuys wrote: > > A class is not required, FPC supports unit-level properties as well :-) > > > True, though that is a language feature I have never seen used by > anybody in the wild. :) They apparantly you don't use unices. Since errno and c

Re: [Lazarus] [OT] About licences

2011-03-26 Thread Marco van de Voort
On Sat, Mar 26, 2011 at 03:28:56PM +0100, de_jean_ wrote: > On 26.3.2011 15:14, Marco van de Voort wrote: > > The only problem is designtime code. This links into the IDE, and thus > > touched the GPL. However, the GPL only activates on distribution, so unless > > you pl

Re: [Lazarus] Rescan FPC sources crashes Lazarus

2011-03-27 Thread Marco van de Voort
On Sat, Mar 26, 2011 at 09:47:24PM +0100, Sven Barth wrote: > > cannot replace a variable, see var parameter problem or assembler code. > > What about the following solution: > > * add a variable in the implementation section of system.pp that will be > the real workhorse for "should the RTL be

Re: [Lazarus] Lazarus Help

2011-03-29 Thread Marco van de Voort
On Tue, Mar 29, 2011 at 08:57:18AM +0200, Michael Schnell wrote: > does have a point here ). For beginners Delphi has a point as the > language itself is handled in the help files. So it would be a nice > thing if it would be possible to integrate the Delphi help in Lazarus > for users that do

Re: [Lazarus] [OT] About licences

2011-03-29 Thread Marco van de Voort
On Tue, Mar 29, 2011 at 10:25:38AM +0200, Kjow wrote: > > rest of the project. > > > > The GPL is different, and the ancinerella bit is a big issue, which would > > make the whole thing GPL. (there are some exceptions though) > > Hi, I'm sorry for delay. > So, if I use LGPL/MPL products, but I don

Re: [Lazarus] Lazarus Help

2011-03-29 Thread Marco van de Voort
On Tue, Mar 29, 2011 at 09:41:06AM +0200, Michael Schnell wrote: > On 03/29/2011 09:37 AM, Marco van de Voort wrote: > > Moreover, the > > FPC ref manual (the language description) is fine, so I don't see a reason > > to use the Delphi version of that part. > "On

Re: [Lazarus] [OT] About licences

2011-03-29 Thread Marco van de Voort
On Tue, Mar 29, 2011 at 09:35:37PM +0200, Kjow wrote: > > (and the subsequent distribution) takes > > on the obligations. > > Perfect, I understood. > > > Only if you distribute source. > > And if I don't distribuite source, nothing? If you provide binaries, strictly speaking you must provide t

Re: [Lazarus] PascalScript

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 12:08:14AM -0300, fluisgira...@gmail.com wrote: > And this version works on Windows and Linux, 32 and 64 bits. Maybe I'm > wrong, but the version of the PascalScript on Lazarus CCR don't work with 64 > bits systems and the scriptengine2 don't work with linux. So, if you want

Re: [Lazarus] [OT] About licences

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 09:23:12AM +0200, Graeme Geldenhuys wrote: > > The (L)GPL with exception bit absolves you from that. > > Where does it say that? By "LGPL with exception", I gather you mean like > the license used by FPC? It that case, there is only a "static linking > exception". You are

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 09:01:34AM +0200, Michael Schnell wrote: > On 03/29/2011 09:16 PM, Marco van de Voort wrote: > > The reference guide is also available online, so that is no reason. > Sorry for erroneous language. Here with "online" I meant pressing F1 > when a l

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 11:37:06AM +0200, Vincent Snijders wrote: > > Can somebody please clarify the intended procedure for configuring multiple > > parallel Lazarus installations? > > > > Always specify the primary config directory, if you have multiple > parallel Lazarus installations. You may

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 03:17:36PM +0100, Paulo Costa wrote: > It's more a single user versus multi user mindset. And it is a memory > optimization, by having the same executable on disk, and in memory, for > multiple users. > It has also the downside that, for it to be effective, it forces all t

Re: [Lazarus] Lazarus Help

2011-03-31 Thread Marco van de Voort
On Thu, Mar 31, 2011 at 09:21:59AM +0200, Michael Schnell wrote: > > Again: there is no benefit in using the Delphi stuff in FPC. That it works > > in Delphi does not mean that we can actually recycle it (both licensewise > > and technically). > This of course is true, but you often do prefer info

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Marco van de Voort
On Thu, Mar 31, 2011 at 12:50:05PM +0200, Hans-Peter Diettrich wrote: > > problem to share him config espicialy for IDE. > > IMO the current config is not shareable, due to the many absolute pathes > in it. Interesting. How did you test this? Did you try the lazarus-dir parameter approach? IIRC

Re: [Lazarus] Lazarus errors -- DVD procedure identifiers.

2011-04-08 Thread Marco van de Voort
In our previous episode, Peter Williams said: > I have a legacy Delphi 7 project which works fine in D7, but it gives these > errors in Lazarus 0.9.31. > Options changed, recompiling clean with -BHint: Start of reading config file > /etc/fpc.cfgHint: End of reading config file /etc/fpc.cfgFree Pa

Re: [Lazarus] Lazarus errors -- DVD procedure identifiers.

2011-04-08 Thread Marco van de Voort
On Fri, Apr 08, 2011 at 12:05:33PM +0100, Lukasz Sokol wrote: > > In our previous episode, Peter Williams said: > >> I have a legacy Delphi 7 project which works fine in D7, but it gives > >> these errors in Lazarus 0.9.31. > >> Options changed, recompiling clean with -BHint: Start of reading conf

Re: [Lazarus] Metafile support

2011-04-08 Thread Marco van de Voort
On Thu, Apr 07, 2011 at 09:33:34PM +1100, Alexander Klenin wrote: > A TAChart user requested export to WMF/EMF: > http://forum.lazarus.freepascal.org/index.php/topic,12693.0.html > > It turns out that Lazarus CCR has Metafile package, > but it is incomplete and apparently abandoned. > > My option

Re: [Lazarus] TImage and PNG (on linux)

2011-04-12 Thread Marco van de Voort
On Sun, Apr 10, 2011 at 05:39:19PM -0300, Leonardo M. Ram? wrote: > Hi, I was testing a sample project and found that on Windows, handling > of PNGs with transparent backgrounds is working ok, but on Linux it > doesn't work as expected. The image is a black line on the top of the > image, with a Ga

Re: [Lazarus] [OT] About licences

2011-04-13 Thread Marco van de Voort
On Wed, Apr 13, 2011 at 08:38:48AM +0200, t.wieckow...@gmail.com wrote: > I'm wondering about one thing, Can I do (at all) application with > closed source, by Linux ? Licensewise yes. Practically no, except when you only target specific long lived commercial distributions (like RHEL). Because the

Re: [Lazarus] Lazarus GTK project dependencies

2011-04-14 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > At some time, the KDE project tried to reduce startup time of their binaries > by redefining their APIs so shared libs would load faster. I thought the KDE problem was that their shared libs interfaced at the C++ level, exporting huge amounts of

Re: [Lazarus] reverse engineering tool wanted

2011-04-21 Thread Marco van de Voort
On Wed, Apr 20, 2011 at 03:09:37PM +0200, Graeme Geldenhuys wrote: > I agree with Michael... those screenshots from Alexander has nothing to > do with general charting and graphs. I cannot see a use for such > functionality. > > > There is at least aggpas, although I don't know if it is compilable

Re: [Lazarus] GetProcAddress weird problem

2011-04-21 Thread Marco van de Voort
On Wed, Apr 20, 2011 at 11:20:52AM -0300, Leonardo M. Ram? wrote: > Hi, I'm facing a weird issue with GetProcAddress in a Lazarus program > > I have a method that calls GetProcAddress to get a pointer to a function > in a shared library. The method can be called many times without > problem. Mult

Re: [Lazarus] Testing Assigned object

2011-04-25 Thread Marco van de Voort
On Mon, Apr 25, 2011 at 10:15:57AM +0200, Hans-Peter Diettrich wrote: > > (without specifically assigning it to NIL in the declaration) > > > > var > > slTest :TStringList; > > > > begin > > if Assigned(slTest) then FreeAndNil(slTest); // gives exception > > end; > > When slTest is a loc

Re: [Lazarus] Testing Assigned object

2011-04-26 Thread Marco van de Voort
On Tue, Apr 26, 2011 at 03:31:44PM +0200, Bernd wrote: > > that makes it a static variable instead of a truely local one, even when > > declared > > with local scope. > > Hmm... are you sure? Then, yes. Now, no :-) I assumed it was the same as the const variant. -- ___

Re: [Lazarus] Qt5 plans available

2011-05-10 Thread Marco van de Voort
On Tue, May 10, 2011 at 01:23:57PM +0200, Michael Schnell wrote: > Hmm, > > The big thing is Android !!! And if you want to capitalize on it, you need to be ready now, not only start. Lazarus is not suitable for trying to follow fast moving trends. Iphone was just yesterday, and even that is not

Re: [Lazarus] Qt5 plans available

2011-05-11 Thread Marco van de Voort
On Wed, May 11, 2011 at 09:18:57AM +0200, Michael Schnell wrote: > > And if you want to capitalize on it, you need to be ready now, not only > > start. > > > > Lazarus is not suitable for trying to follow fast moving trends. Iphone > > was just yesterday, and even that is not really ready. > > > Ye

Re: [Lazarus] fppkg front end

2011-05-12 Thread Marco van de Voort
On Wed, May 11, 2011 at 11:04:26AM +0200, michael.vancann...@wisa.be wrote: > >> Just the units need to be moved imho, the actual program not really ? > > > > > > You're right on that. On a side note, I would like to use some of the > > features that fppkg implements as well (like setting up the >

Re: [Lazarus] Qt5 plans available

2011-05-12 Thread Marco van de Voort
On Wed, May 11, 2011 at 10:27:22AM +0200, Felipe Monteiro de Carvalho wrote: > On Tue, May 10, 2011 at 8:21 PM, Marco van de Voort wrote: > > Lazarus is not suitable for trying to follow fast moving trends. Iphone > > was just yesterday, and even that is not really ready. > &g

Re: [Lazarus] Qt5 plans available

2011-05-12 Thread Marco van de Voort
On Wed, May 11, 2011 at 01:21:42PM +0200, Michael Schnell wrote: > > I suppose Mono will be transformed in a community project > But as always > Microsoft will try to use his legal staff against concurrent > technologies. They could not do this to Novell, as they had an agreement > about mutua

Re: [Lazarus] Qt5 plans available

2011-05-12 Thread Marco van de Voort
On Thu, May 12, 2011 at 11:11:00AM +0200, michael.vancann...@wisa.be wrote: > > their phones, preferably with their recommended tools. > > Hence the conclusion: a web application is probably the best way to go when > developing business apps for the mobile. > > (at least, that's what we concluded

Re: [Lazarus] fppkg front end

2011-05-12 Thread Marco van de Voort
On Thu, May 12, 2011 at 11:07:16AM +0200, michael.vancann...@wisa.be wrote: > >> > >> Sure... > > > > Please do the move as soon as possible. Just identify the units, and > > I'll start working on moving them to packages/ > > > > This way, the move can be done for the 2.6 branching which would help

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-21 Thread Marco van de Voort
On Wed, May 18, 2011 at 03:45:43PM -0300, Leonardo M. Ram? wrote: > The conflict is between "interfaces" unit and FreeBSD on a headless > machine (without graphical user interface). There is an open bugreport for that. http://bugs.freepascal.org/view.php?id=6259 I never looked into it, since I

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-22 Thread Marco van de Voort
On Sun, May 22, 2011 at 12:16:16PM +0200, Mattias Gaertner wrote: > No, the nogui widgetset does not pull in any GUI libs. > For example lazbuild under linux: > linux-vdso.so.1 > libc.so.6 > /lib64/ld-linux-x86-64.so.2 > > Under OS X it uses iconv and carbon framework. Thi

[Lazarus] Free Pascal 2.4.4 available (fixed links)

2011-05-23 Thread Marco van de Voort
Something went wrong with the download links; the links were still pointing towards the beta. Here are the correct links: ftp://193.224.143.39/pub/fpc/dist/2.4.4/ and ftp://freepascal.stack.nl/pub/fpc/dist/2.4.4/ Note: the main ftp server is currently being migrated, that's why there is a

Re: [Lazarus] HTTP client/server components committed.

2011-05-23 Thread Marco van de Voort
On Tue, May 17, 2011 at 10:45:45AM -0300, Marcos Douglas wrote: > But it's also reinventing the wheel, no? You say it like you think that is a bad thing :-) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepasc

Re: [Lazarus] HTTP client/server components committed.

2011-05-23 Thread Marco van de Voort
On Mon, May 23, 2011 at 01:26:11PM -0300, Marcos Douglas wrote: > > > > You say it like you think that is a bad thing :-) > > Not a bad thing, but in open sources projects, that you can share > already done codes, I think that could be a waste of time... not all > time, not in this particulary pro

Re: [Lazarus] Synchronize problem in linux

2011-05-25 Thread Marco van de Voort
On Wed, May 25, 2011 at 03:03:13PM +0200, Giuliano Colla wrote: > > work. > > > Thank you. With Kylix it didn't work, but there was no mailing list to > ask :'( . > Now I'm going to develop something similar with Lazarus, and I felt it > wise to ask, before bumping my head again against a brick w

Re: [Lazarus] Lazarus manager - Linux

2011-05-25 Thread Marco van de Voort
On Tue, May 24, 2011 at 03:30:25PM +0200, Kjow wrote: > fpc/lazarus revisions. > silvioprog has problem with 2.5.1 trunk, not 2.4.2 that is installed > with these scripts. 2.4.2 is old. ( :-) ) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepasca

Re: [Lazarus] Lazarus manager - Linux

2011-05-26 Thread Marco van de Voort
On Wed, May 25, 2011 at 11:13:14PM +0200, Kjow wrote: > 2011/5/25 Marco van de Voort : > > 2.4.2 is old. ( :-) ) > > I can't catch the irony :) > Current stable svn is 2.4.2 The _FPC_ stable branch is currently the 2.4.x series. The version of the stable branch is 2.4.5,

Re: [Lazarus] multiple versions and portable lazarus

2011-05-31 Thread Marco van de Voort
On Tue, May 31, 2011 at 09:34:23PM +0200, Roberto Padovani wrote: > I know it's me, and I beg your pardon for this, but every time I try > to upgrade from a lazarus version to another...it's a mess. > It happened before, but today I tried to upgrade from 0.9.28.3 to > 0.9.30 stable releases Don't

Re: [Lazarus] multiple versions and portable lazarus

2011-06-01 Thread Marco van de Voort
On Tue, May 31, 2011 at 11:37:35PM +0200, Mattias Gaertner wrote: > > Lazarus overrides that by generating and passing an own fpc.cfg. Not unlike > > Delphi with dcc32.cfg btw. The info for that comes from Lazarus' own > > configuration. > > Lazarus does not generate a fpc.cfg. In fact it uses the

Re: [Lazarus] multiple versions and portable lazarus

2011-06-01 Thread Marco van de Voort
On Tue, May 31, 2011 at 11:37:35PM +0200, Mattias Gaertner wrote: > > I do agree that installers should ask if the old config should be reused. > > They seem to be versioned, so that should be possible. > > The version is for the format. The IDE upgrades automatically old > configs. But it does no

Re: [Lazarus] Lazarus manager - Linux

2011-06-03 Thread Marco van de Voort
On Thu, Jun 02, 2011 at 10:41:11PM +0200, Mattias Gaertner wrote: > > > Now is OK! :) > > Yes, if it does what you expect. I would make the sudo make install PREFIX=/usr line something like sudo make install PREFIX=/usr PP=~/fpc/compiler/ppc386 This because otherwise you install with the

Re: [Lazarus] Lazarus manager - Linux

2011-06-04 Thread Marco van de Voort
On Fri, Jun 03, 2011 at 07:38:17PM +0200, Mattias Gaertner wrote: > > sudo make install PREFIX=/usr PP=~/fpc/compiler/ppc386 > > > > This because otherwise you install with the version of the globally > > installed compiler instead of the just built one, potentially overwriting a > > stable (2.4.4

Re: [Lazarus] Alternative linker

2011-06-04 Thread Marco van de Voort
On Sat, Jun 04, 2011 at 10:14:38AM +, Mark Morgan Lloyd wrote: > > which you can edit and then run to link the program. > > Thanks, but that's something I specifically don't want to do since I'm > trying to get a reproducible time for building Lazarus on a very tight > system. Pass paramete

Re: [Lazarus] New application type: HTTP standalone server

2011-06-06 Thread Marco van de Voort
On Mon, Jun 06, 2011 at 09:57:49AM +0200, Michael Schnell wrote: > What about TTimer and Application.QueueAsyncCall ? How are they related? One is an async synchronize() and timer is a windows message based. -- ___ Lazarus mailing list Lazarus@lists.la

Re: [Lazarus] Dynamic loading of a custom sqlite library

2011-06-11 Thread Marco van de Voort
On Fri, Jun 10, 2011 at 12:22:34PM +0400, Max Vlasov wrote: > > It depends. Does it also exist in FreeBSD and Mac OS ? If not, then I think > > this is not such a good idea. > > > Good point, > Looks like it's linux-only patch introduced at around 2004 > http://sourceware.org/ml/libc-hacker/2004-

Re: [Lazarus] thread safe

2011-06-12 Thread Marco van de Voort
On Sat, Jun 11, 2011 at 02:41:03AM +0100, Hans-Peter Diettrich wrote: > threads at the same time". > > Which piece of code can *not* be "safely invoked"? > > Instead I'd define "thread safety" as the *absence* of possible data or > state inconsistencies in concurrent execution [of threads]. The

Re: [Lazarus] New application type: HTTP standalone server

2011-06-16 Thread Marco van de Voort
On Tue, Jun 07, 2011 at 09:00:05AM +0200, Michael Schnell wrote: > On 06/06/2011 05:44 PM, Marco van de Voort wrote: > > How are they related? One is an async synchronize() and timer is a ... > In fact I am not talking about implementation details but about what the > application

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-16 Thread Marco van de Voort
On Thu, Jun 16, 2011 at 06:46:22PM +0200, Mattias Gaertner wrote: > ?? ecBlockIndent: Ctrl-K+I > ?? ecBlockUnindent: Ctrl-K+U is how I use it. Please keep it :-) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laza

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marco van de Voort
On Fri, Jun 17, 2011 at 09:04:24AM -0300, Marcos Douglas wrote: > > Hello! > > At some times ago. this list have a discussion of an portable version of > > the Lazarus. > > Where I can download this version? > > The Lazarus is portable by default. I use it in a external HD without > problems. >

Re: [Lazarus] Portable Version of Lazarus.

2011-06-19 Thread Marco van de Voort
On Fri, Jun 17, 2011 at 02:44:56PM +0200, Mattias Gaertner wrote: > > > The Lazarus is portable by default. I use it in a external HD without > > > problems. > > > But you have to initialize Lazarus with --pcp parameter. > > > > That doesn't solve the driveletter changing. If I understood everyth

Re: [Lazarus] fpGUI, OpenGL, WebGL

2011-06-20 Thread Marco van de Voort
On Mon, Jun 20, 2011 at 02:17:41PM +0200, Michael Schnell wrote: > FPgui can create a GUI directly using a graphic subsystem without > needing an external Widget Set. Right now it can use X11. > > Maybe it can be made using OpenGL. > > This done it maybe can be made using WebGL and with that it

Re: [Lazarus] Compile and Build menu entries, Run- or Project-menu?

2011-06-21 Thread Marco van de Voort
On Tue, Jun 21, 2011 at 10:04:54AM +0200, Graeme Geldenhuys wrote: > On 20/06/2011 13:45, Michael van Canneyt wrote: > > > > No, please keep them in 'Run'. This is delphi compatible. > > I agree with your first part. We are creatures of habit. Most of us know > exactly where the menu items are, d

Re: [Lazarus] Absolute paths on different platforms

2011-06-27 Thread Marco van de Voort
On Mon, Jun 27, 2011 at 04:43:18AM +0100, Hans-Peter Diettrich wrote: > > This is THE difference to symlinks. On POSIX basic APIs like "open" will > > be applied to the target of the symlink not the symlink itself. > > NTFS *Reparse Points* allow for many modifications of "normal" file > handlin

Re: [Lazarus] thread safe

2011-06-27 Thread Marco van de Voort
On Thu, Jun 23, 2011 at 06:50:14AM +0100, Hans-Peter Diettrich wrote: > > BTW, I just got my copy of RAD Studio XE, where e.g. thread.suspend is > deprecated, So is FPC 2.4.4. > and other means for thread synchronization are added. Afaik they only added "start" as a replacements for depr

Re: [Lazarus] thread safe

2011-06-27 Thread Marco van de Voort
On Mon, Jun 27, 2011 at 03:05:36PM +0100, Hans-Peter Diettrich wrote: > > OOP is just a convenient abstraction, it's for people needed only :) > > OOP is for designers, not for hackers ;-) > > When some thread-safe code must never bring a program (automaton, > system...) into an inconsistent sta

[Lazarus] GTK2 gboolean changed

2011-07-03 Thread Marco van de Voort
(related to mantis 17400) FYI In FPC/trunk the GTK2 gboolean type has been changed from "longbool" to a new type "boolean32". motivation: There have been some problems with the GTK2 boolean type for a while. The longbool type that was used till now had the advantage of being 32-bit and compat

Re: [Lazarus] trying to enhance the lcl help file

2011-07-25 Thread Marco van de Voort
On Mon, Jul 25, 2011 at 04:48:46PM +0200, Vincent Snijders wrote: > > Maybe I should introduce some debug outputs... > > In my experience fpdoc crashes from time to time. > > I suspect some buffer overrun, but have not find out where. I suspect > the expression evaluator. Same experience. Only w

Re: [Lazarus] trying to enhance the lcl help file

2011-07-25 Thread Marco van de Voort
On Wed, Jul 20, 2011 at 10:08:11PM +0200, Felipe Monteiro de Carvalho wrote: > Something else strange about the docs. When building the LCL docs one > gets a lot of these: > > Warning: Target ID of is unknown: "#LCL.Graphics.TCanvas.LineTo" I do notice it is next to a "fpimage" package reference

Re: [Lazarus] Error calling fpcres

2011-07-26 Thread Marco van de Voort
On Tue, Jul 26, 2011 at 12:42:28AM +0100, Hans-Peter Diettrich wrote: > > the bashrc entry should read > > export PATH=~/lib/fpc/2.5.1:~/bin:$PATH It should only contain ~/bin and in ~/bin there should be symlinks to various ppc* binaries in ~/lib/fpc/version. Cross or not. > After this modif

Re: [Lazarus] RE : RE : RE : RE : RE : RE : Lazarus on Solaris 10

2011-07-28 Thread Marco van de Voort
On Thu, Jul 28, 2011 at 03:33:47PM +0200, Ludo Brands wrote: > > Ludo, in your instructions for Intel you've got an FPC= shell > > variable: > > should that be PPC=? > > > > FPC= is a synonym of PP=, no? No. PP= the compiler. "ppc*.exe" with *=target architecture FPC= the frontloader binary t

Re: [Lazarus] RE : RE : RE : RE : RE : RE : RE : Lazarus on Solaris 10

2011-07-29 Thread Marco van de Voort
On Thu, Jul 28, 2011 at 04:57:54PM +0200, Ludo Brands wrote: > > FPC= the frontloader binary that can select between different > > compilers depending on parameters. > > > > I'm not a makefile specialist but when I read > > ifndef FPC > ifdef PP > FPC=$(PP) > endif > endif > > and $(PP) isn't

Re: [Lazarus] Determining OS

2011-07-31 Thread Marco van de Voort
On Sun, Jul 31, 2011 at 04:43:44PM +0200, Graeme Geldenhuys wrote: > 2011/7/31 ik : > > Please note that system.d is Fedora implementation (v15) so for Linux you > > need to detect also the Linux distro, and that's a bit more complicated. > > Any distro worth using should support the LSB standards

Re: [Lazarus] Determining OS

2011-08-01 Thread Marco van de Voort
On Mon, Aug 01, 2011 at 12:16:15PM +0200, Graeme Geldenhuys wrote: > On 08/01/2011 11:58 AM, Mark Morgan Lloyd wrote: > > > > Solaris (8 and 10) have neither lsb_release nor xdg-open as standard. > > Same probably applies to BSD. > > :-) That doesn't come as a surprise considering that they are

Re: [Lazarus] The right way of installing FPC to use with Lazarus?

2011-08-04 Thread Marco van de Voort
On Thu, Aug 04, 2011 at 12:34:33AM -0700, Fr0sT wrote: > Well, I've done all the steps. Marcos, thanks for the patience. > 1. I think "pause" clauses should be added to the end of the bat scripts > provided in Wiki in order to see if something wrong happened. Look for a "tee" implementation, to bo

Re: [Lazarus] reading FORTRAN-style input in Lazarus

2011-08-05 Thread Marco van de Voort
On Fri, Aug 05, 2011 at 08:55:39AM +, Mark Morgan Lloyd wrote: > A few months ago I was reading lots of SNMP MIBs (sming format), and > wrote a parser using a Meta-2 derivative. However in the general case, > and particularly for line-oriented input, it's probably a job for either > regexes

Re: [Lazarus] Console App Development

2011-08-12 Thread Marco van de Voort
On Thu, Aug 11, 2011 at 03:43:36PM -0300, Alexsander Rosa wrote: > Should we use CRT or VIDEO unit? What's the state of Free Vision? We plan to > port our WMS (Warehouse Management System) module from C to Pascal (to use > our persistence framework). It has a few colors, a numbered menu and a few >

Re: [Lazarus] Console App Development

2011-08-13 Thread Marco van de Voort
On Sat, Aug 13, 2011 at 04:31:22PM +0200, Graeme Geldenhuys wrote: > Closing all but one file, memory usage dropped by a whopping 2MB. I > left the system idle for about 10 minutes while having a coffee brake. > Memory usage was still the same, so there doesn't seem to be some > delayed garage coll

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