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-23Binaries v20180123-0032I20180124-0800I20180123-2000I20180123-1010I20180123-0800genie.releng1-1/+1
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.releng1-1/+1
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-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-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-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-09-21Binaries v20170921-0535I20170924-2000I20170923-1500I20170922-2000I20170921-2000Arun Thondapu1-1/+1
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-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 Thondapu1-1/+1
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>
2017-09-11Binaries v20170911-0535I20170912-0800I20170911-2000I20170911-0800Arun Thondapu1-1/+1
2017-08-07Bug 520630 - Fix warnings catched by CDTAlexander Kurtakov1-2/+2
CDT shows few warnings about missing parenthesis. Add them to reduce warnings. Change-Id: I26fa647c9c96ae741e4582f71c9db674f3056df2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-07-21Binaries v20170721-0458Arun Thondapu1-1/+1
2017-06-27Bug 518812 - Remove mozilla workarounds from launcherAlexander Kurtakov7-345/+3
Mozilla/Xulrunner support is being removed from SWT thus applying workarounds for it in launcher is no longer needed. Change-Id: If86168662b6c2ad244df85363233f623b1066fba Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-31Binaries v20170531-0733Y20170622-1000Y20170620-0625Y20170619-2325Y20170618-0415Y20170615-1000Y20170608-1000Y20170601-1000S4_7_0_RC4aS4_7_0_RC4S4_7_0_RC3R4_7I20170616-0530I20170615-2000I20170614-2000I20170613-2000I20170612-0950I20170610-0940I20170608-0530I20170607-2000I20170607-1100I20170607-0800I20170607-0215I20170606-2000I20170606-0800I20170605-2000I20170605-0800I20170604-2000I20170604-0800I20170603-1500I20170603-0800I20170603-0100I20170602-2000I20170531-2000I20170531-0800Arun Thondapu1-1/+1
2017-05-31Bug 517507: Remove Java 9 hacks that were added to the launcher inArun Thondapu5-74/+81
Oxygen M7 Revert "Bug 493761: Platform won't launch on Java 9-ea builds (InjectionException: NoClassDefFoundError: javax/annotation/PostConstruct)" This reverts commit 4295e27d8e41283eadba7aa2e098126b22c5a7a9. This reverts commit 28ff351cfc1b33eb84c70b295e8a86bf8b70d21f. This reverts commit 2e0869c0e8cf5f4125a3237f22ed6f166a065fbb.
2017-05-29Bug 517013 - Avoid memcpy@GLIBC_2.14 dependency on Linux x86_64Martin Oberhuber7-1/+39
On newer Linux x86_64 hosts like REL7, an optimized version of memcpy() is available in glibc and linked in by default. The drawback of linking that optimized version is, that the resulting binaries don't run any more on older Linux distributions like REL6 (where that optimized memcpy@GLIBC_2.14 is not available). This fix avoids the problem by replacing memcpy() with memmove() on Linux x86_64 hosts only. To be safe, it also compiles with -fno-builtin-memcpy -fno-builtin-memmove on Linux x86_64. See also bug 515155 for a very similar fix in SWT to support REL6. Change-Id: I39bc8d4975015eb52f35d3d02eae921bf6d66478 Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com> Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
2017-05-11Revert "Bug 516349 - [Mac] Cannot Restart on Java 9-ea builds ↵Arun Thondapu1-11/+2
(NoClassDefFoundError: javax/annotation/PostConstruct)" This reverts commit ad13b29e1e8388dda5021e3c10824aa5c44d2e2a. Change-Id: I88de81b238b000bf4b6db7dfe12e67693fb53f4b
2017-05-11Binaries v20170511-0914Y20170511-1000Arun Thondapu1-1/+1
2017-05-11Bug 516349 - [Mac] Cannot Restart on Java 9-ea buildsTill Brychcy1-2/+11
(NoClassDefFoundError: javax/annotation/PostConstruct) Change-Id: I3eba0c07f9a53aaf212050d6594ceacea91855e2 Signed-off-by: Till Brychcy <register.eclipse@brychcy.de>
2017-05-03Binaries v20170503-1700Y20170504-1000I20170510-0800I20170509-2000I20170509-1300I20170509-1100I20170509-0945I20170509-0800I20170508-2000I20170508-0800I20170507-2000I20170506-2000I20170505-2000I20170504-2000I20170503-2000Arun Thondapu1-1/+1
2017-05-03Bug 493761: Platform won't launch on Java 9-ea buildsArun Thondapu1-1/+5
(InjectionException: NoClassDefFoundError: javax/annotation/PostConstruct) --permit-illegal-access VM argument is needed to run eclipse with Java 9 but Java 8 does not recognize this argument and fails to start up. This patch prevents passing the --permit-illegal-access argument to the JVM if it is present in the VM argument list and the JVM version is < 9. Change-Id: Id39176a1e4f092d59063111667dd738a0b951ad4 Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
2017-04-28Binaries v20170428-1711I20170429-2000I20170429-1330I20170429-1230I20170428-2000Arun Thondapu1-1/+1
2017-04-28Bug 493761: Platform won't launch on Java 9-ea buildsArun Thondapu1-2/+2
(InjectionException: NoClassDefFoundError: javax/annotation/PostConstruct) Fix Windows build failure by declaring variables at the beginning of the block (Windows build seems to be using an old version of VS compiler not compliant with C99) Change-Id: If19501943ee90e959fcc71fc8dc32b9a3a906124 Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
2017-04-28Bug 493761: Platform won't launch on Java 9-ea buildsArun Thondapu5-81/+70
(InjectionException: NoClassDefFoundError: javax/annotation/PostConstruct) --add-modules VM argument is needed to run eclipse with Java 9 but Java 8 does not recognize this argument and fails to start up. This patch prevents passing the --add-modules argument to the JVM if it is present in the VM argument list and the JVM version is < 9. Tested with different builds of Java 8 and Java 9 on Linux, Mac and Windows. Also tested with both formats of specifying the argument (one-arg with "=", or two-arg). Change-Id: I0d4c6ba2ba0e41982a89d7da1aef6c78f276f65c Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
2017-04-07Bug 512282 - Rebuild eclipse launchers for linux ppc64 and ppc64le usingArun Thondapu1-5/+7
the machines provided by redhat Adjust default JAVA_HOME values in the build script for Linux Change-Id: I5eaa0c83ffb308e696ebde52ca651a647d9de875 Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
2016-12-19Bug 509311 - Replace GtkSignalFunc with GCallbackAlexander Kurtakov1-2/+2
GtkSignalFunc is gone in GTK3 and GGcallback is available in the min GLib required. Change-Id: If72db866935d1b0bb4b48c6abc93b2cc870822ca Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-12-13Binaries v20161213-1256Y20161215-1200I20161215-2000I20161215-0915I20161215-0830I20161215-0730I20161215-0130I20161214-2000I20161214-1005I20161213-2000Arun Thondapu1-1/+1
2016-12-13Bug 508576 - Simplify GTK initializationAlexander Kurtakov3-17/+9
Function gtk_init_with_args is present in the min GTK version required so there is no need to check for it's existence and try gtk_init_check after that. Also g_error_free is mandatory function so no need for if(g_error_free) g_error_free(...). Change-Id: Idd13fb1009e0b0e434e0a409487863dd3ea06325 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-12-02Bug 508577 - Remove NETSCAPE_FIXAlexander Kurtakov2-9/+2
Function not implemented and not used anywhere. Change-Id: I52bdc4fa7e05c9c9a94526eedc3aa933cb9eb637 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-11-29Bug 508291 - Remove unneeded gtk callsAlexander Kurtakov3-7/+0
Function gtk_set_locale call is not needed with gtk 2.24+ as gtk_init does it by default. Also remove other unused binding too. Change-Id: I92ca6d16d502ddbd2ef8603320cffdd59afa6996 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-11-22Bug 507979 - Fix gcc -Wmisleading-indentation warningsAlexander Kurtakov3-4/+4
Use tabs consistently to not confuse gcc blocks has misleading formatting. Change-Id: I91af853c643b9edf0dc54b9677bb8269c451bf76 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-11-03Bug 452486 - Remove Motif leftoversAlexander Kurtakov23-3192/+2
Delete the actual motif code. Change-Id: I94257d7da060ba6b9a4156497a7a189926b00db9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-10-26Binaries v20161026-0546I20161027-0200I20161026-2000I20161026-1100I20161026-0800Arun Thondapu1-1/+1
2016-10-13Bug 472042 - Regression: eclipse -noSplash prints errors if no DISPLAYY20161020-1000Sravan Kumar Lakkimsetti2-8/+7
is set on Linux Change-Id: I64cbc93b33a03d531f76f809a85a2ce7c6fe792b Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2016-10-04Binaries v20161004-0749I20161004-1000I20161004-0800Arun Thondapu1-1/+1
2016-09-30Bug 502519 - Remove Photon native codeAlexander Kurtakov6-513/+0
Remove photon native code and mentions of it in the build scripts. Change-Id: I114c1d7e9aca98271177ea477e46db36b577d3d0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-09-30Bug 501986 - [GTK+] Make GTK+ 2.24 the minimum supported versionAlexander Kurtakov1-3/+3
Change-Id: I027be9384110042aa7eb202c11e9f890dc44c54e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-09-30Bug 498758 - Move launcher to Java 6Alexander Kurtakov1-3/+3
Checking windows registry should happen for Java 1.6+. Change-Id: I8ec63314fe450a951e86e5870d7d2191c577c313 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-05-19Bug 491519 - Need 64-bit launcher for Solaris/SPARCI20160521-1500I20160520-2000I20160519-1730Arun Thondapu1-5/+12
Change-Id: Id75d6db2a397e8e8da9a3fc5648bdff6199bb83c Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
2016-05-18Binaries v20160518-1044Y20160519-1000I20160519-1100I20160518-2000Arun Thondapu1-1/+1
2016-05-18Bug 493797 - [HiDPI][Win32][GTK] Adapts Launcher to 'integer' scalingSravan Kumar Lakkimsetti2-7/+8
which is default for Eclipse/SWT Change-Id: Ie2fa7b5c8e65216d3852bb1daee60be06e0f8927 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2016-04-21Binaries v20160421-0830Y20160421-1000Arun Thondapu1-1/+1
2016-04-21Bug 488910 - [HiDpi][GTK] splash screen should show the correct sizeSravan Kumar Lakkimsetti3-3/+34
based on the scaling selected -Completed the necessary testing for the launcher. This solves the splash cropping problem Change-Id: I1a234c7842589a6acbedf83196b86ea66ee2387a Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>

Back to the top