Re: [Lazarus] lrt files and datamodules

2014-12-03 Thread Mattias Gaertner
On Wed, 3 Dec 2014 06:59:00 -0500 Daithi Haxton wrote: >[...] > Hopefully this will be fixed in a future release, but I couldn't find > much discussion in roadmaps/bugs on it. I'll just work around it > manually until then. Lazarus 1.3 can read rsj files. This is a feature, so it will not be

Re: [Lazarus] FPC 2.7.1 and console output

2014-12-03 Thread Mattias Gaertner
On Tue, 02 Dec 2014 22:41:04 +0100 Hans-Peter Diettrich wrote: >[...] > I can see two major problems with the current FPC AnsiString model. The > first problem is the strange FPC convention, that a string variable can > have a different static/dynamic encoding, not only with RawByteString. > T

Re: [Lazarus] Another Where is Error

2014-12-03 Thread Mattias Gaertner
On Tue, 2 Dec 2014 22:25:55 -0700 (MST) leledumbo wrote: > > My question is how to find depend pas or lpk > > Make a good use of "find in files" feature. Dependency on external library > can only be achieved in three ways (AFAIR): > - {$LINKLIB libname} directive > - external 'libname' procedure

Re: [Lazarus] FPC 2.7.1 and console output

2014-12-03 Thread Mattias Gaertner
On Tue, 02 Dec 2014 22:41:04 +0100 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: >[...] > I wrote my first test programs with NotePad, and called FPC from the > commandline. These files also compile okay with Lazarus, when loaded as > projects. Ok. If they create d

Re: [Lazarus] FPC 2.7.1 and console output

2014-12-02 Thread Mattias Gaertner
On Tue, 02 Dec 2014 11:21:43 +0100 Hans-Peter Diettrich wrote: > First I thank the Lazarus team for the fine 1.3 version, usable for > development with FPC trunk (Unicode version). In detail the greyed-out > branches in conditional compilation sections are very helpful when > inspecting the RT

Re: [Lazarus] what & Where is Error

2014-12-02 Thread Mattias Gaertner
On Tue, 02 Dec 2014 13:59:22 +0200 FreeMan wrote: > Hello, > lazarus svn r47058. After update, I can not build lazarus. I could find > after 4 hours later. problem on "thumbctrl 3.0" third party packages. > I'm use this pack since 5 months any errors. now has a error but what is > error? which

Re: [Lazarus] need clean some some lrs definitions

2014-12-02 Thread Mattias Gaertner
On Tue, 02 Dec 2014 13:02:24 +0200 FreeMan wrote: > DBFLaz.lpk > MemDSLaz.lpk > Printer4Lazarus.lpk > SDFLaz.lpk > > this packages has .lrs definitions. Thanks for the hint. Fixed. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal

Re: [Lazarus] Strange visibility bug with TCustomGroupBox descendants

2014-12-01 Thread Mattias Gaertner
On Mon, 01 Dec 2014 14:28:08 +0100 Torsten Bonde Christiansen wrote: > On 2014-12-01 14:24, Mattias Gaertner wrote: > > Just a note: Normally you would enclose the creation code: > > > >Application.CreateForm(TForm, F); > >F.DisableAutoSizing; > >

Re: [Lazarus] Strange visibility bug with TCustomGroupBox descendants

2014-12-01 Thread Mattias Gaertner
On Mon, 01 Dec 2014 11:57:12 +0100 Torsten Bonde Christiansen wrote: >[...] Just a note: Normally you would enclose the creation code: Application.CreateForm(TForm, F); F.DisableAutoSizing; ... F.EnableAutoSizing; Application.Run; Mattias -- _

Re: [Lazarus] Cannot add components to FPWebModule anymore

2014-11-28 Thread Mattias Gaertner
On Fri, 28 Nov 2014 17:14:56 +0200 Juha Manninen wrote: > On Fri, Nov 28, 2014 at 12:53 PM, Mattias Gaertner > wrote: > > Maybe related? > > http://bugs.freepascal.org/view.php?id=27103 > > Yes. See my comment there. > > I was already hopefull I get this fe

Re: [Lazarus] Need testers for the a new debugger

2014-11-28 Thread Mattias Gaertner
On Fri, 28 Nov 2014 12:37:42 +0100 Joost van der Sluis wrote: >[...] > > BTW, "Step into" does not work with FPC 2.7.1. > > More likely is that you've encountered one of the situations where "Step > into" does not work. Normally it works? You are right. Sorry for the false alarm. I will report

Re: [Lazarus] Cannot add components to FPWebModule anymore

2014-11-28 Thread Mattias Gaertner
On Fri, 28 Nov 2014 10:16:54 +0200 Juha Manninen wrote: > I have broken it with my changes related to palette reordering. > I try to find out what happens and fix it ASAP. Maybe related? http://bugs.freepascal.org/view.php?id=27103 Mattias -- ___ L

Re: [Lazarus] Files not found when rebuilding the IDE

2014-11-28 Thread Mattias Gaertner
On Thu, 27 Nov 2014 09:27:54 +0100 "hdv@gmail" wrote: > Hi, > > After a couple of years away I am trying to pick up Lazarus again. Have > to admit I seem to have lost a lot of the things I was at least somewhat > knowledgeable in. Ah, well, I keep on trying... > > One of those things has to do

Re: [Lazarus] Lazarus 1.2.6 IDE Docking Broken

2014-11-26 Thread Mattias Gaertner
On Wed, 26 Nov 2014 12:15:07 -0500 "m...@rpzdesign.com" wrote: > I tried to use Lazarus 1.2.6 and Lazarus 1.2.4 on WIndows 8.1 x64. > > Installed the 386 version of Lazarus/Freepascal. > > When I tried to use the AnchorDockingDesign 0.5, 0.6 packages for the > IDE, the editor dies. It works on

Re: [Lazarus] OI Checkboxes

2014-11-25 Thread Mattias Gaertner
On Tue, 25 Nov 2014 19:27:52 +0100 Sandro Cumerlato wrote: > I suggest to look in graphpropedits.pas. IMHO TBoolPropertyEditor should be > moved into this file. Huh? Abstract: This unit defines the property editors for graphic types. Mattias -- __

Re: [Lazarus] Need testers for the a new debugger

2014-11-25 Thread Mattias Gaertner
On Mon, 24 Nov 2014 11:48:38 +0100 Joost van der Sluis wrote: > On 11/22/2014 12:18 AM, Mattias Gaertner wrote: > > On Fri, 21 Nov 2014 23:08:00 + > > Martin Frb wrote: > > > >> [...] > >> So as far as the debugger goes, this would then be

Re: [Lazarus] UTF8 RTL for Windows

2014-11-25 Thread Mattias Gaertner
On Tue, 25 Nov 2014 14:49:52 +0100 Felipe Monteiro de Carvalho wrote: > On Tue, Nov 25, 2014 at 2:45 PM, Mattias Gaertner > wrote: > > Retype "Char" to "String" and the compiler will bark. For example in > > Graphics. > > What about changing to W

Re: [Lazarus] UTF8 RTL for Windows

2014-11-25 Thread Mattias Gaertner
On Tue, 25 Nov 2014 11:53:00 +0100 Hans-Peter Diettrich wrote: >[...] > > Correction: *This* Char type needs to be extended. > > Please specify. The ThousandSeparator type is "Char", which does not work with Russian in UTF-8. Well, at least if you want the non breakable space instead of the nor

Re: [Lazarus] UTF8 RTL for Windows

2014-11-25 Thread Mattias Gaertner
On Tue, 25 Nov 2014 13:10:26 +0100 Hans-Peter Diettrich wrote: >[...] > > Maybe I don't understand the question, but it seems to me this is > > documented where static-, dynamic cp and rawbytestring are explained. > > More concrete questions: > > How can a user be sure that a string parameter i

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
On Mon, 24 Nov 2014 16:40:06 + Graeme Geldenhuys wrote: >[...] > Where should we report this? Mantis or Unicode page of the Wiki? On a second thought, a programmer need to know what might fail and the alternative/workaround. The latter depends on settings. In case of the new LCL mode we can

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
On Mon, 24 Nov 2014 22:53:44 +0100 Hans-Peter Diettrich wrote: > Graeme Geldenhuys schrieb: > > > How is ThousandSeparator and DecimalSeparator supposed to work it > > TFormatSettings? If you switched the RTL to UTF-8 or UTF-16 a Russian > > thousand separator (4-byte non-breaking white space ch

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
On Mon, 24 Nov 2014 22:15:29 +0100 Hans-Peter Diettrich wrote: >[...] > The Delphi (and FPC) encoding model allows for strings of different > static (declared) and dynamic (true content) encoding, see the special > handling of RawByteString (Wiki). > > So far it's not a good idea to simply *as

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
On Mon, 24 Nov 2014 16:25:15 + Graeme Geldenhuys wrote: >[...] > Or is TFormatSettings just something that hasn't yet been converted to > be Unicode friendly? It has not yet been converted. We can help the FPC team by collecting all places. Mattias --

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
On Mon, 24 Nov 2014 12:45:54 -0300 luiz americo pereira camara wrote: > 2014-11-24 8:15 GMT-03:00 Mattias Gaertner : >[...] > > This works with or without {$codepage utf8}: > > > > S := 'João'; // constant to (Ansi or Short)string > > > > Without {$

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
Please don't start an UTF war again. This has been discussed in length and a zillion times. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
On Sun, 23 Nov 2014 18:27:12 -0300 luiz americo pereira camara wrote: > 2014-11-20 13:21 GMT-03:00 Mattias Gaertner : >[...] > Please test and tell what you find out. > > > > > The FormatSettings fields are still encoded with System Code Page > regardless of

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
On Mon, 24 Nov 2014 13:12:04 +0100 Michael Schnell wrote: > On 11/24/2014 12:01 PM, Juha Manninen wrote: > > See the request from Mattias : "Please test and tell what you find out." > > I have not enough knowledge to be able to patch the compiler :-( I asked for testing compiling with -dEnableU

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
On Mon, 24 Nov 2014 12:15:03 +0100 Mattias Gaertner wrote: >[...] > I guess it would be a good idea to pass -Fcutf8 with FPC 2.7.1. For > both modes. On second thought: only for new mode. Passing it in the old mode will make the wide/unicode/utf8string work, but the Ansi/Shortstrin

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread Mattias Gaertner
On Sun, 23 Nov 2014 21:37:56 -0300 luiz americo pereira camara wrote: > 2014-11-20 13:21 GMT-03:00 Mattias Gaertner : >[...] First of all: Thanks for testing. > Without {$codepage utf8} directive String constants will get Code Page 0 > (CP_ACP) and not the 1200 (UTF16 - UnicodeStri

Re: [Lazarus] UTF8 RTL for Windows

2014-11-23 Thread Mattias Gaertner
On Sun, 23 Nov 2014 13:56:42 +0100 (CET) Michael Van Canneyt wrote: >[...] > Anyway, I was just trying to say that a 1-byte string is not necessarily > UTF-8 in FPC 2.7.1. Yes, you can still store anything you like in strings. And you can store UTF-8 in a string and say it is not. Mattias --

Re: [Lazarus] lresources.pp(3089, 67) Error: Identifier not found "RT_RCDATA"

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 23:27:30 +0100 Bart wrote: > On 11/22/14, Joost van der Sluis wrote: > > > Add the windows-unit to the uses section of lresources as a quick fix. Done. > And what to do on non-windows systems? That compiles unchanged. Mattias -- ___

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 17:38:33 +0100 (CET) Michael Van Canneyt wrote: >[...] > > Yes, with the UTF8 RTL. The default RTL uses system codepage. > > Careful, there is no such thing as the "UTF8 RTL". > > There is now a "Unicode and CodePage-aware RTL". Well, yes, you are right of course. But "Unic

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 17:18:35 +0100 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > > // GetCommandLineW returns a UTF-16 PWideChar > > // the compiler adds code to convert this to the > > // default system codepage (CP_ACP = CP_UTF8) > >

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 16:18:09 +0100 Jürgen Hestermann wrote: > Am 2014-11-22 um 15:06 schrieb Mattias Gaertner: > > procedure TForm1.FormCreate(Sender: TObject); > > var s: string; // String = AnsiString because of $H+ > > begin > > s:=GetCommandLineW; > &g

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 14:37:00 +0100 Jürgen Hestermann wrote: > Am 2014-11-20 um 17:21 schrieb Mattias Gaertner: > > The development version of FPC 2.7.1 has extended Strings and many RTL > > functions now work for codepages other than the system codepage. > > >

Re: [Lazarus] Compilation of .../test/testresult-db/importtestresults.lpi

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 04:27:40 -0800 Mehmet Erol Sanliturk wrote: >[...] > .../test/testresult-db/importtestresults.lpi >[...] > /usr/bin/ld: cannot find -lmysqlclient > Error: Error while linking >[...] Looks like "by design" to me. If you want to test the db stuff you have to install the db stuf

Re: [Lazarus] Need suggestion about html text in Hint window

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 12:47:56 +0200 FreeMan wrote: > Hello, > How to show html text in TPopupNotifier component or THintwindow? Create a THinWindow and insert a html control. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org htt

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 11:27:30 + Martin Frb wrote: > Why do you want to pass the record instead of the pointer? >[...] > The param could be const/constref instead of pointer. The patch passes the parameter as const. > But as the argument is already pointer, why? Someone may be too lazy to re

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 03:14:39 -0300 Flávio Etrusco wrote: > On Fri, Nov 21, 2014 at 10:33 PM, Mattias Gaertner > wrote: > > On Fri, 21 Nov 2014 23:51:13 +0100 > > Mattias Gaertner wrote: > > > (...) > > Without the AVs you can see the mem leaks. I fixed the thr

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Mattias Gaertner
On Fri, 21 Nov 2014 23:51:13 +0100 Mattias Gaertner wrote: > On Fri, 21 Nov 2014 16:31:26 +0100 > Reimar Grabowski wrote: >[...] > > Create new project -> run -> stop -> AV. The Assembler window initialized only if it was not docked. I fixed that. The AV is gone. Then

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Mattias Gaertner
On Fri, 21 Nov 2014 23:08:00 + Martin Frb wrote: >[...] > So as far as the debugger goes, this would then be correctly following > the debug info. Funny fpc. Thanks for checking. BTW, the default TGDBMIDebugger jumps even worse. Begin, End, Begin, i:=3. So the new debugger is better here.

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Mattias Gaertner
On Fri, 21 Nov 2014 16:31:26 +0100 Reimar Grabowski wrote: > On Mon, 14 Jul 2014 23:13:14 +0200 > Joost van der Sluis wrote: >[...] > Onto the real problem. > Starting and Stopping a program leads to an AV, always, any program. I can confirm this with fpc 2.6.4 too. > Create new project -> run

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Mattias Gaertner
On Fri, 21 Nov 2014 16:31:26 +0100 Reimar Grabowski wrote: > On Mon, 14 Jul 2014 23:13:14 +0200 > Joost van der Sluis wrote: > > Hi, > > > To install the debugger just install the > > components/lazdebuggers/lazdebuggerfp.lpk package. After you've done > > this, go to tools->options->debugge

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Mattias Gaertner
On Fri, 21 Nov 2014 15:55:17 + Martin Frb wrote: > On 21/11/2014 15:23, Mattias Gaertner wrote: > >> Without looking at it, I have seen that with gdb too, though only for > >> certain complier help procs (iirc chek object stuff) > > Can you reproduce it? &

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Mattias Gaertner
On Fri, 21 Nov 2014 15:12:48 + Martin Frb wrote: > On 21/11/2014 14:03, Mattias Gaertner wrote: > > On Mon, 14 Jul 2014 23:13:14 +0200 > > Joost van der Sluis wrote: > > > >> [...] > >> The debugger has been improved a lot and I could need some hel

Re: [Lazarus] laz2_xmlread and & text

2014-11-21 Thread Mattias Gaertner
On Fri, 21 Nov 2014 10:47:53 +0100 Felipe Monteiro de Carvalho wrote: > Hello, > > Consider this XML: > >  "http://www.w3.org/TR/MathML3/dtd/mathml3.dtd";> > http://www.w3.org/1998/Math/MathML";> > π > ⁢ > > r > 2 > > > > I cannot get th

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Mattias Gaertner
On Mon, 14 Jul 2014 23:13:14 +0200 Joost van der Sluis wrote: >[...] > The debugger has been improved a lot and I could need some help testing > the thing. On single stepping the debugger always jumps into a proc, then to the end of the proc and then to the first line. Bug or design? Mattias

Re: [Lazarus] Prevent CodeTools from parsing a piece of code

2014-11-21 Thread Mattias Gaertner
On Fri, 21 Nov 2014 09:36:56 +0100 (CET) Michael Van Canneyt wrote: >[...] > > Then you can use anywhere: > > {$IFDEF InLazIDE} > > only valid in Lazarus source editor > > {$ENDIF} > > Seems like something useful which you could add by default :) To be honest: I fear misuse and a decrease in bu

Re: [Lazarus] PScanner tkComment token type

2014-11-20 Thread Mattias Gaertner
On Fri, 21 Nov 2014 00:24:11 +0100 Frederic Da Vitoria wrote: >[...] > > Note: In FPC default $mode FPC and Lazarus default $mode ObjFPC nested > > comments are allowed. It is not allowed in $mode Delphi. > > > > Ah, the fourth way I wrote about :-) Yes, I could try this. but I am a bit > anxiou

Re: [Lazarus] CodeTools error when using 'section' keyword

2014-11-20 Thread Mattias Gaertner
On Thu, 23 Oct 2014 21:57:28 +0200 Michael Ring wrote: >[...] > This is my test program: > > program hello; > const >DEVCFG3_DEFAULT=1; > const >devcfg3: longWord = DEVCFG3_DEFAULT; section '.devcfg3'; >devcfg2: longWord = DEVCFG3_DEFAULT; section '.devcfg2'; Fixed. Please test. Ma

Re: [Lazarus] PScanner tkComment token type

2014-11-20 Thread Mattias Gaertner
On Thu, 20 Nov 2014 23:39:59 +0100 Frederic Da Vitoria wrote: > Hello, > > I am starting to use fpprofiler. Because I did not know what parameters > should be sent to fpc, I decided to use fppinsert. At least one type of > "instrumented" code fails to compile: > // some code { some comment } > i

Re: [Lazarus] Prevent CodeTools from parsing a piece of code

2014-11-20 Thread Mattias Gaertner
On Thu, 20 Nov 2014 17:16:40 +0100 Sven Barth wrote: > Hello together! > > Is there a possibility to prevent the CodeTools from parsing a piece of > code while allowing the compiler to parse it? For example some define > that's only set for CodeTools, but not for the compiler? > This would be re

Re: [Lazarus] -Cg option

2014-11-20 Thread Mattias Gaertner
On Thu, 20 Nov 2014 21:10:25 + C Western wrote: > Because of http://bugs.freepascal.org/view.php?id=27059 my program won't > compile with -Cg set on i386/linux, but it looks as though lazarus is > forcing this option on in ide/compileroptions.pp. Am I understanding > this correctly? Is thi

[Lazarus] UTF8 RTL for Windows

2014-11-20 Thread Mattias Gaertner
Hi all, especially Windows users, The development version of FPC 2.7.1 has extended Strings and many RTL functions now work for codepages other than the system codepage. This means Lazarus can now be compiled in two modes: 1. The old mode: LCL treats all "String" as UTF-8 encoded. When accessing

Re: [Lazarus] Testing Lazarus

2014-11-20 Thread Mattias Gaertner
On Thu, 20 Nov 2014 01:27:48 -0800 Mehmet Erol Sanliturk wrote: > Dears All , > > John Marino in DragonFly BSD > http://www.zoominfo.com/p/John-Marino/1652811690 > > is working on porting Free Pascal into DragonFly BSD . Great. Although this is more for the fpc-devel list, isn't it? >[...]

[Lazarus] Moved unit fpcadds, you need build clean

2014-11-20 Thread Mattias Gaertner
Hi, I moved the unit fpcadds from package LCL to LazUtils. After svn update you have to build clean to get rid of the old fpcadds.ppu/o files. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Typo in objectinspector.pp

2014-11-19 Thread Mattias Gaertner
On Wed, 19 Nov 2014 14:22:04 +0100 Sandro Cumerlato wrote: > Please apply attached patch. Thanks. Applied. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Mattias Gaertner
On Wed, 19 Nov 2014 12:58:28 +0200 Juha Manninen wrote: >[...] > Ugly and counter-intuitive. A CheckBox is a perfect match for a > Boolean. Something is either On or Off, True or False. That is what > CheckBox was invented for. Don't forget multi selection. Mattias -- _

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Mattias Gaertner
On Wed, 19 Nov 2014 11:35:45 +0100 Bart wrote: >[...] > [X] True -> meaning is obvious > [ ] True -> suggests True is not selected, so value probably is False > [ ] False -> Meaning is ambiguous, to say the least. +1 > I still don't see why we cannot use a "read-only" combobox for these > kind

Re: [Lazarus] Component palette reordering

2014-11-18 Thread Mattias Gaertner
On Tue, 18 Nov 2014 17:19:17 +0200 FreeMan wrote: >[...] > just coincidence I found, RunTimeTypeInfoControls.lpk has > "rttictrls.lrs" filename, but file not there. Thanks for the hint. Fixed. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazar

Re: [Lazarus] Component palette reordering

2014-11-18 Thread Mattias Gaertner
On Tue, 18 Nov 2014 11:54:32 +0200 FreeMan wrote: > But when open project, so much slow opening forms. You can disable Tools / Options / Form Editor / Open Designer on open unit Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.or

Re: [Lazarus] Change to Search/Replace scope settings (all|selection). Opinion call.

2014-11-17 Thread Mattias Gaertner
On Mon, 17 Nov 2014 11:13:23 + Martin Frb wrote: > Before I make any change. Just to see if anyone relies on the old behaviour. > > http://forum.lazarus.freepascal.org/index.php?topic=26482.new#new > > IF, and only if you do not use "Find text at cursor" from the editor > options (this is,

Re: [Lazarus] Bug in code completion

2014-11-16 Thread Mattias Gaertner
On Sun, 16 Nov 2014 14:14:14 +0100 (CET) Michael Van Canneyt wrote: > > Hi, > > I am writing a unit test. I type the following: > > AssertException('Cannot set packetrecords when sqoDisconnected is > active',EDatabaseError,@TrySetPacketRecords); > > I position the cursor on the @TrySetPack

Re: [Lazarus] System color to TFPColor

2014-11-13 Thread Mattias Gaertner
On Thu, 13 Nov 2014 19:57:47 +0100 Krzysztof wrote: > Ok solved by TColorToFPColor(ColorToRGB(clHighlight)) Yes, but keep in mind that system colors are context sensitive. a clHightlight might be a different color on a TButton and on a TForm. And system colors depend on using as a Brush, Pen or

Re: [Lazarus] TWin32WSCustomX class

2014-11-12 Thread Mattias Gaertner
On Wed, 12 Nov 2014 11:53:05 -0200 Antônio wrote: > Where to find a copy of "modified LGPL2"? COPYING.modifiedLGPL.txt and COPYING.LGPL.txt. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/

Re: [Lazarus] TWin32WSCustomX class

2014-11-12 Thread Mattias Gaertner
On Wed, 12 Nov 2014 10:34:48 -0200 Antônio wrote: > What could I do to solve the license problem? Ask the authors for permission to publish the code under modified LGPL2. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http:/

Re: [Lazarus] TWin32WSCustomX class

2014-11-11 Thread Mattias Gaertner
On Tue, 11 Nov 2014 18:11:53 +0100 Reinier Olislagers wrote: > On 11/11/2014 17:53, Mattias Gaertner wrote: > > The linking exception is to allow to use the LCL in a non (L)GPL > > application. Without it you can still use it in (L)GPL applications. > > For example the

Re: [Lazarus] TWin32WSCustomX class

2014-11-11 Thread Mattias Gaertner
On Tue, 11 Nov 2014 17:39:51 +0100 Reinier Olislagers wrote: > On 11/11/2014 13:20, Antônio wrote: > > Copyrighted by Elson Junio with LGPL. > > > > Antônio > > Ah, so it cannot be used directly in Lazarus as it isn't LGPL with > linking exception. The linking exception is to allow to use the

Re: [Lazarus] TWin32WSCustomX class

2014-11-09 Thread Mattias Gaertner
On Sat, 8 Nov 2014 22:29:02 -0200 Antônio wrote: > function WSRegisterCustomX: Boolean; external name 'WSRegisterCustomX'; > > {...} > > class procedure TCustomX.WSRegisterClass; > begin > inherited; > WSRegisterCustomX; > end; >[...] > > What does WSRegisterCustomX do? And? Mattias -- _

Re: [Lazarus] TWin32WSCustomX class

2014-11-08 Thread Mattias Gaertner
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On Sat, 8 Nov 2014 15:25:37 -0200 Antônio wrote: > Well, now I understand what you mean. Yes, it is called. >[...] > >> > cl

Re: [Lazarus] TWin32WSCustomX class

2014-11-08 Thread Mattias Gaertner
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On Sat, 8 Nov 2014 12:49:58 -0200 Antônio wrote: > class procedure TCustomX.WSRegisterClass; > begin > inherited; > WSRe

Re: [Lazarus] TWin32WSCustomX class

2014-11-08 Thread Mattias Gaertner
On Sat, 8 Nov 2014 11:27:22 -0200 Antônio wrote: >[...] > > Do you mean the TWSCustomX.AMethod is called, but your > > TWin32WSCustomX.AMethod is not called? > > Yes Is RegisterWSComponent(TWSCustomX,TWin32WSCustomX) called? Mattias -- ___ Lazarus ma

Re: [Lazarus] TWin32WSCustomX class

2014-11-08 Thread Mattias Gaertner
On Sat, 8 Nov 2014 11:04:45 -0200 Antônio wrote: > The class name is TWin32WSCustomX and the problem is about a function which > does not result. Any limit? Any restriction? > > 2014-11-08 11:00 GMT-02:00 Antônio : > > > Correct me if I am wrong. > > > > Now I know that TWn32WSCustomX classes a

Re: [Lazarus] Lazarus conference in the Netherlands

2014-11-07 Thread Mattias Gaertner
On Fri, 07 Nov 2014 17:26:39 +0100 Joost van der Sluis wrote: >[...] > There will also be a demonstration of dynamic packages using Free Pascal. A > new feature that > is now in development. I come. :) Mattias -- ___ Lazarus mailing list Lazarus@li

Re: [Lazarus] "Rename identifier" issues

2014-11-06 Thread Mattias Gaertner
On Thu, 6 Nov 2014 21:21:55 +0100 Frederic Da Vitoria wrote: > Hello > > I currently use Lazarus 1.2.6 / fpc 2.6.4. I have 2 issues with it > > First of all, I believe the message is slightly wrong: instead of "Choose a > name for the new component", it should be "Choose a new name for the > co

Re: [Lazarus] Lazarus FPC Debian BackPorts

2014-11-06 Thread Mattias Gaertner
On Thu, 06 Nov 2014 11:54:12 +0200 "Dimitrios Chr. Ioannidis" wrote: > Hi, > > ( apologies for cross-posting ) > >I'm in the process of investigating the possible path I should take to > help the Debian pkg-pascal-team to provide backport's packages for > Debian Wheezy and Jessie ( and

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Mattias Gaertner
On Wed, 05 Nov 2014 19:12:04 +0100 Werner Pamler wrote: >[...] > The next guy wanting to add a new option to TGridOptions, however, will > face that same issue again. Maybe new options will have to be split off > into a new OptionsEx property. You can name it Options2 like TSynEdit. Mattias

Re: [Lazarus] Detecting if a remote web server is running

2014-10-30 Thread Mattias Gaertner
On Thu, 30 Oct 2014 12:29:00 +0100 Felipe Monteiro de Carvalho wrote: > maybe ping? Many servers do not respond to ping. So not reliable. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mai

Re: [Lazarus] Find dialog too tight for translations

2014-10-27 Thread Mattias Gaertner
> Giuliano Colla hat am 26. Oktober 2014 um 23:58 > geschrieben: >[...] > IOW quite a complicate situation, not too clean. True. > I gather that this is made necessary to avoid a circular dependency: you > cannot include a unit which uses LCLBase into the package LCLBase itself. Actually it i

Re: [Lazarus] Find dialog too tight for translations

2014-10-23 Thread Mattias Gaertner
> Giuliano Colla hat am 23. Oktober 2014 um 14:12 > geschrieben: > > > I've found a problem in the find dialogue, when used in a language > different from English. > > In English it's already a bit crowded: > > http://www.bononiadocta.it/Lazarus/Finddialog.en.png I changed the layout a bit

Re: [Lazarus] CodeTools error when using 'section' keyword

2014-10-23 Thread Mattias Gaertner
> Michael Ring hat am 22. Oktober 2014 um 09:38 > geschrieben: > > I did a little digging, Sven is right, this is only for embedded targets; I > found the following in systems.pas: > >    { all embedded systems } >    systems_embedded = [system_i386_embedded,system_m68k_embedded, >

Re: [Lazarus] How do I tell codetools to use implicitly loaded unit for code complesion?

2014-10-23 Thread Mattias Gaertner
> Michael Ring hat am 22. Oktober 2014 um 22:05 > geschrieben: > [...] > I have attached a patch that adds the missing definitions for mipsel. Thanks. Applied. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laz

Re: [Lazarus] CodeTools error when using 'section' keyword

2014-10-21 Thread Mattias Gaertner
> Michael Ring hat am 21. Oktober 2014 um 22:36 > geschrieben: > > > program hello; > const > devcfg3: longWord = DEVCFG3_DEFAULT; section '.devcfg3'; > begin > end. > > is a program that compiles fine but gives me an error in lazarus when I > try to use completion with ctrl-SPACE. > > > h

Re: [Lazarus] How do I tell codetools to use implicitly loaded unit for code complesion?

2014-10-21 Thread Mattias Gaertner
> Michael Ring hat am 21. Oktober 2014 um 22:27 > geschrieben: >[...] > Example: -Wppic32mx795f512h > > should load unit pic32mx795f512h The IDE already does that. Search for MacroControllerUnit. > to make life a (very little) harder the fully correct rule for selecting > the right unit is: >

Re: [Lazarus] lazarus.pp(142, 1) Error: Undefined symbol: DEBUGINFO_DBF_PRSCORE

2014-10-20 Thread Mattias Gaertner
> Marcos Douglas hat am 21. Oktober 2014 um 03:32 > geschrieben: > [...] > I did: > 1- "make distclean" in FPC 2.6.5 > 2- "make distclean" in Laz Use "make clean all" at 2 to build all common tools . > 3- compile a new IDE (pure) > 4- using IDE, clean and build using my pcp and lazarus-dir M

Re: [Lazarus] Starting another program to run once original terminates

2014-10-18 Thread Mattias Gaertner
On Sat, 18 Oct 2014 12:17:10 +0200 "ADTEC (Pty) Ltd" wrote: > Hi > > I need to start an external program that will execute once the program > that starts it has terminated. The external program will update the > starting program, so it must terminate before the update can take > place. This need

Re: [Lazarus] Error messages: cannot versus can't

2014-10-17 Thread Mattias Gaertner
On Fri, 17 Oct 2014 11:58:21 +0200 Reinier Olislagers wrote: > Dealing with error messages, I remember reading somewhere that > contractions like cannot=>can't are discouraged, so e.g. > > Can't find file bla.txt. > > should become > > Cannot find file bla.txt > > Have other people seen this?

Re: [Lazarus] Lazarus 1.2.6 Release

2014-10-14 Thread Mattias Gaertner
On Tue, 14 Oct 2014 19:17:08 +0200 Frederic Da Vitoria wrote: >[...] > I downloaded 1.2.6 32 bits and installed it over 1.2.4 (standard > installation). When I launch Lazarus, the welcome window says 1.2.4 and > then get the Configure Lazarus IDE dialog which tells me: "warning: wrong > version i

[Lazarus] Lazarus 1.2.6 Release

2014-10-14 Thread Mattias Gaertner
The Lazarus team is glad to announce the release of Lazarus 1.2.6. This release was built with fpc 2.6.4. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Fixes_for_1.2.6_.28Merged.29 http://wi

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-10 Thread Mattias Gaertner
On Fri, 10 Oct 2014 12:15:27 +0200 Bart wrote: > On 10/10/14, Mattias Gaertner wrote: > > > The IDE could check if unitname.po exists. > > If it does: update that for compatibility. > > If it it does not: update/generate a pot file. > > Would that help? > &g

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-10 Thread Mattias Gaertner
On Fri, 10 Oct 2014 10:04:26 +0200 Giuliano Colla wrote: >[...] > Editing tools accept a .pot file as a starting point to generate the > first copy of your localized versions (for a new translation). A valid point. Although I'm not sure why the generated header matters here. An important point

Re: [Lazarus] Hiding Code Hints

2014-10-09 Thread Mattias Gaertner
On Thu, 9 Oct 2014 22:54:28 +0200 Michael Thompson wrote: > Fast work, many thanks :-) > > Most forms now work as per the wiki. There is one form still not working: > sHint4: String; (*% This hint is shown *) > > (*% This hint is shown *) > sHint10: String; Fixed. Mattias -- _

Re: [Lazarus] Hiding Code Hints

2014-10-09 Thread Mattias Gaertner
On Thu, 9 Oct 2014 21:09:04 +0200 Michael Thompson wrote: > G'day, > > According to the wiki, code comments starting with $ or % will be hidden > from the code hint. > > http://wiki.freepascal.org/Lazarus_IDE_Tools#Comments_shown_in_the_hint > "Comments starting with *$* and *%* are ignored."

Re: [Lazarus] External tools keyboard shortcuts mess

2014-10-04 Thread Mattias Gaertner
On Sat, 4 Oct 2014 14:07:08 +0200 Mattias Gaertner wrote: > On Sat, 04 Oct 2014 13:25:15 +0200 > Giuliano Colla wrote: > > >[...] > > I'm afraid that there's still an issue: items are now stored properly, > > but they aren't *retrieved* properly.

Re: [Lazarus] External tools keyboard shortcuts mess

2014-10-04 Thread Mattias Gaertner
On Sat, 04 Oct 2014 13:25:15 +0200 Giuliano Colla wrote: >[...] > I'm afraid that there's still an issue: items are now stored properly, > but they aren't *retrieved* properly. > > To make sure, I've cleaned up my editoroptions.xml from stale entries, > and now External tool shortcuts are ther

Re: [Lazarus] New "summary" line in Messages window

2014-10-04 Thread Mattias Gaertner
On Tue, 30 Sep 2014 22:58:25 +0100 Graeme Geldenhuys wrote: > On 2014-09-30 07:52, Bart wrote: > > The old message ended with something like "Project $targetfilename > > succesfully built", I extended the header (summary line) with mode, OS, CPU and target file name. > Close but not quite. Th

Re: [Lazarus] New app written in Lazarus

2014-10-04 Thread Mattias Gaertner
On Sat, 4 Oct 2014 09:36:58 +0100 Richard Mace wrote: > Hi all, > Is this list an appropriate place to announce a new NON open source > application written in Lazarus? If the announcement contains some hints/advice for Lazarus programmers it is ok with me. For example what tools/components did

Re: [Lazarus] External tools keyboard shortcuts mess

2014-10-04 Thread Mattias Gaertner
On Sat, 04 Oct 2014 10:56:42 +0200 Giuliano Colla wrote: > I've noticed that changing the IDE language my keyboard shortcuts for > external tools disappear. > > A little investigations has revealed that shortcuts for external tools > are stored in the configuration file and recovered with the

Re: [Lazarus] Request feature?

2014-10-03 Thread Mattias Gaertner
On Fri, 3 Oct 2014 01:44:31 +0300 Juha Manninen wrote: > On Fri, Oct 3, 2014 at 1:24 AM, Martin Frb wrote: > > There is also an entry in "Refactoring" (pop up, or Menu: Source) > > "Unused Units" (Though (iirc) it in only 99% accurate) > > It is not accurate when a unit has an initialization se

Re: [Lazarus] Request feature?

2014-10-02 Thread Mattias Gaertner
On Thu, 2 Oct 2014 18:54:55 -0300 silvioprog wrote: >[...] > > When you compile in Lazarus, the units are underlined. > > There is also a hint icon, which you can click to remove the unit. > > Awesome! :) > I'm using Lazarus 1.2.4. Is this feature available in Lazarus from trunk? Yes. Of cours

<    3   4   5   6   7   8   9   10   11   12   >