Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] macOS Port

Greetings SWT Committers,

I've invested some time last week and the the weekend to get the macSWT port compiling on my machine. This includes generation of native code and Java code using MacGenerator from BridgeSupport files. 

Details available here:
https://bugs.eclipse.org/502090

I only have access to a 10.12 system. Thus, I used the BridgeSupport files from this system. I do hope this is ok. But if anyone has a 10.11 system, I can help generating the BridgeSupport files on such a system.

The following list of warnings is pretty short. Frankly, I did expect a lot more because of the long time since it has been generated last. :)

----

os.c:1200:17: warning: 'CFURLCreateFromFSRef' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
os.c:1214:17: warning: 'CFURLCreateStringByAddingPercentEscapes' is deprecated: first deprecated in OS X 10.11 - Use [NSString stringByAddingPercentEncodingWithAllowedCharacters:] instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent (since each URL component or subcomponent has different rules for what characters are valid). [-Wdeprecated-declarations]
os.c:2035:13: warning: 'CGPostKeyboardEvent' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
os.c:2059:13: warning: 'CGSetLocalEventsFilterDuringSuppressionState' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
os.c:2071:13: warning: 'CGSetLocalEventsSuppressionInterval' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
os.c:2440:13: warning: 'Gestalt' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
os.c:2476:13: warning: 'GetCurrentProcess' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
os.c:2742:17: warning: 'LSGetApplicationForInfo' is deprecated: first deprecated in OS X 10.10 - Use LSCopyDefaultApplicationURLForContentType instead. [-Wdeprecated-declarations]
os.c:3582:2: warning: 'NSAccessibilityRaiseBadArgumentException' is deprecated: first deprecated in OS X 10.11 - Exceptions are no longer appropriate for indicating errors in accessibility API. Unexpected values should be handled through appropriate type checking. [-Wdeprecated-declarations]
os.c:3917:17: warning: 'NSAccessibilitySortButtonRole' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
os.c:4459:17: warning: 'NSAddImage' is deprecated: first deprecated in OS X 10.5 [-Wdeprecated-declarations]
os.c:4570:2: warning: 'NSCopyBits' is deprecated: first deprecated in OS X 10.10 [-Wdeprecated-declarations]
os.c:4585:2: warning: 'NSCountWindows' is deprecated: first deprecated in OS X 10.6 - Use +[Window windowNumbersWithOptions:] instead [-Wdeprecated-declarations]
os.c:4677:17: warning: 'NSErrorFailingURLStringKey' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations]
os.c:5027:17: warning: 'NSPrintSavePath' is deprecated: first deprecated in OS X 10.6 - Use NSPrintJobSavingURL instead [-Wdeprecated-declarations]
os.c:5486:2: warning: 'NSWindowList' is deprecated: first deprecated in OS X 10.6 - Use +[Window windowNumbersWithOptions:] instead [-Wdeprecated-declarations]
os.c:5835:13: warning: 'SecPolicySearchCopyNext' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
os.c:5851:13: warning: 'SecPolicySearchCreate' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
os.c:5851:76: warning: 'CSSM_DATA' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
os.c:5901:13: warning: 'SetFrontProcess' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
os.c:11046:17: warning: cast of type 'SEL' to 'jlong' (aka 'long long') is deprecated; use sel_getName instead [-Wcast-of-sel-type]

swt_awt.c:46:6: warning: 'JAWT_GetAWT' is deprecated [-Wdeprecated-declarations]

----

Who is currently maintaining the macOS SWT port and has some cycles to review the changes to the MacGenerator as well as the code changes to SWT?

-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx, http://guw.io/








Back to the top