Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-07Bug 547907 - POM and product version change for 4.13 releaseNiraj Modi1-1/+1
Change-Id: I96194ef478ccae3e950a26ac5a4a04937ee1fc9e Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-05-19Bug 547304 - [cleanup] Fix wrong line delimitersPaul Pazderski1-507/+507
This updates all Java files with wrong or mixed line delimiters to use Unix style delimiters. The change includes only whitespace formatting and no code changes. Change-Id: I4cf29fcedaaa5ee7efc0fb68e6b22aecb17812ce
2019-05-10Bug 546696 - [Cocoa] Remove MacGenerator 32-bit supportNikita Nemkin1-431/+143
Part 1 of 32-bit removal patch set. Change MacGenerator to only read 64-bit types from .bridgesupport files and generate 64-bit Java code. (For compatibility with existing bridgesupport files, if 64-bit type is missing, then 32-bit type is used as a fallback.) Fix MacGenerator to be able to consume .bridgesupport files generated from 10.14 SDK. Change-Id: I3032956fabc72ae41927987a8e0d4f92918bfe66 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2019-05-10Bug 546694 - [Cocoa] Re-enable struct generation in MacGeneratorNikita Nemkin1-44/+84
Struct generation was disabled in 6ddf285abe, likely to allow for customization (for example, flattening of NSRect). Partially re-enable struct generation with the help of two new bridgesupport tags (on <struct>): swt_gen_memmove - generate OS.memmove and OS.***_sizeof for the struct. This is independent from swt_gen and allows custom struct definition without losing automatically generated helper functions. swt_gen_tostring - generate simple toString() implementation. This matches previously handwritten toString() code. With this patch, all Cocoa structures except NSRect become auto-genrated. Since memmove generation is now configurable, I've removed unused memmoves. Change-Id: Ia2cd3fcb3bc7cece5668d6c7c32ca1f6d22128ef Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2019-05-09Remove unused parameters in NativesGenerator.Alexander Kurtakov1-5/+5
Change-Id: I04b625e3f709d81543d207f0f421dfa786567eb3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-04-24Bug 546144 - [JNI] Revert some recent jnigen changesNikita Nemkin1-21/+3
Revert "Bug 515610 - [GTK] SWT generates incorrect fall-through for memmove()" This reverts commit 4c3b9d2b9864a1910c5116168456ab215a2dc2aa. Change-Id: Iea193f29a877face605deaa51bfce96027f7d7ac Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2019-04-24Bug 546144 - [JNI] Revert some recent jnigen changesNikita Nemkin2-36/+6
Revert "Bug 534923 - Cocoa: objc_msgSend is called incorrectly from os.c" This reverts commit 94bbab9593afe86192ce9ff1c7d23f9003c3ef5e. Change-Id: If227caf179ffc8cb018c343d3b99d3535aea8d04 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2019-04-23Bug 462665 - Remove references to Carbon in SWT Java code and commentsLars Vogel1-4/+3
Change-Id: I5f6a558564239e64db2aae3c504df604ebb884bb Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-04-12Remove dltk.sh 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 <akurtako@redhat.com>
2019-03-08Bug 545094 - POM and product version change for 4.12 releaseNiraj Modi1-1/+1
Change-Id: Iefa1a6b83bab0f3875b20bfc8975e4274d166b05 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
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 OS.java, 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] https://software.intel.com/sites/default/files/article/402129/mpx-linux64-abi.pdf Change-Id: Ib03226ad9ecdf4bfcf789cd2b42f592b9a2b9021 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2019-02-04Bug 544085 - [JNI] Insert correct newline character into generated codeNikita Nemkin1-2/+2
Change-Id: I167eb7bcdeda257af27a01da1c053778fe7a3786 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
2019-01-24Remove ancient readme in swt.tools.Alexander 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 <akurtako@redhat.com>
2018-12-07Bug 541822 - POM and product version change for 4.11 releaseAlexander Kurtakov1-1/+1
Change-Id: I8454243e87078b718102ce58702c08fe8f9f163c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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 <rolf.theunissen@altran.com>
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 <nikita@nemkin.ru>
2018-09-19Bump versions for 4.10 stream.Alexander Kurtakov2-2/+2
Change-Id: Ie6cd01ef133af2634204dd34a8e8bf6707281bc2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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 <akurtako@redhat.com>
2018-09-05Bug 538531 - POM version change for 4.10 releaseSravan Kumar Lakkimsetti1-1/+1
Change-Id: I22a7fa1170509c771d1284173aa708bf8ca6bee6 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-08-20Bug 530393 - EPL 2.0 update for SWT for swt.tools 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:\/\/www.eclipse.org\/legal\/epl-v10.html/\1\2https:\/\/www.eclipse.org\/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 <Lars.Vogel@vogella.com>
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 <gunnar@wagenknecht.org>
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 <gunnar@wagenknecht.org>
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 <gunnar@wagenknecht.org>
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 <ed.merks@gmail.com>
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 <ed.merks@gmail.com>
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 <Lars.Vogel@vogella.com>
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 <Lars.Vogel@vogella.com>
2018-05-29Bug 535191 - POM version change for 4.9 releaseAlexander Kurtakov1-1/+1
Change-Id: Icf2788319e154102ecb1002b3e9783824e709266 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-05-16Bug 534783 – SWT tools isn't rebuilding natives after foreach patchLeo Ufimtsev23-116/+177
Revert "For each conversion in swt.tools." This reverts commit 9a92da14a27e579409c00ff3eefd197eac4209da. https://bugs.eclipse.org/bugs/show_bug.cgi?id=534783 Change-Id: I464b41bdc9bdd125b1f56b501e226fb89ceca310 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2018-05-12Bug 534597 - Unanticipated comparator errors in I20180511-2000Sravan Kumar Lakkimsetti1-1/+2
Change-Id: I887c5a1913fd321e279bd221bd888ff04a5930dd Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-04-27For each conversion in swt.tools.Alexander Kurtakov23-177/+116
Change-Id: I9b24de33ba07df5717bb32326392f24555d5c88d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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 <ed.merks@gmail.com>
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 <ed.merks@gmail.com>
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 <torbjorn.svensson@st.com>
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 <rolf.theunissen@altran.com>
2018-01-15Bug 529675 - [sonar] Resolve "Possible null pointer dereference"René Purrio3-0/+12
Change-Id: I4b178bf17231e26b678c86f543fc447b1ac3ceb1 Signed-off-by: René Purrio <rpurrio@itemis.de>
2018-01-07Bug 529494 - Convert to StringBuilderAlexander Kurtakov9-29/+29
Change-Id: Ic959ed6d7ae7aa50da85837105570b2b69ae66d3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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 <akurtako@redhat.com>
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 Selector.java - Changed generation of selector constants in OS.java - 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 <karsten.thoms@itemis.de>
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 - eclipse.api.baseline.target.platform - eclipse.target.platform Change-Id: Ic425ea5d92dd51872925ea774778d1d8c00d4806 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-11-20Bug 525436 - Some foreach conversionsAlexander Kurtakov1-1/+2
Fix wrong param types iteration. Change-Id: I84087c0cb84317ebeb791391067832e459a7e636 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-10-17Bug 510973 - Missing source bundle for org.eclipse.swt.toolsI20171017-0515Alexander Kurtakov1-0/+1
Change-Id: I95c4ecdfe6c644de2d771a77a3fffc92a36d861c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-10-17Bug 526117 - Update setup for PhotonKarsten Thoms1-9/+44
Change-Id: I8cc2d9825c26c0bad693cdf20a0a34343af35ae3 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-10-10Bug 525436 - Some foreach conversionsAlexander Kurtakov2-15/+11
In swt.tools. Change-Id: I8c1fd577db2bf0e82dc1f2d926c63d0da7d3de52 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-09-27Bug 525262 - Use foreach in swt.tools Alexander Kurtakov10-67/+33
Change-Id: If4ecc910b831382381c9a265b589febfb2544f15 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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 <akurtako@redhat.com>
2017-09-15Bug 522210 - Resolved inefficient use of keySet iteratorI20170915-1030Karsten Thoms2-19/+19
Change-Id: I79571322f6af34ebab6ef25d6ee0df7fe5a1d5b9 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-08-09Bump minor of o.e.swt.tools.Alexander Kurtakov2-3/+3
Due to removed Mozilla generator support. Change-Id: Icb3841a35d6fdcd1a9dcd75333d64b517b85e65d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-27Bug 518542: Remove XULRunner related code from SWT source repositoryAlexander Kurtakov5-701/+3
Remove mozilla generation from swt.tools so it no longer fails with NPE when Mozilla sources are removed. Change-Id: Idc704da81862662b85cced93a5c1319d0f236a9b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>

Back to the top