Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2018-11-22 23:46:49 +0000
committerJonah Graham2018-11-23 07:52:26 +0000
commitff75ae80fa44dfc925064f7ca0169ac80997bc77 (patch)
tree7db3666d26eeae703d9bc650d5d4540bc71406fb /debug/org.eclipse.cdt.debug.ui/src/org
parentbe35c7327d2a6168718afea45181a058a7d414fa (diff)
downloadorg.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.gz
org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.xz
org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.zip
Bug 540373: Cleanup: Remove trailing whitespace in properties files
Command used: # Remove space at eol in comments find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} + # Remove space at eol in blank lines find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} + # Replace escaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} + # Replace unescaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} + # Replace escaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} + # Replace unescaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} + # Stage all changes git add -A . # trim any remaining whitespace and then identify and fixup # manually # Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties # needed this due to missing newline at end of the file find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} + Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui/src/org')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ActionMessages.properties2
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/Messages.properties2
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/breakpoints/BreakpointsMessages.properties14
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/PreferenceMessages.properties2
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/SourceLookupUIMessages.properties2
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/debuggerconsole/ConsoleMessages.properties2
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/Messages.properties8
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModulesMessages.properties12
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/messages.properties4
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/importexecutable/Messages.properties2
10 files changed, 25 insertions, 25 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ActionMessages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ActionMessages.properties
index d5b48436fee..3585b5a75f8 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ActionMessages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ActionMessages.properties
@@ -40,7 +40,7 @@ ToggleBreakpointAdapter.Empty_editor_2=Empty editor
ToggleWatchpointActionDelegate.Error_1=Error
ToggleBreakpointAdapter.Missing_document_2=Missing document
ToggleBreakpointAdapter.Missing_resource_2=Missing resource
-ToggleBreakpointAdapter.Invalid_expression_1=Invalid expression:
+ToggleBreakpointAdapter.Invalid_expression_1=Invalid expression:\u0020
RunToLineAdapter.Operation_is_not_supported_1=Operation is not supported.
EnableDisableBreakpointRulerAction.Enable_Breakpoint_1=&Enable Breakpoint
EnableDisableBreakpointRulerAction.Enabling_disabling_breakpoints_1=Enabling/disabling breakpoints
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/Messages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/Messages.properties
index 69e876b1106..7e1f70364f1 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/Messages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/Messages.properties
@@ -13,7 +13,7 @@
#######################################################################################
# We use %d in the below string on purpose to show the user that it is possible
-# Don't use %s with an in-line string, as it crashes GDB 7.5 and 7.6
+# Don't use %s with an in-line string, as it crashes GDB 7.5 and 7.6
# http://sourceware.org/bugzilla/show_bug.cgi?id=15433
Default_LineDynamicPrintf_String="Hit line %d of {0}\\n",{1}
Default_FunctionDynamicPrintf_String="Entered function: {1} of {0}\\n"
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/breakpoints/BreakpointsMessages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/breakpoints/BreakpointsMessages.properties
index b5e6223ca2a..12999725d1a 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/breakpoints/BreakpointsMessages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/breakpoints/BreakpointsMessages.properties
@@ -20,19 +20,19 @@ CBreakpointPropertyPage.0=Ignore count must be a nonnegative integer
CBreakpointPropertyPage.file_system_button=File S&ystem...
CBreakpointPropertyPage.fileName_errorMessage=Enter the absolute path to an existing file:
CBreakpointPropertyPage.function_valueNotAvailable_label=Not available
-CBreakpointPropertyPage.function_label=Function name:
+CBreakpointPropertyPage.function_label=Function name:\u0020
CBreakpointPropertyPage.function_value_errorMessage=Enter a function expression:
CBreakpointPropertyPage.breakpointType_function_label=C/C++ Function Breakpoint
CBreakpointPropertyPage.address_valueNotAvailable_label=Not available
-CBreakpointPropertyPage.address_label=Address:
+CBreakpointPropertyPage.address_label=Address:\u0020
CBreakpointPropertyPage.breakpointType_address_label=C/C++ Address Breakpoint
-CBreakpointPropertyPage.sourceHandle_label=File:
+CBreakpointPropertyPage.sourceHandle_label=File:\u0020
CBreakpointPropertyPage.breakpointType_line_label=C/C++ Line Breakpoint
CBreakpointPropertyPage.lineNumber_errorMessage=Enter a line number greater than 0
-CBreakpointPropertyPage.lineNumber_label=Line number:
+CBreakpointPropertyPage.lineNumber_label=Line number:\u0020
CBreakpointPropertyPage.breakpoint_already_exists_errorMessage=Breakpoint exists at this location
-CBreakpointPropertyPage.breakpointType_event_label=C/C++ Event Breakpoint
-CBreakpointPropertyPage.project_label=Project:
+CBreakpointPropertyPage.breakpointType_event_label=C/C++ Event Breakpoint \u0020
+CBreakpointPropertyPage.project_label=Project:\u0020
CBreakpointPropertyPage.breakpointType_watchpoint_label=C/C++ Watchpoint
CBreakpointPropertyPage.breakpointType_watchpoint_read_label=C/C++ Read Watchpoint
CBreakpointPropertyPage.breakpointType_watchpoint_access_label=C/C++ Access Watchpoint
@@ -44,7 +44,7 @@ CBreakpointPropertyPage.watchpoint_range_label=Range:
CBreakpointPropertyPage.workspace_button=W&orkspace...
CBreakpointPropertyPage.condition_label=&Condition:
CBreakpointPropertyPage.condition_invalidValue_message=Invalid condition.
-CBreakpointPropertyPage.ignoreCount_label=&Ignore count:
+CBreakpointPropertyPage.ignoreCount_label=&Ignore count:\u0020
CBreakpointPropertyPage.breakpointType_label=Class:
CBreakpointPropertyPage.enabled_label=Enabled
CBreakpointPropertyPage.eventType_label=Event Type
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/PreferenceMessages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/PreferenceMessages.properties
index b8201a8608f..b1cd43d5ec9 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/PreferenceMessages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/preferences/PreferenceMessages.properties
@@ -20,7 +20,7 @@ CDebugPreferencePage.8=Variables:
CDebugPreferencePage.9=Expressions:
CDebugPreferencePage.10=Registers:
CDebugPreferencePage.11=Disassembly options
-CDebugPreferencePage.12=Maximum number of displayed instructions:
+CDebugPreferencePage.12=Maximum number of displayed instructions:\u0020
CDebugPreferencePage.13=Value must be an integer between {0} and {1}.
CDebugPreferencePage.15=Show source files in binaries
CDebugPreferencePage.16=Wide character encoding
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/SourceLookupUIMessages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/SourceLookupUIMessages.properties
index ee3bf976221..1f78bd088ab 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/SourceLookupUIMessages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/SourceLookupUIMessages.properties
@@ -47,7 +47,7 @@ PathMappingDialog_16=Path Mappings
PathMappingDialog_MappingWithBackendEnabled=Resolve path mappings using debugger backend.
PathMappingDialog_MappingWithBackendEnabledTooltip=Allow the mapping to be performed with the debugger backend where supported. This allows any direct interaction with the backend (for example via the console) to have a consistent view of file names.
RemoveAction_0=Re&move
-SourceContainerWorkbenchAdapter_0=Path Mapping:
+SourceContainerWorkbenchAdapter_0=Path Mapping:\u0020
UpAction_0=U&p
CSourceNotFoundEditor_0=Can''t find a source file at \"{0}\" \nLocate the file or edit the source lookup path to include its location.
CSourceNotFoundEditor_1=Locate File...
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/debuggerconsole/ConsoleMessages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/debuggerconsole/ConsoleMessages.properties
index b8fc5c0219d..bc1ac0d4819 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/debuggerconsole/ConsoleMessages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/debuggerconsole/ConsoleMessages.properties
@@ -8,7 +8,7 @@
#
# SPDX-License-Identifier: EPL-2.0
##########################################################################
-
+
ConsoleMessages_no_console=No console to display at this time.
ConsoleDropDownAction_name=Select Console
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/Messages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/Messages.properties
index be1bface5ed..82ff82d0227 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/Messages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/Messages.properties
@@ -23,7 +23,7 @@ ExecutablesView_ExeName=Executable Name
ExecutablesView_ExeProject=Executable Project
ExecutablesView_ExeSize=Executable Size
ExecutablesView_ExeType=Executable Type
-ExecutablesView_Finding_Sources_Job_Name=Finding source files in
+ExecutablesView_Finding_Sources_Job_Name=Finding source files in\u0020
ExecutablesView_Import=Import
ExecutablesView_ImportExe=Import an executable file
ExecutablesView_ImportExecutables=Import Executables
@@ -48,9 +48,9 @@ ExecutablesViewer_Project=Project
ExecutablesViewer_RefreshExecutablesView=Refresh Executables View
ExecutablesViewer_Size=Size
ExecutablesViewer_Type=Type
-SourceFilesContentProvider_NoFilesFound=No source files found in
-SourceFilesContentProvider_ReadingDebugSymbolInformationLabel=Reading Debug Symbol Information:
-SourceFilesContentProvider_Refreshing=Refreshing...
+SourceFilesContentProvider_NoFilesFound=No source files found in\u0020
+SourceFilesContentProvider_ReadingDebugSymbolInformationLabel=Reading Debug Symbol Information:\u0020
+SourceFilesContentProvider_Refreshing=Refreshing...\u0020
SourceFilesContentProvider_Canceled=Parse canceled. Hit refresh to restart.
SourceFilesViewer_RefreshSourceFiles=Refresh Source Files
SourceFilesViewer_Location=Location
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModulesMessages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModulesMessages.properties
index bedda694f4a..75bb9eced0b 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModulesMessages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModulesMessages.properties
@@ -13,16 +13,16 @@
# Wind River Systems - adapted to work with platform Modules view (bug 210558)
###############################################################################
ModulesView.1=executable
-ModulesView.10=Size:
+ModulesView.10=Size:\u0020
ModulesView.11=\ (symbols loaded)
ModulesView.12=(symbols not loaded)
ModulesView.13=Select &All
ModulesView.16=&Copy
ModulesView.2=shared library
-ModulesView.3=Type:
-ModulesView.4=Symbols:
+ModulesView.3=Type:\u0020
+ModulesView.4=Symbols:\u0020
ModulesView.5=loaded
ModulesView.6=not loaded
-ModulesView.7=Symbols file:
-ModulesView.8=CPU:
-ModulesView.9=Base address:
+ModulesView.7=Symbols file:\u0020
+ModulesView.8=CPU:\u0020
+ModulesView.9=Base address:\u0020
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/messages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/messages.properties
index fe172241347..753b8273911 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/messages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpointactions/messages.properties
@@ -58,12 +58,12 @@ ExternalToolAction.error.1=Could not launch "{0}".
ExternalToolAction.TypeName=External Tool Action
ResumeAction.UntitledName=Untitled Resume Action
ResumeAction.SummaryImmediately=Resume immediately
-ResumeActionComposite.ResumeAfterLabel=Resume after
+ResumeActionComposite.ResumeAfterLabel=Resume after\u0020
ResumeAction.SummaryResumeTime=Resume after {0} seconds
ResumeActionComposite.Seconds=seconds
ResumeAction.TypeName=Resume Action
ResumeAction.error.0=IResumeActionEnabler not registered in context.
-ResumeAction.error.1=Could not resume.
+ResumeAction.error.1=Could not resume.\u0020
ReverseDebugAction.UntitledName=Untitled Rev Debug Action
ReverseDebugAction.TypeName=Reverse Debug Action
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/importexecutable/Messages.properties b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/importexecutable/Messages.properties
index c16cdce0d15..90e15322a4c 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/importexecutable/Messages.properties
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/importexecutable/Messages.properties
@@ -46,5 +46,5 @@ ImportExecutablePageOne_NoteAnEXE=Not an executable file.
ImportExecutablePageOne_SelectAll=Select All
ImportExecutablePageOne_Searching=Searching:
AbstractImportExecutableWizard_windowTitle=Import Executable
-AbstractImportExecutableWizard_ErrorImporting=Error importing:
+AbstractImportExecutableWizard_ErrorImporting=Error importing:\u0020
AbstractImportExecutableWizard_CreateLaunchConfiguration=Create Launch Configuration

Back to the top