-
Notifications
You must be signed in to change notification settings - Fork 95
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
qml-box2d documentation #13
Comments
@bobweaver has started work on documentation at https://github.com/bobweaver/qml-box2d/tree/qt5. I've asked him to open a pull request so we can discuss the changes he made. |
Hello there I have been working REAL HARD on the docs/examples and they are I figure that I should have a real good fork of the code with docs snippets world most of the Joints are done. The c++ classes need more work if you run You can see where some of the C++ classes are not documented. let me know what I can do to make this better thanks Joseph Mills On Tue, Mar 25, 2014 at 10:19 PM, Ruslan Mukhlynin <notifications@github.com
|
Really great work! As for me I am very impressed. May be we need some code style guide? Some "read before pull request" file? |
Ruslan if you would like to write a text file I would be willing to make it and also integrate into the docs. Or if there is something already out On Wed, Mar 26, 2014 at 5:56 AM, Ruslan Mukhlynin
|
I have a thought about our examples. Maybe we should take Box2D Testbed as example here? |
I would be happy to write it but my English is too poor for this task ( |
Russian what is you primary language ? Here are two screenshots http://imgur.com/4bp3zu0,JhNOzDn#0 I am installing the qml examples to / quick / box2d http://imgur.com/4bp3zu0,JhNOzDn#1 Is this what you mean by TestBed ? As far as coding style I can look at the src code and add some stuff. Will Thanks again for getting back to me. Joseph On Wed, Mar 26, 2014 at 6:10 AM, Ruslan Mukhlynin
|
@bobweaver Your changes are really nice, but I'm a little concerned about your git commits. There's a lot of things that went wrong there and I think some of your changes should be re-applied in a cleaner way. Examples:
Do you know how to use git to clean this up or have time to learn how to do it? If not I could help you by re-applying some of your changes manually. |
Hey Bjorn yes I am new to git. And thanks for the pointers so far, it has been
As far as using git I would love some help on cleaning up the branch that I the commands that I have been using after hacking are git add -A I do not know the "fancy" commands yet. Thanks again for helping with this and I would like all the help that I can Joseph On Wed, Mar 26, 2014 at 7:28 AM, Thorbjørn Lindeijer <
|
Ok, first of all about the commands you're using:
This is a useful but dangerous command, since it will add any untracked files. Before you do this you should always do
Again, this is useful but dangerous because it will commit all changes you've made regardless of whether they're actually relevant to the commit you're trying to make or whether they were related to something else or temporary changes. Usually a much better approach is again to use
Amending a commit means changing it in some way. You can amend a commit to add files, remove files or change its message, timestamp or author. Basically you would stage your change as usual, but then instead of doing Now, amending only works on the last commit you did. When you want to amend a commit you did earlier, you would first need to bring your current state back to just after that commit, and then you would need to rebase all the commits that followed onto the amended version of the commit. The easiest way to do this is by using an interactive rebase, but I urge you to read up on that and also to read closely what git tells you while you do it. If you don't follow its instructions carefully you can end up in a big mess from which it can be hard to recover. A good start may be to read http://git-scm.com/book/en/Git-Tools-Rewriting-History. Let me know how it goes and feel free to ask for help. |
@bobweaver Any luck with this? |
Hey there Sorry I have been real busy in RL with many different things. I am going to give it a shot again. I think that I now have a better understanding of Git. So things should go a smoother. Or at least I hope. |
@bobweaver So did you have any time to work on this and if so, how are things going now? I don't mean to put any pressure, I'm just looking forward to see this move forward. Note that also the Bacon2D project has integrated qml-box2d and they did already write quite some documentation, which is probably worth integrating back. |
…ox2d#108 Added qmltypes to make system for Qml tooling. qml-box2d#109 Added qrc file for common icons and removed doubles. qml-box2d#110 Added a example applicaiton that makes it so one can test out all the exmaples without qmlscence. qml-box2d#111 made all examples install to qt's example dir in prep for docs and better stucture, qml-box2d#112 , qml-box2d#13 Set up stucture and role back point for qt-ish style of libs and plugins,
I guess we should think about API documentation for qml-box2d plugin. Сertainly, it's close enough to Box2D API just as plugin code is clearly but anyway ... At least we would comment all new code to make it readable for some appropriate tools like doxygen.
The text was updated successfully, but these errors were encountered: