[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kwayland] /: Fix minor EBN issues
From:       Yuri Chornoivan <null () kde ! org>
Date:       2018-09-06 19:24:36
Message-ID: E1fxztM-0002dM-Fv () code ! kde ! org
[Download RAW message or body]

Git commit 588d62b4c60ff0599793c20a07be5142da3a04ee by Yuri Chornoivan.
Committed on 06/09/2018 at 19:24.
Pushed by yurchor into branch 'master'.

Fix minor EBN issues

M  +1    -1    autotests/client/test_wayland_outputmanagement.cpp
M  +1    -1    autotests/client/test_wayland_seat.cpp
M  +1    -1    src/client/plasmawindowmodel.h
M  +2    -2    src/client/protocols/fullscreen-shell.xml
M  +2    -2    src/client/protocols/outputdevice.xml
M  +1    -1    src/client/protocols/plasma-shell.xml
M  +1    -1    src/client/protocols/plasma-window-management.xml
M  +2    -2    src/client/protocols/pointer-constraints-unstable-v1.xml
M  +1    -1    src/client/protocols/shadow.xml
M  +2    -2    src/client/protocols/text-input-unstable-v2.xml
M  +2    -2    src/server/textinput_interface.h

https://commits.kde.org/kwayland/588d62b4c60ff0599793c20a07be5142da3a04ee

diff --git a/autotests/client/test_wayland_outputmanagement.cpp \
b/autotests/client/test_wayland_outputmanagement.cpp index 3b21b18..2eb723f 100644
--- a/autotests/client/test_wayland_outputmanagement.cpp
+++ b/autotests/client/test_wayland_outputmanagement.cpp
@@ -537,7 +537,7 @@ void TestWaylandOutputManagement::testScale()
     //will be setApplied using the connect above
 
     QCOMPARE(output->scale(), 3);
-    QCOMPARE(output->scaleF(), 3.0); //test fowards compatibility
+    QCOMPARE(output->scaleF(), 3.0); //test forward compatibility
 }
 
 
diff --git a/autotests/client/test_wayland_seat.cpp b/autotests/client/test_wayland_seat.cpp
index 05c7fbc..b769a5d 100644
--- a/autotests/client/test_wayland_seat.cpp
+++ b/autotests/client/test_wayland_seat.cpp
@@ -2183,7 +2183,7 @@ void TestWaylandSeat::testTouch()
     QCOMPARE(unboundSpy.count(), 1);
     QCOMPARE(destroyedSpy.count(), 0);
     QVERIFY(!serverTouch->resource());
-    // try to call into all the the methods of the touch interface, should not crash
+    // try to call into all the methods of the touch interface, should not crash
     QCOMPARE(m_seatInterface->focusedTouch(), serverTouch);
     m_seatInterface->setTimestamp(8);
     QCOMPARE(m_seatInterface->touchDown(QPointF(15, 26)), 0);
diff --git a/src/client/plasmawindowmodel.h b/src/client/plasmawindowmodel.h
index 65cdaa3..ae8d69e 100644
--- a/src/client/plasmawindowmodel.h
+++ b/src/client/plasmawindowmodel.h
@@ -44,7 +44,7 @@ class Surface;
  * The model resets when the PlasmaWindowManagement parent signals that its
  * interface is about to be destroyed.
  *
- * To use this class you can create an instance yourself, or preferrably use the
+ * To use this class you can create an instance yourself, or preferably use the
  * convenience method in PlasmaWindowManagement:
  * @code
  * PlasmaWindowModel *model = wm->createWindowModel();
diff --git a/src/client/protocols/fullscreen-shell.xml b/src/client/protocols/fullscreen-shell.xml
index e834913..b385196 100644
--- a/src/client/protocols/fullscreen-shell.xml
+++ b/src/client/protocols/fullscreen-shell.xml
@@ -45,7 +45,7 @@
 
 	ARBITRARY_MODE:
 	This is a hint to the client that indicates that the compositor is
-	capable of setting practially any mode on its outputs.  If this
+	capable of setting practically any mode on its outputs.  If this
 	capability is provided, wl_fullscreen_shell.present_surface_for_mode
 	will almost never fail and clients should feel free to set whatever
 	mode they like.  If the compositor does not advertise this, it may
@@ -73,7 +73,7 @@
 	once for each capability advertised.  Valid capabilities are given by
 	the wl_fullscreen_shell.capability enum.  If clients want to take
 	advantage of any of these capabilities, they sould use a
-	wl_display.sync request immediatly after binding to ensure that they
+	wl_display.sync request immediately after binding to ensure that they
 	receive all the capability events.
       </description>
       <arg name="capabilty" type="uint"/>
diff --git a/src/client/protocols/outputdevice.xml b/src/client/protocols/outputdevice.xml
index 8a0c1ca..21f7cb5 100644
--- a/src/client/protocols/outputdevice.xml
+++ b/src/client/protocols/outputdevice.xml
@@ -45,7 +45,7 @@
         accordingly.
 
         This object is published as global during start up for every available
-        display devcies, or when one later becomes available, for example by
+        display devices, or when one later becomes available, for example by
         being hotplugged via a physical connector.
     </description>
 
@@ -257,7 +257,7 @@
 
     <event name="colorcurves" since="2">
         <description summary="output color curves">
-            Decribes the color intensity profile of the output.
+            Describes the color intensity profile of the output.
             Commonly used for gamma/color correction.
 
             The array contains all color ramp values of the output.
diff --git a/src/client/protocols/plasma-shell.xml b/src/client/protocols/plasma-shell.xml
index 2f94ffd..6795b1d 100644
--- a/src/client/protocols/plasma-shell.xml
+++ b/src/client/protocols/plasma-shell.xml
@@ -203,7 +203,7 @@
         Assign a role to a shell surface.
 
         The compositor handles surfaces depending on their role.
-        See the explaination below.
+        See the explanation below.
 
         This request fails if the surface already has a role, this means
         the surface role may be assigned only once.
diff --git a/src/client/protocols/plasma-window-management.xml \
b/src/client/protocols/plasma-window-management.xml index 3dac258..05432f8 100644
--- a/src/client/protocols/plasma-window-management.xml
+++ b/src/client/protocols/plasma-window-management.xml
@@ -242,7 +242,7 @@
     <event name="geometry" since="6">
         <description summary="The geometry of this window in absolute coordinates">
             This event will be sent whenever the window geometry of this org_kde_plasma_window changes.
-            The coordinages are in absolute coordinates of the windowing system.
+            The coordinates are in absolute coordinates of the windowing system.
         </description>
         <arg name="x" type="int" summary="x position of the org_kde_plasma_window"/>
         <arg name="y" type="int" summary="y position of the org_kde_plasma_window"/>
diff --git a/src/client/protocols/pointer-constraints-unstable-v1.xml \
b/src/client/protocols/pointer-constraints-unstable-v1.xml index 4b95a5c..6fca84a 100644
--- a/src/client/protocols/pointer-constraints-unstable-v1.xml
+++ b/src/client/protocols/pointer-constraints-unstable-v1.xml
@@ -132,7 +132,7 @@
 
 	The request creates a new object wp_locked_pointer which is used to
 	interact with the lock as well as receive updates about its state. See
-	the the description of wp_locked_pointer for further information.
+	the description of wp_locked_pointer for further information.
 
 	Note that while a pointer is locked, the wl_pointer objects of the
 	corresponding seat will not emit any wl_pointer.motion events, but
@@ -168,7 +168,7 @@
 
 	The request will create a new object wp_confined_pointer which is used
 	to interact with the confinement as well as receive updates about its
-	state. See the the description of wp_confined_pointer for further
+	state. See the description of wp_confined_pointer for further
 	information.
       </description>
 
diff --git a/src/client/protocols/shadow.xml b/src/client/protocols/shadow.xml
index 7cfab19..dfa9aa2 100644
--- a/src/client/protocols/shadow.xml
+++ b/src/client/protocols/shadow.xml
@@ -72,7 +72,7 @@
       <request name="destroy" type="destructor" since="2">
           <description summary="Destroy the org_kde_kwin_shadow">
               Destroy the org_kde_kwin_shadow object. If the org_kde_kwin_shadow is
-              still set on a wl_surface the shadow will be immediatelly removed.
+              still set on a wl_surface the shadow will be immediately removed.
               Prefer to first call the request unset on the org_kde_kwin_shadow_manager and
               commit the wl_surface to apply the change.
           </description>
diff --git a/src/client/protocols/text-input-unstable-v2.xml \
b/src/client/protocols/text-input-unstable-v2.xml index bb366c9..dbc7abd 100644
--- a/src/client/protocols/text-input-unstable-v2.xml
+++ b/src/client/protocols/text-input-unstable-v2.xml
@@ -381,8 +381,8 @@
 	This event should be handled as part of a following commit_string
 	or preedit_string event.
       </description>
-      <arg name="before_length" type="uint" summary="length of text before current cursor positon"/>
-      <arg name="after_length" type="uint" summary="length of text after current cursor positon"/>
+      <arg name="before_length" type="uint" summary="length of text before current cursor position"/>
+      <arg name="after_length" type="uint" summary="length of text after current cursor position"/>
     </event>
 
     <event name="modifiers_map">
diff --git a/src/server/textinput_interface.h b/src/server/textinput_interface.h
index c2ed07a..9416649 100644
--- a/src/server/textinput_interface.h
+++ b/src/server/textinput_interface.h
@@ -329,8 +329,8 @@ public:
      *
      * The Client processes this event together with the commit string
      *
-     * @param beforeLength length of text before current cursor positon.
-     * @param afterLength length of text after current cursor positon.
+     * @param beforeLength length of text before current cursor position.
+     * @param afterLength length of text after current cursor position.
      * @see commit
      **/
     void deleteSurroundingText(quint32 beforeLength, quint32 afterLength);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic