Re: [Lazarus] How to hide class names in a property grid?

2015-11-11 Thread Mattias Gaertner
On Wed, 11 Nov 2015 18:45:52 +0100 Gabor Boros wrote: > Hi All, > > I use a property grid in my application and don't want to advertise my > class names to the users. For example (TSizeConstraints) displayed next > to Contraints. Any idea how to hide class names or override at > object(TPersi

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-11 Thread Mattias Gaertner
On Sat, 7 Nov 2015 00:21:09 +0100 Marco van de Voort 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 with-blocks in the LCL

Re: [Lazarus] Trunk Version: Error "lclclasses.pp(26, 10) Error: unit not found: Classes"

2015-11-10 Thread Mattias Gaertner
On Wed, 11 Nov 2015 02:39:35 +0300 Jamal Gabra wrote: > Hi, > > I used FPCup to get the latest trunk version FPC 3/Laz 1.5 (native_trunk). > It compiles successfully and no issues when running existing projects, > however when trying to get the Auto-Complete list of any > Variable/Object/Compone

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-10 Thread Mattias Gaertner
On Tue, 10 Nov 2015 12:26:56 +0100 Jürgen Hestermann wrote: >[...] > Does that mean, that local variables and with statements are treated > completely identically? A local var can be changed. Without optimization the compiler puts the local var on the stack. With optimization enabled the compil

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-09 Thread Mattias Gaertner
On Mon, 9 Nov 2015 10:48:02 + Lukasz Sokol wrote: >[...] > Thanks, I believe, this should be added into the docs somewhere ;) if it's > not already there. The docs already note that the compiler uses a temporary register for 'With'. http://www.freepascal.org/docs-html/ref/refsu58.html#x155

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-09 Thread Mattias Gaertner
On Mon, 9 Nov 2015 09:38:27 + Lukasz Sokol wrote: >[...] On 07/11/15 11:01, Mattias Gaertner wrote: > > On Sat, 7 Nov 2015 11:39:44 +0100 > > Jürgen Hestermann wrote: > > > [...] > >> - > >> with PathArray[High(PathArra

Re: [Lazarus] Dynamic resolution of IDE Macros (at first usage)

2015-11-08 Thread Mattias Gaertner
On Sun, 8 Nov 2015 16:38:47 -0300 Luiz Americo Pereira Camara wrote: > I'd like to setup a IDE Macro to be used in project output file path. > > Since the value of this Macro is enviroment dependent (the directory of a > web server) it can not be saved hardcoded in project options You can use $

Re: [Lazarus] Manage server task list architecture

2015-11-08 Thread Mattias Gaertner
On Sun, 08 Nov 2015 00:05:56 -0800 Aradeonas wrote: >[...] > My system get files,hash them and then send them back so when you post a > file to it,it should hash it and then give you a download link. > > > It is so simple if I have 1 user but what should I do when in web page I > have a list th

Re: [Lazarus] Which method is called at the very end of TWinControl creation?

2015-11-08 Thread Mattias Gaertner
On Sun, 8 Nov 2015 18:05:10 +0100 Krzysztof wrote: > Hi, > > I have form which has a lot of panels created at runtime. These panels have > controls and splitters (inside). The problem is with setting initial > splitters position when user open form. I want that spliiters should have > center pos

Re: [Lazarus] TextHint, TextHintFontColor, TextHintFontStyle

2015-11-08 Thread Mattias Gaertner
On Sun, 8 Nov 2015 15:08:08 +0100 Bart wrote: > On 11/8/15, Leonardo M. Ramé wrote: > > > Hi, I noted there are new (to me) properties in some components, what's > > the difference between those and the good old Hint property?. > > > > TextHint fills the TCustomEdit with the value assigned to

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-07 Thread Mattias Gaertner
On Sat, 7 Nov 2015 11:39:44 +0100 Jürgen Hestermann wrote: >[...] > CodeTools do not help you *read* the code. It can help you writing the code more readable and helps to read (i.e. understand) the code by hints and find declaration. >[...] > - > with PathArray[Hig

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-11-07 Thread Mattias Gaertner
On Sat, 7 Nov 2015 06:25:45 +0100 fecske fecske wrote: > I use CodeTyphon (ver 5.60 revision 005512) with Lazarus SVN Rev 50211 > I changed it here in the lcsvutils.pas line 193 > (System.Move(leadPtr^,W[1],length(W)*2);) and I compiled in the my > project. > > You fixed a month ago is in the La

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Mattias Gaertner
On Fri, 6 Nov 2015 16:45:07 +0100 Marco van de Voort wrote: >[...] > I yesterday tried to implement some of the TRect helper methods in 3.1.1 >[...] > 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 > c

Re: [Lazarus] AnsiPropercase (aka Capitalize) with UTF-8 support

2015-11-06 Thread Mattias Gaertner
On Fri, 6 Nov 2015 17:43:03 +0100 Krzysztof wrote: > Hi, > > Is there any similar function for UTF-8? Can't find anything in LazUtf8 unit No. Feel free to provide one. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://l

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-11-06 Thread Mattias Gaertner
On Fri, 6 Nov 2015 14:55:14 +0100 fecske fecske wrote: > I was fixed this line in my lcsvutils.pas and the problem with lines > It has been okay. > System.Move(leadPtr^,W[1],length(W)*2); > > And the last line of strange characters It is still not ok... > https://youtu.be/5US9mdUxSm4 Are you us

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-11-06 Thread Mattias Gaertner
On Fri, 6 Nov 2015 09:15:31 +0100 fecske fecske wrote: >[...] > I could now test the Lazarus SVN Rev 50211 > Unfortunately, I experience the same problem. > https://youtu.be/0OdBpKAwXGM > > I use it 'tab' delimiter #9. > > Here's the code: > procedure TForm1.FileListBox1Click(Sender: TObject);

Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-05 Thread Mattias Gaertner
On Thu, 5 Nov 2015 07:36:53 +0100 Ondrej Pokorny wrote: > On 03.11.2015 20:26, Mattias Gaertner wrote: > > Of course there are some hard coded defaults in codetools. For example > > "i:=3" can be any integer type. > > It would be nice if integer constants were abl

Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-05 Thread Mattias Gaertner
On Wed, 4 Nov 2015 08:23:26 +0100 Ondrej Pokorny wrote: > Fixed in r50217. > > On 04.11.2015 02:14, Mattias Gaertner wrote: > >> A problem could be with such code: > >> > > >> >var > >> >i: SizeInt; > >> >j: Inte

Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-05 Thread Mattias Gaertner
On Wed, 4 Nov 2015 05:42:57 +0100 Ondrej Pokorny wrote: >[...] > > Many libs has such types. I have not counted, but I guess the FPC > > sources has hundreds of them. Probably some of them conflict each other. > > So something better than a TStringList should be used. > > Could you tell which on

Re: [Lazarus] Using event driven components in console application

2015-11-04 Thread Mattias Gaertner
On Wed, 04 Nov 2015 10:16:16 +0100 Michael Schnell wrote: > On 11/04/2015 10:09 AM, Michael Schnell wrote: > > > > "Project options" -> "Additions and Overrides" -> "Set LCLWidgetType". > Sorry: > > "Project options" -> "Compiler Options" -> "Additions and Overrides" -> > "Set LCLWidgetType". >

Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-03 Thread Mattias Gaertner
On Tue, 3 Nov 2015 21:06:45 +0100 Ondrej Pokorny wrote: > Probably the best approach is: > > 1.) Compare base types with the table. > 1a.) If they are equal, goto 2. > 1b.) If they differ, set winner according to table and go to 3. > > 2.) Compare aliases with the table, set winner. > > 3.) Us

Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-03 Thread Mattias Gaertner
On Tue, 3 Nov 2015 20:34:30 +0100 Ondrej Pokorny wrote: > On 03.11.2015 20:26, Mattias Gaertner wrote: > >> procedure Test; > >> >var > >> >I: Integer; > >> >S: SmallInt; > >> >begin > >> >Res := I + S; > &g

Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-03 Thread Mattias Gaertner
On Tue, 3 Nov 2015 19:37:04 +0100 Ondrej Pokorny wrote: > On 03.11.2015 17:34, Mattias Gaertner wrote: > > codetools use only a simple heuristic to calculate the type of a > > binary operator. > > The function TFindDeclarationTool.CalculateBinaryOperator needs to be > &g

Re: [Lazarus] Using event driven components in console application

2015-11-03 Thread Mattias Gaertner
On Tue, 03 Nov 2015 18:20:53 +0100 Bo Berglund wrote: > On Tue, 3 Nov 2015 14:55:54 +0100, Mattias Gaertner > wrote: > > > > >lnet does not use Post/SendMessage, so it works even with the NoGUI > >widgetset. > > > >You can easily

Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-03 Thread Mattias Gaertner
On Tue, 3 Nov 2015 17:24:02 +0100 Ondrej Pokorny wrote: > On 03.11.2015 17:08, Mattias Gaertner wrote: > > Fixed. > > How did you find it from the description? I didn't. I tested on OS X. > You are a wizard :) > Sorry for introducing the bug in my code. But I know

Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-03 Thread Mattias Gaertner
On Tue, 3 Nov 2015 11:15:02 +0100 Michael Ring wrote: > Here's the info: > > /usr/local/bin/fpc -i > Free Pascal Compiler version 2.6.4 > > Compiler Date : 2014/02/26 > Compiler CPU Target: i386 > > --- > >LCL_PLATFORM=carbon >CPU_TARGET=i386 >COMPILERSWITCH="--compiler=/usr

Re: [Lazarus] Using event driven components in console application

2015-11-03 Thread Mattias Gaertner
On Tue, 03 Nov 2015 14:21:27 +0100 Bo Berglund wrote: >[...] > >Application.QueuAsyncCall() uses yet an additional Event Queue. Here > >using a WidgetType is not strictly necessary, but calling > >"CheckSynchronize() will not help, either. Here, TApplication provides > >"RemoveAsyncCalls()" wh

Re: [Lazarus] Lazarus in trunk not working after Rev 50151 on MacOSX

2015-11-02 Thread Mattias Gaertner
On Thu, 29 Oct 2015 00:55:46 +0100 Michael Ring wrote: > I today realized that current trunk does not work anymore after Rev > 50151, Lazarus starts and when I load a project I get a Range Check > Error and after this I cannot open source files. > > Is this a known issue? What FPC version? Wh

Re: [Lazarus] Another widget

2015-11-02 Thread Mattias Gaertner
On Mon, 2 Nov 2015 19:23:28 -0500 Anthony Walter wrote: > I created another Linux utility with Lazarus. Here is my CPU Graph utility: > > http://cache.getlazarus.org/video/widget-cpugraph.mp4 > > It can record up to 1 hour of CPU activity while silently sitting in the > tray. Pressing a hotkey

Re: [Lazarus] Increasingly frustrated with DbGrids

2015-11-02 Thread Mattias Gaertner
On Mon, 2 Nov 2015 13:02:14 +0100 Luca Olivetti wrote: >[...] > > The IDE does not know about your new class. > > You need to unregister the old and register the new. > > it doesn't matter: the ide uses the old class, but the unit (and the > grid) will see the new one. > It's a hack, really, wh

Re: [Lazarus] Increasingly frustrated with DbGrids

2015-11-02 Thread Mattias Gaertner
On Mon, 2 Nov 2015 10:52:25 + Tony Whyman wrote: > Ah, but then you can't edit it in the IDE. The IDE does not know about your new class. You need to unregister the old and register the new. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazar

Re: [Lazarus] Increasingly frustrated with DbGrids

2015-11-02 Thread Mattias Gaertner
On Mon, 2 Nov 2015 10:24:20 + Tony Whyman wrote: >[...] > Intercept classes are a very useful technique for overcoming this > problem. I recently wanted to have a specialised TComboBox as a > TStringGrid Editor and defined an intercept class for this as: > > TComboBox = class(stdctrls.TCom

Re: [Lazarus] fpcdoc 2.6.4 does not parse "otherwise" clause of "case" statement (though the compiler does.)

2015-10-28 Thread Mattias Gaertner
On Wed, 28 Oct 2015 07:16:13 -0700 (MST) AlanCanon wrote: > It appears that FPDoc Version 2.6.4 [2015/08/14] doesn't support the > "otherwise" clause in Pascal "case" statements (though the compiler supports > "otherwise" just fine.) FPDoc is maintained by the FPC team, not by Lazarus. > I'm a

Re: [Lazarus] TSynMemo + TSynXMLSyn: How format a XML after load it?

2015-10-28 Thread Mattias Gaertner
On Wed, 28 Oct 2015 10:57:35 -0200 Marcos Douglas wrote: >[...] > You suggest use fpc xml writer to: > 1- load the original XML without spaces > 2- save the XML after with automatically spaces > > Like that? Yes. > I don't know the fpc xml write yet, so I'm asking how use it. ReadXMLFile Writ

Re: [Lazarus] TSynMemo + TSynXMLSyn: How format a XML after load it?

2015-10-28 Thread Mattias Gaertner
On Wed, 28 Oct 2015 09:43:23 -0200 Marcos Douglas wrote: > On Wed, Oct 28, 2015 at 6:48 AM, Mattias Gaertner > wrote: > > On Wed, 28 Oct 2015 01:17:23 -0200 > > Marcos Douglas wrote: > > > >> Hi, > >> > >> I'm using TSynMemo and TSynXML

Re: [Lazarus] TSynMemo + TSynXMLSyn: How format a XML after load it?

2015-10-28 Thread Mattias Gaertner
On Wed, 28 Oct 2015 01:17:23 -0200 Marcos Douglas wrote: > Hi, > > I'm using TSynMemo and TSynXMLSyn. > How format a XML after load it? Please define "format". Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laz

Re: [Lazarus] error on startup of win64-Lazarus compiled with "Optimized IDE"

2015-10-26 Thread Mattias Gaertner
On Mon, 26 Oct 2015 14:16:47 +0100 John Landmesser wrote: > if i start my new compiled Lazarus on windows: > > Lazarus 1.5 r50173 FPC 2.6.4 i386-win32-win32/win64 > Optimized IDE: > -O2 -g- -Xs > > it doesn't start up with error dialog ..."Risk of data-loss" ok and cancel > > Am i the only one

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-26 Thread Mattias Gaertner
On Mon, 26 Oct 2015 14:35:21 +0100 Tomaž Žveglič wrote: > OS: OpenBSD bsd 5.8 GENERIC#1170 amd64 > > lazarus was compiled using fpc 2.6.4: >[...] > When I run lazarus this error is displayed: > > # ./lazarus > > (lazarus:32495): GLib-GObject-

Re: [Lazarus] Printing does nothing, Linux AMD64, Lazarus 1.4.4 and 1.2.4

2015-10-26 Thread Mattias Gaertner
On Sat, 24 Oct 2015 21:47:01 -0400 Anthony Tekatch wrote: > > File-Print calls up the print dialog, but nothing gets printed when the > > Print button is clicked. > > Resolved: > my ~/tmp directory was not writeable (owned by root) and only the sample > project rawmodetest showed the error. Chan

Re: [Lazarus] annoying (attn: Michael Schnell)

2015-10-26 Thread Mattias Gaertner
On Mon, 26 Oct 2015 10:01:31 +0100 Michael Schnell wrote: > On 10/23/2015 08:34 PM, Dmitry Boyarintsev wrote: > > > > > > That's why I'm asking the participant to adjust his email client, > > rather than doing anything on my end. > > > > > The *SPAM* addition to the subject supposedly is not add

Re: [Lazarus] Lazarus loading non-existing form files

2015-10-26 Thread Mattias Gaertner
On Mon, 26 Oct 2015 09:43:58 +0100 Torsten Bonde Christiansen wrote: > Hi List. > > After a recent update of Lazarus SVN (rev. 50168) I have started getting > errors when I want > to display the list of forms using Shift + F12 (View Project Forms). > > Lazarus tries to open form that do not ex

Re: [Lazarus] *SPAM* Re: Lazarus implementation of TListView etc?

2015-10-23 Thread Mattias Gaertner
On Fri, 23 Oct 2015 17:01:32 +0200 Sven Barth wrote: >[...] > Those and the code they link to would remain. It will depend on the > specific initialization whether it can do any harm (especially with the > widgetset not initialized) if left in... The most harmful are probably: - forms.pp install

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-10-22 Thread Mattias Gaertner
On Thu, 22 Oct 2015 23:18:58 +0200 fecske fecske wrote: > I patch the lcsvutils.pas file based on LoadFromCSVStream: quote from here: > https://github.com/graemeg/lazarus/commit/90eaed173991cdb8f8209726a71081299833392d > > I compiled it in the ide but the problem still remains... Yes, my issue

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-10-22 Thread Mattias Gaertner
On Thu, 22 Oct 2015 19:13:17 +0200 fecske fecske wrote: > I like to use the StringGrid1.LoadFromCSVFile() function. > It works but also randomly ​set to a last line of strange characters > > ​ > In the CSV file normail view are not these characters. I checked csv files > in hex viewer and are n

Re: [Lazarus] Where in Lazarus 1.5 do I set the project search path?

2015-10-21 Thread Mattias Gaertner
On Wed, 21 Oct 2015 23:46:07 +0200 Bo Berglund wrote: > Stupid question but when I google I find "solutions" that direct me to > Project/Project Options/Compiler/Paths and Inherited of which only > Paths exist... The "Inherited Path" are nowadays found in "Project / Project Options / Show Option

Re: [Lazarus] Working on big units

2015-10-21 Thread Mattias Gaertner
On Wed, 21 Oct 2015 22:54:06 +0200 Marc Santhoff wrote: >[...] > And not to forget, put the cursor inside a variable name or class name > or function name, use the right mouse key for popping up the context > menu and select > > "find declaration of ..." Short cut is by default Alt- Mattias

Re: [Lazarus] Lazarus implementation of TListView etc?

2015-10-21 Thread Mattias Gaertner
On Wed, 21 Oct 2015 13:58:38 +0200 Michael Schnell wrote: >[...]. > > With LCL added it does work! > But now it is not a command line program any more. That is wrong in so many ways. As long as you don't add the "interfaces" unit, no external GUI lib is used. And even if you add the interfaces

Re: [Lazarus] Simplest way to have a safe thread queue

2015-10-21 Thread Mattias Gaertner
On Wed, 21 Oct 2015 03:07:48 -0700 Aradeonas wrote: > Hi, [Cross posted on forum so if you want answer there : > http://forum.lazarus.freepascal.org/index.php/topic,30097.0.html] Do not cross post. Mattias -- ___ Lazarus mailing list Lazarus@lists.la

Re: [Lazarus] Lazarus implementation of TListView etc?

2015-10-20 Thread Mattias Gaertner
On Tue, 20 Oct 2015 19:06:44 +0200 Bo Berglund wrote: > Note: Posted this by accident on the FPC list > -- > I want to know why comctrls is not found by Lazarus and hence the > definitions of a lot of objects in my Delphi code ported to FPC > ge

Re: [Lazarus] Which program type to select for cron usage?

2015-10-19 Thread Mattias Gaertner
On Mon, 19 Oct 2015 13:41:51 +0200 Bo Berglund wrote: >[...] > When I enter the period after FComm I expected Lazarus to autocomplete > with the valid identifiers, in this case Free, but nothing happens... Press Ctrl+Space. It should show you the error. For example identifier not found or unit n

Re: [Lazarus] Debugging of packages

2015-10-19 Thread Mattias Gaertner
On Mon, 19 Oct 2015 12:17:02 +0200 Ondrej Pokorny wrote: > Hello! > > I have a project with my custom package listed in "Required packages" of > the project. > I am not able to debug the code in the package (I am able to debug the > project code though). > > I assume there are some compiler s

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Mattias Gaertner
On Sun, 18 Oct 2015 17:03:33 +0200 Sven Barth wrote: >[...] > Yes. I especially adjusted the compiler to handle this correctly (in light > of floating point constants). Sidenote: the compiler also supports floating > point numbers with an without "e" to have type helper method calls. > "True" and

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Mattias Gaertner
On Sun, 18 Oct 2015 17:06:08 +0200 Sven Barth wrote: >[...] > > Only one of them will work, but you can use helpers inheritance. > > > > http://www.freepascal.org/docs-html/ref/refse57.html#x114-12400010.5 > > Currently there is this restriction, yes, but I do plan to add a modeswitch > that wil

Re: [Lazarus] Something goes wrong while streaming nested components

2015-10-18 Thread Mattias Gaertner
On Sat, 17 Oct 2015 15:18:12 +0700 Kiên Nguyễn Tiến Trung wrote: > I have been successful to save a component to a text file. However, I have > a problem while reading them back. > > To illustrate, this is the text file created by saving the components. > > object Parent1: TParentClass > Chil

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Mattias Gaertner
On Sat, 17 Oct 2015 09:41:34 +0200 Ondrej Pokorny wrote: >[...] > -> doesn't work for me. (I am not sure if it is a regression, though. I > don't remember everything. Nevertheless, it should work.) You almost implemented it. Now it works. Mattias -- ___

Re: [Lazarus] Hiding Warnings from a specific directory

2015-10-18 Thread Mattias Gaertner
On Sat, 17 Oct 2015 11:45:22 -0300 Alexsander Rosa wrote: > I mean: is there a lazreport-only -vm option, like -vmXXX(lazreport)? > Because this "*Additions and Overrides*" applies to my entire project, > AFAIK. And I tried to open the "Compiler options for Package lazreport" and > there's no "*A

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Mattias Gaertner
On Sat, 17 Oct 2015 09:28:53 +0200 Sven Barth wrote: > Am 16.10.2015 23:45 schrieb "Mattias Gaertner" : > > > bug 28861 <http://bugs.freepascal.org/view.php?id=28861> if a type > helper > > > exists for a literal value code insight throws an access violat

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-16 Thread Mattias Gaertner
On Thu, 15 Oct 2015 23:37:42 -0400 Anthony Walter wrote: > Well I found bugs with it which cause CodeTools will throw an access > violations in the IDE. > > bug 28860 if a type helper > in another unit has a property, the second attempt to use code

Re: [Lazarus] Hiding Warnings from a specific directory

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 18:10:50 -0300 Alexsander Rosa wrote: > I want to see ALL warnings in *my* code, it's not a verbosity issue. > I would like to omit warnings from *other people's* code. Right click on the message. You will get several quick fix options. Adding {%H-} will hide this single mess

Re: [Lazarus] Are lazarus / fpc sensitive to line endings?

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 21:45:07 +0200 Bo Berglund wrote: >[...] > So instead I figured I could make a samba share on the Pi where the > dev files reside and then use my Win7 PC which is connected by VPN as > the vehicle to check out and commit source files. All I need to do is > to connect my PC to

Re: [Lazarus] Lazarus Team: Do you use unit testing?

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 09:42:15 -0400 Anthony Walter wrote: > Ondre remarked in a previous message that he had submitted a fix for new > CodeTools functionality which might have been broken in a later > patch. This morning I've found 3 new issues (causing access violations) > with CodeTools which we

Re: [Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 14:33:03 +0100 Martin Frb wrote: > On 16/10/2015 10:19, Tony Whyman wrote: > > > > In terms of "work", if I use functions such as UTF8Length and > > ValidUTF8String on a GB18030 string should they always work, or are > > there exceptions? > > IIRC ... UTF8Length counts code

Re: [Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 10:19:45 +0100 Tony Whyman wrote: > "Work": It was intended as a general question as I am trying to > understand where the differences are between UTF8 and GB18030, and > whether there is explicit support in Lazarus for GB18030, or if it is a > case of "Lazarus should suppo

Re: [Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 09:31:47 +0100 Tony Whyman wrote: > Does anyone know if the lazutf8 functions also work with GB18030 > (Chinese character set)? Please define "work". The LazUTF8 supports the full UTF-8 encoding, which afaik is enough to support all characters in GB18030. Do you only mean

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 09:59:40 +0200 Bo Berglund wrote: > On Fri, 16 Oct 2015 06:39:24 +, Mark Morgan Lloyd > wrote: >[...] > Will Lazarus 1.4.x work with FPC 3.1.1? FPC 3.1.1 is the development version. I recommend to use Lazarus trunk 1.5 with it. 1.4.4 compiles with FPC 3.1.1, but special

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-15 Thread Mattias Gaertner
On Thu, 15 Oct 2015 20:01:58 +0200 Ondrej Pokorny wrote: > On 15.10.2015 18:33, Ondrej Pokorny wrote: > > On 15.10.2015 16:31, FreeMan wrote: > >> Problem not just this damages. I can not add "Build ( Shift + F9)" in > >> toolbar still. I wrote this, in last my mail. > > > > Ok, I see that The "

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-15 Thread Mattias Gaertner
On Thu, 15 Oct 2015 20:46:23 +0200 Marco van de Voort wrote: > 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

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Mattias Gaertner
On Thu, 15 Oct 2015 02:59:10 -0700 Aradeonas wrote: >[...] > This question is probably for Mattias. Is there any way to get what I > draw on TOpenGLControl as a bitmap result like an screenshot from this > component? I want it to make a blur effected of it and then paint it > again on the control

Re: [Lazarus] what can be wrong in this code? (qrobjects.pas)

2015-10-14 Thread Mattias Gaertner
On Wed, 14 Oct 2015 13:41:30 +0300 FreeMan wrote: >[...] > note: > after this error, in editor toolbar I have "Open packages of current > unit" icon, its start blink.? I see this too under Linux/Gtk2. Juha? Mattias -- ___ Lazarus mailing list Lazar

Re: [Lazarus] Disable auto identifier completion of 1 identifier

2015-10-14 Thread Mattias Gaertner
On Wed, 14 Oct 2015 10:36:44 +0200 Ondrej Pokorny wrote: >[...] > At | I hit Ctrl+Space. No identifier completion window is shown and the > idetifier is automatically completed to "MyVerySpecialVar". > > If there is no way to disable it: Mattias, where is the check done that > there is only on

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-14 Thread Mattias Gaertner
On Wed, 14 Oct 2015 10:29:50 +0200 Ondrej Pokorny wrote: > On 14.10.2015 10:26, Mark Morgan Lloyd wrote: > > If you'd used make bigide there would have been extra packages built > > by default, giving you things like database and RTTI support. > > Do you mean RTTI controls or > http://wiki.la

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-13 Thread Mattias Gaertner
On Tue, 13 Oct 2015 18:25:58 +0200 Marc Santhoff wrote: >[...] > Which svn revision would check out 1.5? If you mean the URL: http://svn.freepascal.org/svn/lazarus/trunk Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-13 Thread Mattias Gaertner
On Tue, 13 Oct 2015 17:56:15 +0200 Marc Santhoff wrote: >[...] > > No, "bigide" has a fixed set of components. > > Hmm, but it does build the components I have installed as an extra to > "naked" Lazarus. So it does more work than a vanilla installation? A "naked" Lazarus is built with "make all

Re: [Lazarus] Suggestion about environmentoptions.xml

2015-10-13 Thread Mattias Gaertner
On Sun, 11 Oct 2015 14:03:00 +0300 FreeMan wrote: > Hello, > Why all settings in environmentoptions.xml ? for example, New desktop > settings added, its good think, But why all value in > environmentoptions.xml ? It was easier to implement and loading/saving only one file is faster. The IDE a

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-13 Thread Mattias Gaertner
On Tue, 13 Oct 2015 10:39:01 +0300 Juha Manninen wrote: >[...] > One hour is accurate enough. My Beebox does "make bigide" in about 4 > minutes. > 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?

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Mattias Gaertner
On Mon, 12 Oct 2015 22:41:50 +0200 Ondrej Pokorny wrote: >[...] > Question to FPC people: does FPC support defining namespaces as Delphi does? > E.g. that a unit "MyCompany.MyLibrary.MyUnit.pas" I can be refered to > with only "MyUnit" in the uses clause if the namespace > "MyCompany.MyLibrary"

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Mattias Gaertner
On Mon, 12 Oct 2015 14:07:10 +0100 Tony Whyman wrote: > This could be a good moment for someone to bring the Wiki up-to-date > (version 0.9.31 was a little while ago now). Also, the wiki page doesn't > give any policy rules for interpreting major, minor and patch(?) numbers. The Lazarus patche

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Mattias Gaertner
On Mon, 12 Oct 2015 14:03:57 +0200 JuuS wrote: > Hi, > > Lazarus has had the number schemes 0.xxx to now of 1.4.xx > > Before falling asleep it passed through my mind about a lazarus 2.xx and... > > ...I thought what could it be? Lazarus is already so good and so feature > filled that I strugg

Re: [Lazarus] Play a sound/beep when compiling finished

2015-10-12 Thread Mattias Gaertner
On Mon, 12 Oct 2015 13:35:16 +0200 Ondrej Pokorny wrote: > On 12.10.2015 00:31, Mark Morgan Lloyd wrote: > > Ondrej Pokorny wrote: > >> Is it possible to play a sound or beep when compiling was finished? > >> Sometimes compiling takes some time and I am struggling to get to > >> know that it fi

Re: [Lazarus] Codetools question

2015-10-11 Thread Mattias Gaertner
On Sun, 11 Oct 2015 18:58:39 +0200 Ondrej Pokorny wrote: >[...] > I added the procedure name to the list (see patch). It is shown without > problems in the identifier completion window but it doesn't show any > parameter hint help (ctrl+shift+space). I tried to register the > procedure in "Key

Re: [Lazarus] Codetools question

2015-10-11 Thread Mattias Gaertner
On Sun, 11 Oct 2015 19:00:28 +0200 Ondrej Pokorny wrote: > On 11.10.2015 18:58, Ondrej Pokorny wrote: > > I added the procedure name to the list (see patch). > Forgot the file... Thanks. Applied. Mattias -- ___ Lazarus mailing list Lazarus@lists.laza

Re: [Lazarus] Codetools question

2015-10-11 Thread Mattias Gaertner
On Sat, 10 Oct 2015 13:12:15 +0200 Ondrej Pokorny wrote: > On 10.10.2015 13:00, Michael Van Canneyt wrote: > > This is definitely not so :-( > > I compile lazarus with 2.6.4, but work with compiler set to 3.0 or > > even jvm. > > > > That is how I bumped into the problem to begin with... :-) >

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 7 Oct 2015 12:40:13 +0100 Graeme Geldenhuys wrote: > On 2015-10-07 12:32, Michael Van Canneyt wrote: >[...] > I don't presume to know the details of the SVG file format, but I > wouldn't be surprised if it includes some reduced (optional) detail on > low resolution rendering. If not yet,

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 7 Oct 2015 12:37:45 +0200 Ondrej Pokorny wrote: > On 07.10.2015 12:24, Mattias Gaertner wrote: > > There are currently about 400 icons in the IDE. We need volunteers to > > create them either as SVG or as higher resolution image. > > IMO the icons are the latest

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 07 Oct 2015 12:27:43 +0200 Michael Schnell wrote: > On 10/07/2015 12:24 PM, Mattias Gaertner wrote: > > There are currently about 400 icons in the IDE. We need volunteers to > > create them either as SVG or as higher resolution image. > What about using a vector fo

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 7 Oct 2015 12:52:53 +0300 Juha Manninen wrote: >[...] > Who would step in and implement SVG support. I believe Sandro would > join if there are other people involved. There are currently about 400 icons in the IDE. We need volunteers to create them either as SVG or as higher resolution i

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 7 Oct 2015 00:09:54 +0200 (CEST) Michael Van Canneyt wrote: >[...] > Are there any plans to make the LCL (and by extension the IDE itself) > High-DPI aware? > Working on a Macbook Pro with retina screen (running kubuntu) is OK if you > only need to edit code, but > as soon as you need t

Re: [Lazarus] Lazarus Release 1.4.4 (debugging on some versions of Windows )

2015-10-06 Thread Mattias Gaertner
On Tue, 6 Oct 2015 16:06:29 +0100 Martin Frb wrote: > On 06/10/2015 15:56, Mattias Gaertner wrote: >[...] > >> You may try the following setting: > >> http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working > >> > >> Or (32 bi

Re: [Lazarus] Lazarus Release 1.4.4 (debugging on some versions of Windows )

2015-10-06 Thread Mattias Gaertner
On Tue, 6 Oct 2015 13:44:54 +0100 Martin Frb wrote: > On 06/10/2015 12:56, Mattias Gaertner wrote: > > The Lazarus team is glad to announce the release of Lazarus 1.4.4. > > > > This release was built with FPC 2.6.4, same as the previous > > release Lazarus 1.4.2.

Re: [Lazarus] UTF-16 to hexadecimal string output

2015-10-06 Thread Mattias Gaertner
On Tue, 6 Oct 2015 15:35:41 +0100 Graeme Geldenhuys wrote: > Hi > > Does Lazarus have a function that can convert UnicodeString (UTF-16 > encoding) to hexadecimal string output? > > > some_utf16_text -->> 4E6F762073686D6F7A206B Maybe dbgMemRange of LazLoggerBase helps: ws:='some_utf16

[Lazarus] Lazarus Release 1.4.4

2015-10-06 Thread Mattias Gaertner
The Lazarus team is glad to announce the release of Lazarus 1.4.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.4.2. Here is the list of fixes for Lazarus 1.4.4: http://wiki.freepascal.org/Lazarus_1.4_fixes_branch#Merged_revisions_for_1.4.4 Here is the list of ch

Re: [Lazarus] "Checkbox for Booleans" in Object Inspector now used as default

2015-10-06 Thread Mattias Gaertner
On Tue, 6 Oct 2015 08:49:32 +0300 Juha Manninen wrote: > On Tuesday, October 6, 2015, Anthony Walter wrote: > > > > As it stands right now, I believe it's pretty much impossible separate the > > object inspector source code from the IDE source code. Please correct me if > > I am wrong in this ma

Re: [Lazarus] "Checkbox for Booleans" in Object Inspector now used as default

2015-10-05 Thread Mattias Gaertner
On Mon, 5 Oct 2015 23:04:56 +0300 Juha Manninen wrote: > On Sat, Oct 3, 2015 at 2:57 AM, Anthony Walter wrote: > > One thing I've noticed about gtk versions of the inspector is the lagginess > > of the inspector when mouse dragging with the left button pressed. > > Maybe the editors should be u

Re: [Lazarus] Lazarus program files very big, why?

2015-10-04 Thread Mattias Gaertner
On Sun, 04 Oct 2015 00:06:00 +0200 Bo Berglund wrote: >[...] > 2) Why is it placing the project files in /root/tmp? > Why not in /home/pi/something_or_other? The default is ~/tmp. If you start Lazarus as root and root's home is /root then this is /root/tmp. Mattias -- _

Re: [Lazarus] suggestion about added help buttons

2015-10-03 Thread Mattias Gaertner
On Fri, 2 Oct 2015 17:08:52 +0300 Juha Manninen wrote: > On Fri, Oct 2, 2015 at 5:02 PM, Mattias Gaertner > wrote: > > Do you mean a variable or a resourcestring? > > Oops right, the strings don't need translation to other languages. > They should be const strings co

Re: [Lazarus] First fatal error on el capitan

2015-10-03 Thread Mattias Gaertner
On Sat, 3 Oct 2015 15:21:10 +0200 Ondrej Pokorny wrote: > On 03.10.2015 13:39, FreeMan wrote: > > Hello, > > svn fpc r31922 lazarus r49919 qtx64 osx 10.11(el capitan) xcode 7.0.1 > > > > Copyright (c) 1993-2015 by Florian Klaempfl and others > > /opt/lazarus/ide/advancedipc.pp(227,49) Error: (328

Re: [Lazarus] suggestion about added help buttons

2015-10-02 Thread Mattias Gaertner
On Fri, 2 Oct 2015 16:42:20 +0300 Juha Manninen wrote: > On Fri, Oct 2, 2015 at 3:32 PM, FreeMan wrote: > > I saw a few seconds ago r49911 & r49912 added help button and onclick event, > > and event has "OpenUrl('http://wiki.lazarus.freepascal.org...');" this > > codes. I think much better w

Re: [Lazarus] Build of Lazarus fails on Mac with STABS error (perhaps because of MacOSX 10.11??)

2015-10-01 Thread Mattias Gaertner
On Wed, 30 Sep 2015 15:22:31 +0200 Michael Ring wrote: > Two or three weeks ago I switched my main computer to OSX 10.11, now I > tried to re-compile Lazarus but compilation failed. I compile Lazarus > quite regulary, so my guess is that this is perhaps related to OSX 10.11 > as this problem i

Re: [Lazarus] Strange error when installing package

2015-10-01 Thread Mattias Gaertner
On Thu, 1 Oct 2015 10:44:16 -0400 Anthony Walter wrote: > When attempting to install my personal library in newer trunk versions of > Lararus and Free Pascal I am receiving this message: > > (9015) Linking ../lazarus > Cross.Codebot/source/lib/x86_64-linux/codebot.system.o:(.data.n_RTTI_$CODEBOT

[Lazarus] Compiler message "lines compiled"

2015-09-27 Thread Mattias Gaertner
Hi, There is now an option to show the compiler message "n lines compiled. m sec". By default FPC gives the message a low priority "info", which by default is hidden in Lazarus. This can be useful for those who prefer a "success" line at the bottom instead of the green header at the top. Mattias

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