Re: [Lazarus] Cannot compile trunk from rev. 52266

2016-05-07 Thread Marco van de Voort
On Tue, May 03, 2016 at 09:57:55AM +0200, Torsten Bonde Christiansen wrote: > > With the rev. 52266 it is no longer possible to compile trunk due to the > following error: > > /home/torsten/FreePascal/lazarus/packager/openinstalledpkgdlg.pas(204,30) > Error: (4025) Incompatible type for arg

Re: [Lazarus] Example of full screen console program anywhere?

2016-04-28 Thread Marco van de Voort
On Mon, Apr 25, 2016 at 04:59:25PM +0200, Bo Berglund wrote: > writing is positioned on the screen in order to put output data in > certain places and commands can be entered without moving the > displayed screen. Besides the already mentioned textmode IDE, there is also fpctris, samegame and

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-19 Thread Marco van de Voort
On Fri, Apr 15, 2016 at 03:37:37PM +0200, Michael Schnell wrote: > On 04/15/2016 03:29 PM, Marco van de Voort wrote: > >> As said: I (unsuccessfully) tried. > > So you can't operate a text editor? > > > I unsuccessfully tried to create an environment that lets me see th

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-15 Thread Marco van de Voort
On Tue, Apr 12, 2016 at 10:01:26AM +0200, Michael Schnell wrote: > On 04/11/2016 09:28 PM, Marco van de Voort wrote: > > It is the conjecture that the content will actually improve because of it > > that I find highly doubtful. > > > Absolutely agreed ! An unmanaged Wiki w

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-15 Thread Marco van de Voort
On Tue, Apr 12, 2016 at 10:02:56AM +0200, Michael Schnell wrote: > On 04/11/2016 09:34 PM, Marco van de Voort wrote: > >> Maybe you do remember that (with your help) I once tried to contribute > >> to the fpc help. > > Sorry, can't remember any patches, so it

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-11 Thread Marco van de Voort
On Mon, Apr 11, 2016 at 01:00:46PM +0200, Michael Schnell wrote: > On 04/11/2016 12:30 PM, Graeme Geldenhuys wrote: > > What's so hard about this: > > Maybe you do remember that (with your help) I once tried to contribute > to the fpc help. Sorry, can't remember any patches, so it can't have

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-11 Thread Marco van de Voort
On Mon, Apr 11, 2016 at 01:28:40PM +0200, Mattias Gaertner wrote: > > > > Uh? I don't believe that anybody takes a patch from Mantis and applies > > it blindly without actually looking at the patch. If they do, that is > > very sad news for the Lazarus project. > > No one is applying blindly

Re: [Lazarus] Lazarus Digest, Vol 99, Issue 32

2016-04-11 Thread Marco van de Voort
On Mon, Apr 11, 2016 at 11:59:39AM +0200, Michael Schnell wrote: > On 04/11/2016 11:26 AM, Graeme Geldenhuys wrote: > > Wiki's are only good for knowledge base - adding random thoughts as > > pages - loosely linked together by cross-links. It is terrible as a > > help format/medium. > > While I

Re: [Lazarus] Xamarin becomes free and open-source

2016-04-01 Thread Marco van de Voort
On Fri, Apr 01, 2016 at 08:58:14AM +0200, Michael Van Canneyt wrote: > > they've learned to love on Linux. > > I seriously doubt this will have any effect. > > Most (if not all) of their admin tools are GUI based. > That makes scripting them impossibile. Which is the point of scripting. Most

Re: [Lazarus] Can some fix this "make" issue? Pi related.

2016-04-01 Thread Marco van de Voort
On Fri, Apr 01, 2016 at 09:23:23AM +0100, Henry Vermaak wrote: > I've come across ld running out of memory when linking the lazarus > executable on my (very) old ARM laptop. You can try to pass > --no-keep-memory and --reduce-memory-overheads to ld, at the cost of > performance. I can't see how

Re: [Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-12 Thread Marco van de Voort
On Thu, Feb 11, 2016 at 11:08:12AM +0100, Michalis Kamburelis wrote: > Hm, I admit I simply didn't know about them long time ago, when creating > file_to_pascal_xxx utilities in PasDoc:) > > Looking at them now: > > 1. They both have quite longer code than our simple > file_to_pascal_string.dpr

Re: [Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-07 Thread Marco van de Voort
On Wed, Feb 03, 2016 at 07:07:46AM +0100, Michalis Kamburelis wrote: > > As part of PasDoc project we have developed simple file_to_pascal_string > utility for this purpose. Just get > http://svn.code.sf.net/p/pasdoc/code/trunk/source/tools/file_to_pascal_string.dpr > and compile it. Kind of

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-10 Thread Marco van de Voort
On Wed, Dec 09, 2015 at 02:31:20PM +, Mark Morgan Lloyd wrote: > Quite frankly I feel that the Lazarus version numbering is progressing > faster than is reasonable, and that it would be highly desirable to have > a "Long Term Support" v2.0.x or even 3.0.x which could be presented to >

Re: [Lazarus] Are you on Windows 10? Are you experiencing slow installs? Here's the deal...

2015-12-03 Thread Marco van de Voort
On Wed, Dec 02, 2015 at 03:55:17PM +0100, Jy V wrote: > > In my previous answer I forgot to provide permanent disabling Windows > Defender > in a command run Regedit.exe > HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender > create a value reg_dword "DisableAntiSpyware" with value

Re: [Lazarus] Are you on Windows 10? Are you experiencing slow installs? Here's the deal...

2015-12-02 Thread Marco van de Voort
On Wed, Dec 02, 2015 at 12:20:14PM +0100, Jy V wrote: > > Microsoft security scanning tool is always on and cannot be turned off or > > configured. > > > > On Win10, to turn it off I am using this interactive sequence: > Control Panel -> (View small icons) -> Windows Defender -> Settings -> >

Re: [Lazarus] Q: Compiler features as a service to Lazarus

2015-11-26 Thread Marco van de Voort
On Tue, Nov 24, 2015 at 02:55:05PM +0100, Mattias Gaertner wrote: > > > Plus there are no services of the compiler you could ask. The compiler is > > > highly integrated and not even the textmode IDE - which has the compiler > > > statically compiled - in can do this. > > > > And of course the

Re: [Lazarus] FPC Pestering Peacock (3.0.0) release

2015-11-26 Thread Marco van de Voort
On Thu, Nov 26, 2015 at 11:25:32AM +0100, Bart wrote: > > We are happy to announce the release of the Free Pascal Compiler version > > 3.0.0 "Pestering Peacock". > > Nice! > ("Pestering Peacock"??) > > So far, I can't find the announcement on the forum? Fixed. --

Re: [Lazarus] Q: Compiler features as a service to Lazarus

2015-11-24 Thread Marco van de Voort
On Tue, Nov 24, 2015 at 12:09:25PM +0100, Sven Barth wrote: > > Plus there are no services of the compiler you could ask. The compiler is > highly integrated and not even the textmode IDE - which has the compiler > statically compiled - in can do this. And of course the result would be GPLed to

Re: [Lazarus] Install FPC and Lazarus from source

2015-11-22 Thread Marco van de Voort
On Sat, Nov 21, 2015 at 07:55:38AM -0800, Aradeonas wrote: > Now I have a problem: My Lazarus version seems have problem. It can > compile many packages but it cant compile BGRABitmap. It will stuck on > sum two TPointF and give this error : > > bgracanvas2d.pas(370,21) Error: Operator is not

Re: [Lazarus] Please test this page

2015-11-17 Thread Marco van de Voort
On Mon, Nov 16, 2015 at 08:47:34PM -0500, Anthony Walter wrote: > Can I get a some people to test this Lazarus/Free Pascal documentation > portal I've re-imagined? > > http://docs.getlazarus.org/ 1 nothing shown default (as mentioned by Vincent) 2 (related to 1 It seems the page keeps some state

Re: [Lazarus] Please test this page

2015-11-17 Thread Marco van de Voort
On Tue, Nov 17, 2015 at 08:09:20AM -0500, Anthony Walter wrote: > Okay I fixed issue 2 & 3. Now clicking on the package box again reloads the > package reference. Regarding going back to an item, the browser back button > can be used, so that's an option as well as clicking the package box again.

Re: [Lazarus] Please test this page

2015-11-17 Thread Marco van de Voort
On Tue, Nov 17, 2015 at 04:40:55PM +0100, Ondrej Pokorny wrote: > I don't know about RTL and FCL but the LCL docs in > http://lazarus-ccr.sourceforge.net/docs/lcl/index.html are terribly > outdated. Is that the case for the current release cycle? Keep in mind that the online docs reflect

Re: [Lazarus] Please test this page

2015-11-17 Thread Marco van de Voort
On Tue, Nov 17, 2015 at 05:46:04PM +0100, Ondrej Pokorny wrote: > On 17.11.2015 17:39, Marco van de Voort wrote: > > Is that the case for the current release cycle? Keep in mind that the > > online docs reflect release, not trunk status. > > Yes. I gave you the example

Re: [Lazarus] Please test this page

2015-11-17 Thread Marco van de Voort
On Tue, Nov 17, 2015 at 05:39:27AM -0500, Anthony Walter wrote: > Scripting. There is something to be said for uncompiled deployment on the > web. You just drop text in a folder and it goes. If you have an error, no > problem no rebuild no worries. Just edit the text and save (everyone has a >

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-15 Thread Marco van de Voort
On Wed, Nov 11, 2015 at 07:53:33PM +0100, Marco van de Voort wrote: > > I replaced many endangered with-blocks in the LCL. > > ToDo: check the rest of the Lazarus sources. > > Ok, I plan finalizing and committing the trect stuff in the coming week. The first batch is

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-13 Thread Marco van de Voort
On Wed, Nov 11, 2015 at 10:37:48PM +0100, Bart wrote: > On 11/11/15, Marco van de Voort <mar...@stack.nl> wrote: > > > Ok, I plan finalizing and committing the trect stuff in the coming week. > > Should these be merged to 1.4 fixes branch? If you want to run 1.4 w

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-11 Thread Marco van de Voort
On Wed, Nov 11, 2015 at 04:39:55PM +0100, Mattias Gaertner wrote: > >[...] > > Anyway, I hunted down one case by raise tobject.create, and running in the > > debugger, and I committed a fix. The Win32 lazarus now seems to function > > normally at first glance. > > I replaced many endangered

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Marco van de Voort
On Fri, Nov 06, 2015 at 07:25:01PM +0100, Mattias Gaertner wrote: > > width and height of the trect are assigned instead of the component's ? > > Thanks for the hint. > > Does Delphi alter some other records too, e.g. TPoint and TSize? > > Hint: > Cody has a tool 'Explode a "With" block': >

[Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Marco van de Voort
FYI: I yesterday tried to implement some of the TRect helper methods in 3.1.1 and property and Lazarus(/win32) refused to start due to WMSIZE loops. I haven't investigated deeper yet, but I suspect the heavy use of WITH in interfaces etc is the cause. (if you assign width and height of a

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Marco van de Voort
On Fri, Nov 06, 2015 at 11:08:29AM -0500, Dmitry Boyarintsev wrote: > > I haven't investigated deeper yet, but I suspect the heavy use of WITH in > > interfaces etc is the cause. (if you assign width and height of a > > component in a component method in a WITH with a TRECT as argument, then > >

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Marco van de Voort
On Fri, Nov 06, 2015 at 05:42:39PM +0100, Michael Van Canneyt wrote: > > by Delphi compatibility... > > Ehm. How can "with" ever be safe ? Btw the case that I fixed was like this procedure TSomeForm.Getwind... procedure setwidthheight(const r : TRect); inline; begin with R do begin

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-15 Thread Marco van de Voort
On Tue, Oct 13, 2015 at 10:39:11AM +0200, Mattias Gaertner wrote: > > I wrote about it in forum (thread "dead computer") and hoped somebody would > > measure the time in a really fast machine. How fast are they nowadays? > > For example i7-3770 CPU @ 3.40GHz on Linux/Ubuntu 64bit: > > fpc 2.6.4:

Re: [Lazarus] Storing projects in subversion (or git etc.)

2015-09-22 Thread Marco van de Voort
On Mon, Sep 21, 2015 at 09:35:13AM +, Mark Morgan Lloyd wrote: > >> of file should be put in a repository, and what is regenerated reliably? > >> > >> Obviously .lpi, .lpr, .lfm and .pas or .pp should be saved, and any > >> static .inc files. > > > > .rc > > Should that be stored in all

Re: [Lazarus] Storing projects in subversion (or git etc.)

2015-09-21 Thread Marco van de Voort
On Sun, Sep 20, 2015 at 08:49:14AM +, Mark Morgan Lloyd wrote: > Looking at some projects filed away here, I find I've been inconsistent > so would appreciate it if somebody could say authoritatively: what types > of file should be put in a repository, and what is regenerated reliably? > >

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-18 Thread Marco van de Voort
On Fri, Sep 18, 2015 at 11:02:23AM +0200, Michael Schnell wrote: > AFAIK, with Delphi a "console program" is just a normal application that > only does not show a Windows, but that can use e.g. TTimer in the normal > Delphi-way. Could you please post your Delphi test for that? Thanks. --

Re: [Lazarus] Missing classes unit

2015-08-26 Thread Marco van de Voort
On Sat, Aug 15, 2015 at 09:55:07AM -0700, Aradeonas wrote: To Team : This problem is more happening in 1.4 and later.Before this version I didnt see this problem except trunk version. That's because we only move classes occasionally. Though there is a pattern, till now it seems every major

Re: [Lazarus] OOP - where do you start?

2015-08-20 Thread Marco van de Voort
On Fri, Jun 26, 2015 at 12:30:49PM +0100, Graeme Geldenhuys wrote: When faced with a new database related project, where do you start? Do you first design the database schema, then build the BOM (Business Objects) accordingly? Or, do you first design the BOM, then design the database

Re: [Lazarus] OOP - where do you start?

2015-08-03 Thread Marco van de Voort
On Fri, Jun 26, 2015 at 12:30:49PM +0100, Graeme Geldenhuys wrote: So here is my question: When faced with a new database related project, where do you start? Do you first design the database schema, then build the BOM (Business Objects) accordingly? Or, do you first design the BOM, then

Re: [Lazarus] authoring user manuals

2015-08-03 Thread Marco van de Voort
On Mon, Aug 03, 2015 at 04:08:46PM +0200, Gour wrote: by looking at http://wiki.lazarus.freepascal.org/Add_Help_to_Your_Application page it seems there are several options to provide help (aka user manual) for one???s app - CHM, HTML INF. For unit documentation a tool called fpdoc is used

Re: [Lazarus] Choose compiler mode

2015-03-11 Thread Marco van de Voort
On Wed, Mar 11, 2015 at 10:55:07AM +0100, Michael Van Canneyt wrote: ModeSwitch is interesting. But why they aren't in one mode?I mean all the good stuff in one mode? What is 'good stuff' ? That depends on the person. Also: you may want to control compatibility. If we added stuff that we

Re: [Lazarus] patch for rx.inc define linux_darwin definition

2015-02-27 Thread Marco van de Voort
On Thu, Feb 26, 2015 at 05:06:51PM +0200, FreeMan wrote: I added patch for rx using in osx this is just add Linux_Darwin compiler directive in rx.inc file. If you want use this, You have to change Linux_Darwin with {$.. LINUX} I mean, change LINUX to Linux_Darwin. original rx code just

Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation

2015-01-28 Thread Marco van de Voort
On Wed, Jan 28, 2015 at 11:45:11AM +0100, Andreas Frie?? wrote: I have Lazarus 1.5 r47546M FPC 2.7.1 i386-win32-win32/win64 It seems your 2.7.1 is very old. Please update. it is not possible yet to update to 3.1.1, due some transient issues in fpc (Also seen on the mailing list and

Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation

2015-01-27 Thread Marco van de Voort
On Tue, Jan 27, 2015 at 10:43:51AM +0100, Michael Van Canneyt wrote: I asked you 18th Feb 2012 what could be wrong with the xml. Apparently we both didn't see the missing -description. ;) Indeed. Demonstrating once more what my wife claims since ages: men look, but don't see :( Well,

Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation

2015-01-26 Thread Marco van de Voort
On Mon, Jan 26, 2015 at 08:17:32PM +0100, Mattias Gaertner wrote: I already asked and tested, it does show topics attached to a package, and they are allowed to be in separate XMLs. How? Do I need fpdoc from trunk for this? I haven't tested with anything else but my test project file is

Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation

2015-01-26 Thread Marco van de Voort
On Mon, Jan 26, 2015 at 07:33:44PM +0100, Mattias Gaertner wrote: i have try to makes chm from information in the wiki. wikiget gets the information out of the wiki and wikiconvert should convert it to the right format for fpdoc. A chm is basically a bunch of html files zipped.

Re: [Lazarus] CHM help age and readmechm.txt in a fresh installation

2015-01-22 Thread Marco van de Voort
On Thu, Jan 22, 2015 at 12:13:59PM +0100, Kostas Michalopoulos wrote: (no snapshot generation because the docs didn't build?) That would be a very good incentive to fix the docs though (not to mention that most likely the build will fail locally before someone submits a change). That

Re: [Lazarus] CHM help age and readmechm.txt in a fresh installation

2015-01-22 Thread Marco van de Voort
On Thu, Jan 22, 2015 at 10:48:51AM +0100, Michael Schnell wrote: But in general it is simply a symptom of not doing continuous documentation work, not procedures or whatever. In fact the not publicly usable state of the procedures - including the fact that there are different

Re: [Lazarus] CHM help age and readmechm.txt in a fresh installation

2015-01-22 Thread Marco van de Voort
On Wed, Jan 21, 2015 at 04:20:45PM +0100, Kostas Michalopoulos wrote: Which is why i'm asking, shouldn't those be generated automatically for each build? Currently the makefile for FPC docs is Unix centric. Which is somewhat clumsy for a windows build. I also think it is not necessary. The

Re: [Lazarus] CHM help age and readmechm.txt in a fresh installation

2015-01-22 Thread Marco van de Voort
On Thu, Jan 22, 2015 at 03:20:01PM +0100, Kostas Michalopoulos wrote: That assumes people do full release building locally. Usually one doesn't, and only builds the module to test. Aren't full builds made before one submits something to SVN? Usually yes. It doesn't make much sense to do a

Re: [Lazarus] CHM help age and readmechm.txt in a fresh installation

2015-01-20 Thread Marco van de Voort
On Tue, Jan 20, 2015 at 06:56:16PM +0100, Kostas Michalopoulos wrote: Shouldn't the CHM files be (re)generated when a full build is made? FPC chm's are generated on every RC and final build. Last is for 2.6.4 and can be found in the doc dir of FPC, dated 2014-02-25 I generate LCL/lazutils chm's

Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-06 Thread Marco van de Voort
On Tue, Jan 06, 2015 at 07:29:35PM +, Mark Morgan Lloyd wrote: The version in trunk was raised to 3.1.1 Scripts might need modification accordingly. For the record, at what revision number did this happen (i.e. if I want to grab /the/ /last/ 2.7.1 what should I tell svn)? I don't

Re: [Lazarus] on OSX lazarus svn NOT make

2015-01-06 Thread Marco van de Voort
On Tue, Jan 06, 2015 at 02:26:37PM +0100, Mattias Gaertner wrote: make PREFIX=$laz_prefix clean all bigide CPU_TARGET=$CPU_TARGET LCL_PLATFORM=$LCL_PLATFORM OPT=$OPT Makefile:208: *** The Makefile doesn't support target i386-executed,, please run fpcmake first. Stop. Maybe your

[Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-05 Thread Marco van de Voort
As a first step in the 3.0.0 release process the stable branch was branched off to branches/fixes_3_0 and the version number was updated to 3.0.1 The version in trunk was raised to 3.1.1 Scripts might need modification accordingly. -- ___ Lazarus

Re: [Lazarus] Log4D weirdness

2015-01-01 Thread Marco van de Voort
On Thu, Jan 01, 2015 at 01:04:22AM -0200, Marcos Douglas wrote: This is totally new for me. I have used interfaces a lot, and while I had trouble from time to time, I haven't really encountered these. New? What do you mean? This problem was talked in FPC list and here before. I use weak

Re: [Lazarus] Log4D weirdness

2014-12-31 Thread Marco van de Voort
On Sun, Dec 28, 2014 at 04:03:07AM +0100, Hans-Peter Diettrich wrote: Like many cases, Delphi does not specify this behaviour, and in general for Delphi not much is known what of the implementation is intended, or what is coincidence. This is aggrevated by the fact that too much Delphi code

Re: [Lazarus] Log4D weirdness

2014-12-31 Thread Marco van de Voort
On Sun, Dec 28, 2014 at 07:51:25PM -0200, Marcos Douglas wrote: Delphi. As a first try I remove the const, in case of unexpected trouble. Delphi and FPC have problems with refcounting -- but I'm referring only interfaces. Circular references is a big problem too. This is totally new for

Re: [Lazarus] Indy 10

2014-12-31 Thread Marco van de Voort
On Mon, Dec 29, 2014 at 12:26:37PM +0200, Juha Manninen wrote: What is the recommended link to download Indy 10 for lazarus? The wiki : http://wiki.freepascal.org/Indy_with_Lazarus#Downloads_.2F_Links tells to use Indy 10 website : http://www.indyproject.org/index.en.aspx which is messy.

Re: [Lazarus] Getting the last modified date of a directory

2014-12-27 Thread Marco van de Voort
On Sat, Oct 25, 2014 at 06:19:07PM +0100, Richard Mace wrote: I can see that we have a FileAge function and also a FileGetDate however, I was wondering what the best way of getting the last modified date of a folder? Effectively, the last time that a file was created/changed within a folder?

Re: [Lazarus] Log4D weirdness

2014-12-27 Thread Marco van de Voort
On Fri, Dec 19, 2014 at 06:49:07PM -0300, Mario R. Carro wrote: There's a LogLog variable that is destroyed in the finalization section (and fails). The problem is that the TLogODSAppender created in the ctor ends up destroyed inside the AddAppender call. This is the AddAppender code:

Re: [Lazarus] FPDoc Editor vs Lazarus Documentation Tool

2014-12-27 Thread Marco van de Voort
On Sat, Dec 20, 2014 at 07:06:09PM -0300, silvioprog wrote: Yes, I want it too, and this is a very nice option (I use a similar approach in other IDEs). The documentation generated by the FPDoc is not responsive (e.g: http://goo.gl/bCJoPM), i.e., it does not open well on a mobile device.

Re: [Lazarus] file name encoding

2014-12-15 Thread Marco van de Voort
On Sun, Dec 14, 2014 at 05:21:15PM +0100, Marc Santhoff wrote: hopefully this is not too far OT i dare to ask: When reading directories and files using FindFirst()/FindNext() using system encoding my program hangs on german '?' (eszett). I'm using fpc 2.6.2 and lazarus 1.2.0, so string

Re: [Lazarus] Thanks to FPC team: Record helper for primitive types!

2014-12-03 Thread Marco van de Voort
On Sat, Nov 29, 2014 at 06:32:13PM +0100, Michael Van Canneyt wrote: and get a list of appropriate methods. No more searching for IntToStr(), StrToDate, dateToStr... and so on: the IDE will tell you what you can use. For beginners, this really is an invaluable aid which cannot be

Re: [Lazarus] FPC 2.7.1 and console output

2014-12-03 Thread Marco van de Voort
On Tue, Dec 02, 2014 at 10:41:04PM +0100, Hans-Peter Diettrich wrote: Next I tried FP, but couldn't figure out how to configure it at all, for using the trunk compiler :-( FP only needs a -Fu path. It has the compiler build-in, so to switch compilers, you use the FP from trunk. --

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-17 Thread Marco van de Voort
On Fri, Nov 14, 2014 at 09:41:27PM -0300, silvioprog wrote: Return the value most recently returned by nextval in the current session. This function is identical to currval, except that instead of taking the sequence name as an argument it fetches the value of the last sequence used

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread Marco van de Voort
On Fri, Nov 14, 2014 at 03:11:30PM +0100, Michael Van Canneyt wrote: By the very nature of the problem: GetLastAutoIncValue simply cannot be implemented in general. In firebird, postgres, (and Oracle afaik) these values are generated using a generator/sequence. You don't know the name

Re: [Lazarus] Cannot compile EpikTimer

2014-09-06 Thread Marco van de Voort
On Sat, Sep 06, 2014 at 08:14:21AM +0100, Graeme Geldenhuys wrote: I was thinking of that too afterwards. Though I don't have access to Open/NetBSD systems, so not sure how compatible it is with FreeBSD. In general very, but with some exceptions and sometimes a bit of time between introduction

Re: [Lazarus] [fpc-devel] Binary Package System Discussion?

2014-09-06 Thread Marco van de Voort
On Sat, Sep 06, 2014 at 01:24:36PM -0500, Den wrote: I know this has been brought up from time to time, but the more I use NetBeans and other big editors.. The more I miss the fact that it isolates you from being in their pool of source code to build whenever you add a component, etc.

Re: [Lazarus] Cannot compile EpikTimer

2014-09-05 Thread Marco van de Voort
On Tue, Sep 02, 2014 at 07:00:49PM +0100, Graeme Geldenhuys wrote: It seems FPC it out of date then. Because clock_gettime is a POSIX.1 standard, and FreeBSD has support for it. Trouble is that monotonic clock support is an optional part of the standard, AND the cheapness/accurancy tradeoffs

Re: [Lazarus] Cannot compile EpikTimer

2014-09-05 Thread Marco van de Voort
On Fri, Sep 05, 2014 at 05:55:46PM +0100, Graeme Geldenhuys wrote: OS. (e.g. freebSD MONOTONIC vs MONOTONIC_FAST, the latter I'd expect in a gettickcount) Did you see my patch in FPC Mantis regarding this? If it's not 100% correct (I'm a total newbie when it comes to compiler

Re: [Lazarus] Obtaining uptime

2014-08-08 Thread Marco van de Voort
On Wed, Aug 06, 2014 at 11:52:48AM +0200, Sven Barth wrote: Am 06.08.2014 11:28 schrieb Richard Mace richard.m...@gmail.com: Ah, that's interesting. Even if you actually choose Shutdown from the menu? Especially then. AFAIK a reboot triggers a full shutdown (with restart of course) and

Re: [Lazarus] Obtaining uptime

2014-08-08 Thread Marco van de Voort
On Thu, Aug 07, 2014 at 10:22:22AM +0200, Michael Schnell wrote: On 08/06/2014 08:05 AM, Sven Barth wrote: Just in case: you know that Windows 8 does not really shutdown by default, but merely suspends to provide a faster user experience? (Off Topic: ) Are they crazy ? If you have

Re: [Lazarus] Obtaining uptime

2014-08-08 Thread Marco van de Voort
On Fri, Aug 08, 2014 at 02:27:37PM +0200, Reinier Olislagers wrote: Yes, go to power options - what buttons do and turn off fast startup. This is also needed if you have older drivers, since not all support this (usually the same as the ones that don't support hibernation). At work

Re: [Lazarus] LazDaemon

2014-07-25 Thread Marco van de Voort
On Fri, Jul 25, 2014 at 09:18:01AM +0300, Juha Manninen wrote: Now, does anybody know how to debug Windows services? Under Delphi GUI or gdb console Attach the debugger to the running process. I don't know how to do from the Lazarus IDE. -- ___

[Lazarus] highlight colours per file.

2014-07-21 Thread Marco van de Voort
I working on a header generation tool for some C project. For that I open .ini and .h files, and I notice that they are highlighted differently (classic layout). .h is blue on blue and hard to read, while ini is yellow on black. Where can adjust how files are highlighted by extension (lazarus

Re: [Lazarus] CodeCompletion: Unit not found, compile ok

2014-07-21 Thread Marco van de Voort
On Sun, Jul 20, 2014 at 06:40:30PM +, Lukas Gradl wrote: In our previous episode, Lukas Gradl said: I've a strange problem with Lazarus (1.3, SVN 45936M): Is my guess correct that you also use a trunk version of FPC? Yes, your guess is correct. I use the latest fpc-svn as well.

Re: [Lazarus] highlight colours per file.

2014-07-21 Thread Marco van de Voort
On Mon, Jul 21, 2014 at 11:44:05AM +0200, Mattias Gaertner wrote: Where can adjust how files are highlighted by extension (lazarus trunk) Editor / Display / Colors, at the top is the list of file extensions. Thanks. I missed that topline. For now I moved h from C++ to INI, and that does what

Re: [Lazarus] CodeCompletion: Unit not found, compile ok

2014-07-20 Thread Marco van de Voort
In our previous episode, Lukas Gradl said: I've a strange problem with Lazarus (1.3, SVN 45936M): Is my guess correct that you also use a trunk version of FPC? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Compiler Options

2014-07-18 Thread Marco van de Voort
On Thu, Jul 17, 2014 at 11:33:37AM +0200, Sven Barth wrote: Some users installed fpc with system.ppu and no classes.ppu. That's why the test was added years ago. Hmm... It might be that this was when Classes was not yet part of the RTL. This was changed some years back, so that unit should

Re: [Lazarus] Compiler Options

2014-07-17 Thread Marco van de Voort
On Wed, Jul 16, 2014 at 09:25:49PM +0200, Sven Barth wrote: installed right. For targets without Classes the test needs to be adapted. What targets do not have a classes.ppu? All targets that don't have a classes.pp in their corresponding RTL directory (e.g. rtl/embedded, rtl/macos,

Re: [Lazarus] Compiler Options

2014-07-16 Thread Marco van de Voort
On Wed, Jul 16, 2014 at 11:51:44AM +0200, Sven Barth wrote: Is there an official description what this is supposed to mean ? The official FPC description: No OS, bare hardware. (and that results in only a barebone RTL) -- ___ Lazarus mailing list

Re: [Lazarus] PoChecker possible cosmetical patch

2014-06-27 Thread Marco van de Voort
On Fri, Jun 20, 2014 at 06:52:53AM +0200, Sven Barth wrote: + sCheckMissingIdentifiers, + sCheckForMismatchesInUntranslatedStrings, + sCheckForDuplicateUntranslatedValues, + sCheckStatistics, + sFindAllTranslatedPoFiles ); ok. That's reduces some

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Marco van de Voort
On Mon, Jun 23, 2014 at 11:48:53AM +0200, Giuliano Colla wrote: implementation part is demanded to some third party Widgetset (such as gtk, qt, Windows, etc.), via an Interfaces unit. This is not compatible with other implementations, such as Kylix and fgGui, just to mention two. It is

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Marco van de Voort
On Wed, Jun 25, 2014 at 04:46:08PM +0200, Mattias Gaertner wrote: Thanks for the Clarification. I seem to remember that with Delphi the Term RuntimPackage had been used the way I did and was not aware that with Lazarus this is different. Both Delphi designtime and runtime packages are

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Marco van de Voort
On Fri, Jun 27, 2014 at 11:50:18AM +0200, Giuliano Colla wrote: This is not compatible with other implementations, such as Kylix and fgGui, just to mention two. It is compatible with Kylix, since in CLX QT is hardcoded too afaik?!!? You're right, in Kylix CLX Qt is hardcoded. Therefore

Re: [Lazarus] Off topic. Version numbers

2014-05-17 Thread Marco van de Voort
On Fri, May 16, 2014 at 08:14:11PM +0200, Mattias Gaertner wrote: has changed between releases. Lets just hope nobody else follows the Web Browser versioning scheme. Even it's only a tiny security bug fix you should use the new browser version. Users must not wait for big new browser

Re: [Lazarus] Extended format codes in FormatDateTime

2014-05-16 Thread Marco van de Voort
On Fri, May 16, 2014 at 01:19:15AM +0200, Werner Pamler wrote: In BugTracker, #0026168, I posted a patch to FormatDateTime which allows to use hour, minute, or second format codes in square brackets. Using new special characters instead of building on existing escape characters is

Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-10 Thread Marco van de Voort
On Sat, May 10, 2014 at 06:49:36PM +0200, Koenraad Lelong wrote: Here I'm stuck. P.S. I do it this way because I don't see how I can use the bug-tracker of sourceforge. I will have to search more. charinset is a D2009+ function that is roughly the same as (c in tsyscharset), where c is an

Re: [Lazarus] Packages of Lazarus 1.2 and FPC 2.6.4 for Ubuntu 14.04

2014-05-02 Thread Marco van de Voort
On Fri, May 02, 2014 at 11:30:06AM +0200, Petr Hlozek wrote: Because I have to work with version that is in Debian. My app is builded on Launchpad and Debian build system. After Lazarus 1.2.2 appears in Debian, I'll build packages for Ubuntu 14.04 as well. If you could add patches to your

Re: [Lazarus] FPC/Lazarus on non-x86 BSD

2014-04-29 Thread Marco van de Voort
On Sat, Apr 26, 2014 at 04:32:52PM +0100, Graeme Geldenhuys wrote: However that is old sentiment, I don't know the current situation. That is correct. The latest FreeBSD supports quite a few targets (even ARM7) - unlike years back. That's indeed the only arch added since I last looked.

Re: [Lazarus] FPC/Lazarus on non-x86 BSD

2014-04-26 Thread Marco van de Voort
On Wed, Apr 23, 2014 at 08:38:14AM +, Mark Morgan Lloyd wrote: I'm exploring alternatives to Debian on SPARC. One of the obvious ones is BSD which (I presume) will need some cross-builds to get FPC going. No, you will need to port FPC to those targets. The BSD rtls are afaik not Sparc

Re: [Lazarus] Better implementation of GetTickcount using clock_gettime

2014-04-02 Thread Marco van de Voort
On Wed, Apr 02, 2014 at 01:19:39PM +0200, Luca Olivetti wrote: CLOCK_MONOTONIC_RAW would better emulate the WinAPI function GetTickCount. Well, yes, isn't that the function we're trying to emulate? (note that I personally don't need the precision, for me CLOCK_MONOTONIC_COARSE would

Re: [Lazarus] Better implementation of GetTickcount using clock_gettime

2014-04-02 Thread Marco van de Voort
On Wed, Apr 02, 2014 at 02:29:00PM +0200, Marco van de Voort wrote: I don't see _RAW and _COARSE anywhere in the mentioned opengroup link. Keep in mind this is UNIX gettickcount, not linux gettickcount. Seems freebsd (7 in this case) also has a load of options, also further MONOTONIC ones

Re: [Lazarus] Better implementation of GetTickcount using clock_gettime

2014-04-02 Thread Marco van de Voort
On Wed, Apr 02, 2014 at 03:11:32PM +0200, Luca Olivetti wrote: I don't see _RAW and _COARSE anywhere in the mentioned opengroup link. Keep in mind this is UNIX gettickcount, not linux gettickcount. Correct, but the function clock_gettime is currently only defined for Linux (at least I

Re: [Lazarus] Prevent visual updates

2014-03-30 Thread Marco van de Voort
On Sun, Mar 30, 2014 at 06:38:06PM +0100, Graeme Geldenhuys wrote: Did you try setting DoubleBuffererd := True; in the Form OnCreate event?. Why isn't DoubleBuffered enabled by default in LCL? I always thought that odd. I assume because the widgetset might already doublebuffer? --

Re: [Lazarus] Confused by help

2014-03-23 Thread Marco van de Voort
On Sun, Mar 23, 2014 at 08:50:14PM +0100, Mattias Gaertner wrote: [...lots of words, maybe helpful for someone having Kylix 3...] I will try to rephrase my question: Please describe where the event should be added, what the parameters and result do, what the default implementation does, for

Re: [Lazarus] Confused by help

2014-03-22 Thread Marco van de Voort
On Sat, Mar 22, 2014 at 02:15:44PM +, Richard Mace wrote: I have uploaded a test.chm file to www.rocksolidpbx.co.uk/downloads if anyone has the time/interest in taking a look. That file seems to contain GIFs, a format deprecated for a long time. Probably nobody got around to implementing it

Re: [Lazarus] Lazarus Wiki

2014-03-19 Thread Marco van de Voort
On Sun, Mar 16, 2014 at 07:15:29AM +, Mark Morgan Lloyd wrote: Ditto. Never the right speed, and really badly crossreferenced :-) When one's feeling contemplative, the last thing one wants is to be accosted by jazz or techno; and Google /still/ haven't worked out how to

Re: [Lazarus] Lazarus Wiki

2014-03-15 Thread Marco van de Voort
On Fri, Mar 14, 2014 at 02:11:11PM +0100, Michael Van Canneyt wrote: Reading is outdated.? Just do screenshots or publish a tutorial video on Youtube :)? Eh... No, please, I actually prefer reading :) I never watch videos. They are always on the wrong speed for me. Too sloow.

Re: [Lazarus] Any active plans to release Lazarus with FPC 2.6.4

2014-03-13 Thread Marco van de Voort
On Thu, Mar 13, 2014 at 01:46:56PM +0100, Mattias Gaertner wrote: I've been wondering very long that FPC has not updated in the Lazarus. But now that new version is out, what is the plan to release lazarus version with it? Probably the next release 1.2.2 will use fpc 2.6.4. Both are bug

Re: [Lazarus] Qt4

2014-03-11 Thread Marco van de Voort
On Mon, Mar 10, 2014 at 10:03:44PM +1000, Danny Weldon wrote: Isn't this something that fppkg should be able to resolve automatically? ie. automatically download and install dependencies? qt4pas is wrapper C++ code and should be built with the same compiler as QT was. That makes it

  1   2   3   4   5   6   7   8   9   >