GithubHelp home page GithubHelp logo

Comments (17)

SachiraChin avatar SachiraChin commented on May 3, 2024

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

from openlivewriter.

milizhang avatar milizhang commented on May 3, 2024

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.

from openlivewriter.

SachiraChin avatar SachiraChin commented on May 3, 2024

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.

from openlivewriter.

martinwoodward avatar martinwoodward commented on May 3, 2024

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

from openlivewriter.

glennblock avatar glennblock commented on May 3, 2024

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

from openlivewriter.

juvander avatar juvander commented on May 3, 2024

Yes, would definitely contribute to this!

from openlivewriter.

SachiraChin avatar SachiraChin commented on May 3, 2024

@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.

from openlivewriter.

SachiraChin avatar SachiraChin commented on May 3, 2024

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

from openlivewriter.

juvander avatar juvander commented on May 3, 2024

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

from openlivewriter.

SachiraChin avatar SachiraChin commented on May 3, 2024

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...

from openlivewriter.

xiexin36 avatar xiexin36 commented on May 3, 2024

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

from openlivewriter.

xiexin36 avatar xiexin36 commented on May 3, 2024

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

from openlivewriter.

SachiraChin avatar SachiraChin commented on May 3, 2024

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.

from openlivewriter.

xiexin36 avatar xiexin36 commented on May 3, 2024

@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#.

from openlivewriter.

SachiraChin avatar SachiraChin commented on May 3, 2024

@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.

from openlivewriter.

imhazige avatar imhazige commented on May 3, 2024

+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!

from openlivewriter.

dukecheng avatar dukecheng commented on May 3, 2024

Does any updates on this issue?

from openlivewriter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.