Re: [Lazarus] GDB is not good, any tricks to improve it?

2016-05-26 Thread Martin Frb
On 26/05/2016 06:31, Dennis wrote: I am using Lazarus 1.7 (2016-04-20) with FPC 3.1.1 Great Work guys! However, the gdb that comes with it is not as good. I know debugger is hard to write so I am not blaming it. I just hope someone can share some tips or settings tricks that I can, perhaps,

Re: [Lazarus] How TDBGrid works

2016-05-08 Thread Martin Schreiber
On Sunday 08 May 2016 08:44:37 Aradeonas wrote: > A simple way is to make BufferCount=RecordCount so all record will be in > buffer, it will be fast and easy to use and good for even couple of > thousands records but not a real solution. > The data will be dupplica

Re: [Lazarus] How TDBGrid works

2016-05-08 Thread Martin Schreiber
On Sunday 08 May 2016 04:31:29 Jesus Reyes A. wrote: > En Sat, 07 May 2016 01:26:38 -0500, Martin Schreiber <mse00...@gmail.com> > > escribió: > > On Friday 06 May 2016 23:20:41 Aradeonas wrote: > >> Thanks. > >> > >> So what is the best

Re: [Lazarus] How TDBGrid works

2016-05-07 Thread Martin Schreiber
sideeffects. > > What side effects do you think about? > Maybe changed record buffer window which could trigger recentering of grids. You must try it, the buffer and scrolling system is complicated... Martin -- ___ Lazarus mailing list Lazar

Re: [Lazarus] How TDBGrid works

2016-05-07 Thread Martin Schreiber
Egui dropdownlist DB-edits use this approach for lookups if Dropdown.OptionsDB odb_directdata is set. A possible workaround could be to call TDataset.DisableControls(), to fetch the needed records and to restore the DB cursor position before calling EnableControls(). I fear it is not efficien

Re: [Lazarus] Source Editor font size

2016-04-22 Thread Martin Frb
On 22/04/2016 13:04, Graeme Geldenhuys wrote: Hi, 1) I remember years back you could specify the editor font as a positive value (point size) and a negative value (pixel size). This doesn't seem possible with v1.7 any more. Why was that removed? EditerOpts has not changed. Not sure why

[Lazarus] Need feedback from Windows 64 users about GDB

2016-04-18 Thread Martin Frb
Since I only can test on a rather old w64 system, I would appreciate some feedback. First of all, nothing of this affects the issues listed here http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Inspecting_data_types_.28Watch.2FHint.29 On any issues listed on this page, or present in both

[Lazarus] Transparent TPanel reloaded

2016-04-10 Thread Martin Grajcar
:= False; IF Assigned (Parent) THEN Color := Parent.GetRGBColorResolvingParent; The final line is funny. I thought, just GetRGBColorResolvingParent should work, but it doesn't. Any idea? Regards, Martin. -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] *** GMX Spamverdacht *** help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-09 Thread Martin Frb
On 09/04/2016 13:05, Jürgen Hestermann wrote: Am 2016-04-08 um 20:36 schrieb Martin Frb: > On VirtualTreeView: I dont know if the Author is around, and if he could/would answer questions, or even proof read contributed docs. But if he was, then the question "How long do you thi

Re: [Lazarus] German umlauts in component names

2016-04-08 Thread Martin Grajcar
nal identifiers make sense is when they come from a business domain. Translation of e.g. financial business terms is not exactly something a programmer should do, so either the customer supplies English terms or I leave them as they are. Except for removing diacritics. This is fortunately easy fo

[Lazarus] help writing help [was: Re: Re: Suggestion for TRadioGroup documentation]

2016-04-08 Thread Martin Frb
On 08/04/2016 19:24, Jürgen Hestermann wrote: Am 2016-04-08 um 18:18 schrieb Martin Frb: Or the person reading the code with the intend of documentation, is more clever than this. They could report any suspicious parts, and clarify the intend. That way the code would be additionally

Re: [Lazarus] *** GMX Spamverdacht *** Re: Suggestion for TRadioGroup documentation

2016-04-08 Thread Martin Frb
On 08/04/2016 18:10, Jürgen Hestermann wrote: Not only that it would take a lot of (unneccessary) additional time to wade through foreign code (while the original coder already knew this after writing it). Also, every bug would become part of the documentation as it is "how it is coded".

Re: [Lazarus] PDF generator, try 2

2016-04-07 Thread Martin Schreiber
po1^,sizeof(testty),0); //OK fillchar1(po1^,sizeof(testty),0); //crash because out paramters are //finalized on caller side po1^.b:= 'abc'; finalize(po1^); freemem(po1); end; " Martin -- ___ Lazarus mail

Re: [Lazarus] Class & Method info line at top of editor

2016-04-06 Thread Martin Frb
On 06/04/2016 12:03, Graeme Geldenhuys wrote: Hi, I don't really know what it is called, but when I'm in a method of a class, the top line of my editor (I call it "info line"), tells me what class and method I am in. This is very useful information. I have noticed today that if I work with

Re: [Lazarus] German umlauts in component names

2016-04-02 Thread Martin Schreiber
On Saturday 02 April 2016 10:30:51 Mattias Gaertner wrote: > > We have many Delphi Programs with German Umlauts in component names and > > would like to go to Lazarus with them. > > Any hints? > > This is not supported by FPC yet. Not supported

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

2016-04-01 Thread Martin Schreiber
On Thursday 31 March 2016 20:30:59 Anthony Walter wrote: > I thought this was newsworthy and of interest to us: > > https://blog.xamarin.com/xamarin-for-all/ A date effect maybe? ;-) Martin -- ___ Lazarus mailing lis

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-30 Thread Martin Schreiber
ut they are enough to be used in Russian and German pupils homework, utf-8 code units are not enough, please read lazarusformum.de. ;-) Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Feature Request: Insert {codepage UTF8} per default

2016-03-30 Thread Martin Schreiber
ars comfortably and with good performance one has to convert from utf-8 in AnsiString to UnicodeString first. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-29 Thread Martin Frb
On 29/03/2016 17:19, Dmitry Boyarintsev wrote: On Tue, Mar 29, 2016 at 12:15 PM, Martin Frb <laza...@mfriebe.de <mailto:laza...@mfriebe.de>> wrote: If 0 currently means unlimited, then: 1) a new value is needed for unlimited 2) the configfile version must be i

Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-29 Thread Martin Frb
On 29/03/2016 17:11, Martin Frb wrote: On 29/03/2016 16:59, Dmitry Boyarintsev wrote: On Mon, Mar 28, 2016 at 2:25 PM, Ondrej Pokorny <laza...@kluug.net> wrote: On 28.03.2016 18:14, max.lemradt2 wrote: I'd like to be able to disable or clear the "Recent files"

Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-29 Thread Martin Frb
On 29/03/2016 16:59, Dmitry Boyarintsev wrote: On Mon, Mar 28, 2016 at 2:25 PM, Ondrej Pokorny > wrote: On 28.03.2016 18:14, max.lemradt2 wrote: I'd like to be able to disable or clear the "Recent files" and "Recent projects"

Re: [Lazarus] Having multiple Lazarus like GetLazarus version

2016-03-24 Thread Martin Frb
On 24/03/2016 20:36, Aradeonas wrote: Aha! If found the problem! I have a config folder in my Lazarus directory that has every config xml files like default Lazarus have in Appdata. When I open Lazarus forms shortcut like I said there was no problem but when I add that path to cfg it has

Re: [Lazarus] Having multiple Lazarus like GetLazarus version

2016-03-24 Thread Martin Frb
On 24/03/2016 19:48, Aradeonas wrote: The same as when you specified --pcp If you copied the lazarus.exe from another install, then you need to rebuild it once. And add or remove packages if needed. unfortunately I cant understand you. well using a lazarus.cfg file (with --pcp

Re: [Lazarus] Having multiple Lazarus like GetLazarus version

2016-03-24 Thread Martin Frb
On 24/03/2016 15:44, Aradeonas wrote: I understood your remark as "getlazarus offers this functionality already". Yes and I want to know how. Lazarus itself only offers --pcp that can be given - on the commandline - in a bat file - in a shortcut - in the lazarus.cfg If GetLazarus

Re: [Lazarus] Having multiple Lazarus like GetLazarus version

2016-03-24 Thread Martin Frb
On 24/03/2016 15:23, Aradeonas wrote: And with that you can start c:\laz_trunk\lazarus.exe anyway you want, it will use the pcp given in the cfg file. I done that but it will be the reason of many errors about installing packages. and again I cant find any cfg file about this config

Re: [Lazarus] Having multiple Lazarus like GetLazarus version

2016-03-24 Thread Martin Frb
On 24/03/2016 14:35, Aradeonas wrote: The recommende way is and has always been to use the --pcp=path/to/config commandline parameter. Why do you insist that it must be done in another way? Why can you simpy use the mechanismes we have provided for just that? If you don

Re: [Lazarus] Strange behaviour of TCustomEditButton ancesters

2016-03-12 Thread Martin Frb
is set (this avoids doing the resize multiple times). Maybe it should be cleared by the time of the event. But it is not. Op 12-03-2016 om 20:59 schreef Martin Frb: I dont have the "how to fix", but it looks like the first time you call SetFocus is before the tab g

Re: [Lazarus] Strange behaviour of TCustomEditButton ancesters

2016-03-12 Thread Martin Frb
On 12/03/2016 19:38, Frans wrote: Hi I use TFileNameEdit (but TDirectoryEdit acts the same) on the second tabsheet of a PageControl where it's the first control to receive focus. I set the focus manually in the method form.tabshow for the event OnShow. The first time I activate that tab,

Re: [Lazarus] how to search in files but skip commented text

2016-03-08 Thread Martin Frb
On 08/03/2016 10:28, Dennis wrote: When source files become big, the search function becomes very important. Does anyone share my desire for the Search function in Lazarus to be smart enough to skip those commented out texts? I often comment out a portion of the source files before

[Lazarus] How do events come into the glib event queue?

2016-03-03 Thread Martin Grajcar
, but TGtkMessageQueue.AddMessage gets never called before the crash. A side question: What is TGtkMessageQueue good for? Below is the stacktrace... I'm sure it's not helpful for finding out the bug, it just illustrates my problem. Regards, Martin. #0 g_type_check_instance_is_a (type_instance

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Martin Frb
On 24/02/2016 15:33, Bo Berglund wrote: On Wed, 24 Feb 2016 15:00:42 +, Martin Frb <laza...@mfriebe.de> wrote: On 24/02/2016 13:10, Bo Berglund wrote: When I connect via VNC from my Windows7 PC I can not enter the characters < or + via the keyboard keys into the Lazarus code edit

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Martin Frb
On 24/02/2016 13:10, Bo Berglund wrote: I have discovered a strange problem with my Lazarus 1.6 release installation on RPi2 (Raspbian Jessie) concerning keyboard entries. When I connect via VNC from my Windows7 PC I can not enter the characters < or + via the keyboard keys into the Lazarus

Re: [Lazarus] Lazarus 1.6 EditorMacroScript error on startup

2016-02-19 Thread Martin Frb
On 19/02/2016 14:10, Bo Berglund wrote: I have retrieved 1.6 from SVN and built it using make bigide. When I strat for the first time a dialog pops up saying: Error in EditorMacroScript The package EditorMacroScript (pascalscript macros) has detected a problem and was deactivatyed. The package

Re: [Lazarus] RFC : "Resolved View"

2016-02-12 Thread Martin Frb
On 12/02/2016 12:45, Michael Van Canneyt wrote: Well, if it is on the todo list, I don't need to file a feature request ;) Not really on todo, only remembered as being wanted. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] RFC : "Resolved View"

2016-02-12 Thread Martin Frb
On 12/02/2016 16:10, Michael Van Canneyt wrote: On Fri, 12 Feb 2016, Martin Frb wrote: Not really on todo, only remembered as being wanted. Should I file a request anyway or has memory been sufficiently refreshed ? I had not yet read Mattias will go for a different approach solving

Re: [Lazarus] Guess the problem with Heap

2016-02-12 Thread Martin Frb
On 12/02/2016 19:04, Aradeonas wrote: Hi, Im working on one of my projects and tried to make a release version, so I used shortcut button in build modes and add release mode but when I compile and run I get SIGSEGV error when main form want to be create. After many tries I found out that if I

Re: [Lazarus] RFC : "Resolved View"

2016-02-11 Thread Martin Frb
On 11/02/2016 23:54, Michael Van Canneyt wrote: By this I mean a view of a unit as the compiler will see it: - Correct include files included This has been long on the list. But still no in the doing. Ignoring: - any high/low-light or other markup to indicate the fact that the text comes

Re: [Lazarus] Panel Top Negative Limitation

2016-02-04 Thread Martin Schreiber
er limit. It might be that you are hitting > that boundary. > X11 has a range of -32768..32767. Although the OP is on Windows AFAIK. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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

2016-02-02 Thread Martin Schreiber
itlab.com/mseide-msegui/mseide-msegui/raw/master/lib/common/kernel/mseformatstr.pas Function "stringtopascalstring()". Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Is there tool for testing class methods speed?

2016-01-20 Thread Martin Frb
On 20/01/2016 19:17, Krzysztof wrote: Almost 10 years ago I worked in company where they used tool (Delphi 5) which automatically added "checkpoints" after BEGIN and before END of each method of pointed class / pascal unit. Then after run, it reported (as extension for IDE) what was execution

Re: [Lazarus] Debugging in Libraries.

2016-01-18 Thread Martin Frb
On 18/01/2016 18:34, Donald Ziesig wrote: Hi All: I have encountered a problem doing things that used to work. (Using Lazarus 1.4.4 on Linux and 1.4.2 on Raspbian) Specifically, I can no longer step into subprograms in library units, and when I set a breakpoint in the library code it is

Re: [Lazarus] Debugging in Libraries.

2016-01-18 Thread Martin Frb
On 18/01/2016 20:51, Donald Ziesig wrote: ensure you disable "inlining" where? there may be an option to fpc I place {$INLINE OFF}(IIRC) in units that need it -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Elastic Tabstop - what would the bounty be worth?

2016-01-12 Thread Martin Frb
Just a tech note. All that should be needed is one new unit, that replaces "SynEditTextTabExpander" (and then in SynEdit an option to use it (synedit.create does that)). Must be based on TSynEditStringsLinked like the existing. It has access to all lines, so it can calculate each tab. It

Re: [Lazarus] IDE extension and Debug Output window

2015-12-31 Thread Martin Frb
On 31/12/15 12:25, Ondrej Pokorny wrote: On 28.12.2015 07:49, Dmitry Boyarintsev wrote: What's the correct IDEIntf APIs to show "Debug Output" window as well as populate with some debugging output? Nobody has more information about this issue? I am interested as well. My intention is: Open

Re: [Lazarus] Lazarus compile project via ssh?

2015-12-20 Thread Martin Schreiber
On Sunday 20 December 2015 10:34:33 Mark Morgan Lloyd wrote: > Martin Schreiber wrote: > > On Sunday 20 December 2015 08:59:35 Anthony Walter wrote: > >> I am wondering, is it possible to configure Lazarus to compile a project > >> on a remote computer running a diff

Re: [Lazarus] Lazarus compile project via ssh?

2015-12-20 Thread Martin Schreiber
crossarm*.prj, please see README.TXT. http://mseide-msegui.sourceforge.net/pics/crossarm.png It is probably possible to setup Lazarus to to the same. The cross-compiling environment is here: http://sourceforge.net/projects/mseide-msegui/files/fpcrossarm/ Martin -- __

[Lazarus] Lazarus versions in git

2015-12-17 Thread Martin Grajcar
patches (both official fixes and ours). Regards Martin. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus versions in git

2015-12-17 Thread Martin Grajcar
Hi Graeme! On Thu, Dec 17, 2015 at 5:58 PM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > On 2015-12-17 15:09, Martin Grajcar wrote: > > I wonder what commit corresponds to Lazarus 1.4.2. > > > With the limitation in mind (as mentioned in my other repli

Re: [Lazarus] Lazarus versions in git

2015-12-17 Thread Martin Frb
On 17/12/2015 16:35, Graeme Geldenhuys wrote: On 2015-12-17 16:19, Vincent Snijders wrote: Maybe you should convert the svn to a git branch instead of a git tag. I tried that it the past - tracking svn branches (seeing as svn tags are just like svn branches), at it inflated the Git repository

Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Martin Frb
On 16/12/2015 19:57, Sven Barth wrote: What about fpdebug? Does it work for Win64? Not tested recently, but a year ago it did. It is missing many features though. Even breakpoints do not always work (e.g. generics, where the same pascal code has more than one address in memory. --

Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Martin Frb
On 16/12/2015 16:52, Andrea Mauri wrote: Dear all, windows 10, lazarus 1.6 rc1 fpc 3.0 32 or 64 bit? I put a button and an opendialog on a form Onclick button I put opendialog.execute clicking button lazarus stop workin with message debugger error gdb stop working Does it work outside the

Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Martin Frb
On 16/12/2015 17:26, Ondrej Pokorny wrote: On 16.12.2015 18:20, Bart wrote: On 12/16/15, Ondrej Pokorny wrote: >I had the same issue on Windows 10 and was advised to check >DisableLoadSymbolsForLibraries (I don't remember who advised me, sorry). Yoe beat me to it. (And I

Re: [Lazarus] [offtopic] Debugger is not working...

2015-12-16 Thread Martin Frb
On 16/12/2015 10:41, William Ferreira wrote: Hi, I got a problem that seems more related to Windows than Lazarus itself. I simply can debug an application. I'm using a notebook that cames with Windows 8. I've updated to W8.1 and to W10. After updating to W8.1, if I run a project via F9 key,

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-10 Thread Martin Schreiber
work I strongly advice against it > since you're relying on implementation details. Also I doubt that you can > do this for var parameters... > It is difficult to make efficient Free Pascal applications without such "tricks". ;-) Martin -- __

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-09 Thread Martin Frb
On 09/12/2015 15:27, Mattias Gaertner wrote: On Wed, 09 Dec 2015 14:31:20 + Mark Morgan Lloyd wrote: [...] How about a stable Lazarus v2.0.x, with as many bugs and development quirks as possible worked out of it, based on FPC 3.0.x and with a support

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-08 Thread Martin Frb
On 08/12/2015 15:19, Mattias Gaertner wrote: The Lazarus team is glad to announce the first release candidate of Lazarus 1.6. This release was built with FPC 3.0.0. The previous release Lazarus 1.4.4 was built with FPC 2.6.4. checksums on our website

Re: [Lazarus] Detecting when decompiler is running

2015-12-04 Thread Martin Frb
On 04/12/2015 08:29, Richard Mace wrote: Hi All, I was wondering if there was a way where an application, written in Lazarus, could detect when a compiler is running, perhaps by it's mutex? My idea was, in my application, I could periodically check to see if a decompiler was running and then

Re: [Lazarus] Fast GUI

2015-11-30 Thread Martin Schreiber
On Monday 30 November 2015 13:51:38 Aradeonas wrote: > Martin is mse support transparent text box or these > component with OpenGL? In the experimental MSEgui OpenGL backend? Yes, transparent text is supported. But it is experimental and the performance is not very good. > As I rem

Re: [Lazarus] Fast GUI

2015-11-30 Thread Martin Schreiber
var ainfo: mouseeventinfoty); begin image.face.image.center:= TranslateWidgetToPaintPoint(ainfo.pos,sender,image); end; " The whole rest are design time property settings only. > I remember FireMonkey but in what we have Lazarus? AFAIK Fir

Re: [Lazarus] Failed to build lazarus release 1.4.4 from svn

2015-11-08 Thread Martin Schreiber
emember: http://www.mail-archive.com/lazarus%40lists.lazarus.freepascal.org/msg50406.html ;-) Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] D7 compatibility in component definition concerning TPage

2015-11-06 Thread Martin Grajcar
I've tried to unify some Lazarus and D7 sources and succeeded except for one thing: TYPE TMyForm = CLASS(TForm) {$IFDEF FPC} SomePage: TPage; {$ENDIF} END; Delphi parses it wrongly and always offers to remove the declaration. I don't need the declaration in L, but removing it

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Martin Schreiber
On Friday 06 November 2015 18:19:14 Michael Van Canneyt wrote: > > But presumably you mean some construct as > > With QMyVeryLongQueyObjectName as Q do >try > // Do things with Q >finally > Q.Close; >end; > > ? > Correct. There have been so

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Martin Schreiber
er at the "with" block start. Another important use of "with" is to make complex address calculations only once at the "with" block start without the need to define a pointer variable in "var" and to dereference in every statement.

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Martin Schreiber
ement a safe "with" in Free Pascal without waiting until it is enforced by Delphi compatibility... Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Martin Schreiber
On Friday 06 November 2015 17:42:39 Michael Van Canneyt wrote: > On Fri, 6 Nov 2015, Martin Schreiber wrote: > > On Friday 06 November 2015 17:20:24 Ondrej Pokorny wrote: > >> Nevertheless I am of the opinion that WITH is evil and should be removed > >> from th

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

2015-11-04 Thread Martin Schreiber
s) > It is also possible to use fpGUI directly without LCL layer. Same applies to MSEgui if identical look and feel on all supported platforms is important. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.free

[Lazarus] Forwarding events/messages

2015-11-04 Thread Martin Grajcar
I'd like to forward a TLMVScroll message to the parent component as a workaround for controls preventing parents from receiving mouse wheel events (I couldn't find out how to let the parents receive them). The problem is that the handler is PROCEDURE TWhatever.WMVScroll(VAR Message :

Re: [Lazarus] Forwarding events/messages

2015-11-04 Thread Martin Grajcar
On Wed, Nov 4, 2015 at 6:07 PM, Ondrej Pokorny <laza...@kluug.net> wrote: > On 04.11.2015 17:54, Martin Grajcar wrote: > > I'd like to forward a TLMVScroll message to the parent component as a > workaround for controls preventing parents from receiving mouse wheel > events

Re: [Lazarus] Finding memory leaks

2015-10-24 Thread Martin Frb
On 24/10/2015 13:51, Aradeonas wrote: Is there any way to count objects or whatever so I can find what object will not free? I cant gett much of help from report becuase its very big (about 100,000 line) and it have many items like this : Call trace for block $0030EEC8 size 88

Re: [Lazarus] Lazarus implementation of TListView etc?

2015-10-23 Thread Martin Schreiber
ces and provides a platform independent API. I assume Lazarus has a similar approach. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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

2015-10-23 Thread Martin Frb
On 23/10/2015 19:34, Dmitry Boyarintsev wrote: That's why I'm asking the participant to adjust his email client, rather than doing anything on my end. Well my email client does sort them correct. Yet I find it (personal opinion) annoying to have a SPAM keyword in those mails. --

Re: [Lazarus] Lazarus implementation of TListView etc?

2015-10-23 Thread Martin Schreiber
s big or complex as the example I >showed in the past. You don't know what is in the other datamodules. ;-) Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] The GDB command: "-gdb-set confirm off" did not return any result

2015-10-22 Thread Martin Frb
On 22/10/2015 22:04, Bo Berglund wrote: What I really wonder about next is the fact that it is different from in Delphi when one starts a command line program while developing. In Delphi the black terminal window shows up and one can see the progress of the execution there. In this case there

Re: [Lazarus] Working on big units

2015-10-21 Thread Martin Frb
On 21/10/2015 20:53, Aradeonas wrote: But I remember I read somewhere Its good too have minimum count of units and also its easier to use and also I saw many units that have thousands of code and its interesting that how they work on these codes? These classes are in a subject like controls and

Re: [Lazarus] Working on big units

2015-10-21 Thread Martin Frb
On 21/10/2015 21:58, Aradeonas wrote: Thanks, Im using all of these tools except folding (I just use JCF and it is very good at losing the point that where you was!) and still hard to maintain, so it seems its just my problem. If you used "find declaration", that adds a jump point, and you can

Re: [Lazarus] Working on big units

2015-10-21 Thread Martin Frb
On 21/10/2015 21:02, Martin Frb wrote: folding (if that is your thing) There are shortcuts to fold ALL nodes at a specific level. alt-shift-1 (or 2, 3 4 ... for level) alt-shift-0 unfold depending on what you have configured as fold-able try alt-shift-3 (maybe 4) and you just see function

Re: [Lazarus] *SPAM* Re: Win 10 IOT Core

2015-10-20 Thread Martin Schreiber
connect data points and events between server and client by a TCP/IP or other serial connection but that is no requirement. The same connection components can be used for separation of GUI and business logic in a standalone desktop application so it is pos

Re: [Lazarus] *SPAM* Re: Win 10 IOT Core

2015-10-20 Thread Martin Schreiber
On Tuesday 20 October 2015 14:11:09 Michael Schnell wrote: > On 10/20/2015 02:00 PM, Martin Schreiber wrote: > > At least in theory. ;-) > > What is the state of the "ifi" project right now ? (AFAIK, you did not > publish it for others to use yet.) In process

Re: [Lazarus] *SPAM* Re: Win 10 IOT Core

2015-10-20 Thread Martin Schreiber
On client side a MSEifi > > runtime which could be implemented as browser plug-in > > And that's where the ship sinks for me... > Browser plugins are not acceptable as a viable solution. > Certainly not for universal internet use. In an industrial environmen

Re: [Lazarus] *SPAM* Re: Win 10 IOT Core

2015-10-20 Thread Martin Schreiber
On Tuesday 20 October 2015 14:49:28 Michael Schnell wrote: > On 10/20/2015 02:29 PM, Martin Schreiber wrote: > > There is still the pipe demo I made for you, feel free to build some > > more. :-) > > Maybe you could provide a compiled version (simply two applications) so >

Re: [Lazarus] Win 10 IOT Core

2015-10-19 Thread Martin Schreiber
Form. > > > > But with Lazarus, the "fpGUI" and "Custom Drawn" widget sets should work, > > as - AFAIK - they can be configured to use DirectX. > > > > -> Graeme can you comment on this ? > > As far as I know, fpGUI works on GDI. > And AggP

Re: [Lazarus] Hiding a component by changing its parent

2015-10-19 Thread Martin Grajcar
On Mon, Aug 24, 2015 at 4:43 PM, Mattias Gaertner <nc-gaert...@netcologne.de > wrote: > On Mon, 24 Aug 2015 16:29:49 +0200 > Martin Grajcar <maaarti...@gmail.com> wrote: > > > In code I'm working on, I've found a pattern like > > > > PROCEDURE HideIt

Re: [Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Martin Frb
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 codepoints, not chars. So if the chars you are interested in have chars

Re: [Lazarus] Lazarus eats comment characters using Swedish keyboard

2015-10-11 Thread Martin Frb
On 10/10/2015 23:33, Bo Berglund wrote: I wanted to comment out a number of lines so I hit the key combination to produce the { } pair. But nothing was printed in the Lazarus editor. If I switched to the text editor in the GUI the keys produced the wanted characters. So something in Lazarus

Re: [Lazarus] Lazarus eats comment characters using Swedish keyboard

2015-10-11 Thread Martin Frb
On 11/10/2015 17:33, Bo Berglund wrote: I have investigated further now and when I use the Pi directly (monitor connected to Pi and keyboard/mouse too) then the {} keys do work. When I noticed the problem I was using TightVNC to remotely access the GUI. So somehow VNC might be involved here.

Re: [Lazarus] Lazarus Release 1.4.4

2015-10-07 Thread Martin Frb
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. Forgot to mention, checksums of the original files are on our website:

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

2015-10-06 Thread Martin Frb
On 06/10/2015 15:56, Mattias Gaertner wrote: On Tue, 6 Oct 2015 13:44:54 +0100 Martin Frb <laza...@mfriebe.de> 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 pr

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

2015-10-06 Thread Martin Frb
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. Windows users with Windows 7 or up may in some cases need to change the debugger: You may try

Re: [Lazarus] Compiling lazarus on arm-linux

2015-09-30 Thread Martin Schreiber
an Klaempfl and others > Target OS: Linux for ARMEL <<<<<<<<<<<<<<<<-- This is wrong, you need a eabihf compiler, either a patched FPC 2.6.4 or better FPC 3.0.1 from here: http://sourceforge.net/projects/mseide-msegui/files/fpcrossarm/ Martin --

Re: [Lazarus] Compiling lazarus on arm-linux

2015-09-30 Thread Martin Schreiber
On Wednesday 30 September 2015 18:46:11 Koenraad Lelong wrote: > Op 30-09-15 om 15:43 schreef Martin Schreiber: > > This is wrong, you need a eabihf compiler, either a patched FPC 2.6.4 or > > better FPC 3.0.1 from here: > > http://sourceforge.net/projects/mseide-ms

[Lazarus] Problem with PDF printing

2015-09-29 Thread Martin Grajcar
I've just found out that our printing with Lazarus 1.4.2 on 64 bit Linux doesn't work, e.g., it always produces a nearly empty PDF file (2.6 kB) with CUPS PDF printer and an empty page on a real printer with a message stating Error Name: undefined Offending Command: -nan Operand Stack: 53.641 It

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-22 Thread Martin Schreiber
om/mseide-msegui/mseide-msegui/tree/master/lib/common/ifi (msesockets.pas) https://gitlab.com/mseide-msegui/mseide-msegui/tree/master/lib/common/serialcomm (msesercomm.pas) https://gitlab.com/mseide-msegui/mseide-msegui/tree/master/lib/common/kernel (msepipestream.pas). Martin -- _

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-21 Thread Martin Schreiber
_with_ifirem in order to activate them. It also has "tnoguiapplication" in order to build daemon applications with an event loop where all nonvisual components including ttimer can be used. Martin -- ___ Lazarus mailing list Lazarus@lists.lazar

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-18 Thread Martin Schreiber
database options at your fingertips. MSEgui probably is the most versatile GUI toolkit on the market. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-18 Thread Martin Schreiber
On Friday 18 September 2015 16:08:20 Martin Schreiber wrote: > 2. Port the FPC Windows to FPC Linux X86 on a Linux X86 PC. 2. Port the FPC Windows application to FPC Linux X86 on a Linux X86 PC. -- ___ Lazarus mailing list Laza

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-18 Thread Martin Schreiber
3. Cross compile and cross debug the Linux application to RaspberryPi on the Linux X86 PC. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Cross-compiling for Raspberry Pi2

2015-09-17 Thread Martin Schreiber
natively on the Raspberry Pi, the limiting factor is FPC compiling speed and memory consumption especially for smart linking. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] test

2015-09-12 Thread Martin Frb
test -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Desktops and multiple source editors

2015-09-09 Thread Martin Frb
On 09/09/2015 11:58, Juha Manninen wrote: Martin Friebe noticed a problem with desktops and multiple source editor windows. In fact I also noticed that a second source editor is not restored correctly when changing desktops. Now I realized the 2nd, 3rd etc. editor windows are project specific

Re: [Lazarus] Lazarus IDE - One Hundred Papercuts

2015-09-09 Thread Martin Frb
On 09/09/2015 11:42, Graeme Geldenhuys wrote: On 2015-09-08 23:16, Martin Frb wrote: In respect to "fixed locally" (your comment below): How? Does it use the storage that can be edited via the "windows" tab in tools/opitons? (like breakpoints)? That's another problem I h

  1   2   3   4   5   6   7   8   9   10   >