Git Product home page Git Product logo

Comments (4)

jevexendo avatar jevexendo commented on June 1, 2024

In terms of handling multiple versions of Amulet, I think that each version should be treated as a different application since I don't think we want to deal with the bugs that such a feature could introduce.

from amulet-editor.

jevexendo avatar jevexendo commented on June 1, 2024

So what kind of data we expect to transfer between instances of Amulet? The way we resolve this will probably vary depending on what all needs to be transferred and how that information will be stored by each instance.

For instance, plugins will be saved as files somewhere on the user's computer so we probably won't need to send plugin files between instances. User selections probably will need to be transferred but I'm curious if we could hook into the clipboard on the user's computer to transfer that data. I'm not familiar with the complexity and limitations of the clipboard.

from amulet-editor.

gentlegiantJGC avatar gentlegiantJGC commented on June 1, 2024

I came across QLocalServer and QLocalSocket yesterday which seem like a better option. I have added them to the top post.

Transfer of data is one component I am thinking about. Eg moving a copied structure between processes.
This problem could also be solved with QSharedMemory or by just saving the data to a file.

The extended version is being able to call functions in a remote process.
PySide6 has QDBus which allows calling slots across processes but it is linux only.
I think we could implement a cross-platform version of this using the socket mechanism.

A mechanism like this will be required to notify all processes that a plugin has been enabled or disabled globally.

from amulet-editor.

gentlegiantJGC avatar gentlegiantJGC commented on June 1, 2024

When we are doing world conversion with a source world that is already open we will need to either close the process that holds the source world or use IPC to pull the data for each chunk to paste into the destination world.

from amulet-editor.

Related Issues (19)

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.