Updated X11 contrib API#350
Updated X11 contrib API#350rm5248 wants to merge 15 commits intojava-native-access:masterfrom rm5248:master
Conversation
|
Thanks! Could you please squash these and add a line to the CHANGES.md? |
There was a problem hiding this comment.
These changes all need tests. I would merge without since this is contrib stuff, but I really encourage you to write them.
There was a problem hiding this comment.
I could write tests; the problem is that because this is X programming, any tests are going to be highly dependent on what window manager is running and what windows are open at the time, and as far as I'm aware there's no good way to test GUI-related elements like this.
There was a problem hiding this comment.
Add a link to the PR in front, please. Also missing a dot at the end of the line :)
Try to say exactly what changed, don't assume people know what "object-oriented X API' is, name the classes and the methods.
|
Do you mind squashing these commits, please? I'll merge. |
…see the recursive X windows
…see the recursive X windows Ensured that getting all windows from the X server works properly on 32-bit fixed indentation to be spaces instead of tabs more fixing of formatting added a changes line to the CHANGES.md file fixed changes.md Added the ability to see all subwindows. Added a dialog so users can see the recursive X windows Ensured that getting all windows from the X server works properly on 32-bit fixed indentation to be spaces instead of tabs more fixing of formatting added a changes line to the CHANGES.md file fixed changes.md
Conflicts: contrib/x11/src/jnacontrib/x11/api/X.java contrib/x11/src/jnacontrib/x11/demos/XDesktopDemo.java
|
Okay, so I updated the CHANGES.md. I'm not sure if I squashed the commits together properly though(I'm rather unfamiliar with git) |
|
You still had a merge conflict in CHANGES. I've merged this via 80d4c13. Thank you. Your master now carries all kinds of changes that you don't want (unsquashed and merge conflict). What you should do is rebase it, here's an easy way: In the end you will have code saved in save-my-code and your master will look like the twall's master. Next time you make code changes, work off a branch (start with |
I've updated the jnacontrib.x11 to fix a few bugs and add in a feature. Eclipse also reformatted the code, so there are some minor whitespace differences.
Bugs fixed:
-X.getXXXProperty() will now return null if the property is not found(see: http://tronche.com/gui/x/xlib/window-information/XGetWindowProperty.html)
New features:
-Added the ability to get all of the subwindows of an X.Window
-XDesktopDemo GUI now has a button to display all of the subwindows of the selected window in a dialog box