Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-01-26Bug 530012 – [gtk] Update make_linux to simplify building of launcher.I20180129-2000I20180129-0605I20180129-0540I20180128-2000I20180127-1500I20180127-0150I20180126-2040Leo Ufimtsev4-66/+93
Details: - This makes make_linux.mak independent, i.e the following works: make -f make_linux.mak clean all It does so by assuming default values if they are not set by build.sh. However, build.sh still overrides values for backwards compatibility. I.e, I expect it will work fine with build servers. - I migrated some linux-specific logic from build.sh to make_linux.mak * JAVA_HOME detection that I added earlier, * linux specific x86/x86_64 flags - Added a new target: dev_build_install This can be invoked like: export DEV_ECLIPSE="your/eclipse" make -f make_linux.mak clean dev_build_install It builds the launcher/lib and then you can test the output in your dev eclipse. (see target for details.). Test strategy: I've done some very through testing, I'm pretty confident it shouldn't break anything. I've accounted for x86/x86_64 differences. I've added a print statement that prints info about variables: $(info Input info: ....) This line generates the same values for when you run build.sh as well as when make_linux is invoked directly. Produced eclipse and eclipse_xxxx.so work well. Tested on Fedora 27, Wayland, gtk3.22, x86_64. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=530012 Change-Id: I07ec8f453acd93d368e5e8f927fa65354da0f68b Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2018-01-24Binaries v20180124-0926S4_8_0_M5I20180124-2000genie.releng15-15/+15
2018-01-23Binaries v20180123-0032I20180124-0800I20180123-2000I20180123-1010I20180123-0800genie.releng16-16/+16
2018-01-23Bug 529695 --launcher.openFile with relative path crashesLeo Ufimtsev1-3/+3
Crash is caused due to a null pointer. program (path) is a global var. It's being read by strlen before it's set. eclispe.c:417:run() -> parseArgs() -> next = checkPath(next, getProgramDir(), 0); checkPath() : paths[1] = .. programDir; buffer = malloc(.. _tcslen(paths[1])...) << strlen on a null. But it's only set later: eclispe.c:417:run() -> parseArgs() << used here. -> _run() { -> program = _tcsdup( argv[0] ); << set here. } Solution is fairly trivial, just set "program" before it's used. Verified on Linux Fedora 27. I don't see it causing issues on other platforms, it's a very minor fix. Should probably be good to merge. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=529695 Change-Id: I379970ecce553ef4f78a246a96ee9ac647471739 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2018-01-22Binaries v20180122-0705I20180122-2000I20180122-0800genie.releng16-16/+16
2018-01-22Bug 530028: Set MACOSX_DEPLOYMENT_TARGET=10.10 for launcherLakshmi Shanmugam1-1/+2
Change-Id: Idd662b24bcadaa07f980f1e78bcc8b9c5078844e Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
2018-01-20Bug 530018 - Use StandardCharsetsI20180121-2000I20180121-0800I20180120-1500I20180120-0800Alexander Kurtakov1-10/+49
Close URLClassLoader in tests as this was catched after the bump to Java 1.7 for this bug. Change-Id: I40bf5cb357475434f7a933c450fa8096f6a75565 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-01-19Bug 530018 - Use StandardCharsetsI20180119-2000Alexander Kurtakov5-27/+24
Bump osgi.tests BREE to 1.7 to allow StandardCharsets usage. Change-Id: I1eae4b06867df991535779dc8d2c0b72077acea4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-01-18Binaries v20180118-0747I20180119-0110I20180118-2000genie.releng15-15/+15
2018-01-18Bug 528229 - Build launcher on Eclipse Foundation InfraSravan Kumar Lakkimsetti2-30/+30
Change-Id: I19d93468be6033d41424155ba6413248ead5af99 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-01-18Binaries v20180118-0639genie.releng15-15/+15
2018-01-18Binaries v20180118-0628genie.releng15-15/+15
2018-01-18Bug 528414 (swtWaylandLauncher) Part 2: Replace x11 with gdbusLeo Ufimtsev8-205/+245
eclipseGtk.c overhaul replacing x11 machinery with gio's gdbus for wayland support. Results: - Launcher works on wayland - All x11 is gone (at least for gtk3). - Files no longer separated via colons. - Verified on Wayland (and x11). - Also added a makefile to accelerate future development efforts and make it more obvious on how to test launcher. Technical notes: - Old machinery used to set windowProperty via x11 atoms, files were separated via colons ':'. This had issues with local urls'. - New machinery checks if there is a session on: org.eclipse.swt and if so, it passes files via a gdbus array with each file being a separate item. (I.e, colons not used anymore). - The mutex/launcher window stuff was all related to x11. gdbus doesn't use that anymore, locks are internall to gtk/glib. - A few additional minor fixes/patches (code style etc...). Test Strategy: - Below were done on both Wayland and X11: - Fedora 27, Gtk3.22. (Probably works on gtk2, but not tested). 1) Open eclipse with file(s) : ./eclipse /tmp/myfile1 [OK] ./eclipse /tmp/myfile1 /tmp/myfile2 [OK] 2) Open multiple eclipses at the same time: [OK] ./eclipse /tmp/myfile1 /tmp/myfile2 & ./eclipse /tmp/myfile3 /tmp/myfile3 3) Open eclipse. Once opened, run launcher again to pass files. [OK] ./eclipse ... ./eclipse /tmp/myfile 4) Open eclipse with launcher flag: ./eclipse --launcher.openFile /tmp/myfile1 Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=528414 Change-Id: I73ab1e8b603deee803693f022f0c4c90ea3c43c9 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2018-01-18Bug 528229 - Build launcher on Eclipse Foundation InfraSravan Kumar Lakkimsetti2-6/+6
Change-Id: I21176d7ed461d0f8b53d0d04be7d39563566b7a5 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-01-18Bug 528229 - Build launcher on Eclipse Foundation InfraSravan Kumar Lakkimsetti1-2/+2
-Increment minor version photon release Change-Id: I0bddb0ddedb8f61430fe340be23e40e91b3a52c8 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-01-10Bug 529639 Avoid extra sorts on start-level changesI20180117-2000I20180116-2000I20180115-2000I20180114-2000I20180113-1500I20180112-2000I20180111-2000I20180111-0530I20180110-2000Thomas Watson2-11/+217
Check the timestamp of the module database, if it has not changed do not resort the modules each active framework start-level change. Change-Id: I7b75999e72bbef1479d7143c08a92b456c7c6ef0 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-01-10Bug 529456 - [osgi R7] Support for importing java.* packagesAnjum Fatima23-40/+913
Change-Id: Ie5b096731534c2416219504d55347690681808f2 Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com> Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-01-03Bug 528926 – [gtk] build.sh should find java on it's own if notI20180110-0100I20180109-2000I20180108-2000I20180107-2000I20180106-1500I20180105-2000I20180104-2000I20180104-0030I20180103-2000Leo Ufimtsev1-0/+11
specified. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=528926 Change-Id: I23e3d9d7aed0ea7702329e7e705120539420f5dc Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2017-12-20Bug 528416 - Add LogEntry related API filters inI20180103-0140I20180102-2215I20180102-2000Vikas Chandra1-0/+9
org.eclipse.osgi.services Change-Id: I4c6764b2cb74061c0717627f44649e695a0ae66d Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
2017-12-15Bug 528422 - [osgi R7] Support for Multi-Release jarsI20180101-2000I20171231-2000I20171230-1500I20171229-2000I20171228-2000I20171227-2000I20171226-2000I20171225-2000I20171224-2000I20171223-1500I20171222-2000I20171221-2000I20171220-2000I20171219-2000I20171218-2000I20171217-2000I20171216-1500I20171215-2000Thomas Watson8-12/+195
Add check to prevent versioning of files under META-INF Change-Id: Ibb7afa65e0da75c012ec024cd0d79fa774cf9f51 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-12-15Bug 528121 - Add executor to control the creation of threads forAnjum Fatima7-158/+376
multiple log listeners The executor is an ordered executor which warrants the task ordering for tasks with same key. Earlier implementation takes endless time and run out of memory when more listeners are added. Change-Id: I47dfaedaccc4033ebc977a9a53492d28d252d59d Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com> Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-12-15Bug 528777 - Unable to launch existing Eclipse application launchThomas Watson2-11/+49
configuration Need to make sure to discard modules with deleted/modified content before checking for multi-release bundles.
2017-12-14Bug 528712 - Move launcher BREE to 1.7I20171215-0930I20171215-0215I20171215-0120I20171214-2000Alexander Kurtakov1-28/+33
Silence resource warnings and handle zipfile with try-with-resources to ensure it's closed. Change-Id: Ic2d0601029fc03770920b52a28c0c2fa055a037d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-12-13Bug 528416 - Add LogEntry related API filters inI20171214-0120I20171213-2000Vikas Chandra1-0/+37
org.eclipse.osgi.services Change-Id: I0a0725ab897630b1114c28d4e5cc47136d8b173c Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
2017-12-13Bug 528422 - [osgi R7] Support for Multi-Release jarsThomas Watson68-102/+1600
Change-Id: Iab950e54caa6fffb3c995694c0d7762111a846a3 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-12-13Bug 528422 - Cancel the resolve timeout taskThomas Watson2-14/+71
Also properly name the framework event dispatcher thread to include the container UUID Change-Id: Ieb05540218708a2bb68d1f75ee78295f5f1decef Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-12-13Bug 528687 - Add missing Automatic-Module-Name header for Java 9Alexander Kurtakov7-0/+7
Change-Id: I19251aca58e9ddc2269357c0f8e9a73d2c4cd252 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-12-13Bug 528712 - Move launcher BREE to 1.7Alexander Kurtakov20-43/+111
Added missing Override annotations and removed redundant types. Change-Id: I526e1b892c747710a9950070ba1da8745258cdec Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-12-04Bug 528116 - [osgi R7] update the latest R7 OSGi APIS4_8_0_M4I20171212-2000I20171211-2000I20171210-2000I20171209-1500I20171209-1020I20171208-2000I20171206-2000I20171206-0800I20171205-2000I20171205-0800I20171205-0250I20171205-0030I20171204-2000Thomas Watson12-786/+1076
2017-12-01Bug 527353 - Auto detect available packages when running >= Java 9I20171204-0850I20171204-0830I20171204-0530I20171203-2000I20171203-0800I20171202-1500I20171202-0800I20171201-2000Thomas Watson2-99/+221
Change-Id: I5bb770826262b55cedb8ef0c8a6925452fd849b3 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-11-23Bug 527379 - Remove references to org.eclipse.update.configuratorI20171201-0600I20171201-0345I20171130-2100I20171130-2000I20171129-2000I20171128-2000I20171128-0100I20171127-2000I20171126-2000I20171125-1500I20171124-2000I20171123-2000Karsten Thoms1-5/+0
Remove dependency of osgi tests on update.configurator plugin. Change-Id: I0dcccb904469d3f2ebbc746c92a97d3af9ef5416 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-11-16Bug 526997 - Usage of org.eclipse.osgi.container.Module is ambiguousI20171122-2000I20171121-2000I20171121-0020I20171120-2225I20171120-2000I20171119-2000I20171118-1500I20171117-2000I20171116-2000Thomas Watson25-98/+431
with a Java 9 JRE Added explicit imports to org.eclipse.osgi.container.Module where needed. Also had to update the jdt prefs for the projects to stop collapsing the imports when 3 or more classes are imported from the same package. Change-Id: I6cbfbeea07e2cb0e5df7db8db1d145014ab33cb2 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-11-15Bug 527302 - Issues installing bundles when a clean operation is initiated ↵I20171115-2000Thomas Watson4-2/+30
by Storage
2017-11-14Bug 527249 - Remove references to update.coreKarsten Thoms1-1/+1
Change-Id: I63ff4ddc9f6994bce22c76771e277fa69ffe133f Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-11-13Bug 527221 - [osgi R7] update log stream impl and APII20171115-0115I20171115-0025I20171114-2000I20171113-2000Thomas Watson6-423/+780
Change-Id: Id5a0c165285c6b0bf496c948f26616161f5df4ab Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-11-03Bug 526732 - Update to latest Core APII20171112-2000I20171111-1500I20171111-0410I20171111-0155I20171110-2000I20171109-2000I20171108-2000I20171107-2000I20171106-2000I20171106-0630I20171105-2000I20171104-2025I20171104-1500I20171103-2000Thomas Watson15-16/+1752
Change-Id: Ibec9d2adcd3cb52dafa8d25d3b8466af448f0270 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-11-03Add org.eclipse.osgi/debug/storage trace optionThomas Watson1-0/+1
2017-09-25Bug 520176: Fix disabled macOS 10.13 menu barS4_8_0_M3aS4_8_0_M3I20171103-1105I20171103-0715I20171103-0405I20171102-2000I20171101-2000I20171031-2000I20171030-2000I20171030-0400I20171029-2000I20171028-1500I20171027-2340I20171027-2000I20171025-2000I20171025-0800I20171024-2000I20171024-0800I20171023-2000I20171023-0800I20171022-2000I20171022-0800I20171021-1500I20171020-2000I20171019-2000I20171018-2000I20171017-2000I20171017-0515I20171016-2000I20171015-2000I20171015-0655I20171014-1500I20171013-2000I20171012-2000I20171011-2000I20171011-0305I20171010-2000I20171009-2000I20171008-2000I20171007-1500I20171006-2000I20171005-2000I20171004-2000I20171004-0315I20171003-2000I20171002-2000I20171001-2000I20170930-1500I20170929-2000I20170928-2000I20170927-2000I20170927-0420I20170926-2000I20170925-2000Torkild U. Resheim1-30/+1
* De-list locales that are not supported by Eclipse Change-Id: Ica03e96b88471b424a7f6d420f52121489bfb250 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=520176 Signed-off-by: Torkild U. Resheim <torkildr@gmail.com>
2017-09-21Binaries v20170921-0535I20170924-2000I20170923-1500I20170922-2000I20170921-2000Arun Thondapu16-16/+16
2017-09-21Bug 457921 - [RCP] RCP application menu not shown when launched fromTill Brychcy2-11/+4
Eclipse on OS X 10.9 Change-Id: Ie9b23c0f7c80c0b3c80b5fd41a18d61a54e392eb Signed-off-by: Till Brychcy <register.eclipse@brychcy.de>
2017-09-19Bug 522313 - remove unused fieldI20170920-2000I20170920-0100I20170919-2000Thomas Watson1-2/+0
Change-Id: Ieb265c0e46ddd32ecdc36e596a4f8eea9a32e12d Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-09-18Bug 522313 - Add TestcaseI20170918-2000Thomas Watson1-1/+77
This testcase is very heavy. In order to reproduce on my local machine I had to install 40000 bundles in parallel over 500 threads This heavy load also exposed an issue with the bundle file closer because the single thread closing bundles would backup pending removals which ultimately lead to too many files being opened at the same time. A workaround was added to add delays when the pending closures got "too high" to allow the closer thread to catch up. The build machines cannot handle this test, diabled by default. Change-Id: Id157bee4e11f02753e6d7927ee2183519f74c3a9 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-09-18Bug 522313 - Remove loop used to acquire the bundle id lock on bundleThomas Watson10-55/+154
installation When installing a new module there is a loop in the Storage class which repeatedly attempts to acquire the next module ID lock before installing the module into the module container. This has always been a sort of hack because it is attempting to lock the next module ID outside of the module container so that we can stage the bundle content correctly into the bundle id folder before installing the module into the container. To do that we needed to know what the next module id is going to be and lock it so that no other thread attempts to install over with the module ID we are trying to stage. Instead of doing this strange locking loop this fix adds a new method to the module container to get and increment the next module ID and then passes that module ID in as part of the ModuleRevisionBuilder. This way if multiple threads are installing modules they each will get thier own unique module ID without requiring any outside the container locking. Change-Id: I215a991bb4ef2a71eea542259b32e0c9509d9c8f Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-09-18Bug 506976 - Info.plist "CFBundleGetInfoString" is out of dateThomas Watson1-3/+3
Change-Id: I8afa18505c905fd5271f8af5102d6bd6d29022d2 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-09-18Bug 522430 - ClassLoadingBundleTests.testContextFinderEmptyGetResourcesThomas Watson1-2/+2
is failing on ep48I-unit-cen64-gtk3 Change test to use a different port from 8888
2017-09-15Binaries v20170915-1028I20170917-2000I20170916-1500I20170915-2000I20170915-1030Arun Thondapu15-15/+15
2017-09-15Bug 520636 - Make sure Eclipse starts with Java 9Sravan Kumar Lakkimsetti1-0/+6
-making the changes mac specific Change-Id: I402169a44dc28f83c8a676b2dce50848ba2fcf31 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2017-09-15Bug 520636 - Make sure Eclipse starts with Java 9Sravan Kumar Lakkimsetti1-1/+5
- eclipse doesn't restart with java 9 Change-Id: Ia5ae1413fd4f0d42082d4fa7dde2c11de3181e6e Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2017-09-15Binaries v20170915-0946Arun Thondapu17-17/+17
2017-09-15Bug 520636 - Make sure Eclipse starts with Java 9Sravan Kumar Lakkimsetti5-81/+70
- Based on work done by Arun Thondapu Change-Id: I737b2cab75f34c3b5b58b55744496de3c90a5bbe Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>

Back to the top