Skip to content

General improvements #72

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

Merged
merged 2 commits into from
Jun 10, 2018
Merged

General improvements #72

merged 2 commits into from
Jun 10, 2018

Conversation

kleisauke
Copy link
Member

Depends on: https://github.com/jcupitt/pyvips/pull/47.

- Update dependencies.
- Test with libvips 8.6.3 on Travis.
- Use pyvips for the auto-generated docs/enums (fixes libvips#56).
- Regenerate docs/enums.
- If statement can be merged with parent one.
@jcupitt
Copy link
Member

jcupitt commented Jun 10, 2018

This is brilliant Kleis! The dependency on an old version of ruby-vips was very annoying, but I was too lazy to fix it. I had one comment on the enum introspection, the rest looks great.

# otherwise we're missing some enums
vips_lib.vips_token_get_type()
vips_lib.vips_saveable_get_type()
vips_lib.vips_image_type_get_type()
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not quite sure why I should call these functions, but without these lines those enums aren't generated.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, most enums need to be explicitly initialized.

@jcupitt jcupitt merged commit 5f01fd0 into libvips:master Jun 10, 2018
@jcupitt
Copy link
Member

jcupitt commented Jun 10, 2018

Great!

@kleisauke kleisauke deleted the improvements branch June 10, 2018 10:36
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.

move generate_phpdoc.rb away from ruby-vips 1.x
2 participants