Recent

Author Topic: New MacOS 64bit Cocoa bountie  (Read 10286 times)

freq

  • New Member
  • *
  • Posts: 22
New MacOS 64bit Cocoa bountie
« on: October 18, 2013, 05:50:02 pm »
I'm looking for co-workers for bringing the cocoa widgetset to a next level. Big task but has to be done. Carbon support will expire sooner or later on MacOS  :'(
http://wiki.lazarus.freepascal.org/Bounties#Increase_Cocoa_LCL_widgetset_significant_.2864bit.29

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: New MacOS 64bit Cocoa bountie
« Reply #1 on: October 18, 2013, 06:28:50 pm »
cocoa widgetset is 64 bit only isn't it?
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

kamischi

  • Full Member
  • ***
  • Posts: 177
Re: New MacOS 64bit Cocoa bountie
« Reply #2 on: October 19, 2013, 10:15:57 am »
cocoa widgetset is 64 bit only isn't it?
To the best of my knowledge, it depends on the version of Mac OS X. For example, 10.6 has 32bit cocoa libraries.
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: New MacOS 64bit Cocoa bountie
« Reply #3 on: October 19, 2013, 01:23:56 pm »
Cocoa supports both 32-bit and 64-bit binaries on all supported processor families (PPC, x86 and ARM).

It would be great, it the new cocoa widgetset would be flexible enough to also support CocoaTouch (for iOS) and GNUstep.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

freq

  • New Member
  • *
  • Posts: 22
Re: New MacOS 64bit Cocoa bountie
« Reply #4 on: October 19, 2013, 07:07:24 pm »
With the latest commits http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=42071 one is able to create 64bit cocoa apps (use trunc 1.3 version). It works quite ok for a simple TForm with TButton and TEdit But e.g. TLabel crashes with EXC_BAD_ACCESS in 64bit version (32bit works - see http://mantis.freepascal.org/view.php?id=25217). Also some strange  "__NSAutoreleaseNoPool() of NSCFNumber, NSCFString autorelease with no pool in place" console messages happens. I'm happy to share my simple test code.
« Last Edit: October 19, 2013, 07:44:55 pm by freq »

freq

  • New Member
  • *
  • Posts: 22
Re: New MacOS 64bit Cocoa bountie
« Reply #5 on: October 20, 2013, 05:19:11 pm »

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: New MacOS 64bit Cocoa bountie
« Reply #6 on: October 26, 2013, 01:24:40 am »
Just another tribute for the Pascal, I just give 300$ for cocoa widgetset, Full test is reasonable. :)
I mean all the usable components. :) Anyone can touch  to me in this forum.
Thanks.
PS. DB part is more extra $.
Thanks.
« Last Edit: October 26, 2013, 01:31:14 am by IndianaJones »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: New MacOS 64bit Cocoa bountie
« Reply #7 on: October 26, 2013, 01:31:07 am »
ooh... extra cash. the bounty page shows $500.

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: New MacOS 64bit Cocoa bountie
« Reply #8 on: October 26, 2013, 01:32:03 am »
Plus $300 + Extra

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: New MacOS 64bit Cocoa bountie
« Reply #9 on: October 26, 2013, 01:36:39 am »

Pardon me, another thing is +50 for extra component, doesnt matter. :)

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: New MacOS 64bit Cocoa bountie
« Reply #10 on: October 26, 2013, 01:38:58 am »
Pardon me, full test of course. :)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: New MacOS 64bit Cocoa bountie
« Reply #11 on: October 26, 2013, 01:43:58 am »
full test? is there a list of test applications that could be used? I recall working on widgetest graphical API emulation through Carbon :) you'll never know how people can write the code.

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: New MacOS 64bit Cocoa bountie
« Reply #12 on: October 26, 2013, 01:45:01 am »
I will add this thing to bounty page, tomorrow. :)

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: New MacOS 64bit Cocoa bountie
« Reply #13 on: October 26, 2013, 01:47:26 am »
I mean no bug man. :)

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: New MacOS 64bit Cocoa bountie
« Reply #14 on: October 26, 2013, 02:10:07 am »
To be honest, no one care about carbon in lazarus. :) I opened a case but nothing happened, even the case svn compiling is f*  :-X ing problem. :)
« Last Edit: October 26, 2013, 02:34:12 am by skalogryz »

 

TinyPortal © 2005-2018