Git Product home page Git Product logo

Comments (7)

AllenDang avatar AllenDang commented on May 26, 2024 1

@gravestench Did anyone rise this issue to giu? Did I reject to help?

I just feel uncomfortable about the word you are using like He seems to fancy making changes in his own fork as opposed to making PR's and getting those features added to upstream imgui-go.. What does fancy making changes indicate?

And are you doing the same thing here? Make fancy changes to own fork of giu as opposed to making PR's and getting those features added to upstream giu?

But, fine, I can sense that you are some kind of opposite, do what you think is right and have fun.

from hellspawner.

gravestench avatar gravestench commented on May 26, 2024

@ianling Didn't you do a giant refactor on your fork?

EDIT: after discussion, yes.

giu originally had an entire copy of imgui-go inside of the repo.

@ianling refactored giu to use a fork of imgui-go, with the edits that @AllenDang had made. Then, this fork was sent to @AllenDang. There's currently a 60+ commit delta between Allen's imgui-go fork and upstream.

This is just my opinion, but I think that the real issue here is the fact that @AllenDang is not using upstream imgui-go. He seems to fancy making changes in his own fork as opposed to making PR's and getting those features added to upstream imgui-go.

from hellspawner.

AllenDang avatar AllenDang commented on May 26, 2024

@gravestench The reason why I'm using my own fork of imgui-go, is I intend to make giu a complete Desktop UI framework (AFAIK this is not the purpose of imgui itself), but upstream imgui-go's purpose is to create a plain imgui wrapper for go.

Refer this inkyblackness/imgui-go#153.

So I will merge power saving patch to chill CPU and GPU usage, I emebed ImPlot and ImNode and more extentions in future into imgui-go (those extensions have to be placed within imgui.h to compile).

Why this will become an issue whether giu use upstream imgui-go or not?

from hellspawner.

gravestench avatar gravestench commented on May 26, 2024

Why this will become an issue whether giu use upstream imgui-go or not?

It's an issue when we encounter a bug in your fork of imgui-go, which is fixed in upstream imgui-go, and we want the fix. That refactor Ian had done was all about reducing the pain of syncing your imgui-go fork with upstream.

from hellspawner.

AllenDang avatar AllenDang commented on May 26, 2024

@gravestench What kind of bug in my fork of imgui-go?

from hellspawner.

gravestench avatar gravestench commented on May 26, 2024

One such issue was a hard limit on number of columns that could be displayed in a table; we were trying to display +250 columns as one of the CSV's in the D2 files actually has that many columns in it!

from hellspawner.

gravestench avatar gravestench commented on May 26, 2024

What does fancy making changes indicate?

My apologies if that came off a bit harsh.

I'm just saying it's less effort to make changes to your fork of imgui-go and call it a day instead of making PR's to upstream. We're all doing it, and I'd like for this to change, but not sure what it means for your development, or if it's even possible given the cgo limitation. It may require another approach like making a new imgui-for-giu repo, which acts as a wrapper for imgui-go and the various imgui-go extensions you want to use inside of giu.

And are you doing the same thing here? Make fancy changes to own fork of giu as opposed to making PR's and getting those features added to upstream giu?

Back in April, @ianling did a huge refactor of your codebase, moving the static copy of imgui-go out of giu and into its own fork. Then, he pulled upstream imgui-go into this fork. Then, he applied all of your alterations. Altogether, this was something like +14K/-6K, and well over a week of effort on his part. He went to a lot of trouble testing everything to make sure it all worked well and the same, as well as integrating your changes in such a way that merging upstream had minimal conflicts. Then, he transferred ownership of that fork to you.

I just checked out that commit (ea60551) and did git pull upstream main and the merge was fairly painless (it took only me a few minutes). However, if I check out HEAD on your imgui-go fork and try to merge upstream, there are 20 pages of merge conflicts.

from hellspawner.

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.