Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS support #50

Closed
dend opened this issue Dec 9, 2015 · 17 comments
Closed

MacOS support #50

dend opened this issue Dec 9, 2015 · 17 comments
Labels
new-platform Requests for new target platforms, and issues related to multi-platform

Comments

@dend
Copy link

dend commented Dec 9, 2015

Adding this to the backlog of items that I would want to work on. Comment here if you are interested to be a part of a Mac port for this project.

@SachiraChin
Copy link

I'm interested in contributing this version. Been working with Core CLR recently and have experience in Obj-C and C.

@milizhang
Copy link

The current code relies heavily on WinForms.
Unless you want to use the Mono's implementation of WinForms (which seems to be X11 only), finding a substitution and decoupling the UI from WinForms would be the first thing toward cross-platform.

@SachiraChin
Copy link

I think Mono's WinForms supports OS X. I noticed that repo contains come C++ library for ribbon UI, we have to look into that as well.

I will try Mono WinForms in my fork to see how it'll go and how much work it may need.

@martinwoodward
Copy link
Member

@SachiraChin way to go - let us know how you get on - see #46 for some folks looking at Mono for a Linux version

@timheuer timheuer added the new-platform Requests for new target platforms, and issues related to multi-platform label Dec 11, 2015
@glennblock
Copy link

+1 for Mac. I bought Mars to use for blogging. It doesn't hold a flame to LW

@juvander
Copy link

Yes, would definitely contribute to this!

@SachiraChin
Copy link

@martinwoodward I was able get managed projects build without errors. But OpenLiveWriter.Ribbon project does not work or can be built on Xamarin Studio. I think I won't be able to build it with Mono because of the dependency of uicc.exe. Any suggestion to solve this would help me a lot. Meanwhile, I will look for alternatives.

@SachiraChin
Copy link

@juvander I've pushed updated code to my repo. You are welcome to try. Thanks.

@juvander
Copy link

Took a quick peak, lots of stuff that need rework :(

@SachiraChin
Copy link

I will log changes I do here so you guys can track.

  • Able to get application build by removing OpenLiveWriter.Ribbon.
  • Had to remove Kernel32.SetDllDirectory(""); and WindowsIdentity currentUser = WindowsIdentity.GetCurrent(); from startup because it's not supported.
  • There's dependency for urlmon.dll which found on Windows. Trying to use native Windows lib in Mac. Following guidelines on http://www.mono-project.com/docs/advanced/pinvoke/#mac-os-x-framework-and-dylib-search-path. Currently it does not load copied dll. May be it can't pinvoke Windows dlls...

@xiexin36
Copy link

@SachiraChin mono can only call dylib on os x, and Mono does not support managed C++.

@xiexin36
Copy link

Maybe we can change the UI to gtksharp, like monoDevelop, in our project, we changed wpf to gtksharp

@SachiraChin
Copy link

That's what I thought as well, but application functions heavily depends on Windows native libraries, not the UI. Even if we port UI to gtksharp, we still need find/rewrite alternatives to native assembly calls. I will update here the native functions which application depends on, we can discuss whether these can be rewritten from C# or not.

@xiexin36
Copy link

@SachiraChin Yes, some windows native libraries, maybe we can use MonoMac or Xamarin.Mac to instand of, these dlls wrapper the OS X CoreFunction in C#.

@SachiraChin
Copy link

@xiexin36 Yes I think it’s a good idea, working on getting available native library calls. If you want to see it, all of those are inside one project OpenLiveWriter.Interop.

@imhazige
Copy link

imhazige commented Sep 8, 2016

+1
I really need it, looking for this feature for years already, now it is the good time to have it as it opensource now!

@dukecheng
Copy link

Does any updates on this issue?

@dend dend closed this as completed Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-platform Requests for new target platforms, and issues related to multi-platform
Projects
None yet
Development

No branches or pull requests

10 participants