diff options
author | Alexander Kurtakov | 2014-09-22 13:04:29 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2014-09-22 13:04:29 +0000 |
commit | c36fcc9b8912574d6f7865b3c1f3792607851846 (patch) | |
tree | e6c33def73b668631853938572669cf9625b7d6f /bundles | |
parent | 0576217623f32a21d5ea94e276c03ad06a1e5baa (diff) | |
download | eclipse.platform.swt-c36fcc9b8912574d6f7865b3c1f3792607851846.tar.gz eclipse.platform.swt-c36fcc9b8912574d6f7865b3c1f3792607851846.tar.xz eclipse.platform.swt-c36fcc9b8912574d6f7865b3c1f3792607851846.zip |
Bug 444725 - Remove carbon support from swt
Remaining parts in the code and build scripts.
Change-Id: Idabe4c08e44998a668cb319efd53aeadc7d4263a
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles')
16 files changed, 11 insertions, 753 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties index 1091736063..488daad33b 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties @@ -30,7 +30,6 @@ swt_properties_copyright=####################################################### ############################################################################### swt_main_classes=\ org.eclipse.swt.internal.accessibility.gtk.ATK,../org.eclipse.swt/Eclipse SWT PI/gtk/library/,\ -org.eclipse.swt.internal.carbon.OS,../org.eclipse.swt/Eclipse SWT PI/carbon/library/,\ org.eclipse.swt.internal.cde.CDE,../org.eclipse.swt/Eclipse SWT Program/cde/library/,\ org.eclipse.swt.internal.gnome.GNOME,../org.eclipse.swt/Eclipse SWT Program/gnome/library/,\ org.eclipse.swt.internal.gtk.OS,../org.eclipse.swt/Eclipse SWT PI/gtk/library/,\ @@ -42,11 +41,9 @@ org.eclipse.swt.internal.gdip.Gdip,../org.eclipse.swt/Eclipse SWT PI/win32/libra org.eclipse.swt.internal.cairo.Cairo,../org.eclipse.swt/Eclipse SWT PI/cairo/library/,\ org.eclipse.swt.internal.opengl.glx.GLX,../org.eclipse.swt/Eclipse SWT OpenGL/glx/library/,\ org.eclipse.swt.internal.opengl.win32.WGL,../org.eclipse.swt/Eclipse SWT OpenGL/win32/library/,\ -org.eclipse.swt.internal.opengl.carbon.AGL,../org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/,\ org.eclipse.swt.internal.C,../org.eclipse.swt/Eclipse SWT PI/common/library/,\ org.eclipse.swt.internal.wpf.OS,../org.eclipse.swt/Eclipse SWT PI/wpf/library/,\ org.eclipse.swt.internal.win32.Win32,../org.eclipse.swt/Eclipse SWT PI/wpf_win32/library/,\ -org.eclipse.swt.internal.cocoa.Cocoa,../org.eclipse.swt/Eclipse SWT PI/carbon/library/,\ org.eclipse.swt.internal.cocoa.OS,../org.eclipse.swt/Eclipse SWT PI/cocoa/library/,\ org.eclipse.swt.internal.webkit.WebKitGTK,../org.eclipse.swt/Eclipse SWT WebKit/gtk/library/,\ org.eclipse.swt.internal.webkit.WebKit_win32,../org.eclipse.swt/Eclipse SWT WebKit/win32/library/,\ diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java index a37b5396cf..4ade087959 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java @@ -189,7 +189,6 @@ static int checkStyle(int style) { style &= ~SWT.WEBKIT; } if ((style & SWT.MOZILLA) != 0 || (style & SWT.WEBKIT) != 0) { - if ("carbon".equals (platform)) return style | SWT.EMBEDDED; //$NON-NLS-1$ return style; } diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java index c742c07cd2..4144fc2e3a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java @@ -1130,15 +1130,13 @@ void listEvent (Event event) { * show it again. To prevent the popup from showing again, we will detect * this case and let the selection event of the arrow button hide the popup. */ - if (!"carbon".equals(SWT.getPlatform())) { - Point point = arrow.toControl(getDisplay().getCursorLocation()); - Point size = arrow.getSize(); - Rectangle rect = new Rectangle(0, 0, size.x, size.y); - if (rect.contains(point)) { - boolean comboShellActivated = getDisplay ().getActiveShell () == getShell (); - if (!comboShellActivated) dropDown (false); - break; - } + Point point = arrow.toControl(getDisplay().getCursorLocation()); + Point size = arrow.getSize(); + Rectangle rect = new Rectangle(0, 0, size.x, size.y); + if (rect.contains(point)) { + boolean comboShellActivated = getDisplay ().getActiveShell () == getShell (); + if (!comboShellActivated) dropDown (false); + break; } dropDown (false); break; diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java index 12014c3694..f9ea9df30f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java @@ -195,7 +195,6 @@ public class CTabFolderRenderer { if (parent.simple) return; String platform = SWT.getPlatform(); if ("cocoa".equals(platform)) return; //$NON-NLS-1$ - if ("carbon".equals(platform)) return; //$NON-NLS-1$ if ("wpf".equals(platform)) return; //$NON-NLS-1$ // Don't perform anti-aliasing on low resolution displays if (parent.getDisplay().getDepth() < 15) return; diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java index 8846e8ab55..b782860467 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java @@ -167,7 +167,7 @@ public class StyledText extends Canvas { final static boolean IS_MAC, IS_GTK, IS_MOTIF; static { String platform = SWT.getPlatform(); - IS_MAC = "carbon".equals(platform) || "cocoa".equals(platform); + IS_MAC = "cocoa".equals(platform); IS_GTK = "gtk".equals(platform); IS_MOTIF = "motif".equals(platform); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java index 4d151b2491..267df39f10 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java @@ -4414,7 +4414,7 @@ int SetVisibility (int aVisibility) { event.size = size; event.addressBar = (chromeFlags & nsIWebBrowserChrome.CHROME_LOCATIONBAR) != 0; /* Feature of OSX. The menu bar is always displayed. */ - boolean isOSX = Platform.PLATFORM.equals ("cocoa") || Platform.PLATFORM.equals ("carbon"); + boolean isOSX = Platform.PLATFORM.equals ("cocoa"); event.menuBar = isOSX || (chromeFlags & nsIWebBrowserChrome.CHROME_MENUBAR) != 0; event.statusBar = (chromeFlags & nsIWebBrowserChrome.CHROME_STATUSBAR) != 0; event.toolBar = (chromeFlags & nsIWebBrowserChrome.CHROME_TOOLBAR) != 0; diff --git a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl.c b/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl.c deleted file mode 100644 index 1ec2523157..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl.c +++ /dev/null @@ -1,195 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2012 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -#include "swt.h" -#include "agl_structs.h" -#include "agl_stats.h" - -#ifndef AGL_NATIVE -#define AGL_NATIVE(func) Java_org_eclipse_swt_internal_opengl_carbon_AGL_##func -#endif - -#ifndef NO_aglChoosePixelFormat -JNIEXPORT jint JNICALL AGL_NATIVE(aglChoosePixelFormat) - (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2) -{ - jint *lparg2=NULL; - jint rc = 0; - AGL_NATIVE_ENTER(env, that, aglChoosePixelFormat_FUNC); - if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; - rc = (jint)aglChoosePixelFormat((const AGLDevice *)arg0, arg1, (const GLint *)lparg2); -fail: - if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); - AGL_NATIVE_EXIT(env, that, aglChoosePixelFormat_FUNC); - return rc; -} -#endif - -#ifndef NO_aglCreateContext -JNIEXPORT jint JNICALL AGL_NATIVE(aglCreateContext) - (JNIEnv *env, jclass that, jint arg0, jint arg1) -{ - jint rc = 0; - AGL_NATIVE_ENTER(env, that, aglCreateContext_FUNC); - rc = (jint)aglCreateContext((AGLPixelFormat)arg0, (AGLContext)arg1); - AGL_NATIVE_EXIT(env, that, aglCreateContext_FUNC); - return rc; -} -#endif - -#ifndef NO_aglDescribePixelFormat -JNIEXPORT jboolean JNICALL AGL_NATIVE(aglDescribePixelFormat) - (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2) -{ - jint *lparg2=NULL; - jboolean rc = 0; - AGL_NATIVE_ENTER(env, that, aglDescribePixelFormat_FUNC); - if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; - rc = (jboolean)aglDescribePixelFormat((AGLPixelFormat)arg0, (GLint)arg1, (GLint *)lparg2); -fail: - if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); - AGL_NATIVE_EXIT(env, that, aglDescribePixelFormat_FUNC); - return rc; -} -#endif - -#ifndef NO_aglDestroyContext -JNIEXPORT jboolean JNICALL AGL_NATIVE(aglDestroyContext) - (JNIEnv *env, jclass that, jint arg0) -{ - jboolean rc = 0; - AGL_NATIVE_ENTER(env, that, aglDestroyContext_FUNC); - rc = (jboolean)aglDestroyContext((AGLContext)arg0); - AGL_NATIVE_EXIT(env, that, aglDestroyContext_FUNC); - return rc; -} -#endif - -#ifndef NO_aglDestroyPixelFormat -JNIEXPORT void JNICALL AGL_NATIVE(aglDestroyPixelFormat) - (JNIEnv *env, jclass that, jint arg0) -{ - AGL_NATIVE_ENTER(env, that, aglDestroyPixelFormat_FUNC); - aglDestroyPixelFormat((AGLPixelFormat)arg0); - AGL_NATIVE_EXIT(env, that, aglDestroyPixelFormat_FUNC); -} -#endif - -#ifndef NO_aglEnable -JNIEXPORT jboolean JNICALL AGL_NATIVE(aglEnable) - (JNIEnv *env, jclass that, jint arg0, jint arg1) -{ - jboolean rc = 0; - AGL_NATIVE_ENTER(env, that, aglEnable_FUNC); - rc = (jboolean)aglEnable((AGLContext)arg0, (GLenum)arg1); - AGL_NATIVE_EXIT(env, that, aglEnable_FUNC); - return rc; -} -#endif - -#ifndef NO_aglGetCurrentContext -JNIEXPORT jint JNICALL AGL_NATIVE(aglGetCurrentContext) - (JNIEnv *env, jclass that) -{ - jint rc = 0; - AGL_NATIVE_ENTER(env, that, aglGetCurrentContext_FUNC); - rc = (jint)aglGetCurrentContext(); - AGL_NATIVE_EXIT(env, that, aglGetCurrentContext_FUNC); - return rc; -} -#endif - -#ifndef NO_aglGetDrawable -JNIEXPORT jint JNICALL AGL_NATIVE(aglGetDrawable) - (JNIEnv *env, jclass that, jint arg0) -{ - jint rc = 0; - AGL_NATIVE_ENTER(env, that, aglGetDrawable_FUNC); - rc = (jint)aglGetDrawable((AGLContext)arg0); - AGL_NATIVE_EXIT(env, that, aglGetDrawable_FUNC); - return rc; -} -#endif - -#ifndef NO_aglSetCurrentContext -JNIEXPORT jboolean JNICALL AGL_NATIVE(aglSetCurrentContext) - (JNIEnv *env, jclass that, jint arg0) -{ - jboolean rc = 0; - AGL_NATIVE_ENTER(env, that, aglSetCurrentContext_FUNC); - rc = (jboolean)aglSetCurrentContext((AGLContext)arg0); - AGL_NATIVE_EXIT(env, that, aglSetCurrentContext_FUNC); - return rc; -} -#endif - -#ifndef NO_aglSetDrawable -JNIEXPORT jboolean JNICALL AGL_NATIVE(aglSetDrawable) - (JNIEnv *env, jclass that, jint arg0, jint arg1) -{ - jboolean rc = 0; - AGL_NATIVE_ENTER(env, that, aglSetDrawable_FUNC); - rc = (jboolean)aglSetDrawable((AGLContext)arg0, (AGLDrawable)arg1); - AGL_NATIVE_EXIT(env, that, aglSetDrawable_FUNC); - return rc; -} -#endif - -#ifndef NO_aglSetInteger__III -JNIEXPORT jboolean JNICALL AGL_NATIVE(aglSetInteger__III) - (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2) -{ - jboolean rc = 0; - AGL_NATIVE_ENTER(env, that, aglSetInteger__III_FUNC); - rc = (jboolean)aglSetInteger((AGLContext)arg0, (GLenum)arg1, (const GLint *)arg2); - AGL_NATIVE_EXIT(env, that, aglSetInteger__III_FUNC); - return rc; -} -#endif - -#ifndef NO_aglSetInteger__II_3I -JNIEXPORT jboolean JNICALL AGL_NATIVE(aglSetInteger__II_3I) - (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2) -{ - jint *lparg2=NULL; - jboolean rc = 0; - AGL_NATIVE_ENTER(env, that, aglSetInteger__II_3I_FUNC); - if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; - rc = (jboolean)aglSetInteger((AGLContext)arg0, (GLenum)arg1, (const GLint *)lparg2); -fail: - if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); - AGL_NATIVE_EXIT(env, that, aglSetInteger__II_3I_FUNC); - return rc; -} -#endif - -#ifndef NO_aglSwapBuffers -JNIEXPORT void JNICALL AGL_NATIVE(aglSwapBuffers) - (JNIEnv *env, jclass that, jint arg0) -{ - AGL_NATIVE_ENTER(env, that, aglSwapBuffers_FUNC); - aglSwapBuffers((AGLContext)arg0); - AGL_NATIVE_EXIT(env, that, aglSwapBuffers_FUNC); -} -#endif - -#ifndef NO_aglUpdateContext -JNIEXPORT jboolean JNICALL AGL_NATIVE(aglUpdateContext) - (JNIEnv *env, jclass that, jint arg0) -{ - jboolean rc = 0; - AGL_NATIVE_ENTER(env, that, aglUpdateContext_FUNC); - rc = (jboolean)aglUpdateContext((AGLContext)arg0); - AGL_NATIVE_EXIT(env, that, aglUpdateContext_FUNC); - return rc; -} -#endif - diff --git a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl.h b/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl.h deleted file mode 100644 index b0ca4d7290..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl.h +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -#ifndef SWT_AGL_H_INCLUDED -#define SWT_AGL_H_INCLUDED - -#include <OpenGL/gl.h> -#include <AGL/agl.h> - -#endif /* SWT_AGL_H_INCLUDED */ diff --git a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl_stats.c b/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl_stats.c deleted file mode 100644 index f2efcab64b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl_stats.c +++ /dev/null @@ -1,57 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2012 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -#include "swt.h" -#include "agl_stats.h" - -#ifdef NATIVE_STATS - -char * AGL_nativeFunctionNames[] = { - "aglChoosePixelFormat", - "aglCreateContext", - "aglDescribePixelFormat", - "aglDestroyContext", - "aglDestroyPixelFormat", - "aglEnable", - "aglGetCurrentContext", - "aglGetDrawable", - "aglSetCurrentContext", - "aglSetDrawable", - "aglSetInteger__III", - "aglSetInteger__II_3I", - "aglSwapBuffers", - "aglUpdateContext", -}; -#define NATIVE_FUNCTION_COUNT sizeof(AGL_nativeFunctionNames) / sizeof(char*) -int AGL_nativeFunctionCount = NATIVE_FUNCTION_COUNT; -int AGL_nativeFunctionCallCount[NATIVE_FUNCTION_COUNT]; - -#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func - -JNIEXPORT jint JNICALL STATS_NATIVE(AGL_1GetFunctionCount) - (JNIEnv *env, jclass that) -{ - return AGL_nativeFunctionCount; -} - -JNIEXPORT jstring JNICALL STATS_NATIVE(AGL_1GetFunctionName) - (JNIEnv *env, jclass that, jint index) -{ - return (*env)->NewStringUTF(env, AGL_nativeFunctionNames[index]); -} - -JNIEXPORT jint JNICALL STATS_NATIVE(AGL_1GetFunctionCallCount) - (JNIEnv *env, jclass that, jint index) -{ - return AGL_nativeFunctionCallCount[index]; -} - -#endif diff --git a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl_stats.h b/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl_stats.h deleted file mode 100644 index 8f01d81680..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl_stats.h +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -#ifdef NATIVE_STATS -extern int AGL_nativeFunctionCount; -extern int AGL_nativeFunctionCallCount[]; -extern char* AGL_nativeFunctionNames[]; -#define AGL_NATIVE_ENTER(env, that, func) AGL_nativeFunctionCallCount[func]++; -#define AGL_NATIVE_EXIT(env, that, func) -#else -#ifndef AGL_NATIVE_ENTER -#define AGL_NATIVE_ENTER(env, that, func) -#endif -#ifndef AGL_NATIVE_EXIT -#define AGL_NATIVE_EXIT(env, that, func) -#endif -#endif - -typedef enum { - aglChoosePixelFormat_FUNC, - aglCreateContext_FUNC, - aglDescribePixelFormat_FUNC, - aglDestroyContext_FUNC, - aglDestroyPixelFormat_FUNC, - aglEnable_FUNC, - aglGetCurrentContext_FUNC, - aglGetDrawable_FUNC, - aglSetCurrentContext_FUNC, - aglSetDrawable_FUNC, - aglSetInteger__III_FUNC, - aglSetInteger__II_3I_FUNC, - aglSwapBuffers_FUNC, - aglUpdateContext_FUNC, -} AGL_FUNCS; diff --git a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl_structs.h b/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl_structs.h deleted file mode 100644 index ef802c2fd5..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library/agl_structs.h +++ /dev/null @@ -1,13 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -#include "agl.h" - diff --git a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/internal/opengl/carbon/AGL.java b/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/internal/opengl/carbon/AGL.java deleted file mode 100644 index 73d8ba2772..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/internal/opengl/carbon/AGL.java +++ /dev/null @@ -1,99 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.internal.opengl.carbon; - -import org.eclipse.swt.internal.*; - -public class AGL extends Platform { - static { - Library.loadLibrary("swt-agl"); - } - - /* Attributes */ - public static final int AGL_NONE = 0; - public static final int AGL_BUFFER_SIZE = 2; - public static final int AGL_LEVEL = 3; - public static final int AGL_RGBA = 4; - public static final int AGL_DOUBLEBUFFER = 5; - public static final int AGL_STEREO = 6; - public static final int AGL_AUX_BUFFERS = 7; - public static final int AGL_RED_SIZE = 8; - public static final int AGL_GREEN_SIZE = 9; - public static final int AGL_BLUE_SIZE = 10; - public static final int AGL_ALPHA_SIZE = 11; - public static final int AGL_DEPTH_SIZE = 12; - public static final int AGL_STENCIL_SIZE = 13; - public static final int AGL_ACCUM_RED_SIZE = 14; - public static final int AGL_ACCUM_GREEN_SIZE = 15; - public static final int AGL_ACCUM_BLUE_SIZE = 16; - public static final int AGL_ACCUM_ALPHA_SIZE = 17; - - public static final int AGL_SAMPLE_BUFFERS_ARB = 55; - public static final int AGL_SAMPLES_ARB = 56; - - /* Integer parameters */ - public static final int AGL_BUFFER_RECT = 202; - public static final int AGL_SWAP_INTERVAL = 222; - public static final int AGL_BUFFER_NAME = 231; - public static final int AGL_CLIP_REGION = 254; - -/** - * @param gdevs cast=(const AGLDevice *) - * @param attribs cast=(const GLint *) - */ -public static final native int aglChoosePixelFormat(int gdevs, int ndev, int[] attribs); -/** - * @param pix cast=(AGLPixelFormat) - * @param share cast=(AGLContext) - */ -public static final native int aglCreateContext(int pix, int share); -/** - * @param pix cast=(AGLPixelFormat) - * @param attrib cast=(GLint) - * @param value cast=(GLint *) - */ -public static final native boolean aglDescribePixelFormat(int pix, int attrib, int[] value); -/** @param ctx cast=(AGLContext) */ -public static final native boolean aglDestroyContext(int ctx); -/** @param pix cast=(AGLPixelFormat) */ -public static final native void aglDestroyPixelFormat(int pix); -/** - * @param ctx cast=(AGLContext) - * @param pname cast=(GLenum) - */ -public static final native boolean aglEnable(int ctx, int pname); -public static final native int aglGetCurrentContext(); -/** @param ctx cast=(AGLContext) */ -public static final native int aglGetDrawable(int ctx); -/** @param ctx cast=(AGLContext) */ -public static final native boolean aglSetCurrentContext(int ctx); -/** - * @param ctx cast=(AGLContext) - * @param draw cast=(AGLDrawable) - */ -public static final native boolean aglSetDrawable(int ctx, int draw); -/** - * @param ctx cast=(AGLContext) - * @param pname cast=(GLenum) - * @param params cast=(const GLint *) - */ -public static final native boolean aglSetInteger(int ctx, int pname, int[] params); -/** - * @param ctx cast=(AGLContext) - * @param pname cast=(GLenum) - * @param param cast=(const GLint *) - */ -public static final native boolean aglSetInteger(int ctx, int pname, int param); -/** @param ctx cast=(AGLContext) */ -public static final native void aglSwapBuffers(int ctx); -/** @param ctx cast=(AGLContext) */ -public static final native boolean aglUpdateContext(int ctx); -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/opengl/GLCanvas.java b/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/opengl/GLCanvas.java deleted file mode 100644 index 40686f3ea1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/opengl/GLCanvas.java +++ /dev/null @@ -1,255 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2011 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.opengl; - -import org.eclipse.swt.*; -import org.eclipse.swt.widgets.*; -import org.eclipse.swt.graphics.*; -import org.eclipse.swt.internal.carbon.*; -import org.eclipse.swt.internal.opengl.carbon.*; - -/** - * GLCanvas is a widget capable of displaying OpenGL content. - * - * @see GLData - * @see <a href="http://www.eclipse.org/swt/snippets/#opengl">OpenGL snippets</a> - * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> - * - * @since 3.2 - */ - -public class GLCanvas extends Canvas { - int context; - int pixelFormat; - static final int MAX_ATTRIBUTES = 32; - static final String RESET_VISIBLE_REGION = "org.eclipse.swt.internal.resetVisibleRegion"; - -/** - * Create a GLCanvas widget using the attributes described in the GLData - * object provided. - * - * @param parent a composite widget - * @param style the bitwise OR'ing of widget styles - * @param data the requested attributes of the GLCanvas - * - * @exception IllegalArgumentException - * <ul><li>ERROR_NULL_ARGUMENT when the data is null - * <li>ERROR_UNSUPPORTED_DEPTH when the requested attributes cannot be provided</ul> - * </ul> - */ -public GLCanvas (Composite parent, int style, GLData data) { - super (parent, style); - if (data == null) SWT.error (SWT.ERROR_NULL_ARGUMENT); - int aglAttrib [] = new int [MAX_ATTRIBUTES]; - int pos = 0; - aglAttrib [pos++] = AGL.AGL_RGBA; - if (data.doubleBuffer) aglAttrib [pos++] = AGL.AGL_DOUBLEBUFFER; - if (data.stereo) aglAttrib [pos++] = AGL.AGL_STEREO; - if (data.redSize > 0) { - aglAttrib [pos++] = AGL.AGL_RED_SIZE; - aglAttrib [pos++] = data.redSize; - } - if (data.greenSize > 0) { - aglAttrib [pos++] = AGL.AGL_GREEN_SIZE; - aglAttrib [pos++] = data.greenSize; - } - if (data.blueSize > 0) { - aglAttrib [pos++] = AGL.AGL_BLUE_SIZE; - aglAttrib [pos++] = data.blueSize; - } - if (data.alphaSize > 0) { - aglAttrib [pos++] = AGL.AGL_ALPHA_SIZE; - aglAttrib [pos++] = data.alphaSize; - } - if (data.depthSize > 0) { - aglAttrib [pos++] = AGL.AGL_DEPTH_SIZE; - aglAttrib [pos++] = data.depthSize; - } - if (data.stencilSize > 0) { - aglAttrib [pos++] = AGL.AGL_STENCIL_SIZE; - aglAttrib [pos++] = data.stencilSize; - } - if (data.accumRedSize > 0) { - aglAttrib [pos++] = AGL.AGL_ACCUM_RED_SIZE; - aglAttrib [pos++] = data.accumRedSize; - } - if (data.accumGreenSize > 0) { - aglAttrib [pos++] = AGL.AGL_ACCUM_GREEN_SIZE; - aglAttrib [pos++] = data.accumGreenSize; - } - if (data.accumBlueSize > 0) { - aglAttrib [pos++] = AGL.AGL_ACCUM_BLUE_SIZE; - aglAttrib [pos++] = data.accumBlueSize; - } - if (data.accumAlphaSize > 0) { - aglAttrib [pos++] = AGL.AGL_ACCUM_ALPHA_SIZE; - aglAttrib [pos++] = data.accumAlphaSize; - } - if (data.sampleBuffers > 0) { - aglAttrib [pos++] = AGL.AGL_SAMPLE_BUFFERS_ARB; - aglAttrib [pos++] = data.sampleBuffers; - } - if (data.samples > 0) { - aglAttrib [pos++] = AGL.AGL_SAMPLES_ARB; - aglAttrib [pos++] = data.samples; - } - aglAttrib [pos++] = AGL.AGL_NONE; - pixelFormat = AGL.aglChoosePixelFormat (0, 0, aglAttrib); - if (pixelFormat == 0) { - dispose (); - SWT.error (SWT.ERROR_UNSUPPORTED_DEPTH); - } - int share = data.shareContext != null ? data.shareContext.context : 0; - context = AGL.aglCreateContext (pixelFormat, share); - int window = OS.GetControlOwner (handle); - int port = OS.GetWindowPort (window); - AGL.aglSetDrawable (context, port); - - Listener listener = new Listener () { - public void handleEvent (Event event) { - switch (event.type) { - case SWT.Dispose: - AGL.aglDestroyContext (context); - AGL.aglDestroyPixelFormat (pixelFormat); - break; - } - } - }; - addListener (SWT.Dispose, listener); - setData (RESET_VISIBLE_REGION, new Runnable() { - public void run() { - if (isDisposed ()) return; - fixBounds (); - } - }); -} - -void fixBounds () { - Rect bounds = new Rect (); - OS.GetControlBounds (handle, bounds); - int window = OS.GetControlOwner (handle); - int [] contentView = new int [1]; - OS.HIViewFindByID (OS.HIViewGetRoot (window), OS.kHIViewWindowContentID (), contentView); - CGPoint pt = new CGPoint (); - OS.HIViewConvertPoint (pt, OS.HIViewGetSuperview (handle), contentView [0]); - bounds.left += (int) pt.x; - bounds.top += (int) pt.y; - bounds.right += (int) pt.x; - bounds.bottom += (int) pt.y; - int x = bounds.left; - int y = bounds.top; - int width = bounds.right - bounds.left; - int height = bounds.bottom - bounds.top; - int port = OS.GetWindowPort (window); - OS.GetPortBounds (port, bounds); - int [] glbounds = new int [4]; - glbounds[0] = x; - glbounds[1] = bounds.bottom - bounds.top - y - height; - glbounds[2] = width; - glbounds[3] = height; - AGL.aglSetInteger (context, AGL.AGL_BUFFER_RECT, glbounds); - AGL.aglEnable (context, AGL.AGL_BUFFER_RECT); - GCData data = new GCData (); - int gc = internal_new_GC (data); - AGL.aglSetInteger (context, AGL.AGL_CLIP_REGION, data.visibleRgn); - AGL.aglEnable (context, AGL.AGL_CLIP_REGION); - internal_dispose_GC (gc, data); -} - -/** - * Returns a GLData object describing the created context. - * - * @return GLData description of the OpenGL context attributes - * @exception SWTException <ul> - * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> - * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> - * </ul> - */ -public GLData getGLData () { - checkWidget (); - GLData data = new GLData (); - int [] value = new int [1]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_DOUBLEBUFFER, value); - data.doubleBuffer = value [0] != 0; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_STEREO, value); - data.stereo = value [0] != 0; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_RED_SIZE, value); - data.redSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_GREEN_SIZE, value); - data.greenSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_BLUE_SIZE, value); - data.blueSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_ALPHA_SIZE, value); - data.alphaSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_DEPTH_SIZE, value); - data.depthSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_STENCIL_SIZE, value); - data.stencilSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_ACCUM_RED_SIZE, value); - data.accumRedSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_ACCUM_GREEN_SIZE, value); - data.accumGreenSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_ACCUM_BLUE_SIZE, value); - data.accumBlueSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_ACCUM_ALPHA_SIZE, value); - data.accumAlphaSize = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_SAMPLE_BUFFERS_ARB, value); - data.sampleBuffers = value [0]; - AGL.aglDescribePixelFormat (pixelFormat, AGL.AGL_SAMPLES_ARB, value); - data.samples = value [0]; - return data; -} - -/** - * Returns a boolean indicating whether the receiver's OpenGL context - * is the current context. - * - * @return true if the receiver holds the current OpenGL context, - * false otherwise - * @exception SWTException <ul> - * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> - * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> - * </ul> - */ -public boolean isCurrent () { - checkWidget (); - return AGL.aglGetCurrentContext () == context; -} - -/** - * Sets the OpenGL context associated with this GLCanvas to be the - * current GL context. - * - * @exception SWTException <ul> - * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> - * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> - * </ul> - */ -public void setCurrent () { - checkWidget (); - if (AGL.aglGetCurrentContext () != context) { - AGL.aglSetCurrentContext (context); - } -} - -/** - * Swaps the front and back color buffers. - * - * @exception SWTException <ul> - * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> - * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> - * </ul> - */ -public void swapBuffers () { - checkWidget (); - AGL.aglSwapBuffers (context); -} -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java index 3719e3e4a2..38ce5a398c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java @@ -4300,7 +4300,7 @@ public static String getMessage(String key, Object[] args) { /** * Returns the SWT platform name. - * Examples: "win32", "gtk", "carbon", "cocoa", "wpf" + * Examples: "win32", "gtk", "cocoa", "wpf" * * @return the SWT platform name */ @@ -4491,7 +4491,7 @@ static { * to stop the compiler from inlining. */ String platform = getPlatform (); - if ("carbon".equals (platform) || "cocoa".equals (platform)) { //$NON-NLS-1$ //$NON-NLS-2$ + if ("cocoa".equals (platform)) { //$NON-NLS-1$ MOD1 = COMMAND; MOD2 = SHIFT; MOD3 = ALT; diff --git a/bundles/org.eclipse.swt/buildFragment.xml b/bundles/org.eclipse.swt/buildFragment.xml index 4fc612b1d4..48d0a77a2f 100644 --- a/bundles/org.eclipse.swt/buildFragment.xml +++ b/bundles/org.eclipse.swt/buildFragment.xml @@ -124,45 +124,6 @@ <delete dir="${temp.folder}/@dot.src"/> </target> - <target name="copy.carbon.src"> - <property name="copy.src.dir" value="${temp.folder}/@dot.src"/> - <delete dir="${copy.src.dir}" quiet="true"/> - <copy todir="${copy.src.dir}" failonerror="true" overwrite="true"> - <fileset dir="${plugindir}/Eclipse SWT/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT/common/"/> - <fileset dir="${plugindir}/Eclipse SWT/common_j2se/" excludes="**/*._properties"/> - <fileset dir="${plugindir}/Eclipse SWT/emulated/bidi/"/> - <fileset dir="${plugindir}/Eclipse SWT/emulated/coolbar/"/> - <fileset dir="${plugindir}/Eclipse SWT/emulated/expand/"/> - <fileset dir="${plugindir}/Eclipse SWT/emulated/taskbar/"/> - <fileset dir="${plugindir}/Eclipse SWT Accessibility/common/"/> - <fileset dir="${plugindir}/Eclipse SWT Accessibility/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT AWT/common/"/> - <fileset dir="${plugindir}/Eclipse SWT AWT/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT WebKit/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT Browser/common/"/> - <fileset dir="${plugindir}/Eclipse SWT Browser/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/"/> - <fileset dir="${plugindir}/Eclipse SWT Mozilla/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT Custom Widgets/common/"/> - <fileset dir="${plugindir}/Eclipse SWT Drag and Drop/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT Drag and Drop/common/"/> - <fileset dir="${plugindir}/Eclipse SWT OpenGL/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT OpenGL/common/"/> - <fileset dir="${plugindir}/Eclipse SWT PI/common/"/> - <fileset dir="${plugindir}/Eclipse SWT PI/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT PI/common_j2se/"/> - <fileset dir="${plugindir}/Eclipse SWT Printing/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT Printing/common/"/> - <fileset dir="${plugindir}/Eclipse SWT Program/carbon/"/> - <fileset dir="${plugindir}/Eclipse SWT Program/common/"/> - <fileset dir="${plugindir}/Eclipse SWT Theme/carbon/"/> - <fileset dir="${plugindir}/components/" excludes="**/*.idl" /> - </copy> - <antcall target="copy.translationfiles"/> - <antcall target="replace64"/> - </target> - <target name="copy.cocoa.src"> <property name="copy.src.dir" value="${temp.folder}/@dot.src"/> <delete dir="${copy.src.dir}" quiet="true"/> diff --git a/bundles/org.eclipse.swt/buildSWT.xml b/bundles/org.eclipse.swt/buildSWT.xml index cf4910876f..c69286d5be 100644 --- a/bundles/org.eclipse.swt/buildSWT.xml +++ b/bundles/org.eclipse.swt/buildSWT.xml @@ -38,7 +38,6 @@ <property name="src_win32" value="${src_common} 'bundles/org.eclipse.swt/Eclipse SWT PI/win32/library' 'bundles/org.eclipse.swt/Eclipse SWT AWT/win32/library' 'bundles/org.eclipse.swt/Eclipse SWT OpenGL/win32/library' 'bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/library'"/> <property name="src_gtk" value="${src_common} 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library' 'bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/library' 'bundles/org.eclipse.swt/Eclipse SWT OpenGL/glx/library' 'bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library' 'bundles/org.eclipse.swt/Eclipse SWT Program/gnome/library' 'bundles/org.eclipse.swt/Eclipse SWT Program/cde/library' 'bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library' "/> <property name="src_cocoa" value="${src_common} 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library' 'bundles/org.eclipse.swt/Eclipse SWT AWT/cocoa/library'"/> - <property name="src_carbon" value="${src_common} 'bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library' 'bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/library'"/> <property name="src_wpf" value="${src_common} 'bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library' 'bundles/org.eclipse.swt/Eclipse SWT PI/wpf_win32/library'"/> <property name="file_library_j2se" value="bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java"/> @@ -53,12 +52,6 @@ </target> <target name="check_libraries" depends="get_version"> - <!-- Carbon is not being built - <antcall target="check_fragment_libraries"> - <param name="library_count" value="5"/> - <param name="fragment" value="org.eclipse.swt.carbon.macosx"/> - </antcall> - --> <!-- Cocoa 32 bit and ppc not being built <antcall target="check_fragment_libraries"> <param name="library_count" value="5"/> @@ -154,7 +147,6 @@ <filename regex="[0-9][0-9][0-9][0-9]."/> <filename regex="${swt_version}."/> <exclude name="**/.git/**"/> - <exclude name="**/org.eclipse.swt.carbon.macosx/**"/> <exclude name="**/org.eclipse.swt.gtk.linux.ia64/**"/> <exclude name="**/org.eclipse.swt.wpf.win32.x86/**"/> <exclude name="**/org.eclipse.swt.cocoa.macosx/**"/> @@ -163,7 +155,6 @@ <filename regex="[0-9][0-9][0-9][0-9]."/> <filename regex="${swt_version}." negate="true"/> <exclude name="**/.git/**"/> - <exclude name="**/org.eclipse.swt.carbon.macosx/**"/> <exclude name="**/org.eclipse.swt.gtk.linux.ia64/**"/> <exclude name="**/org.eclipse.swt.wpf.win32.x86/**"/> <exclude name="**/org.eclipse.swt.cocoa.macosx/**"/> @@ -485,12 +476,6 @@ <param name="is64" value="64 bit"/> </antcall> - <!-- 32 bit --> - <!-- Not building carbon - <antcall target="build_classes"> - <param name="cp" value=".classpath_carbon"/> - </antcall> - --> <!-- Not building cocoa 32-bit <antcall target="build_classes"> <param name="cp" value=".classpath_cocoa"/> @@ -801,7 +786,6 @@ <filename regex="[0-9][0-9][0-9][0-9]."/> <filename regex="${swt_version}." negate="true"/> <exclude name="**/.git/**"/> - <exclude name="**/org.eclipse.swt.carbon.macosx/**"/> <exclude name="**/org.eclipse.swt.gtk.linux.ia64/**"/> <exclude name="**/org.eclipse.swt.wpf.win32.x86/**"/> <exclude name="**/org.eclipse.swt.cocoa.macosx/**"/> @@ -821,7 +805,6 @@ <include name="bundles/*/*xulrunner-fix*"/> <exclude name="**/.git/**"/> <exclude name="**/tmpdir/**"/> - <exclude name="**/org.eclipse.swt.carbon.macosx/**"/> <exclude name="**/org.eclipse.swt.gtk.linux.ia64/**"/> <exclude name="**/org.eclipse.swt.wpf.win32.x86/**"/> <exclude name="**/org.eclipse.swt.cocoa.macosx/**"/> |