Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-27Bug 525255 - Enable indirect static usage warningsI20170927-0420Alexander Kurtakov1-10/+10
Cover cocoa. Change-Id: Ibf01d0735cc001978dcd27d1af4d2dba8b277327 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-09-27Bug 525255 - Enable indirect static usage warnings Alexander Kurtakov1-8/+8
Enable the warning and cover gtk port. Change-Id: I4cf0318d7aafa92bce24f832875a0a891fa079db Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-05Bug 8232: [HiDPI][Program] Losing icons for External programs at higherNiraj Modi1-3/+4
OS zoom level Change-Id: Ic38548722eb3f6f8dbc867e4b19ebc0a370f6626 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-04-06Bug 496409 - [HiDPI][API] Provide Image#getImageData(int zoom)Niraj Modi1-3/+4
- Windows implementation for getImageData(int zoom) method. Change-Id: Ie3bdf86b85a4ebc0d6dc422551220fb514b675ef Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2017-03-20Bug 67361 - [Program] Identical entries in "Program.getPrograms()"Andrey Loskutov3-28/+16
Fixed test error uncovered by the new compiler warning (see bug 513790). After test fix found fixed the test failure due the wrong implementation of Program.getPrograms() which returned array with some equal Program objects. Adopted Program.equals() and hashCode() where needed. Change-Id: I5f4784e504e37b352c2fcc80488fcd3c9f2051cc Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-03-14Bug 157010 - [Win32] VM Crashes after changing file associationsNiraj Modi1-2/+29
Change-Id: I1caf940b9e047efb5ce379f986961be18629f349 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2016-12-20Bug 502103 - [GTK3] gtk_icon_info_free() is deprecatedAlexander Kurtakov1-1/+5
Use g_object_unref, its replacment since GTK 3.8. Change-Id: I6acb33f23262716d99368ced485a668b3178049c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-11-10Bug 507235: Clean up of Converter.java Leo Ufimtsev1-13/+13
- Remove redundant codePage parameter from Converter.java. It is not being used by the function body. (It was last used 15 years ago in: 5fbe5d6518706b4f002ddbbebf7e1f63d1877af8) - Remove unused defaultCodePage() method from codebase. - Move wcsToMbcs and mbcsToWcs for single characters from Display.java into Converter.java class, next to their siblings. Display.java should not be responsible for platform level type conversion. - Document functions to explain their necessity. Change-Id: Ie19b76259247d4d200c679852b8165e465f4e53b Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=507235 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com> Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-09-30Bug 502848 - Don't use display to calculate Program hashCode Alexander Kurtakov1-1/+1
There are cases when display can be null (not inited and etc.) and it's also weird to use it as which display it runs on doesn't make two programs different. Change-Id: I8d7d62ae3d39a98e7bf80aeadd172555ddf9e597 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-09-30Fix old comment to be GIO not Gnome 2.4.Alexander Kurtakov1-1/+1
Change-Id: I55472cb179043e67c24eccd864f84473658a653e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-09-30Bug 502822 - Simplify Program class Alexander Kurtakov1-110/+39
Now that it's GIO only there is no need to store the desktop type in display and gio implementation can be the public method instead of chaining method calls. Change-Id: I357af777601423560524da28d6aed4ab0d8bb3c5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-09-26Bug 501877 - Remove cde bindingsAlexander Kurtakov9-984/+3
* Delete the binding. * Remove support for building it from build scripts. * Cleanup swt.tools to not care for cde binding * Simplify Program class to be GIO only. Change-Id: I7fb77788933f6535b2281f15d75413256b48d11e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-09-20Bug 501816 - Remove gnome bindings Alexander Kurtakov9-858/+12
Actually remove the bindings and clean Program class to become GIO only on non-Solaris. Change-Id: I72abeae0b80ef12b9b4f1f070a8fbb6199c57923 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-25Bug 498415 - Unify Program to go through gio path where possibleAlexander Kurtakov6-150/+6
SWT having min requirement of GTK 2.18 means GIO is generally available so methods that don't use functions added in later versions can go through it unconditionally. Found while debugging an issue with SWT trying to use gnome-vfs on Gtk 3.20. Program.[execute|getExtensions|launch] now go through gio unconditionally for both Gnome and GIO. Change-Id: If41df0ad869b7ea01c8dd26c69fd146f9c896499 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-24Bug 497962 - Use lambdas where possibleAlexander Kurtakov1-12/+9
Enable convert to lambdas and run initial conversion to not interfere with later commits. Slightly smaller and faster code is worth it at SWT level. Change-Id: Ia94b6c25beb09555626eaa455b9e9f43e329f7e6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-15Bug 497956 - Parse /usr/share/mime/globs in java landAlexander Kurtakov1-59/+44
Parsing is done via glib apis which is slower (due to many context switches), there are function bindings used only for this code and the code is less readable. Speed of jni based 100 runs in milis: Longest:43 Shortest:0 Average:8 Speed of pure java based 100 runs in milis: Longest:15 Shortest:0 Average:1 Bindings for 4 no longer needed functions dropped too. Change-Id: Id3e65d68869cc394b173120840dd12d95aa96a1f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-03-31Bug 490699 - Prefer usage of Integer.valueOf() over new Integer inY20160331-1000Lars Vogel1-2/+2
org.eclipse.swt Change-Id: Ib05b6a7a232ab197c48b992db669e74da5708cea Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-03-12Bug 479614 - [Graphics] HiDPI support for eclipse platformNiraj Modi1-2/+2
- Windows changes Change-Id: I9cd0004d57a2a3a2a956a71de91b10af560c08a7 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2016-02-10Bug 487556 - Remove redundant type parematers Alexander Kurtakov2-11/+11
Useless now that SWT requires Java 1.7. Change-Id: I333df3b7f2d706a66ba4e959ec508a762cac0c1d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-02-10Bug 483640 - Add missing annotations to SWT after the move to Java 7Alexander Kurtakov1-1/+2
Add missing @Override annotation for interface methods. Change-Id: Ibce185467807acd2dc5e6b71fda643a3947f60eb Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-14Bug 485845 - Launching eclipse under wayland crashes.Alexander Kurtakov1-1/+1
GDK_WINDOWING_WAYLAND checks that wayland backend is compiled in but not that we run on wayland. Also X11 will not be available on other backends too thus assume GIO for everything not X11. GIO appeared in older version than the one required by GTK3 (which added support for multiple backends to be compiled in). Change-Id: I0cd40ab1d257ea3c6c33b4d36d6c2ecfe05a1c40 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-12Bug 485641 - Delete emulated ProgramAlexander Kurtakov1-204/+0
All 3 supported WS implementations have real Program so the emulated one serves no purpose. Change-Id: I11f83f40314dd06865ef5a78a1e5b5b2a543e8a7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-07Bug 485367 - cleaned trailing spaces in swt (emulated)Andrey Loskutov1-7/+7
Change-Id: I176d0600256f6ff2065ecabbde2f062bb6c7b7bd Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2016-01-07Bug 485367 - cleaned trailing spaces in swt (cocoa)Andrey Loskutov1-8/+8
Change-Id: I47e7c08d8fdd9beea2ace6603c5de79755925f48 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2016-01-07Bug 485367 - cleaned trailing spaces in swt (win32)Andrey Loskutov1-11/+11
Change-Id: I47413fc0f50677957d3e3269dbaca97413b56d30 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2016-01-07Bug 485367 - cleaned trailing spaces in swt (gtk, cairo and Co)Andrey Loskutov3-7/+7
Change-Id: I666ba3c50b8d8d8c8db67db7efd1647115f36cf1 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2015-12-16Bug 484484 - Remove org.eclipse.swt.internal.Compatibility classAlexander Kurtakov1-2/+2
Inlined: * Math.PI * equalsIgnoreCase * interrupt * isLetter * isWhitespace Change-Id: Ib38e9efb1017533f5205fa0b41cb78c0ac5a3254 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-23Bug 463924 - Hashtable -> HashMap, MapJacek Sieka1-30/+25
Convert all Hashtable usages to HashMap, Map Change-Id: Ia95db6ba3a82d6f4eaed6abef4c4381eb43d886c Signed-off-by: Jacek Sieka <arnetheduck@gmail.com>
2015-11-02Bug 462633: Enable save actions for annotationsMarkus Keller1-0/+3
Added missing @Override/@Deprecated in win32
2015-03-24Bug 455263 - Retire Eclipse SWT/wpfAlexander Kurtakov1-410/+0
Remove wpf browser/program and build support. Change-Id: I7790f5bb70665666671c6b8dc5880b46000a7a9a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-02-26Bug 460943 - Do not suppress warningsAlexander Kurtakov1-23/+22
Remove @SuppressWarnings("rawtypes", "unchecked") and properly fix the warnings. Change-Id: I7d7ab2b47f53906c5dc1cc1646a1960bcdf97fcb Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-02-09Bug 458863 - [Common] Replace Vector with ArrayList and friendsAlexander Kurtakov1-1/+3
* Remove unneeded SuppressWarnings * Add missing @Override With this the class is warning free. Change-Id: I615b18d27aa27e9752e4d2f24c7e425f062694ec Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-02-05Bug 458863 - Replace Vector with ArrayList where appropriateJacek Sieka2-48/+33
Change-Id: If2051b9bc4f93f539e7ee62c5e85de0c6c229211 Signed-off-by: Jacek Sieka <arnetheduck@gmail.com>
2015-01-09Bug 457041 - [GTK] Trailing whitespace removal for GTK codebaseLeo Ufimtsev1-50/+50
I traversed SWT's GTK-related code to remove trailing whitespace. I ran the junit tests (gkt2/gtk3) to ensure everything still works as before. (that said there are 3 Junit test erros if ran with GTK3, but that is not related to this whitespace fix). ControlExample and other common test widgets work as usual. Change-Id: I49aaeba65ed693c26c580d31014f78ec57068ea8 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2014-09-22Bug 444725 - Remove carbon support from swtAlexander Kurtakov1-568/+0
Remove implementation. Change-Id: I2856cb2dc4870cdc812fcf8bc0441d34b182a1f3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2014-09-22Bug 444715 - Remove photon support from swtAlexander Kurtakov1-397/+0
Remove implementation. Change-Id: Icddf692fd5455326e2b1d16721da2a7566c01890 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2014-08-20Bug 441791 - Remove motif specific things from codebaseAlexander Kurtakov1-910/+0
Remove motif implementations. Change-Id: I24b4d1fa0ff0846298c9c9fa2fa45750a3b78d3d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2014-08-04Bug 440816 - [Wayland] Need to guard X11 code in ProgramJoshua Barkovic1-0/+6
Re-worked program flow under in Program.java under Wayland Code assumes that GIO is avail when Wayland is present. The checks that were required in X11 are now avoided in Wayland and the result is returned early. Change-Id: I7ee3d4cb650d2d18cf4a49fcd06471728c11eb3f Signed-off-by: Joshua Barkovic <joshbarkovic@gmail.com>
2013-12-03Add missing @Override annotations.Alexander Kurtakov1-0/+3
Since moving to 1.5 this warning was left to enabled which caused 1000+ warnings. Add all annotations. Change-Id: I647cbd86fe93e8daed655def41f9d5fbcf16e609 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-12-02Added @SuppressWarnings after Java 1.5 change (Bug 411356)Arun Thondapu1-0/+1
2013-12-02Added @SuppressWarnings after 1.5 change(Bug 411356)Lakshmi Shanmugam1-0/+1
2013-10-10Bug 410904 - preserve order of MIME globsBen Cox1-1/+1
Program#gio_getMimeInfo() reverses the order of appearance of MIME associations in /usr/share/mime/globs, meaning that, where more than one MIME type shares an extension association, the last mention in globs is used first. https://developer.gnome.org/shared-mime-info-spec/#id2819911 says that globs should be in order of weight. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=410904 Change-Id: I337764017263f74862435048c46a57653022c313 Signed-off-by: Ben Cox <benjamin.cox@uk.ibm.com>
2013-07-31Bug 320487 - Eclipse crashes when listing certain files (e.g. *.fl) inArun Thondapu1-1/+1
project explorer
2013-07-30Bug 320487 - Eclipse crashes when listing certain files (e.g. *.fl) inArun Thondapu1-3/+3
project explorer
2013-05-28Bug 408895 - Do the annual javadoc/copyright bash for 4.3Carolyn MacLeod9-9/+9
2013-01-23Rename gnome_24_* to gnome_*.Alexander Kurtakov1-4/+4
This is a leftover from the gnome/gnome_24 unificaton.
2013-01-23Remove gnome_vfs* unused function bindings.Alexander Kurtakov4-94/+6
They are no longer needed after the gnome/gnome_24 unification.
2013-01-23Do not check for gnome_vfs_url_show.Alexander Kurtakov1-11/+0
The method gnome_init already calls gnome_vfs_init which is good enough guarantee for having gnome-vfs installed. Modern Gnome desktops would not be found by this because they don't ship gnome-vfs always but the previous GIO check should have handled it already.
2013-01-23Merge the 2 different GNOME desktop types.Alexander Kurtakov1-109/+7
The difference between Gnome 2.4+ and older makes no sense nowadays.
2012-10-16Remove Gtk 2.2-2.4 checks.Alexander Kurtakov1-1/+1
Now that we require 2.6.0+ it makes no sense to clutter the code with useless checks.

Back to the top