[Libreoffice-bugs] [Bug 130453] [macOS] Convert from Carbon to Cocoa framework

2023-04-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

Julien Nabet  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||4849

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 130453] [macOS] Convert from Carbon to Cocoa framework

2023-01-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

Caolán McNamara  changed:

   What|Removed |Added

 CC||ilmari.lauhakangas@libreoff
   ||ice.org

--- Comment #13 from Caolán McNamara  ---
caolanm->ilmari: I think you have ended up as this years coordinator (de
facto/jure?) of budget 2023

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 130453] [macOS] Convert from Carbon to Cocoa framework

2023-01-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

Patrick Luby  changed:

   What|Removed |Added

 CC||plub...@neooffice.org

--- Comment #12 from Patrick Luby  ---
I saw this bug in a budgeting e-mail on the developer's mailing. This bug has
been open for almost 3 years. Maybe we can narrow the scope of this bug to some
concrete tasks.

Here is some of the tasks that can think of:

1. Replace any remaining Carbon functions with non-Carbon functions. There
aren't a lot of Carbon functions that I can see, but the following shared
libraries are still linked to the Carbon framework:

libAppleRemotelo.dylib
libmacabdrv1.dylib
libuno_sal.dylib.3
libvclplug_osxlo.dylib

2. Replace any deprecated macOS functions with supported functions. Apple
routinely changes function names every few years, even in Cocoa and other
frameworks. LibreOffice is still using some deprecated macOS functions and
since Apple may remove deprecated functions from a future version of macOS, a
second task for this bug could be replacing deprecated code within 
SAL_WNODEPRECATED_DECLARATIONS_PUSH/SAL_WNODEPRECATED_DECLARATIONS_POP #pragma
blocks.

I am planning on working on the second task for the native accessibility code
in vcl/osx later this year. I am planning on replace the deprecated,
heavyweight NSAccessibility informal protocol with the new, lightweight formal
protocol.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 130453] [macOS] Convert from Carbon to Cocoa framework

2022-09-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

Sierk Bornemann  changed:

   What|Removed |Added

 Blocks||42082


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=42082
[Bug 42082] [META] Make LibreOffice shine and glow on macOS
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 130453] [macOS] Convert from Carbon to Cocoa framework

2022-04-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

steve  changed:

   What|Removed |Added

 CC||l...@disr.it
Summary|[MacOS] Convert from Carbon |[macOS] Convert from Carbon
   |to Cocoa framework  |to Cocoa framework

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

--- Comment #11 from Miklos Vajna  ---
https://lists.freedesktop.org/archives/libreoffice/2020-February/084440.html
discussed today in the ESC call. If there is more input needed, probably best
to discuss it async on the dev list.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

--- Comment #10 from Tor Lillqvist  ---
I don't think this issue is about low-level rendering as such, but about
fitting the whole application plumbing into the Cocoa document architecture,
NSDocument etc. See
https://developer.apple.com/documentation/appkit/documents_files_and_icloud/developing_a_document-based_app?language=objc

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

--- Comment #9 from Miklos Vajna  ---
Sure, we can discuss this in 3 days.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

Michael Meeks  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||0431

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

Michael Meeks  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||vmik...@collabora.com
 Status|UNCONFIRMED |NEW

--- Comment #8 from Michael Meeks  ---
For the ESC agenda - best to poke Miklos (CC'd) I think.

I would love us to move to a modern rendering API here, we have a Skia backend
that can provide that nicely which is coming along very nicely I think. Lubos
might have some thoughts here.

Probably there is more than just rendering API we would need to upgrade (I
guess), if someone wants to do the porting, that's great, and totally agreed
with Tor & Thorsten that continuing to use our mix of objective-C and C++ is
the right approach for now =)

HTH.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

Julien Nabet  changed:

   What|Removed |Added

 CC||caol...@redhat.com,
   ||michael.me...@collabora.com

--- Comment #7 from Julien Nabet  ---
Thorsten: very interesting! I didn't think about such a refactor of VCL part.

Caolán: since it concerns VCL (so not Mac specific part), thought you might be
interested in this one.

Michael: I think it could be interesting to put this in next ESC, would it be
ok?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

--- Comment #6 from Thorsten Wagner  ---
APIs of SWIFT and Objective+C++ are very similar/exchangable. I don't know if
SWIFT is really the future. I fact both can be used. To integrate with LO code
Objective-C++ should be the way to go from my point of view.

Cocoa adoption have to be done absolutely since Carbon APIs do not seem to be
maintained by Apple straightforward (see tdf#122218 for example), but Cocoa
adoption is a larger issue:

(1) VCL is a framework for complete layout and management of graphical
interfaces. Native widgets are called for displaying themtelves, text is
displayed separately by VCL using another native call, event loop is done by
VCL and so on. This is possible using Carbon calls, GTK and QT are implemented
similar as far as I understood.

(2) Cocoa is an object-oriented framework. To adopt Cocoa, classes have to be
defined to superimpose VCL and to replace VCL functionality by Cocoa, not to
call Cocoa functionality from VCL.

Probably a redesign of VCL will be required to offer both ways in the future.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

Julien Nabet  changed:

   What|Removed |Added

 CC||thorsten.wagne...@gmail.com

--- Comment #5 from Julien Nabet  ---
Thorsten: considering the patch
https://cgit.freedesktop.org/libreoffice/core/commit/?id=9d31d8f1d8d3a73f8c07ca39f5ed45e2bb7b088c,
thought you might have some opinion here.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

--- Comment #4 from Tor Lillqvist  ---
Without any concrete suggestions there is little to say. But in general, yeah,
I am sure there is lots that could be done. 

Using Objective-C++ makes it trivial to interface with cross-platform
LibreOffice code. (The same source file can freely use both C++ and Objective-C
APIs.) If one started rewriting stuff in Swift just to be more "cool", one
would also need to add a bunch of glue.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 CC||t...@iki.fi

--- Comment #3 from Roman Kuznetsov <79045_79...@mail.ru> ---
Tor, possibly you have some opinion about this enh?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

--- Comment #2 from Julien Nabet  ---
(In reply to Alex Thurgood from comment #1)
> Shouldn't we be looking at Swift instead of Objective-C ?

It seems Cocoa framework is compatible with both. Now, if Swift is the future,
I suppose that evolutions on MacOs code part should indeed be in Swift.

BW, just to put it clearly, I created this enhancement so there's some trace
but I don't know Cocoa, Swift or Objective-C and don't have a Mac anymore since
2017.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 130453] [MacOS] Convert from Carbon to Cocoa framework

2020-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=130453

--- Comment #1 from Alex Thurgood  ---
Shouldn't we be looking at Swift instead of Objective-C ?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs