Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
14 hoursBug 462665 - Remove references to Carbon in SWT Java code and commentsLars Vogel1-4/+3
Change-Id: I5f6a558564239e64db2aae3c504df604ebb884bb Signed-off-by: Lars Vogel <>
12 daysRemove natures.Alexander Kurtakov3-3/+2
Locking the possible shell script editor to single one doesn't make much sense. Additionally there are better editors like ShellWax either way. Change-Id: I5e08fa8105cd56b8d2c5b278eca6091df5ccc258 Signed-off-by: Alexander Kurtakov <>
2019-03-08Bug 545094 - POM and product version change for 4.12 releaseNiraj Modi1-1/+1
Change-Id: Iefa1a6b83bab0f3875b20bfc8975e4274d166b05 Signed-off-by: Niraj Modi <>
2019-02-05Bug 534923 - Cocoa: objc_msgSend is called incorrectly from os.cThomas Wolf2-6/+36
C calling conventions may be different for vararg and non-vararg functions. Change the generated code to not cast vararg functions to function pointers with non-vararg profiles. Instead annotate the objc_msgSend* functions in MacGenerator as "fixedargs=2" (meaning: it's a vararg function with two fixed parameters), and change the NativesGenerator to use this annotation to generate a cast to a function pointer with a vararg profile with that many fixed parameters. "fixedargs=0" or absence of the "fixedargs" annotation means all parameters are fixed; there are no varargs. The behavior in this case in unchanged. The casting cannot be avoided altogether; the objc_msgSend*_stret functions _must_ be casted. Also use BOOL as return type for the cast of objc_msgSendSuper_bool, not just for objc_msgSend_bool. Verified that casting to a profile with varargs indeed makes the compiler generate the assembly code that on x86_64 does clear register %al, as it should per the ABI spec.[1] The old code generated did not do this. (Verified with with cc -S using Apple's clang and inspecting the assembler output; on OS X 10.14.2.) Ran the new MacGenerator to regenerate the Cocoa, then ran the new JNIGenerator to regenerate the Cocoa os.c. Re-built the binary library. Set up an Eclipse using this rebuilt library and ran all SWT tests. All tests passed locally. [1] Change-Id: Ib03226ad9ecdf4bfcf789cd2b42f592b9a2b9021 Signed-off-by: Thomas Wolf <>
2019-02-04Bug 544085 - [JNI] Insert correct newline character into generated codeNikita Nemkin1-2/+2
Change-Id: I167eb7bcdeda257af27a01da1c053778fe7a3786 Signed-off-by: Nikita Nemkin <>
2019-01-24Remove ancient readme in Kurtakov3-15/+2
It has been part of the regular update site produced by every build for years. Change-Id: I1374fceb910ae368b2bdd79e2d3daa2d3b61a192 Signed-off-by: Alexander Kurtakov <>
2018-12-07Bug 541822 - POM and product version change for 4.11 releaseAlexander Kurtakov1-1/+1
Change-Id: I8454243e87078b718102ce58702c08fe8f9f163c Signed-off-by: Alexander Kurtakov <>
2018-11-22Bug 540118 - Oomph target platform Platform/SWT fails to resolveRolf Theunissen1-12/+0
required items Remove override of the Platform targlet Change-Id: I6b5db8dffb21a379a6836aad83bf1de8bdf4021d Signed-off-by: Rolf Theunissen <>
2018-10-05Bug 530393 - Fix copyright headers in generated JNI filesNikita Nemkin1-6/+6
Restore newline escapes lost during EPL-2.0 conversion. Change-Id: If55a6e5a74e172fd10c641e4edbdcf590faf8e1f Signed-off-by: Nikita Nemkin <>
2018-09-19Bump versions for 4.10 stream.Alexander Kurtakov2-2/+2
Change-Id: Ie6cd01ef133af2634204dd34a8e8bf6707281bc2 Signed-off-by: Alexander Kurtakov <>
2018-09-11Bug 530841 - [GTK2] Remove GTK 2.x supportAlexander Kurtakov3-151/+6
Drop build support for GTK 2. Change-Id: I9c1c359d4635a9e28cd46ac042acdf07f2fbbbe6 Signed-off-by: Alexander Kurtakov <>
2018-09-05Bug 538531 - POM version change for 4.10 releaseSravan Kumar Lakkimsetti1-1/+1
Change-Id: I22a7fa1170509c771d1284173aa708bf8ca6bee6 Signed-off-by: Sravan Kumar Lakkimsetti <>
2018-08-20Bug 530393 - EPL 2.0 update for SWT for plug-insLars Vogel54-168/+336
This updates files to EPL 2.0. Regex used for replacement: find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' {} + find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)http:\/\/\/legal\/epl-v10.html/\1\2https:\/\/\/legal\/epl-2.0\/\ \1\ \1\2SPDX-License-Identifier: EPL-2.0/' {} + # Get rid of the All rights reserved find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" ! -name "pom.xml" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved. )/\1\n\1\2/' {} + Change-Id: Ia82f1301d4f811557057db226c1f04098f45f9de Signed-off-by: Lars Vogel <>
2018-07-30Bug 514191 - [Cocoa] [10.11] Bridge support files should be updated to ↵Gunnar Wagenknecht1-0/+3
latest macOS supported version 'struct FSRef*' should be 'FSRef*' Change-Id: I8d8d23c1d805a6feac325300abb0249dc39013e5 Signed-off-by: Gunnar Wagenknecht <>
2018-07-28Bug 514191 - [Cocoa] [10.11] Bridge support files should be updated to ↵Gunnar Wagenknecht1-0/+4
latest macOS supported version Catch-all replace for common generic types Change-Id: I76df6b0cd570debb9bfb165c0f46b93f1464da80 Signed-off-by: Gunnar Wagenknecht <>
2018-07-28Bug 514191 - [Cocoa] [10.11] Bridge support files should be updated to ↵Gunnar Wagenknecht1-0/+3
latest macOS supported version Remove __kindof keyword. This is also a new objective c feature that should be ignored for now. It's like a super/extends in Java generics but we need more details in order to support it. Change-Id: Ife60c4ffc83f39acdb7a8eceb305b2a0d6307d34 Signed-off-by: Gunnar Wagenknecht <>
2018-07-28Bug 514191 - Bridge support files should be updated to latest macOSLakshmi Shanmugam1-0/+3
supported version (10.11) strip greater-than sign Change-Id: I094a2ff75645bfad5d8d1633a8360ee496c60531
2018-07-04Bug 536674 - The platformSwt.setup should avoid importingI20180704-0545Ed Merks1-0/+6
org.eclipse.swt.examples.ole.win32 on Mac/Linux Change-Id: I339e25e9740d7a43a6be9fd646222b2c7fc3110a Signed-off-by: Ed Merks <>
2018-06-30Bug 536532 - The platformSwt.setup uses a p2 update site that no longerEd Merks1-37/+2
exists Change-Id: Ia68e60eb6915ef8a5fbe9941e4f29787846c9f9e Signed-off-by: Ed Merks <>
2018-06-05Bug 535318 - Update license to EPL-2.0 for platform.swt in about.htmlLars Vogel1-16/+24
Change-Id: I4526c5c3c2967d58e0e83f4d3eccfeabc268cff3 Signed-off-by: Lars Vogel <>
2018-06-01Version 4.9 update in plaform.set as prep for the EPL 2.0 updateI20180601-0900Lars Vogel2-2/+2
Change-Id: I3ad44261dffe9d6d9097eb2c66a49ed31a57df25 Signed-off-by: Lars Vogel <>
2018-05-29Bug 535191 - POM version change for 4.9 releaseAlexander Kurtakov1-1/+1
Change-Id: Icf2788319e154102ecb1002b3e9783824e709266 Signed-off-by: Alexander Kurtakov <>
2018-05-16Bug 534783 – SWT tools isn't rebuilding natives after foreach patchLeo Ufimtsev23-116/+177
Revert "For each conversion in" This reverts commit 9a92da14a27e579409c00ff3eefd197eac4209da. Change-Id: I464b41bdc9bdd125b1f56b501e226fb89ceca310 Signed-off-by: Leo Ufimtsev <>
2018-05-12Bug 534597 - Unanticipated comparator errors in I20180511-2000Sravan Kumar Lakkimsetti1-1/+2
Change-Id: I887c5a1913fd321e279bd221bd888ff04a5930dd Signed-off-by: Sravan Kumar Lakkimsetti <>
2018-04-27For each conversion in Kurtakov23-177/+116
Change-Id: I9b24de33ba07df5717bb32326392f24555d5c88d Signed-off-by: Alexander Kurtakov <>
2018-04-23Bug 533818 - Improve the Oomph setups for the platform projectsI20180423-0640Ed Merks1-1/+14
When all target platforms are resolved, projects from the eclipse.platform.swt.binaries repo are imported but they have errors. Change the source locator to exclude all platform-specific projects and then include only the one project for the current specific platform. Change-Id: Ic1d6e1fa08fff77846dfb9027ffb74c7f90ed11a Signed-off-by: Ed Merks <>
2018-04-21Bug 533818 - Improve the Oomph setups for the platform projectsEd Merks1-63/+39
Ensure that the commit message includes a change ID. Improve the dynamic working sets. Simplify the targlets based on moving dependencies up to Platform.setup. Change-Id: I992d11fa21b545f1b735954d288d72cced3754b3 Signed-off-by: Ed Merks <>
2018-03-27Bug 461646 - Allow EOL+EOF in 8bit RE-encoded BMPTorbjörn Svensson1-4/+1
Images converted to 8bit run-length encoded BMP using imagemagick contains EOL + EOF as the last bytes rather than a single EOF. Change-Id: I8e6790ca7e5217beb6e183a4cf13811a303d5a5a Signed-off-by: Torbjörn Svensson <>
2018-03-23Bug 488431 - Provide SWT/GTK3 port on WindowsRolf Theunissen2-10/+8
Make GTK build on win32 again Change-Id: Iea9e8fbd53af430b998597449a1445ffd716c5ef Signed-off-by: Rolf Theunissen <>
2018-01-15Bug 529675 - [sonar] Resolve "Possible null pointer dereference"René Purrio3-0/+12
Change-Id: I4b178bf17231e26b678c86f543fc447b1ac3ceb1 Signed-off-by: René Purrio <>
2018-01-07Bug 529494 - Convert to StringBuilderAlexander Kurtakov9-29/+29
Change-Id: Ic959ed6d7ae7aa50da85837105570b2b69ae66d3 Signed-off-by: Alexander Kurtakov <>
2017-11-30Bug 527935 - Add Automatic-Module-Name to MANIFEST.MF in SWT repoAlexander Kurtakov1-0/+1
Change-Id: I7ac7f58b3c252b6baabaacae3ac4d3b197b76ba3 Signed-off-by: Alexander Kurtakov <>
2017-11-27Bug 525976 - Replace if/else cascades by switch statementsKarsten Thoms4-11/+132
- Added enum Selector that lists all used selectors Mixed hand-crafted & generated code - OS: - Use Selector literal values for selector constants initialization - Added a map for mapping Long selector value to their Selector literal - MacGenerator: - Extended generator to write selector literals to - Changed generation of selector constants in - Regenerated code with MacGenerator - MacGeneratorView: Improved error message when target root folder is not available - JNIGenerator: Ignore CCE for enum types Change-Id: Ic62f9e8a36b7c8dd103a0efb04bfc242f4bf757a Signed-off-by: Karsten Thoms <>
2017-11-21Bug 526117 - Update setup for PhotonKarsten Thoms1-1405/+0
Removed duplicate entries - P2 task - Targlets Removed obsolete variables defined by Eclipse Projects container - - Change-Id: Ic425ea5d92dd51872925ea774778d1d8c00d4806 Signed-off-by: Karsten Thoms <>
2017-11-20Bug 525436 - Some foreach conversionsAlexander Kurtakov1-1/+2
Fix wrong param types iteration. Change-Id: I84087c0cb84317ebeb791391067832e459a7e636 Signed-off-by: Alexander Kurtakov <>
2017-10-17Bug 510973 - Missing source bundle for org.eclipse.swt.toolsI20171017-0515Alexander Kurtakov1-0/+1
Change-Id: I95c4ecdfe6c644de2d771a77a3fffc92a36d861c Signed-off-by: Alexander Kurtakov <>
2017-10-17Bug 526117 - Update setup for PhotonKarsten Thoms1-9/+44
Change-Id: I8cc2d9825c26c0bad693cdf20a0a34343af35ae3 Signed-off-by: Karsten Thoms <>
2017-10-10Bug 525436 - Some foreach conversionsAlexander Kurtakov2-15/+11
In Change-Id: I8c1fd577db2bf0e82dc1f2d926c63d0da7d3de52 Signed-off-by: Alexander Kurtakov <>
2017-09-27Bug 525262 - Use foreach in Alexander Kurtakov10-67/+33
Change-Id: If4ecc910b831382381c9a265b589febfb2544f15 Signed-off-by: Alexander Kurtakov <>
2017-09-26Bug 524932 - Stricter warnings for swt toolsAlexander Kurtakov11-91/+94
Enable more warnings and fix them. Change-Id: I2f201327e6cd9176f1447f69857d8e8afd753352 Signed-off-by: Alexander Kurtakov <>
2017-09-15Bug 522210 - Resolved inefficient use of keySet iteratorI20170915-1030Karsten Thoms2-19/+19
Change-Id: I79571322f6af34ebab6ef25d6ee0df7fe5a1d5b9 Signed-off-by: Karsten Thoms <>
2017-08-09Bump minor of Kurtakov2-3/+3
Due to removed Mozilla generator support. Change-Id: Icb3841a35d6fdcd1a9dcd75333d64b517b85e65d Signed-off-by: Alexander Kurtakov <>
2017-06-27Bug 518542: Remove XULRunner related code from SWT source repositoryAlexander Kurtakov5-701/+3
Remove mozilla generation from so it no longer fails with NPE when Mozilla sources are removed. Change-Id: Idc704da81862662b85cced93a5c1319d0f236a9b Signed-off-by: Alexander Kurtakov <>
2017-06-22Bug 517929 - Update POMs in the master for 4.8 release Alexander Kurtakov1-1/+1
Point to 4.8 parent pom. Change-Id: Ib1077addbb229ec9a84eb11c1882fd13816e0fec Signed-off-by: Alexander Kurtakov <>
2017-05-02Bug 515610 - [GTK] SWT generates incorrect fall-through for memmove()Martin Oberhuber1-4/+22
An incorrect fall-through in generated C code for memmove() led to producing code which could memmove() to NULL pointer destination or from a NULL pointer source. Even in case this was just dead code and could never execute, it led to an unnecessary inefficiency in the default case (an extra jmp instruction to jump over the dead code). This is resolved by a better generator, which generates an earlier jump to fail: thus avoiding the undesired fall-through. Patchset 4: (Leo) - Win32's doesn't have memmove, only MoveMemory, so Win32 not affected. - Adding Cocoa's resulting os.c of this patch. (I launched a child eclipse with this patch to have newest SWT tools, then set .classpath_cocoa -> .classpath and modified for cocoa) Change-Id: I9f9153ae3f41f4aea3a9f9439e92a892224b1475 Signed-off-by: Martin Oberhuber <> Signed-off-by: Leo Ufimtsev <>
2017-04-26Bug 515480 - Add dltk nature to SWT projects for shelled supportLeo Ufimtsev1-0/+1
Adding dltk natures to swt projects for shelled (bash script editor). With this, in shelled, outline,autopredict, running scrits etc work. Note, this doesn't include the buildCommand that is currently added (see related bug). Only adds the nature. Change-Id: Id72351bd4e8341f5b0de66593d5af5cd7968ed88 Signed-off-by: Leo Ufimtsev <>
2017-04-21Bug 514509: [Gtk] Organise swt gtk developer scripts and add buildLeo Ufimtsev1-6/+20
scripts Added ability to try to guess 'git binary' location if does not provide it (e.g when working with old version). Change-Id: I108a9a5112f3213fc391680690515a184ce5cc43 Task-Url: Signed-off-by: Leo Ufimtsev <>
2017-04-21Bug 514509: [Gtk] Organise swt gtk developer scripts and add buildLeo Ufimtsev4-62/+132
scripts Adding wrapper script ( You can put this into your path (and name it like 'swtb' and it will make a local copy of and run it. This way you can build swt even when you checkout an old version of SWT. See inside script for details. Technical notes: - Removing common_func dependency to make more independent, (i.e, it can run from any directory now and find it's way). - The wrapper automatically updates the local copy if in the repo is newer. - Made various improvements in rebuild_swt_natives, to allow it to function from another directory and included support for whitespaces in path. - Small bugfix in, output-dir print should not have whitespace at beginning. Change-Id: I97a23665c560999cb3da78383f3f8793bcd88def Task-Url: Signed-off-by: Leo Ufimtsev <>
2017-04-19Bug 514509 - [Gtk] Organise swt gtk developer scripts and add buildLeo Ufimtsev1-4/+3
scripts Bugfix. The script thorws an error if ran from a symbolic link because 'source' (aka import) doesn't find related lib. Fix is to move the source statement after the script 'cd' to it's own directory. Change-Id: I1835c57187de005b1bb6f512f791c1a14530eba8 Signed-off-by: Leo Ufimtsev <>
2017-04-13Bug 514509 - [Gtk] Organise swt gtk developer scripts and add buildLeo Ufimtsev1-28/+30
scripts Updated script to rename .classpath before, because if folders/path was changed, then rename of '.classpath' is not reached by the script. Change-Id: I52c1f9d8310eea1fd1249fdd3b905f7c6213cbc8 Signed-off-by: Leo Ufimtsev <>

Back to the top