Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-05Bug 514859 [Webkit2] Verify that no webkit1-only functions are called onLeo Ufimtsev1-1/+1
Webkit2. As part of the webkit2 port, we must ensure that no webkit1 functions are ever called by webkit2. To ensure this, I've added assertions around native function calls. During the patch, I discovered multiple webkit1 only functions that were reached by webkit2. (Will post into bug). This patch has no real functional impact, only asserts, comments and some refactoring. Note: assertions are not executed normally, only by jUnits and if '-ea' is specified in vm args. Technical notes: - I moved the "WEBKIT2" variable and the logic that loads the native libraries from WebKit.java to WebKitGTK.java, so that the native function wrappers can access the WEBKIT2 variable. I ensured that classes are loaded in proper order. - I added a WEBKIT1 flag for clarity. The negation !WEBKIT2 slows down code reading, it's very annoying. I also carefully ensured that there is no functional difference. - I added asserts around every webkit(1|2) function call. (I did this with some help of programmatically checking if a function is webkit1 or only webkit2). - Found some Webkit1 only functions being called on Webkit2 (see bug for details. See "TODO - guard from being called on webkit2" inline comments in patch). - Sprinkled some more asserts into WebKit.java and added comments. - Guarded a few Webkit1 only functions from being reached by webkit2 and added some TODO's into that code. - Found that my SWT_LIB_VERSIONS logic was calling a webkit2 only function when webkit2 was called. Fixed that up. - I changed org.eclipse.jdt.ui.prefs a bit so that it it doesn't turn static imports into "*" for WEBKIT1 and WEBKIT2 flag. (WEBKIT1 and WEBKIT2 flag is imported statically in WebKit.java, for sake of brevity). Testing - Junits for Webkit1 & Webkit2 - Child eclipse with webkit1 & webkit2 Change-Id: Ic63503e68e73974a0ca2c7716faabe5039df5ccb Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2017-09-27Bug 525255 - Enable indirect static usage warnings Alexander Kurtakov1-1/+98
Enable the warning and cover gtk port. Change-Id: I4cf0318d7aafa92bce24f832875a0a891fa079db Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-12-13Revert "Bug 483642 - Retire internal SWTEventListener and SWTEventObject class"Alexander Kurtakov1-6/+0
This reverts commit 79f0e151d1e7b1a53c158263008354d8e2aadce6. There are cases when child eclipse can not be run with this patch. Reverting to be sure to not break things badly. Change-Id: Icd0b6c3f6f063ded2a57c19e2fe3ef2f222689e3
2016-12-13Bug 483642 - Retire internal SWTEventListener and SWTEventObject classFabian Pfaff1-0/+6
* removes SWTEventListener interface * uses EventListener instead * removes SWTEventObject class * uses EventObject instead Change-Id: I1e882a0b288fb3adf3243db93c319f22320e0f3e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com> Signed-off-by: Fabian Pfaff <fabian.pfaff@vogella.com>
2016-11-17Bug 498876: [HiDPI][Printer] GC autoScales for Printer devices at HighDPIMarkus Keller1-8/+0
2016-09-29Bug 498876 Part2 - [HiDPI][Printer] GC autoScales for Printer devices atY20160929-1000Niraj Modi1-0/+8
HighDPI - Updated *.api_filters for Drawable#isAutoScalable entry. Change-Id: I05f9f46fed44246d242115f8137bce6103b879ce Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2016-07-29Bug 497551 - Remove the "Missing execution environment" override fromLars Vogel1-1/+0
org.eclipse.swt Change-Id: Iebb91704d2dec9b89d2893e12ca3cb99bf24766e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-07-24Bug 497962 - Use lambdas where possibleAlexander Kurtakov1-2/+2
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-12Bug 481195 - Update SWT to Java 8Lars Vogel1-3/+3
Change-Id: Ic72803bc574c5a7ef9053eb1139b0b1f5af8a873 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-04-05Bug 490743: [gtk] StackOverflowError in StyledTextRenderer.getTextLayout(..) ↵Markus Keller1-0/+8
(was: Manifest editor can not be opened with I20160330-1230) On GTK, line heights are managed by Pango via pango_layout_iter_get_line_extents(). To avoid rounding errors when computing lineHeight = ascent + descent at scale factors != 100%, we compute lineHeight and ascent in points, and then derive descent from that. The main changes are in code that reads/writes FontMetrics fields, i.e.: - GC#getFontMetrics() - TextLayout#getLineMetrics(int) - TextLayout#computeRuns() Change-Id: Id8576d9919673a30829238ef2c3085c2750c54b2
2016-02-08Bug 483635 - Update SWT to Java 7Lars Vogel1-3/+3
Update the classpath files and buildFragment.xml. Change-Id: I2f359936ed30d24404549532242834f2be703ee7 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-01-07Bug 485367 - Automatically trim white space on-saveAndrey Loskutov1-1/+1
Change-Id: Icca6a68b9fbfdeb6dda6dc7a2471fce389dfdbad Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2015-10-23Bug 475833 - Delete TableTree and related itemsMarkus Keller1-81/+91
fixed API Filters: - added missing filters for types - removed wrong filter for MANIFEST.MF - adjusted filter comment to point to this bug
2015-10-15Bug 475833 - Delete TableTree and related itemsAlexander Kurtakov1-0/+452
Add @noreference/@noextend as discussed on PMC call together with API filters to not have errors in SWT itself. Change-Id: Iff21fb002b6a0a7b011a8e7266bf8756acba6f9c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-09-24turned most API Tools problems into errorsMarkus Keller1-8/+9
2015-09-14Revert "Bug 475833: Delete TableTree and related items"I20150914-1130Markus Keller1-24/+0
This reverts commit d25f7984032ffe205cd9602415e0dee2ae8fee71. This reverts commit 2322b07a7b8cd0178edfb09393c7510900d87b43. This reverts commit 02799438b87d838a30f3cfcfb2e91fa38d7825ce. This reverts commit 278268fcbe218fbecadf2bf23114c3990e80c9d9.
2015-08-27Bug 475833: Delete TableTree and related itemsMarkus Keller1-0/+24
2015-03-23Bug 462633 - Enable save actions for annotationsAlexander Kurtakov1-0/+59
Let computers do what people forget. Change-Id: Ifce987ba90b80df8eb005d7f9c3df7205351dbe7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-01-23Bug 435384 - Add support for 'transparent' colorsNiraj Modi1-0/+8
Change-Id: Icce55b4e0c10d60bba72999586837fe42b7f7b1d Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2015-01-16Disable post-save action- Revert "Bug 457041 - [GTK] Trailing whitespaceI20150116-1000Lakshmi Shanmugam1-59/+0
removal for GTK codebase" This reverts commit ef5c41a4eff7b9bba684153977dd2a9db6323c78. Disable the post save action as it causes unrelated changes while working with Cocoa & win32 codebase.
2015-01-09Bug 457041 - [GTK] Trailing whitespace removal for GTK codebaseAlexander Kurtakov1-0/+59
Enable save action to remove trailing whitespaces. Change-Id: Id2f9d3e2f628912af7fb2ac4acf827a249d56ccc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2014-10-02added Organize Imports profileMarkus Keller1-0/+5
2013-11-28Bug 411356 - Move requirement for SWT to Java 1.5v4412fLakshmi Shanmugam1-6/+10
2013-07-17Bug 413116 - Build fails due to SWT at 1.5 level?v4401bI20130717-1600Silenio Quarti1-10/+6
2013-07-17Bug 411356: Move requirement for SWT to Java 1.5Markus Keller1-6/+10
Fixed compiler compliance settings
2013-05-28Bug 408895 - fix cocoa compile errors from previous commitv4331gMarkus Keller1-2/+15
2013-05-25Bug 408895 - Do the annual javadoc/copyright bash for 4.3v4331fI20130527-2000Carolyn MacLeod1-0/+7
2013-04-22Bug 235618 - Support the @noreference Javadoc tag on typesCarolyn MacLeod1-0/+6
2013-03-25increment Variant.setbyRef(long) @since filter to match qualifierCarolyn MacLeod1-4/+3
2012-09-25Bug 377107 - no 32bits vm for JDK7Carolyn MacLeod1-1/+54
2012-09-25Bug 377107 - no 32bits vm for JDK7Carolyn MacLeod1-0/+6
2012-09-25Bug 377107 - no 32bits vm for JDK7Carolyn MacLeod1-1218/+1315
2012-09-24Fix API warnings after switching to 64 bit source codeCarolyn MacLeod1-1064/+1218
2012-09-17Bug 361660 - API Usage Problem "Execution environment references wereCarolyn MacLeod1-2/+2
not checked"
2012-05-16Bug 379266 - API Filters needed for new split streamCarolyn MacLeod1-0/+312
2012-04-11Convert all files with CRLF and CR to LFBogdan Gheorghe1-22/+22
2012-03-09Bug 373794 - Malformed Javadoc commentsGrant Gayed1-9/+22
2012-02-24review bug230854, changes to API, fix code to handle surrogates in linux, ↵Felipe Heidrich1-0/+8
other fixes
2011-05-19Bug 279461 - Shell does not have @noextend API tagCarolyn MacLeod2-3/+13
2011-02-22335887 - SWT reports API breakageGrant Gayed1-726/+734
2011-01-19Bug 334829 - SWT has many indirect accesses to static membersCarolyn MacLeod1-0/+1
2010-12-20279884 - implement Mac portion of gesture support, and add stubs for all ↵Scott Kovatch1-1324/+727
other platforms.
2010-11-04flag non-swt uses of java api (recommended by Olivier)Carolyn MacLeod1-2/+2
2010-10-13 Bug 324005 - Add IAccessible2EditableText support to EclipseCarolyn MacLeod1-1316/+1324
2010-04-20HEAD - Update filter file to reflect API tooling tags inside API typesGrant Gayed2-6/+207
2010-04-14305742 - Fields that should not be referenced by clients should have ↵Grant Gayed1-904/+1118
@noreference javadoc
2010-01-21Initial Accessibility API updateCarolyn MacLeod1-0/+56
2009-07-01restore HEAD after accidental deletion by error in automated build scriptSilenio Quarti3-0/+949
2009-06-30*** empty log message ***Felipe Heidrich3-949/+0
2009-05-27api tooling help from OlivierBEFORE_JAVADOC_BASH_FOR_35RC3Carolyn MacLeod1-3/+3

Back to the top