Skip to content
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

Fixes for Catalina (10.14+) #2

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

Fixes for Catalina (10.14+) #2

wants to merge 24 commits into from

Conversation

emaV
Copy link

@emaV emaV commented Dec 22, 2019

I've been using FormulatePro (love it, brilliant app) since years and recently I had to update my Mac to Catalina.

This is my first attempt. I updated the code to remove the various deprecations and seems to build on my Mac. Not tested extensively though.

@adlr
Copy link
Owner

adlr commented Dec 22, 2019

Thanks for this work! Can you remove the old code, rather than commenting it out? Also, you can delete the explanations of what is deprecated from the code. If you want it documented, I'd put that info the commit message. If you can make these changes I'll accept the pull request.

Btw, please modify your existing patches rather than adding more followon patches with these adjustments.

Thanks again!

Copy link
Owner

@adlr adlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall thanks for the cleanup. I have one question about the remaining TODO

Along the same lines, do you know if you can fix the remaining printing issue you found?

FPDocumentView.m Outdated
Comment on lines 180 to 188
/*
TODO
Fix the error:
Sending 'NSPoint' (aka 'struct CGPoint') to parameter of incompatible type 'NSRect' (aka 'struct CGRect')
[[_scrollView contentView] scrollToPoint:
[[_scrollView contentView] constrainBoundsRect:viewOrigin]];
*/
[[_scrollView contentView] scrollToPoint:viewOrigin];

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is left to do for this TODO? Would it be possible for you to do the fix?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really don't know what I did here ;-)
Once I removed the constrainBoundsRect I get rid of the error but what are the implication? No idea.

@ghost
Copy link

ghost commented Feb 3, 2020

This is awesome, many thanks! Any chance to get a compiled download for testing?

@godzfire
Copy link

godzfire commented Mar 2, 2020

@adlr @emaV

Hoping for an update as well. Could a compiled version be created for those of us who don't know anything about programming or compiling please?

@fortranboomer
Copy link

I'm interested too...how do I even attempt to compile this on my 10.13.6 Mac OS ? are there any instructions anywhere ?

@avrtau
Copy link

avrtau commented Jun 19, 2020

Is there a plan to merge it to master?

@uby1
Copy link

uby1 commented Jan 2, 2021

Many thanks for this update. I have successfully Build a FormulatePro app on macOS Catalina 10.15.7 (19H114).
No tested extensively but I was easily able to update one PDF file with text and image like I used to do before and print (Save as PDF).

@fortranboomer
Copy link

uby1, can you share a dmg of your build or a tar file of the source you compiled ?

@uby1
Copy link

uby1 commented Jan 2, 2021

uby1, can you share a dmg of your build or a tar file of the source you compiled ?

Sure, but I had to sign it for "Runing Locally" so no sure it is work outside my own environment.
Here you go for a .dmg file (I had to gzip it in order to be able to attach it here)
FormulatePro 64bit.dmg.gz
and a zip file of the Xcode project with the modified sources as proposed by emaV
formulatepro-master.zip

Let me know if you get the files correctly and which one are running (.dmg) or you could successfully compile by yourself in Xcode.

@fortranboomer
Copy link

the .dmg works ! I'll report when I use your emaV modified Xcode project...

Happy New Year!

@uby1
Copy link

uby1 commented Jan 2, 2021

Great! Enjoy!
Happy New Year too!

@mathieubrunpicard
Copy link

Awesome thanks @emaV for the fix.
I've been looking for this for a long time !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants