[Lazarus] Cocoa testers needed

2015-02-28 Thread Felipe Monteiro de Carvalho
Hello,

It would be good if people start testing LCL-Cocoa and report bugs.

thanks,
-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Cocoa testers needed

2015-02-28 Thread Schindler Karl-Michael
Am 28.02.2015 um 12:00 schrieb lazarus-requ...@lists.lazarus.freepascal.org:

> Message: 1
> Date: Sat, 28 Feb 2015 07:51:00 -0300
> From: Felipe Monteiro de Carvalho 
> Subject: [Lazarus] Cocoa testers needed
> To: Lazarus mailing list 
> Message-ID:
>   
> Content-Type: text/plain; charset=UTF-8
> 
> Hello,
> 
> It would be good if people start testing LCL-Cocoa and report bugs.
> 
> thanks,
> -- 
> Felipe Monteiro de Carvalho

RC 1.4 and fixes_1_4:

As 32bit It builds with „make all LCL_PLATFORM=cocoa PP=ppc386 CPU_TARGET=i386 
CPU_SOURCE=i386“

But with 64bit building seems broken: 

make all LCL_PLATFORM=cocoa
…
Compiling lazarus.pp
Assembling (pipe) ../units/x86_64-darwin/cocoa/lazarus.s
Compiling resource ../units/x86_64-darwin/cocoa/lazarus.or
Linking ../lazarus
Undefined symbols for architecture x86_64:
  "_GetCurrentEventButtonState", referenced from:
  _COCOAINT_TCOCOAWIDGETSET_$__GETKEYSTATE$LONGINT$$SMALLINT in cocoaint.o
  "_GetThemeMetric", referenced from:
  _COCOAGDIOBJECTS_TCOCOACONTEXT_$__DRAWFOCUSRECT$TRECT in cocoagdiobjects.o
  _COCOAPROC_GETHITHEMEMETRIC$LONGWORD$LONGINT$$LONGINT in cocoaproc.o
  "_HIThemeDrawFocusRect", referenced from:
  _COCOAGDIOBJECTS_TCOCOACONTEXT_$__DRAWFOCUSRECT$TRECT in cocoagdiobjects.o
  "_HIThemeDrawGroupBox", referenced from:
  _COCOAGDIOBJECTS_TCOCOACONTEXT_$__FRAME3D$TRECT$LONGINT$TGRAPHICSBEVELCUT 
in cocoagdiobjects.o
ld: symbol(s) not found for architecture x86_64




signature.asc
Description: Message signed with OpenPGP using GPGMail
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cocoa testers needed

2015-02-28 Thread Felipe Monteiro de Carvalho
On Sat, Feb 28, 2015 at 8:43 AM, Schindler Karl-Michael
 wrote:
> RC 1.4 and fixes_1_4:

Please try SVN trunc.

In general, I wanted people to test SVN Lazarus... Cocoa is under
development, so it should be used from SVN trunc not from the release
branch.

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Cocoa testers needed

2015-02-28 Thread Schindler Karl-Michael
> Date: Sat, 28 Feb 2015 07:51:00 -0300
> From: Felipe Monteiro de Carvalho 
> Subject: [Lazarus] Cocoa testers needed
> To: Lazarus mailing list 
> Message-ID: 
> 
> Content-Type: text/plain; charset=UTF-8
> 
> Hello,
> 
> It would be good if people start testing LCL-Cocoa and report bugs.
> 
> thanks,
> -- 
> Felipe Monteiro de Carvalho

svn trunk is the same situation as 1.4RC1

I looked further into 32bit cocoa from svn trunk and found these issues:

1) setup dialog for fpcsrc.

I have my fpcsrc at a different place (namely in /sw from fink). The expected 
dialog comes up, but searching cannot be stopped. The Halt button is not 
responsive and i cannot enter text in the line of the path. The fix at the 
moment was to build the carbon version. With this the dialog is ok and i can 
set the path. After switching back to cocoa, the IDE can be startet. In 
addition, I tried pass the correct path to lazarus through the sources, namely 
tools/install/macosx/environmentoptions.xml and 
ide/include/unix/lazbaseconf.inc. It seemed to work for carbon, but not for 
cocoa. 

2) Standard Controls.

In the toolbar, the icons of the standard controls are missing. The other 
controls like Additional, Common Controls, … are displayed.

3) Compiling gets stuck
After adding a TStaticText and starting compile, lazarus gets stuck compiling 
and can only be stopped through external task management. In the message window 
the initial not about compiling FCL can be obtained, but that is where it hangs.

Michael.


signature.asc
Description: Message signed with OpenPGP using GPGMail
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cocoa testers needed

2015-03-01 Thread Felipe Monteiro de Carvalho
On Sat, Feb 28, 2015 at 12:43 PM, Schindler Karl-Michael
 wrote:
> But with 64bit building seems broken:
>
> make all LCL_PLATFORM=cocoa

Fixed 64-bit linking in rev 48062, now it should work the same for 32
and 64 bits.

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Cocoa testers needed

2015-03-01 Thread C Western

On 28/02/15 10:51, Felipe Monteiro de Carvalho wrote:

Hello,

It would be good if people start testing LCL-Cocoa and report bugs.

thanks,

I tried lazarus with cocoa; it started OK on a "default" app, but when I 
loaded one of my own apps I had the following crash shown in the 
attached file.


Colin
2015-03-01 18:00:22.762 lazarus[30461:74710] Unable to simultaneously satisfy 
constraints:
(
"",
"",
"",
"",
""
)

Will attempt to recover by breaking constraint 


Set the NSUserDefault 
NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have 
-[NSWindow visualizeConstraints:] automatically called when this happens.  
And/or, break on objc_exception_throw to catch this in the debugger.
TApplication.HandleException [TCustomIcon.LoadFromResourceName] The resource 
"cur_11" was not found
  Stack trace:
  $00163528  TCUSTOMICON__LOADFROMRESOURCENAME,  line 674 of lcl/graphics.pp
  $0006554E  TSCREEN__GETCURSORS,  line 600 of lcl/forms.pp
  $00065F90  TSCREEN__SETCURSOR,  line 904 of lcl/forms.pp
  $004A4327  TSOURCEEDITORMANAGERBASE__INCUPDATELOCKINTERNAL,  line 9072 of 
ide/sourceeditor.pp
  $004A4428  TSOURCEEDITORMANAGERBASE__INCUPDATELOCK,  line 9097 of 
ide/sourceeditor.pp
  $005F1893  TLAZSOURCEFILEMANAGER__CLOSEPROJECT,  line 3742 of 
ide/sourcefilemanager.pas
  $000921DB  TMAINIDE__DOCLOSEPROJECT,  line 6204 of ide/main.pp
  $00092913  TMAINIDE__DOOPENPROJECTFILE,  line 6311 of ide/main.pp
  $005F1AA6  TLAZSOURCEFILEMANAGER__OPENPROJECT,  line 3778 of 
ide/sourcefilemanager.pas
  $0008A8FD  TMAINIDE__MNUOPENPROJECTCLICKED,  line 4116 of ide/main.pp
  $00383805  TIDEMENUITEM__MENUITEMCLICK,  line 575 of 
components/ideintf/menuintf.pas
  $00386855  TIDEMENUCOMMAND__MENUITEMCLICK,  line 1650 of 
components/ideintf/menuintf.pas
  $002428E5  TMENUITEM__CLICK,  line 84 of lcl/menus.pp
  $0024300A  TMENUITEM__DOCLICKED,  line 282 of lcl/menus.pp
  $00024624  PASCALMAIN,  line 142 of ./include/control.inc
  $002841BE  TLCLMENUITEMCALLBACK__ITEMSELECTED,  line 1376 of 
lcl/interfaces/cocoa/cocoawscommon.pas
  $001C12B8  TCOCOAMENUITEM__LCLITEMSELECTED,  line 3340 of 
lcl/interfaces/cocoa/cocoaprivate.pp
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus