-
Notifications
You must be signed in to change notification settings - Fork 85
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
Multiple improvements across multiple forks #49
base: master
Are you sure you want to change the base?
Conversation
Instaed of deleting them, because they may become useful in the future
Mostly trivial changes, but unfortunately there's no way to know what I broke, because there are no tests.
This way a depending project does not need to directly depend on lopdf.
It seems like a silly workaround with no real consequences anyway.
} | ||
} | ||
|
||
fn as_num(o: &Object) -> f64 { | ||
match *o { | ||
Object::Integer(i) => i as f64, | ||
Object::Real(f) => f, | ||
Object::Real(f) => f.into(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the build error being fixed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f is of type f32, but signature wants f64, so this will convert into it
@Hessesian since we both opened a PR in the last 24 hours with a lot of changes, and we're both keen on working on this project, maybe we should collaborate and try to merge our changes. Stuff we both do:
Stuff only your PR changes:
Stuff only my PR changes:
|
Sure, seems to be wise to create separate pull request first for the formatting changes and common issues resolved, make sure it works and then we can do separate PR's for individual features that can be tweaked. Can you maybe go ahead with your changes that don't clash ? |
@Hessesian Is possible, but I'd prefer it if my PR was merged and we than cherry pick commits from yours. I'd gladly do that, but I want to know if the changes are OK to merge. @jrmuizel what is your opinion on this? Might be useful to have a short video meet about all of this if you want. Reach me at [email protected] |
I have tracked several improvements that went into multiple forks and added some of my own, including:
I understand it's a lot of changes that are not fully coherent, and can't vouch for all of them, but I'm open to cherry picks or suggestions