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

Port 'Snapshot' demo to Vala #179

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

BharatAtbrat
Copy link
Contributor

Add initial Vala code for Snapshot
-Used this keyword according to Javascript and Python demos
-Avoided this keyword for constant values

Let me know if the implementation is correct and also if there are any other fixes that need to be done :)

Add initial Vala code for Snapshot
Suggestion needed for the use of 'this' keyword
Usage of keyword according to Javascript and Python
implementations
src/Snapshot/main.vala Outdated Show resolved Hide resolved
private Gtk.GestureDrag gesture;
private bool gesture_started = false;

public Chessboard() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks great overall! We are just missing the space before the parentheses and this is ready to be merged.

Copy link
Contributor

Choose a reason for hiding this comment

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

The formatter from vala lang server automatically removes the space before the parentheses.

@lw64
Copy link
Contributor

lw64 commented Oct 9, 2024

Hello again from me after this long time, I am extremely sorry I left everyone without help even though I was responsible...
Therefore thank you soo much @Diego-Ivan and @sonnyp for continuing to review all pull requests here, thank you for trying to wait for me and being patient, even though it didn't pay out. Also, @BharatAtbrat, I really don't deserve any credits, @Diego-Ivan is the Vala expert/co-mentor ;)
Overall I hope the GSoC completed successfully and everyone is still happy and motivated! :)

@lw64
Copy link
Contributor

lw64 commented Oct 9, 2024

Also I support/trust all decisions @Diego-Ivan made, in this PR and everywhere else :)

private Gtk.GestureDrag gesture;
private bool gesture_started = false;

public Chessboard() {
Copy link
Contributor

Choose a reason for hiding this comment

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

The formatter from vala lang server automatically removes the space before the parentheses.

@sonnyp sonnyp merged commit 92dcc5f into workbenchdev:main Oct 9, 2024
1 check passed
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.

4 participants