Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 547192

Summary: [Cocoa] Replace deprecated Carbon functions
Product: [Eclipse Project] Platform Reporter: Nikita Nemkin <nikita>
Component: SWTAssignee: Nikita Nemkin <nikita>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: lshanmug, niraj.modi
Version: 4.12   
Target Milestone: 4.13 M1   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/142034
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=143a750b606afcb9465d03b28724ea61c02d1f04
Whiteboard:
Bug Depends on:    
Bug Blocks: 549414    
Attachments:
Description Flags
Snippet to verify Display.loadFont
none
Font to verify Display.loadFont none

Description Nikita Nemkin CLA 2019-05-12 05:49:10 EDT
SWT uses a number of deprecated Carbon functions, let's replace them with modern equivalents.
Comment 1 Eclipse Genie CLA 2019-05-12 05:51:07 EDT
New Gerrit change created: https://git.eclipse.org/r/142034
Comment 2 Nikita Nemkin CLA 2019-05-12 05:54:16 EDT
Created attachment 278578 [details]
Snippet to verify Display.loadFont
Comment 3 Nikita Nemkin CLA 2019-05-12 05:56:17 EDT
Created attachment 278579 [details]
Font to verify Display.loadFont

With this font, the snippet should display something like this: █▂█▂█
Comment 5 Lakshmi P Shanmugam CLA 2019-06-17 00:30:11 EDT
Thanks Nikita!
Comment 6 Lakshmi P Shanmugam CLA 2019-07-15 02:26:23 EDT
Verified with build I20190711-1805.