From 01fd3da2a33c411b41eea3b175c496c14777b358 Mon Sep 17 00:00:00 2001 From: Riccardo Calixte Date: Sun, 17 May 2020 03:28:27 +0000 Subject: [PATCH] tree-wide: get rid of trailing whitespace Remove trailing whitespaces Reviewed-by: Stefan Schmidt Differential Revision: https://phab.enlightenment.org/D11841 --- COPYING | 6 +- data/etc/sysactions.conf.in | 8 +- data/etc/system.conf | 2 +- data/tools/enlightenment_remote | 20 +-- doc/Doxyfile.in | 48 ++--- doc/FDO.txt | 14 +- doc/cache.txt | 44 ++--- doc/foot.html | 8 +- doc/head.html | 10 +- doc/illume2.html | 4 +- doc/img/edoxy.css | 166 +++++++++--------- po/es.po | 10 +- src/modules/conf_paths/e_int_config_paths.c | 22 +-- src/modules/everything/everything.pc.in | 2 +- src/modules/fileman/e_int_config_mime_edit.c | 2 +- src/modules/meson.build | 2 - .../themes/default/fonts/LICENSE.txt | 2 +- xdebug.sh | 2 +- 18 files changed, 185 insertions(+), 187 deletions(-) diff --git a/COPYING b/COPYING index c090c4bb4..b114711cb 100644 --- a/COPYING +++ b/COPYING @@ -9,11 +9,11 @@ modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, @@ -66,7 +66,7 @@ with others. The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, +fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The diff --git a/data/etc/sysactions.conf.in b/data/etc/sysactions.conf.in index 5ba74a24a..bd97fbead 100644 --- a/data/etc/sysactions.conf.in +++ b/data/etc/sysactions.conf.in @@ -3,7 +3,7 @@ # This is a system configuration for allowing or denying certain users or # groups to be able to do certain actions that involve system restricted # actions such as halt, reboot, suspend, hibernate etc. -# +# # This file is read in order from top to bottom - the first rule to MATCH # will be used for a user or a group, and nothing after that is read. # @@ -11,7 +11,7 @@ # Any action definitons after a rule match has been found will be ignored. # This allows actions to be re-defined for different user groups, so matches # so the command for an action can change for matches to the rules later on. -# +# # Any user or group NOT matched by an allow or a deny will be ALLOWED to # perform the action by default (system administrators should be aware of # this and implement whatever policies they see fit). Generally speaking @@ -19,7 +19,7 @@ # to perform these actions, thus the default of allow. For multi-user systems # the system administrator is considered capable enough to restrict what they # see they need to. -# +# # A WARNING to admins: do NOT allow access for users to this system remotely # UNLESS you fully trust them or you have locked down permissions to halt/reboot # suspend etc. here first. You have been warned. @@ -38,7 +38,7 @@ # etc. # # user and group name can use glob matches (* == all for example) like the -# shell. as can action names allowed or denied. +# shell. as can action names allowed or denied. action: /bin/mount @MOUNT@ action: /bin/umount @UMOUNT@ diff --git a/data/etc/system.conf b/data/etc/system.conf index f61697601..29e9415a4 100644 --- a/data/etc/system.conf +++ b/data/etc/system.conf @@ -23,7 +23,7 @@ # suspend etc. here first. You have been warned. # FORMAT: -# +# # user: username allow: rfkill # group: groupname deny: * # group: * deny: * diff --git a/data/tools/enlightenment_remote b/data/tools/enlightenment_remote index ad7ee197a..9a4b3aa6b 100755 --- a/data/tools/enlightenment_remote +++ b/data/tools/enlightenment_remote @@ -73,7 +73,7 @@ maintain a bit of compatibility with possible scripts from the users too. The original tool is not (at the date of today) not removed and you can still have access to it, it is renamed to enlightenment_remote_old -This tool depends of the command dbus-send, normally included in the main +This tool depends of the command dbus-send, normally included in the main dbus package This tool is just a front-end and may be not updated, you should @@ -89,7 +89,7 @@ run: qdbus org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject # NAME: ERC # DESCRIPTION: eremote callback # PARAMETERS: interface/method call -# RETURNS: +# RETURNS: #=============================================================================== ERC(){ dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" @@ -99,14 +99,14 @@ ERC(){ # NAME: ERCS # DESCRIPTION: eremote call with string parameter # PARAMETERS: interface/method call, string parameter -# RETURNS: +# RETURNS: #=============================================================================== ERCS(){ dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" string:"$2" } #=== FUNCTION ================================================================ -# NAME: ERGS +# NAME: ERGS # DESCRIPTION: Get a (single) value (string) # PARAMETERS: interface/method call # RETURNS: value (string) @@ -179,7 +179,7 @@ ERGMST(){ # NAME: ERCIIIS # DESCRIPTION: eremote call with int, int, int, string parameter # PARAMETERS: interface/method call, int, int, int, string -# RETURNS: +# RETURNS: #=============================================================================== ERCIIIS(){ dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3" int32:"$4" string:"$5" @@ -189,7 +189,7 @@ ERCIIIS(){ # NAME: ERCIII # DESCRIPTION: eremote call with int, int, int parameter # PARAMETERS: interface/method call, int, int, int -# RETURNS: +# RETURNS: #=============================================================================== ERCIII(){ dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3" int32:"$4" @@ -199,7 +199,7 @@ ERCIII(){ # NAME: ERCII # DESCRIPTION: eremote call with int, int parameter # PARAMETERS: interface/method call, int, int -# RETURNS: +# RETURNS: #=============================================================================== ERCII(){ dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3" @@ -209,7 +209,7 @@ ERCII(){ # NAME: ERCI # DESCRIPTION: eremote call with int parameter # PARAMETERS: interface/method call, int -# RETURNS: +# RETURNS: #=============================================================================== ERCI(){ dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" @@ -380,7 +380,7 @@ er_efm_open_dir(){ else EFM_DIR="$2" fi - + dbus-send --session --type=method_call --print-reply=literal --dest=org.enlightenment.FileManager /org/enlightenment/FileManager org.enlightenment.FileManager.OpenDirectory "string:$EFM_DIR" } @@ -465,7 +465,7 @@ case "$1" in er_restart ;; -exit) - er_exit + er_exit ;; -module-list) er_module_list diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 11359d033..e4b544dd2 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -12,8 +12,8 @@ HTML_FOOTER = @srcdir@/doc/foot.html HTML_STYLESHEET = @srcdir@/doc/e.css ENUM_VALUES_PER_LINE = 1 GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = +CHM_FILE = +HHC_LOCATION = GENERATE_CHI = NO BINARY_TOC = NO TOC_EXPAND = NO @@ -30,7 +30,7 @@ REPEAT_BRIEF = YES ALWAYS_DETAILED_SEC = NO INLINE_INHERITED_MEMB = NO FULL_PATH_NAMES = NO -STRIP_FROM_PATH = +STRIP_FROM_PATH = INTERNAL_DOCS = NO STRIP_CODE_COMMENTS = YES CASE_SENSE_NAMES = YES @@ -49,8 +49,8 @@ GENERATE_TODOLIST = YES GENERATE_TESTLIST = YES GENERATE_BUGLIST = YES GENERATE_DEPRECATEDLIST= YES -ALIASES = -ENABLED_SECTIONS = +ALIASES = +ENABLED_SECTIONS = MAX_INITIALIZER_LINES = 30 OPTIMIZE_OUTPUT_FOR_C = YES OPTIMIZE_OUTPUT_JAVA = NO @@ -59,15 +59,15 @@ QUIET = NO WARNINGS = YES WARN_IF_UNDOCUMENTED = YES WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = +WARN_LOGFILE = FILE_PATTERNS = -RECURSIVE = YES +RECURSIVE = YES EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = +EXCLUDE_PATTERNS = +EXAMPLE_PATH = +EXAMPLE_PATTERNS = EXAMPLE_RECURSIVE = NO -INPUT_FILTER = +INPUT_FILTER = FILTER_SOURCE_FILES = NO SOURCE_BROWSER = NO INLINE_SOURCES = NO @@ -84,8 +84,8 @@ LATEX_CMD_NAME = latex MAKEINDEX_CMD_NAME = makeindex COMPACT_LATEX = NO PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = +EXTRA_PACKAGES = +LATEX_HEADER = PDF_HYPERLINKS = YES USE_PDFLATEX = NO LATEX_BATCHMODE = NO @@ -93,27 +93,27 @@ GENERATE_RTF = NO RTF_OUTPUT = rtf COMPACT_RTF = NO RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = GENERATE_MAN = YES MAN_OUTPUT = man MAN_EXTENSION = .3 MAN_LINKS = YES GENERATE_XML = NO -XML_SCHEMA = -XML_DTD = +XML_SCHEMA = +XML_DTD = GENERATE_AUTOGEN_DEF = NO ENABLE_PREPROCESSING = YES MACRO_EXPANSION = NO EXPAND_ONLY_PREDEF = NO SEARCH_INCLUDES = NO INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES -TAGFILES = -GENERATE_TAGFILE = +TAGFILES = +GENERATE_TAGFILE = ALLEXTERNALS = NO EXTERNAL_GROUPS = YES PERL_PATH = /usr/bin/perl @@ -127,8 +127,8 @@ INCLUDE_GRAPH = NO INCLUDED_BY_GRAPH = NO GRAPHICAL_HIERARCHY = NO DOT_IMAGE_FORMAT = png -DOT_PATH = -DOTFILE_DIRS = +DOT_PATH = +DOTFILE_DIRS = GENERATE_LEGEND = YES DOT_CLEANUP = YES SEARCHENGINE = NO diff --git a/doc/FDO.txt b/doc/FDO.txt index 66722297a..d94ffc9c2 100644 --- a/doc/FDO.txt +++ b/doc/FDO.txt @@ -22,12 +22,12 @@ start up. .desktop. -Some extension fields are defined as allowed by the specification. +Some extension fields are defined as allowed by the specification. X-Enlightenment-IconPath is used to specify an absolute or relative path to an icon file. If it exists it overrides any other icon specifications. -X-Enlightenment-IconClass is used to specify a list of icon classes. +X-Enlightenment-IconClass is used to specify a list of icon classes. This is the same information that was in .eaps as app/icon/class, and is used the same way if it exists. Obviously any .desktop file that comes with packages outside of E is unlikely to have that field. One further @@ -48,7 +48,7 @@ path, then it is simply used with no searching. Converted .eaps should just copy the app/icon/class data to the X-Enlightenment-IconClass field. -X-Enlightenment-WindowName, X-Enlightenment-WindowTitle, +X-Enlightenment-WindowName, X-Enlightenment-WindowTitle, X-Enlightenment-WindowRole, and X-Enlightenment-WaitExit are just the same as their namesakes in .eaps. @@ -64,23 +64,23 @@ all. Menus. -The most complex, and thus the most problematic of the specifications. +The most complex, and thus the most problematic of the specifications. The general philosophy is to err on the side of caution, giving the user more apps in their menus rather than less. Even if that means some duplicates and some things that aren't really apps. -There is often a .hidden menu, it contains various types of things. +There is often a .hidden menu, it contains various types of things. Some of those things are supposed to be moved into proper menus by the menu moving part of the spec. The menu moving code has not been implemented yet. Following the above philosophy, it is shown to the user. -Slackware and probably other distros use parent style menu merging. +Slackware and probably other distros use parent style menu merging. Initially I did not write code to support that for two reasons. The specification is confusing, and it takes some digging and cross referencing other specs to sort out what it actually means. The other reason is that distros available to me at the time for testing did not -use parent style menu merging, so there was no way to test it properly. +use parent style menu merging, so there was no way to test it properly. Now that I know of at least one distro that uses them, it's worthwhile writing the code, and installing slackware under QEMU for testing. diff --git a/doc/cache.txt b/doc/cache.txt index 3cf3bd930..42beab9dc 100644 --- a/doc/cache.txt +++ b/doc/cache.txt @@ -1,7 +1,7 @@ As part of the .eap to .desktop conversion, raster wants me to redo the relevant caching to suit. He has made many "eap caching needs fixing" noises in the recent past, so maybe a fresh start is needed -at this point. +at this point. This is a discussion and design document. Major parts of it where sent to the devel list but got no response. Raster said to put it in here, @@ -148,7 +148,7 @@ USED BY: WHEN: At startup. They hardly ever change. ISSUES: - The use of GNOME and KDE apps to figure out some of the paths. + The use of GNOME and KDE apps to figure out some of the paths. They are curently commented out, and guesses are made. SOLUTION: Go with the guesses, run the apps later to correct the guesses. @@ -180,7 +180,7 @@ WHEN: ISSUES: The actual icon theme currently in use is a small amount of info that can always be in ram, and is quick to get at startup or theme change. - It's the complete list of themes that are currently installed that can + It's the complete list of themes that are currently installed that can take ages to find. The list itself should also be small. SOLUTION: Find them during idle time, and finish the job async when the dialog @@ -197,21 +197,21 @@ WHEN: On demand. ISSUES: Combined .edj and FDO searching. FDO searching can take a long time. - Things that display lots of icons wont want to wait for all those + Things that display lots of icons wont want to wait for all those complex searches. Searching for icons that don't exist is what takes the longest, as the FDO algo means we have to look through all the directories, in this theme, and the next theme. SOLUTION: - e_app_icon_add() should be used everywhere, and it should register a + e_app_icon_add() should be used everywhere, and it should register a rectangle for use by the icon. The caller then shows an empty icon. - A thumbnailing style process then does all the searching, and does - the fm2 bouncy icon thing when the icon is found. raster forbids + A thumbnailing style process then does all the searching, and does + the fm2 bouncy icon thing when the icon is found. raster forbids this method. - The results of the search should be cached somewhere on disk for - future reference. That needs to be nuked when the user changes - icon theme. Changing the icon theme currently does not update all - displayed icons, it just does a restart like wm theme changing does. + The results of the search should be cached somewhere on disk for + future reference. That needs to be nuked when the user changes + icon theme. Changing the icon theme currently does not update all + displayed icons, it just does a restart like wm theme changing does. The X-Enlightenment-IconPath field of the .desktop file could be used for the on disk cache. X-Enlightenment-Icon-Theme and X-Enlightenment-Icon-TimeStamp can be used to determine if the icon @@ -230,12 +230,12 @@ USED BY: WHEN: Whenever the E_App needs to be read from disk. ISSUES: - Currently a fairly simple in memory hash of them is kept. Since - each Ecore_Desktop holds a hash of the fields, this can be + Currently a fairly simple in memory hash of them is kept. Since + each Ecore_Desktop holds a hash of the fields, this can be expensive in memory. Also, we would like a pre parsed binary on - disk cache for the sheer speed. ~/.e/e/applications/all is a - directory with all of them that are for E_Apps, some are just links - to system files. + disk cache for the sheer speed. ~/.e/e/applications/all is a + directory with all of them that are for E_Apps, some are just links + to system files. SOLUTION: Remove after implementing the E_App cache then see if these still needs caching. Note that the menu generation probably reads the @@ -259,8 +259,8 @@ E_Apps USED BY: Menus, bars, borders, exebuf, lots of other places. WHEN: - Currently all read in at startup time. Should change this to an - idle time task. Still need to read in them all near startup time + Currently all read in at startup time. Should change this to an + idle time task. Still need to read in them all near startup time though. We need all of them for searching. a_actions searches for filename, name, generic, and exe to find an @@ -275,7 +275,7 @@ WHEN: e_exebuf searches/lists all apps and most recently used apps based on a partially typed in string. It globs name, exe, generic, and - comment. When actually listing the matches, it searches for exe. + comment. When actually listing the matches, it searches for exe. When showing an icon for the current match, it searches exe, name, then generic. Updates the most recently used list. @@ -288,8 +288,8 @@ WHEN: have .order files. ISSUES: - The current eap caching code is not up to scratch, and the .desktop - conversion didn't help. It does hide some other bugs though, so that + The current eap caching code is not up to scratch, and the .desktop + conversion didn't help. It does hide some other bugs though, so that needs to be cleaned up first. How this all hangs together is complex. @@ -300,7 +300,7 @@ ISSUES: E_App *_e_apps_all = ~/.e/e/applications/all Currently has all the E_Apps as subbapps, but only used as if it was a single E_App. On the other hand, this is scanned at startup time, so is used to preload the caches. - + _e_apps_list = Most recently used list / all apps list. E_App members - diff --git a/doc/foot.html b/doc/foot.html index d43cf8fcc..ed29f47d3 100644 --- a/doc/foot.html +++ b/doc/foot.html @@ -1,11 +1,11 @@ - +
- + - - + +