Remove trailing whitespaces in the tree
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 21 Nov 2022 23:24:00 +0000 (09:24 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 25 Nov 2022 00:08:20 +0000 (10:08 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab/issue_templates/Bug.md
doc/user/svg/ptraccel-trackpoint.svg
include/valgrind/valgrind.h
quirks/50-system-asus.quirks
src/util-strings.c
tools/libinput-measure-touchpad-size.man

index 1b789f941073ae67f31bed2e2fef5a060cb1e015..af5cd175cc9c63c5a845ff918a1d85ad49b019f7 100644 (file)
@@ -15,12 +15,12 @@ detailed instructions to report bugs
 <!-- Note: if your libinput version is older than the current stable version,
 please reproduce with a current version instead -->
 
-- libinput version: 
+- libinput version:
 - hardware information:
 - `libinput record` output: do not paste, **attach** the file
 - `libinput debug-events --verbose` output: do not paste, **attach the file**
 
-<!-- 
+<!--
 
 Paste any other relevant logs - please use code blocks (```) to format
 console output, logs, and code as it's very hard to read otherwise.)
index cdc3cf92f374b29ba2678eaf159e285c3956c10c..f87244dc4167f535fe213722a75e4caaa41c3990 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"  standalone="no"?>
-<svg 
+<svg
  width="600" height="480"
  viewBox="0 0 600 480"
  xmlns="http://www.w3.org/2000/svg"
index 04254df8c77018a62308f70eb8e45bd1a8c1505f..9fae9fb12e2498c41fe5729fdc63db2b7be71cc0 100644 (file)
    1. Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.
 
-   2. The origin of this software must not be misrepresented; you must 
-      not claim that you wrote the original software.  If you use this 
-      software in a product, an acknowledgment in the product 
+   2. The origin of this software must not be misrepresented; you must
+      not claim that you wrote the original software.  If you use this
+      software in a product, an acknowledgment in the product
       documentation would be appreciated but is not required.
 
    3. Altered source versions must be plainly marked as such, and must
       not be misrepresented as being the original software.
 
-   4. The name of the author may not be used to endorse or promote 
-      products derived from this software without specific prior written 
+   4. The name of the author may not be used to endorse or promote
+      products derived from this software without specific prior written
       permission.
 
    THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
    the terms of the GNU General Public License, version 2.  See the
    COPYING file in the source distribution for details.
 
-   ---------------------------------------------------------------- 
+   ----------------------------------------------------------------
 */
 
 
 /* This file is for inclusion into client (your!) code.
 
-   You can use these macros to manipulate and query Valgrind's 
+   You can use these macros to manipulate and query Valgrind's
    execution inside your own programs.
 
    The resulting executables will still run without Valgrind, just a
    this is executed not under Valgrind.  Args are passed in a memory
    block, and so there's no intrinsic limit to the number that could
    be passed, but it's currently five.
-   
-   The macro args are: 
+
+   The macro args are:
       _zzq_rlval    result lvalue
       _zzq_default  default value (result returned when running on real CPU)
       _zzq_request  request code
     ||  defined(PLAT_x86_solaris) || defined(PLAT_x86_freebsd)
 
 typedef
-   struct { 
+   struct {
       unsigned int nraddr; /* where's the code? */
    }
    OrigFn;
@@ -332,7 +332,7 @@ typedef
 #if defined(PLAT_x86_win32) && !defined(__GNUC__)
 
 typedef
-   struct { 
+   struct {
       unsigned int nraddr; /* where's the code? */
    }
    OrigFn;
@@ -408,7 +408,7 @@ valgrind_do_client_request_expr(uintptr_t _zzq_default, uintptr_t _zzq_request,
     ||  (defined(PLAT_amd64_win64) && defined(__GNUC__))
 
 typedef
-   struct { 
+   struct {
       unsigned long int nraddr; /* where's the code? */
    }
    OrigFn;
@@ -480,7 +480,7 @@ typedef
 #if defined(PLAT_ppc32_linux)
 
 typedef
-   struct { 
+   struct {
       unsigned int nraddr; /* where's the code? */
    }
    OrigFn;
@@ -549,7 +549,7 @@ typedef
 #if defined(PLAT_ppc64be_linux)
 
 typedef
-   struct { 
+   struct {
       unsigned long int nraddr; /* where's the code? */
       unsigned long int r2;  /* what tocptr do we need? */
    }
@@ -705,7 +705,7 @@ typedef
 #if defined(PLAT_arm_linux)
 
 typedef
-   struct { 
+   struct {
       unsigned int nraddr; /* where's the code? */
    }
    OrigFn;
@@ -773,7 +773,7 @@ typedef
 #if defined(PLAT_arm64_linux)
 
 typedef
-   struct { 
+   struct {
       unsigned long int nraddr; /* where's the code? */
    }
    OrigFn;
@@ -920,7 +920,7 @@ typedef
 #if defined(PLAT_mips32_linux)
 
 typedef
-   struct { 
+   struct {
       unsigned int nraddr; /* where's the code? */
    }
    OrigFn;
@@ -934,7 +934,7 @@ typedef
                      "srl $0, $0, 29\n\t"       \
                      "srl $0, $0, 3\n\t"        \
                      "srl $0, $0, 19\n\t"
-                    
+
 #define VALGRIND_DO_CLIENT_REQUEST_EXPR(                          \
        _zzq_default, _zzq_request,                                \
        _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)     \
@@ -2254,7 +2254,7 @@ typedef
 #define VALGRIND_RESTORE_STACK             \
       "mr 1,28\n\t"
 
-/* These CALL_FN_ macros assume that on ppc32-linux, 
+/* These CALL_FN_ macros assume that on ppc32-linux,
    sizeof(unsigned long) == 4. */
 
 #define CALL_FN_W_v(lval, orig)                                   \
@@ -4779,7 +4779,7 @@ typedef
       "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7"
 #endif
 
-/* Nb: Although r11 is modified in the asm snippets below (inside 
+/* Nb: Although r11 is modified in the asm snippets below (inside
    VALGRIND_CFI_PROLOGUE) it is not listed in the clobber section, for
    two reasons:
    (1) r11 is restored in VALGRIND_CFI_EPILOGUE, so effectively it is not
@@ -5229,7 +5229,7 @@ typedef
 #endif /* PLAT_s390x_linux */
 
 /* ------------------------- mips32-linux ----------------------- */
+
 #if defined(PLAT_mips32_linux)
 
 /* These regs are trashed by the hidden call. */
@@ -6623,7 +6623,7 @@ typedef
 #define VG_IS_TOOL_USERREQ(a, b, v) \
    (VG_USERREQ_TOOL_BASE(a,b) == ((v) & 0xffff0000))
 
-/* !! ABIWARNING !! ABIWARNING !! ABIWARNING !! ABIWARNING !! 
+/* !! ABIWARNING !! ABIWARNING !! ABIWARNING !! ABIWARNING !!
    This enum comprises an ABI exported by Valgrind to programs
    which use client requests.  DO NOT CHANGE THE NUMERIC VALUES OF THESE
    ENTRIES, NOR DELETE ANY -- add new ones at the end of the most
@@ -6776,7 +6776,7 @@ VALGRIND_PRINTF(const char *format, ...)
    _qzz_res = VALGRIND_DO_CLIENT_REQUEST_EXPR(0,
                               VG_USERREQ__PRINTF_VALIST_BY_REF,
                               (unsigned long)format,
-                              (unsigned long)&vargs, 
+                              (unsigned long)&vargs,
                               0, 0, 0);
 #endif
    va_end(vargs);
@@ -6815,7 +6815,7 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
    _qzz_res = VALGRIND_DO_CLIENT_REQUEST_EXPR(0,
                               VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF,
                               (unsigned long)format,
-                              (unsigned long)&vargs, 
+                              (unsigned long)&vargs,
                               0, 0, 0);
 #endif
    va_end(vargs);
@@ -6826,7 +6826,7 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
 
 /* These requests allow control to move from the simulated CPU to the
    real CPU, calling an arbitrary function.
-   
+
    Note that the current ThreadId is inserted as the first argument.
    So this call:
 
@@ -6912,7 +6912,7 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
    - It marks the block as being addressable and undefined (if 'is_zeroed' is
      not set), or addressable and defined (if 'is_zeroed' is set).  This
      controls how accesses to the block by the program are handled.
-   
+
    'addr' is the start of the usable block (ie. after any
    redzone), 'sizeB' is its size.  'rzB' is the redzone size if the allocator
    can apply redzones -- these are blocks of padding at the start and end of
@@ -6920,7 +6920,7 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
    Valgrind will spot block overruns.  `is_zeroed' indicates if the memory is
    zeroed (or filled with another predictable value), as is the case for
    calloc().
-   
+
    VALGRIND_MALLOCLIKE_BLOCK should be put immediately after the point where a
    heap block -- that will be used by the client program -- is allocated.
    It's best to put it at the outermost level of the allocator if possible;
@@ -7008,8 +7008,8 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
 
 /* Create a memory pool with some flags specifying extended behaviour.
    When flags is zero, the behaviour is identical to VALGRIND_CREATE_MEMPOOL.
-   
-   The flag VALGRIND_MEMPOOL_METAPOOL specifies that the pieces of memory 
+
+   The flag VALGRIND_MEMPOOL_METAPOOL specifies that the pieces of memory
    associated with the pool using VALGRIND_MEMPOOL_ALLOC  will be used
    by the application as superblocks to dole out MALLOC_LIKE blocks using
    VALGRIND_MALLOCLIKE_BLOCK. In other words, a meta pool is a "2 levels"
index 1c8e5cfcbb4b2ac10ffcb1121520b3aa9cf2962b..623fc72495109c166bb272364dc14a3dafc9cdc4 100644 (file)
@@ -25,7 +25,7 @@ MatchName=*Intel Virtual Button*
 MatchDMIModalias=dmi:*svnASUSTeKCOMPUTERINC.:pnVivoBookFlip14_ASUSFlipTP412UA:*
 ModelTabletModeSwitchUnreliable=1
 
-# keyboard has a different vid/pid to the touchpad 
+# keyboard has a different vid/pid to the touchpad
 # so libinput won't pair the two together and dwt isn't active.
 # see: https://gitlab.freedesktop.org/libinput/libinput/-/issues/615
 [Asus ROG Zephyrus G15 2021 keyboard]
@@ -34,7 +34,7 @@ MatchProduct=0x19B6
 MatchUdevType=keyboard
 AttrKeyboardIntegration=internal
 
-# keyboard has a different vid/pid to the touchpad 
+# keyboard has a different vid/pid to the touchpad
 # so libinput won't pair the two together and dwt isn't active.
 [Asus ROG Strix G15 2021 keyboard]
 MatchVendor=0x0B05
index 525edc18fbc63c7f32c8d8b791fd8e3e369b70aa..f3494fbbd6eba2a94ca944fe93a97a5874e6ec43 100644 (file)
@@ -98,7 +98,7 @@ strv_from_argv(int argc, char **argv)
  * Another example:
  *   result = strv_from_string("+1-2++3--4++-+5-+-", "+-", &nelem)
  *   result == [ "1", "2", "3", "4", "5", NULL ] and nelem == 5
- * 
+ *
  * @param in Input string
  * @param separators List of separator characters
  * @param num_elements Number of elements found in the input string
index 9fbad0f87e00cd828becd4bd735fdc752bd1a3c8..c62f0629ef37fd3aea273b98ccee5088bcfa5cdf 100644 (file)
@@ -10,7 +10,7 @@ The
 tool measures the size of a touchpad. This is an interactive tool. When
 executed, the tool will prompt the user to interact with the touchpad. The
 tool records the axis ranges and calculates the size and resolution based on
-those. On termination, the tool prints a hwdb entry that can be added to the 
+those. On termination, the tool prints a hwdb entry that can be added to the
 .B 60-evdev.hwdb
 file provided by system.
 .PP