As the end of GSoC 2014 approaches, I can now say that Eclipse successfully starts in Weston. Some things look a little bit strange and I’m sure there are more bugs to work out, but for now the majority of Eclipse seems to run properly in a Wayland environment.
Every programmer knows that the Eclipse Rich Client Platform has been designed to build the popular Java IDE that can be enhanced for many more programming languages and is often used internally in business software to manage customers and products. So it boils down to just integrated development environments and enterprise resource planning. Scientists all over the world discovered: that may not be so true after all!
Approx. 3 years ago, I opened a bug report to increase the Java code formatter to 120. This is now implemented, and will be the new Eclipse JDT default for Mars.
I think that is a good sign, the Eclipse project is less and less restricted by its past.
I’m happy to announce that the final version of the “Contributing to the Eclipse Project” book has been released as paper version.
To purchase it, see for example Amazon.com or Amazon.de or see Contributing to the Eclipse Project book page for all possible sources.
A huge thanks to my reviewers: Dirk Fauth, Matthias Sohn, Sopot Çela, Hendrik Still, Thanh Ha, Wim Jongmann, Aurélien Pupier, Holger Voormann and Steven Spungin for their detailed feedback on the content of this book. I’m also very grateful to John Arthone for writing the foreword.
I triggered also the update of the Kindle version, the new version should be available soon to new and existing readers of the ebook version.
The SWT ControlExample running in Weston.
Yes that’s correct, as of this week, newly built programs using the Standard Widget Toolkit will now display in Weston, the reference Wayland compositor. Continue reading
For my new book I wanted to check how many people contributed to the platform.ui repository during the last three months:
git log –since=’last 3 month’ –raw | grep “^Author: ” | sort | uniq -c
seem to be doing the job fine.
git log –since=’last 3 month’ –raw | grep “^Author: ” | sort | uniq -c | wc -l
gives a a count for this period.
27 is the answer in case someone else is interested.
Just for reference, the PyDev developer Fabio Zadrozny just posted a nice snippet with allows you to style your SWT table headers via CSS (with your register the snippet as CSS property handler).
See the comments in Liclipse released and directly the snippet Gist snippet.
Posted in Eclipse, Lars Vogel
The JNI (Java Native Interface) is a way to link a Java program, running in the JVM (Java Virtual Machine) with a native program. This can have many uses, one of which is the ability to utilize platform-optimized code in performance critical components of an application. SWT uses this to access platform dependent GUI libraries in a platform independent way. This interface allows a user of SWT to write an application in a standardized, Java-based API, while the resulting product will have the Look and Feel of a native app. Because of this usage, SWT can be conceptually divided into two different sets of code; a standardized, developer-facing Java API, and the native code that makes it work. Continue reading
In this post, we will continue to talk about generifying JFace viewers, as part of our Google Summer of Code project. As mentioned before, there is an existing attempt to generify JFace viewers. Let’s see in more details how to reuse the existing patches to continue the work.
At this point I would like to introduce myself, my name is Joshua Barkovic and I am currently participating in the Google Summer of Code 2014 program with the Eclipse Foundation. I am working with the SWT team specifically and my work consists of porting SWT so that it will support Linux systems running the new Wayland display server.
Wayland is a next generation display server for Linux machines that strives to solve some of the limitations of the X.Org display server. While X11 will still be around for some time, Wayland has been designed from the ground up to have a small footprint and to work well with non-PC interfaces (e.g. tablets and phones).
SWT (Standard Widget Toolkit) is an opensource widget toolkit built for Java. It allows the developer platform independent access to native graphics libraries and as such requires some maintenance when new libraries and underlying software are developed. Since SWT relies in part on the existence of X11 on a Linux machine in order to function, my work involves removing this dependence and allowing SWT based applications to coexist on both display servers.
GSoC (Google Summer of Code) is a program sponsored by Google in which students in Software Development related programs are paired with mentors in the opensource community. Suggested work is posted yearly on the program’s website in the early spring at which time students can apply to participate in these projects. Successful students and mentors will then spend the summer working together on the tasks they chose to contribute to the community. This partnership allows an increased awareness of opensource initiatives and fosters further participation and growth in the community.
I am a Software Engineering undergraduate student in my final year at McMaster University, Ontario Canada.
My mentors in this project are: Lars Vogel and Alexander Kurtakov.
The project can be found on the GSoC website here.