File: spelling.patch

package info (click to toggle)
libjogl2-java 2.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 57,484 kB
  • sloc: java: 257,713; ansic: 86,782; xml: 7,914; objc: 4,880; sh: 3,033; cpp: 139; makefile: 50; awk: 46; perl: 27
file content (323 lines) | stat: -rw-r--r-- 20,638 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
Description: fixing spelling errors
Author: Pierre Gruet <pgt@debian.org>
Forwarded: sgothel@jausoft.com
Last-Update: 2023-04-17

--- a/src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java
@@ -328,7 +328,7 @@
      * @param updateLocation
      * @param data
      * @param throwOnError TODO
-     * @return true if no error occured, i.e. all locations found, otherwise false.
+     * @return true if no error occurred, i.e. all locations found, otherwise false.
      */
     public final boolean updateUniformLoc(final GL2ES2 gl, final boolean updateLocation, final GLUniformData data, final boolean throwOnError) {
         if( updateLocation || 0 > data.getLocation() ) {
@@ -350,7 +350,7 @@
      * @param updateData TODO
      * @param data
      * @param throwOnError TODO
-     * @return true if no error occured, i.e. all locations found, otherwise false.
+     * @return true if no error occurred, i.e. all locations found, otherwise false.
      */
     public final boolean updateUniformDataLoc(final GL2ES2 gl, boolean updateLocation, boolean updateData, final GLUniformData data, final boolean throwOnError) {
         updateLocation = updateLocation || 0 > data.getLocation();
@@ -373,7 +373,7 @@
      * @param gl
      * @param data
      * @param throwOnError TODO
-     * @return true if no error occured, i.e. all locations found, otherwise false.
+     * @return true if no error occurred, i.e. all locations found, otherwise false.
      */
     public final boolean updateAttributeLoc(final GL2ES2 gl, final boolean updateLocation, final GLArrayDataWrapper data, final boolean throwOnError) {
         if( updateLocation || 0 > data.getLocation() ) {
--- a/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java
@@ -600,7 +600,7 @@
     public void switchStream(final int vid, final int aid, final int sid) throws IllegalStateException, IllegalArgumentException;
 
     /**
-     * Returns the {@link StreamException} caught in the decoder thread, or <code>null</code> if none occured.
+     * Returns the {@link StreamException} caught in the decoder thread, or <code>null</code> if none occurred.
      * <p>
      * Method clears the cached {@link StreamException}, hence an immediate subsequent call will return <code>null</code>.
      * </p>
--- a/src/newt/classes/jogamp/newt/DefaultEDTUtil.java
+++ b/src/newt/classes/jogamp/newt/DefaultEDTUtil.java
@@ -383,7 +383,7 @@
                         }
                         if(!task.hasWaiter() && null != task.getThrowable()) {
                             // at least dump stack-trace in case nobody waits for result
-                            System.err.println("DefaultEDT.run(): Caught exception occured on thread "+java.lang.Thread.currentThread().getName()+": "+task.toString());
+                            System.err.println("DefaultEDT.run(): Caught exception occurred on thread "+java.lang.Thread.currentThread().getName()+": "+task.toString());
                             task.getThrowable().printStackTrace();
                         }
                     }
--- a/src/newt/classes/jogamp/newt/WindowImpl.java
+++ b/src/newt/classes/jogamp/newt/WindowImpl.java
@@ -2981,7 +2981,7 @@
      * See {@link MonitorDevice#getOrientationTo(MonitorDevice, int[])} to produce a proper move_diff pair.
      * @param newPixelScale the new pixel scale
      * @param setNativeWindow pass true to set the native window pos-size, otherwise only change stored values
-     * @return true if a pixel scale change occured, otherwise false.
+     * @return true if a pixel scale change occurred, otherwise false.
      */
     protected boolean applySoftPixelScale(final int[] move_diff, final float[] newPixelScale, final boolean setNativeWindow) {
         boolean res = false;
--- a/src/newt/native/X11Display.c
+++ b/src/newt/native/X11Display.c
@@ -341,7 +341,7 @@
 
     (*env)->CallVoidMethod(env, obj, displayCompletedID, javaObjectAtom, windowDeleteAtom /*, kbdHandle*/, // XKB disabled for now
                                      randr_event_base, randr_error_base, xi_opcode);
-    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.CompleteDisplay0: Exception occured at displayCompleted(..)");
+    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.CompleteDisplay0: Exception occurred at displayCompleted(..)");
 }
 
 /*
@@ -451,7 +451,7 @@
     jboolean res = (*env)->CallBooleanMethod(env, jw->jwindow, sendTouchScreenEventID,
                                              (jshort)eventType, (jint)modifiers, (jint)actionIdx,
                                              jNames, jX, jY, jPressure, (jfloat)1.0f);
-    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: XI: Exception occured at sendTouchScreenEvent(..)");
+    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: XI: Exception occurred at sendTouchScreenEvent(..)");
     return res;
 }
 
@@ -504,7 +504,7 @@
                 DBG_PRINT( "X11: DispatchMessages 0x%X - Leave 2, closed DisplayDriver %p\n", dpy, obj); 
                 return;
             }
-            NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: Exception occured at isNativeValid()");
+            NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: Exception occurred at isNativeValid()");
         #endif
 
         // XEventsQueued(dpy, X):
@@ -531,7 +531,7 @@
                 DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, RRScreen\n", dpy); 
                 num_events = 0; // end loop in case of destroyed display
             }
-            NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: RR: Exception occured at sendRRScreenChangeNotify(..)");
+            NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: RR: Exception occurred at sendRRScreenChangeNotify(..)");
             continue; // next event
         }
 
@@ -731,7 +731,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, press-mouseEvent\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                 }
-                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: ButtonPress: Exception occured at sendMouseEventRequestFocus(..)");
+                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: ButtonPress: Exception occurred at sendMouseEventRequestFocus(..)");
                 break;
             case ButtonRelease:
                 if( JNI_FALSE == (*env)->CallBooleanMethod(env, jw->jwindow, sendMouseEventID, (jshort) EVENT_MOUSE_RELEASED, 
@@ -740,7 +740,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, release-mouseEvent\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                 }
-                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: ButtonRelease: Exception occured at sendMouseEvent(..)");
+                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: ButtonRelease: Exception occurred at sendMouseEvent(..)");
                 break;
             case MotionNotify:
                 if( JNI_FALSE == (*env)->CallBooleanMethod(env, jw->jwindow, sendMouseEventID, (jshort) EVENT_MOUSE_MOVED, 
@@ -749,7 +749,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, motion-mouseEvent\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                 }
-                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: MotionNotify: Exception occured at sendMouseEvent(..)");
+                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: MotionNotify: Exception occurred at sendMouseEvent(..)");
                 break;
             case EnterNotify:
                 DBG_PRINT( "X11: event . EnterNotify call %p %d/%d\n", (void*)evt.xcrossing.window, evt.xcrossing.x, evt.xcrossing.y);
@@ -762,7 +762,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, enter-mouseEvent\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                     }
-                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: EnterNotify: Exception occured at visibleChangedSendMouseEvent(..)");
+                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: EnterNotify: Exception occurred at visibleChangedSendMouseEvent(..)");
                 }
                 break;
             case LeaveNotify:
@@ -776,7 +776,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, leave-mouseEvent\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                     }
-                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: LeaveNotify: Exception occured at visibleChangedSendMouseEvent(..)");
+                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: LeaveNotify: Exception occurred at visibleChangedSendMouseEvent(..)");
                 }
                 break;
             case MappingNotify:
@@ -789,7 +789,7 @@
                     DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, press-keyEvent\n", dpy); 
                     num_events = 0; // end loop in case of destroyed display
                 }
-                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: KeyPress: Exception occured at sendKeyEvent(..)");
+                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: KeyPress: Exception occurred at sendKeyEvent(..)");
                 break;
             case KeyRelease:
                 if( JNI_FALSE == (*env)->CallBooleanMethod(env, jw->jwindow, sendKeyEventID, (jshort) EVENT_KEY_RELEASED, 
@@ -797,7 +797,7 @@
                     DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, release-keyEvent\n", dpy); 
                     num_events = 0; // end loop in case of destroyed display
                 }
-                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: KeyRelease: Exception occured at sendKeyEvent(..)");
+                NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: KeyRelease: Exception occurred at sendKeyEvent(..)");
                 break;
             case DestroyNotify:
                 DBG_PRINT( "X11: event . DestroyNotify call %p, parent %p, child-event: %d\n", 
@@ -858,7 +858,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, sizePosMaxInsetsVis\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                     }
-                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: ConfigureNotify: Exception occured at sizePosMaxInsetsVisibleChanged(..)");
+                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: ConfigureNotify: Exception occurred at sizePosMaxInsetsVisibleChanged(..)");
                 }
                 break;
             case ClientMessage:
@@ -886,7 +886,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, focus-in\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                     }
-                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: FocusIn: Exception occured at focusVisibleChanged(..)");
+                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: FocusIn: Exception occurred at focusVisibleChanged(..)");
                 }
                 break;
 
@@ -899,7 +899,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, focus-out\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                     }
-                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: FocusOut: Exception occured at focusVisibleChanged(..)");
+                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: FocusOut: Exception occurred at focusVisibleChanged(..)");
                 }
                 break;
 
@@ -914,7 +914,7 @@
                             DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, vis-notify\n", dpy); 
                             num_events = 0; // end loop in case of destroyed display
                         }
-                        NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: VisibilityNotify: Exception occured at visibleChanged(..)");
+                        NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: VisibilityNotify: Exception occurred at visibleChanged(..)");
                     }
                     #endif
                 }
@@ -930,7 +930,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, expose\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                     }
-                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: Expose: Exception occured at windowRepaint(..)");
+                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: Expose: Exception occurred at windowRepaint(..)");
                     #if 0
                     uint32_t netWMState = NewtWindows_getNET_WM_STATE(dpy, jw);
                     int visibleChange = NewtWindows_updateVisibility(env, dpy, jw, netWMState, "Expose");
@@ -957,13 +957,13 @@
                             DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, map-insets\n", dpy); 
                             num_events = 0; // end loop in case of destroyed display
                         }
-                        NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: MapNotify: Exception occured at insetsVisibleChanged(..)");
+                        NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: MapNotify: Exception occurred at insetsVisibleChanged(..)");
                     } else {
                         if( JNI_FALSE == (*env)->CallBooleanMethod(env, jw->jwindow, visibleChangedID, JNI_TRUE) ) {
                             DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, map\n", dpy); 
                             num_events = 0; // end loop in case of destroyed display
                         }
-                        NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: MapNotify: Exception occured at visibleChanged(..)");
+                        NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: MapNotify: Exception occurred at visibleChanged(..)");
                     }
                 }
                 break;
@@ -979,7 +979,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, unmap\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                     }
-                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: UnmapNotify: Exception occured at visibleChanged(..)");
+                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: UnmapNotify: Exception occurred at visibleChanged(..)");
                 }
                 break;
 
@@ -1016,7 +1016,7 @@
                         DBG_PRINT( "X11: DispatchMessages 0x%X - Leave J, reparent-notify\n", dpy); 
                         num_events = 0; // end loop in case of destroyed display
                     }
-                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: ReparentNotify: Exception occured at reparentNotify(..)");
+                    NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Display.DispatchMessages0: ReparentNotify: Exception occurred at reparentNotify(..)");
                 }
                 break;
 
--- a/src/newt/native/X11Window.c
+++ b/src/newt/native/X11Window.c
@@ -968,10 +968,10 @@
         XSync(dpy, False);
         if( NewtWindows_updateInsets(dpy, javaWindow, True /* wait */, &left, &right, &top, &bottom) ) {
             (*env)->CallVoidMethod(env, javaWindow->jwindow, insetsVisibleChangedID, JNI_FALSE, left, right, top, bottom, 1);
-            NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Window.CreateWindow: Exception occured at insetsVisibleChanged(..)");
+            NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Window.CreateWindow: Exception occurred at insetsVisibleChanged(..)");
         } else {
             (*env)->CallVoidMethod(env, javaWindow->jwindow, visibleChangedID, JNI_TRUE);
-            NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Window.CreateWindow: Exception occured at visibleChanged(..)");
+            NewtCommon_ExceptionCheck1_throwNewRuntimeException(env, "X11Window.CreateWindow: Exception occurred at visibleChanged(..)");
             left=0; right=0; top=0; bottom=0;
         }
 
--- a/src/test-native/bug1398/Bug1398Launcher.c
+++ b/src/test-native/bug1398/Bug1398Launcher.c
@@ -111,7 +111,7 @@
 destroy:
 	if ((*env)->ExceptionOccurred(env)) {
 		// handle exception
-        TRACE("Exception occured...%s", "");
+        TRACE("Exception occurred...%s", "");
 	}
 
 	if (err)
--- a/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLJPanelTextureStateAWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLJPanelTextureStateAWT.java
@@ -287,7 +287,7 @@
             throwable.printStackTrace();
             Assume.assumeNoException( throwable );
         }
-        Assume.assumeFalse("Error occured in GLEL .. see log file above", glelError[0]);
+        Assume.assumeFalse("Error occurred in GLEL .. see log file above", glelError[0]);
     }
 
     @Test
--- a/src/test/com/jogamp/opengl/test/junit/newt/TestBug1211IRQ00NEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/TestBug1211IRQ00NEWT.java
@@ -197,9 +197,9 @@
             interrupt2 = true;
         }
         Assert.assertEquals("interruptCounter not zero", 0, t.getInterruptCounter(false));
-        Assert.assertFalse("interrupt() occured!", t.isInterrupted());
-        Assert.assertFalse("Interrupt-1 occured!", interrupt1);
-        Assert.assertFalse("Interrupt-2 occured!", interrupt2);
+        Assert.assertFalse("interrupt() occurred!", t.isInterrupted());
+        Assert.assertFalse("Interrupt-1 occurred!", interrupt1);
+        Assert.assertFalse("Interrupt-2 occurred!", interrupt2);
     }
 
     /**
@@ -238,9 +238,9 @@
             interrupt2 = true;
         }
         Assert.assertEquals("interruptCounter not zero", 0, t.getInterruptCounter(false));
-        Assert.assertFalse("interrupt() occured!", t.isInterrupted());
-        Assert.assertFalse("Interrupt-1 occured!", interrupt1);
-        Assert.assertFalse("Interrupt-2 occured!", interrupt2);
+        Assert.assertFalse("interrupt() occurred!", t.isInterrupted());
+        Assert.assertFalse("Interrupt-1 occurred!", interrupt1);
+        Assert.assertFalse("Interrupt-2 occurred!", interrupt2);
     }
 
     @Test
@@ -287,8 +287,8 @@
             ExceptionUtils.dumpThrowable("InterruptedException-All", e);
             interrupted = true;
         }
-        Assert.assertFalse("Thread Interrupt-All occured!", interrupted);
-        Assert.assertFalse("Interrupt-Init0 occured!", interruptInit0);
+        Assert.assertFalse("Thread Interrupt-All occurred!", interrupted);
+        Assert.assertFalse("Interrupt-Init0 occurred!", interruptInit0);
     }
 
     static int atoi(final String a) {