Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread wkitty42
On 02/09/2016 04:10 AM, Bo Berglund wrote: On Mon, 8 Feb 2016 23:24:35 +0100, mic...@gmail.com wrote: I am using Lazarus 1.6RC2 and FPC 3.0.0 on Raspbian Jessie. reboot ist not needed on linux use a console and kill command Ctrl-Alt-F1 for console Or use the terminal icon on the taskbar,

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Dmitry Boyarintsev
On Mon, Feb 8, 2016 at 6:22 PM, Mattias Gaertner wrote: > Do you mean you added -dUseCThreads in > Project/Project_Options/Custom_Options, > but it is not appended to options passed to FPC? > Is it true to say that there are only 2 ways in IDE to set defines. 1)

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Bo Berglund
On Tue, 9 Feb 2016 00:22:21 +0100 (CET), Mattias Gaertner wrote: >> I tried setting the conditional "UseCThreads" for my test project but >> even though I can reach the place where this apparently is set: >> Menu: Project/Project_Options/Custom_Options/Defines >> it

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Bo Berglund
On Mon, 8 Feb 2016 23:24:35 +0100, mic...@gmail.com wrote: >> I am using Lazarus 1.6RC2 and FPC 3.0.0 on Raspbian Jessie. >reboot ist not needed on linux >use a console and kill command >Ctrl-Alt-F1 for console Or use the terminal icon on the taskbar, right? But then what? How do I use kill to

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread JuuS
On 02/09/2016 10:10 AM, Bo Berglund wrote: > On Mon, 8 Feb 2016 23:24:35 +0100, mic...@gmail.com wrote: > > I am used to Windows Task Manager where the running programs are > listed and one can stop it, but how do I get a corresponding list in > which to select Lazarus in Linux? All linux

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Bo Berglund
On Tue, 9 Feb 2016 11:32:10 +0100, JuuS wrote: >> 'man kill' indicates that I need a value but 'man pid' returns >> nothing. > >use ps command (ps --help all) to get PID's. ps aux is a good start, >but use grep to winnow it down. Tried this: pi@rpi2-jessie2:~ $ ps -u pi |grep

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Henry Vermaak
On Tue, Feb 09, 2016 at 10:10:05AM +0100, Bo Berglund wrote: > 'man kill' indicates that I need a value but 'man pid' returns > nothing. `killall` takes the name of the process, and tab completion works on most systems I've tried. Henry -- ___

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread patspiper
On 09/02/16 10:38, Bo Berglund wrote: No I did not add the -d in front of the UseCThreads symbol, just the symbol itself. I used Menu: Project/Project_Options/Compiler_Options/Custom_Options This was the only place I found the word Defines, which appears on a button to the right. It is in

[Lazarus] Video Tutorial: Introducing Lazarus

2016-02-09 Thread Anthony Walter
I've published a new video in my tutorial series. This new video serves as an introduction the Lazarus IDE for the uninitiated. Feel free to post this link to other websites. I'm hoping it reaches people who haven't given the idea of development with Lazarus its due consideration.

Re: [Lazarus] Exclude components from localization by path or text

2016-02-09 Thread Denis Kozlov
I've implemented this feature and attached a patch: http://bugs.freepascal.org/view.php?id=29627 In summary: 1) Added methods to remove entries from TPOFile by identifier and by original text. 2) Implemented storage of excluded identifiers and originals via TProject. 3) Updated translation

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread JuuS
On 02/09/2016 11:56 AM, Bo Berglund wrote: > On Tue, 9 Feb 2016 11:32:10 +0100, JuuS wrote: > >>> 'man kill' indicates that I need a value but 'man pid' returns >>> nothing. >> >> use ps command (ps --help all) to get PID's. ps aux is a good start, >> but use grep to winnow

Re: [Lazarus] Exclude components from localization by path or text

2016-02-09 Thread Mattias Gaertner
>[...] > I hope this could be merged into either 1.4 or 1.6 as it's an extremely > useful feature for i18n. Sorry, only bug fixes can go to 1.6. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread micsch
Am Tuesday 09 February 2016 10:10:05 schrieb Bo Berglund: > On Mon, 8 Feb 2016 23:24:35 +0100, mic...@gmail.com wrote: > >> I am using Lazarus 1.6RC2 and FPC 3.0.0 on Raspbian Jessie. > > > >reboot ist not needed on linux > >use a console and kill command > >Ctrl-Alt-F1 for console > > Or use the

Re: [Lazarus] Video Tutorial: Introducing Lazarus

2016-02-09 Thread Anthony Walter
Dmitry, I have a friend who is a television news talent reading my scripts. My reading voice sounds like this: http://cache.getlazarus.org/audio/sysrpl.m4a My friend does a better job and it only takes him a few minutes to record stuff. Plus he has a way better microphone. --

Re: [Lazarus] Video Tutorial: Introducing Lazarus

2016-02-09 Thread Dmitry Boyarintsev
On Tue, Feb 9, 2016 at 3:35 AM, Anthony Walter wrote: > I've published a new video in my tutorial series. > Just curios, is it your voice on the video? thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Lazarus code editor width not smaller than 1060 px?

2016-02-09 Thread Bo Berglund
Lazarus 1.6RC2 & FPC 3.0.0 on Raspbian Jessie When I try to change the horizontal width of the code editor window in Lazarus I am able to increase it but not to reduce it. I made a screenshot image so I could evaluate the width in pixels and it seems like it refuses to reduce smaller than 1060

Re: [Lazarus] Video Tutorial: Introducing Lazarus

2016-02-09 Thread Dmitry Boyarintsev
On Tue, Feb 9, 2016 at 4:59 PM, Anthony Walter wrote: > I have a friend who is a television news talent reading my scripts. > Thanks for clarification! The pro voice indeed makes it pro quality video. thanks, Dmitry -- ___ Lazarus

[Lazarus] Lazarus application crash. Is PostMessage thread safe?

2016-02-09 Thread Giuliano Colla
Hi Lazarus guru's, I have stumbled into a problem with a Lazarus application. At random times, from 5 minutes to several hours, it crashes suddenly, and silently. The only way to get a clue has been to run it with gdb. It turns out that the crash occurs because of a Segmentation Fault in

Re: [Lazarus] Exclude components from localization by path or text

2016-02-09 Thread Aradeonas
Thanks Denis. Regards, Ara -- http://www.fastmail.com - mmm... Fastmail... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus application crash. Is PostMessage thread safe?

2016-02-09 Thread Denis Kozlov
On 09/02/2016 22:37, Giuliano Colla wrote: PostMessage(Form1.Handle,LM_ERROR,Integer(ErrPut),0); Is your LM_ERROR larger than LM_USER? PostMessage is thread safe. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Lazarus application crash. Is PostMessage thread safe?

2016-02-09 Thread Denis Kozlov
You create a recursive scenario yourself by calling Application.ProcessMessages inside of ShowError inside of HandleError - which is the message handling procedure itself, which is triggered by Application.ProcessMessages. -- ___ Lazarus mailing

Re: [Lazarus] Lazarus application crash. Is PostMessage thread safe?

2016-02-09 Thread zeljko
On 02/09/2016 11:37 PM, Giuliano Colla wrote: Hi Lazarus guru's, I have stumbled into a problem with a Lazarus application. At random times, from 5 minutes to several hours, it crashes suddenly, and silently. The only way to get a clue has been to run it with gdb. It turns out that the crash