Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-01-05Bug 529446 - Move Library.java to common from common_j2seAlexander Kurtakov1-462/+0
Tweaked .classpath files and Ant build files to handle the changed directory structure. Change-Id: I2160040e10eb8126b1a472cf9c96be0871b709c7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-01-05v4851genie.releng1-1/+1
2018-01-05v4850genie.releng1-1/+1
2018-01-04v4849genie.releng1-1/+1
2018-01-03Fix Library.java to stick to ASCII symbols for builders.Alexander Kurtakov1-1/+1
Build broke with: /opt/public/hipp/homes/genie.platform/workspace/tmp/check.compile.master/build/org/eclipse/swt/internal/Library.java:367: error: unmappable character for encoding ASCII * Dev note: (17??12??07) This has been developed and throughly tested on GTK. Designed to work on Cocoa/Win as well, but not tested. ^ /opt/public/hipp/homes/genie.platform/workspace/tmp/check.compile.master/build/org/eclipse/swt/internal/Library.java:367: error: unmappable character for encoding ASCII * Dev note: (17??12??07) This has been developed and throughly tested on GTK. Designed to work on Cocoa/Win as well, but not tested. ^ /opt/public/hipp/homes/genie.platform/workspace/tmp/check.compile.master/build/org/eclipse/swt/internal/Library.java:367: error: unmappable character for encoding ASCII * Dev note: (17??12??07) This has been developed and throughly tested on GTK. Designed to work on Cocoa/Win as well, but not tested. ^ /opt/public/hipp/homes/genie.platform/workspace/tmp/check.compile.master/build/org/eclipse/swt/internal/Library.java:367: error: unmappable character for encoding ASCII * Dev note: (17??12??07) This has been developed and throughly tested on GTK. Designed to work on Cocoa/Win as well, but not tested. ^ Change-Id: I431151233a8ec853fccc75636b53f452cf03b760 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-12-15v4848genie.releng1-1/+1
2017-12-13v4847genie.releng1-1/+1
2017-12-13v4846genie.releng1-1/+1
2017-12-11Bug 510905 (Webkit2FuncRetVal) Remove debug messages.Leo Ufimtsev1-13/+1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=510905 Change-Id: I603f78225bbe1022cb065a59991e3fc000cc6f7b Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2017-12-09v4845genie.releng1-1/+1
2017-12-09v4844genie.releng1-1/+1
2017-12-08Bug 510905 [GTK3][Webkit2] Implement webkit2 support for browserLeo Ufimtsev1-2/+29
function (Part 2: Java return a value from callback.) OSGI Logic: Adding logic to allow webextension & it's directory to be extracted via OSGI mechanism. Tested by building swt.jar and injecting it into a local eclipse. Need to verify after new eclipse is build. Change-Id: I492b8d8f787e7752faf91d02a69d6b518fa77cc6 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2017-12-07Revert "Bug 510905 (Webkit2FuncRetVal)[GTK3][Webkit2] OSGI support."Leo Ufimtsev1-29/+2
This reverts commit c0925b528e5ba379d83868fd67f1aff0e88be8de.
2017-12-07Bug 510905 (Webkit2FuncRetVal)[GTK3][Webkit2] OSGI support.Leo Ufimtsev1-2/+29
Adding logic to allow webextension & it's directory to be extracted via OSGI mechanism. Tested by building swt.jar and injecting it into a local eclipse. Need to verify after new eclipse is build. Change-Id: I285f7c7e3f5cddf4a5b306c903d7bb48d5b1c672 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2017-12-05v4843genie.releng1-1/+1
2017-12-05v4842genie.releng1-1/+1
2017-12-05v4841Arun Thondapu1-1/+1
2017-12-05Bug 510905 (Webkit2FuncRetVal)Leo Ufimtsev1-0/+10
Adding relevant changes to: - make webkitextension* folder have versions - make_linux* delete old webkitextensions* folder and .so's before creating/building new one. - debug messages to be used to figure out how to make webextension loading to work with OSGI. (to be removed later). Change-Id: Ia979bca8764c19b389dff51b16dc54109f11faea Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2017-12-04v4840Arun Thondapu1-1/+1
2017-12-02v4839genie.releng1-1/+1
2017-12-02v4838genie.releng1-1/+1
2017-12-01Bug 510905 [Webkit2] BrowserFunction with return value back toLeo Ufimtsev1-25/+132
Javascript (PRIOR TO MERGING, SWT BINARY REPO NEEDS TO BE PATCHED) Webkit2 moved it's webprocess into a separate process. For javascript to call a function, it needs to do so via the separate process. To interact with the separate process, we need to implement a webextension, which is a separate '.so' file loaded at run time. The extension needs to reside in it's own folder otherwise webkit will try to load the other .so files as extensions. (See Library.java changes). Communication between the extension and the main process is done via a gdbus channel. Javascript/Java types are packaged into GVariants and transmitted via gdbus. Compilation of the webextension requires webkit2gtk package to be present on build servers. Tests: - All jUnits pass - SWT Snippet (307) that use BrowserFunction work. - Attached local snippet can be used to test sending various paramaters over gdbus and receiving them back prints to main webview. - Child eclipse works fine with the patch. - Afaik, no known error/warnings are produced. (If there are, let me know). This might break 32bit build of SWT though, not tested on 32 bit. Patch set log: -------------- Patchset 6: - Passing webview as string in javascript function. Patchset 8: - Implemented dynamic gdbus bindigs on SWT/Java side. Works. (fairly large patch) Patchset 9: - Implemented gdbus bindings on client side, such that it can reach server. (working) Patchset 10: - Added GVariant conversion functions on SWT side. Works. - Moved code out of OS.java to reside only in WebKitGTK Patchset 11: - Figured out how to provide return value as an object array. Added snippet to show how to provide a string return value. (working) Patchset 12: - Passed webview pointer, index and token to Java. - Fixed typo in type definition. > (Working) Patchset 13: - Now passing javascript arguments along through gdbus to java. > (Working) Patchset 14: (Week 46) - Implemented support for 'null'. (use byte as magic number). - Found that there is a bug in how I deal with return value in gdbus, gdbus returns an array (always). Need to return first item in array. Patchset 15: (Week 46) - Implemented proper return value of java to javascript. - Found that js calls with no paramaters call() fail, need to fix. Patchset 16: (Week 46) - Implemented support for empty arrays (including calls without args). - Code tidy. - Found that I need to implement input argument verification from JS call and from java code ran by user, otherwise gdbus can crash. Patchset 17: (Week 46) - Implement checking of user-input arguments, to ensure it won't break gdbus connection. Patchset 18: (Week 46) - Implemented checking of return value from userfunction, so bad return value doesn't break gdbus. - Code tidy/polish. - Need to implement lazy loading of gdbus, only init gdbus for the first function that we instantiate. - Also still getting warning when loading webkit library. Patchset 19: [Week 47] - Implemented lazy loading of gdbus, to only load when needed. - wrapped getPID() into lock, otherwise had strange debug/execution behaviour. Patchset 20: [Week 47] - Two BrowserInstances with Two BrowserFunctions seem to hang (snippet), (need to investigate) Patchset 21: [W47] - Removed redundant print statements. Cleaned up code. Patchset 22: [W47] - Moved Webkit extension initialization logic into a callback, so that it's guaranteed to be loaded at the most optimal time. (All jUnits pass). Patchset 23: [W47] - Removed redundant println. Patchset 24: [W47] - Implemented mechanism by which webextension is compiled and loaded from a folder. (This needs a patch to binary project's build.properties) Patchset 25: [W47] - Code tidy. Patch complete (ish). Patchset 26: [W47] - forgot to add files to patchset 25. Patchset 27: [W47] - Verified that Browser widget will continue to work if webextension fails to load. - Added relevant warnings. Patchset 28: - Minor update on SWT_LIB_VERSIONS. Change-Id: Iccfc48bc78774ac4120aafd976186381f247c562 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2017-12-01v4837genie.releng1-1/+1
2017-12-01v4836genie.releng1-1/+1
2017-12-01v4835Arun Thondapu1-1/+1
2017-11-30v4834genie.releng1-1/+1
2017-11-25v4833Arun Thondapu1-1/+1
2017-11-24v4832Arun Thondapu1-1/+1
2017-11-22v4831Arun Thondapu1-1/+1
2017-11-21v4830Arun Thondapu1-1/+1
2017-11-17v4829Arun Thondapu1-1/+1
2017-11-15v4828Arun Thondapu1-1/+1
2017-11-07v4827Arun Thondapu1-1/+1
2017-10-31Bug 526677 - Remove outdated parts of LibraryAlexander Kurtakov1-12/+2
* Remove ia64. * Remove SunOS. * Remove 32bit macOS. Change-Id: I480d2768697c497a2183b77b1f74ad9a6955da02 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-10-31Bug 526673 - Remove swt.xpt fileAlexander Kurtakov1-0/+0
Leftover from mozilla/xulrunner support. Change-Id: I541183c224356de9786df2ff9fb13e0188b3df7f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-10-23v4826Arun Thondapu1-1/+1
2017-10-17v4825Arun Thondapu1-1/+1
2017-10-13v4824Arun Thondapu1-1/+1
2017-10-10v4823Arun Thondapu1-1/+1
2017-10-06v4822Arun Thondapu1-1/+1
2017-09-29v4821Arun Thondapu1-1/+1
2017-09-26v4820Arun Thondapu1-1/+1
2017-09-15v4819Arun Thondapu1-1/+1
2017-09-08v4818Arun Thondapu1-1/+1
2017-09-07v4817Arun Thondapu1-1/+1
2017-09-06v4816Arun Thondapu1-1/+1
2017-08-28v4815Arun Thondapu1-1/+1
2017-08-18v4814Arun Thondapu1-1/+1
2017-08-16v4813Arun Thondapu1-1/+1
2017-08-15v4812Arun Thondapu1-1/+1

Back to the top