| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hi @joshgiesbrecht, thank you again for your work on this! I just ran your branch locally and it breaks Android mode since it is looking for the SketchException class but cannot find it within the processing.app. We should keep a SketchException in processing.app and check if it works if it is just an extended version of the processing.utils one. |
Sorry, something went wrong.
…ly refactored one, so alternate modes don't break.
|
I think we're good to go now. I wrote a new, very tiny processing.app.SketchException that extends the utils one, so not only does it allow other modes to work but it still plays nicely when testing if something is a processing.utils.SketchException. Once this is released, I'll submit changes to the other modes so they refer directly to the utils class, and when those are released then I'll come back and delete the extra file. Hopefully. Fingers crossed. 😆 |
Sorry, something went wrong.
|
Thank you @joshgiesbrecht! Not sure if the super wrappers are necessary, and could you mark the wrapper class as Deprecated? |
Sorry, something went wrong.
|
Deprecated marked. I didn't expect the wrappers would be necessary either, but Idea complained and said it was a compile problem, so I let it generate them. 🤷 |
Sorry, something went wrong.
|
Not sure how to connect this PR in github to the issue, but it's resolving issue #1153 |
Sorry, something went wrong.
| // temporary band-aid class to support modes which are still looking here for the now-refactored class. | ||
| // - josh giesbrecht |
There was a problem hiding this comment.
Just curious, when would this band-aid be removed?
Sorry, something went wrong.
There was a problem hiding this comment.
My plan was to submit PRs to the other supported modes to switch them over, once this is released. Then when all existing supported modes are fully switched over this could be deleted.
Sorry, something went wrong.
There was a problem hiding this comment.
Considering we do not know which 3rd party modes/tools have used this class I would expect this stub to be there for quite a while.
Sorry, something went wrong.
There was a problem hiding this comment.
@joshgiesbrecht ah! also i just noticed you had already said this :) could you add a brief comment to the file documenting your plan?
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
The thing is, most modes we also do not have a way currently to easily publish new versions, so I suspect this stub to be there for quite a while
Sorry, something went wrong.
There was a problem hiding this comment.
This looks good to me. Please document your plan a bit in the file since it'll be around for a bit, and I'll approve!
Sorry, something went wrong.
There was a problem hiding this comment.
Going to approve. We'll have to come up with a plan for communicating the change to other project maintainers.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Refactored SketchException to live in :app:utils, as per discussion in draft PR #1164. (resubmitted because that draft PR turned into an all-out mess of unrelated commits somehow)
Before merge:
Closes #1153