Re: [Lazarus] Current SVN lazarus compilation fails

2015-03-08 Thread Mattias Gaertner
On Sun, 8 Mar 2015 18:47:09 +0100 (CET)
Michael Van Canneyt mich...@freepascal.org wrote:

 
 ... because of C style assignments in 
 ./lcl/interfaces/gtk2/gtk2wscustomlistview.inc
 
  ItemRect.x += IconRect.width + IconRect.x + 2;
  ItemRect.y += 2; // offset
  ItemRect.Width -= IconRect.Width + 2;
  ItemRect.height -= 2; // offset
 
 This only works if you have enabled a special switch.
 
 Found this out with 'make bigide'

I fixed the Makefile.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Current SVN lazarus compilation fails

2015-03-08 Thread Michael Van Canneyt


... because of C style assignments in 
./lcl/interfaces/gtk2/gtk2wscustomlistview.inc

ItemRect.x += IconRect.width + IconRect.x + 2;
ItemRect.y += 2; // offset
ItemRect.Width -= IconRect.Width + 2;
ItemRect.height -= 2; // offset

This only works if you have enabled a special switch.

Found this out with 'make bigide'

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Feature request: Support Java classes syntax in code tools

2015-03-08 Thread Michael Van Canneyt


Hi,

Mainly for Mattias, I suppose:

The codetools cannot handle the jvm extensions. 
As a result, as soon as you include e.g. the androidr14 unit, code completion just stops working.


Also, you cannot set the ppcjvm compiler as compiler. If you do, you get an 
error:

The compiler file /usr/local/bin/ppcjvm does not look correct:
classes.ppu not found. Check your fpc.cfg.

Logical, because this unit does not exist for the JVM target...

Tested with lazarus 1.2.x, 1.3 and 1.5.

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Play video from memory

2015-03-08 Thread silvioprog
On Fri, Mar 6, 2015 at 2:32 PM, aradeonas aradeo...@operamail.com wrote:

  Dear Silvio I checked them before and I couldn't find out way for
 opening from memory.

 Ara


FFVCL (from the link that I sent in previous message) offer support to
video stream (FPC/Dephi):

http://www.delphiffmpeg.com/downloads/

-- 
Silvio Clécio
My public projects - github.com/silvioprog
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TShortcut properties

2015-03-08 Thread Howard Page-Clark

On 07/03/2015 10:15, Mattias Gaertner wrote:

On Tue, 03 Mar 2015 16:31:59 +
Howard Page-Clark h...@talktalk.net wrote:


Descendants of TCustomCheckbox and TCustomButton have public Shortcut
and ShortcutKey2 properties which cannot be set since they are read-only.
What is the purpose of these properties?


The first is extracted from the Caption.
The second was apparently only started by someone, but not finished.


Is it now realistic to expect whatever 'someone' planned as new 
functionality to be finished? If not, should the code associated with 
these properties be removed to lighten the LCL by a few bytes?


Howard

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Trapping Exceptions in Library

2015-03-08 Thread steveg
Looking through the release notes for fpc, it seems that exceptions are 
not trapped (trappable) within a library (using Linux here).


Would anybody know how to enable / re-enable this at all ?

A simple example or pointer to such would be much appreciated :)

SteveG


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus