Set workspaceProperty's workspace name. Re #6171
Made the title bar captions more descriptive

The title bar cations are no all prepended with the workspace name.

They are also no longer truncated to the first hyphen. If there was a reason for that please tell me, but i couldn't see any reason why they were, especailly as the logs use underscores as spaces which are then converted to hyphens (for a reason that is explained in a comment) so it previously meant that multi-worded log names were truncated.

To Tester:

Make sure that the title bar captions show the workspace name, log name and a number which should be a fallback inidivitual identifier.

Be aware that this ticket was done while #7968 was awaiting merging into master thus the bug fixed there reared its head; it should only cause debug assertions on windows but this should be kept in mind.

Refs #8031
workspace name underscores are no longer converted

I found that the caption settign method was converting hyphens to underscores as well as the QString::replace that was already in there.

There was a comment note that underscores may cause problems for the legendwidget, so that may need looking at

Refs #8031
Added new files to Cmake

Created new copies of the save and load Ascii algorithms so i have a base for writing version 2.

They have been added to cmake

Refs #7732
Now saves in the desired format

The data is now saved in the follwing format with each spectra grouped together:

{spectrum number}

[optional]{comment marker}X,Y,E[optional],DX

X(0,0){separator}Y(0,0){separator}Z(0,0)[optional]{separator}DX(0,0)

X(0,1){separator}Y(0,1){separator}Z(0,1)[optional]{separator}DX(0,1)
...

{spectrum number}
...

Refs #7732
Created Test classes and added to CMake

Copied the original tests so i have a base for my own

Refs #7732
Made Basic changes to headers and loadascii2's cpp

Changed thigns like the version, author etc. no actual functional changes

Refs #7732
Removed commetned out code

Karl mentioned some leftover commented code, it's now been removed

Refs #8031
Lowered version 1 confidence

I've lowered teh defualt confidence of LoadAscii version 1 as it was preventing LoadAscii version 2 from being chosen by the Load selector

Refs #7732
Altered LoadAscii Cumstom dialog

The LoadAscii Dialog now changes depending on the version being invoked.

Version 2 has the new comment indicator feild

Refs #7732
Tided code and formatted

Removed some commented out code and some trailing spaces

Performed a "format Document" command form Visual studio to add indentation.

Refs #7732
Added new format, removed debug code

Added the new Scientific Notation option to the dialog

Removed the std::cerr calls I added when debugging

Changed the placeing of the header code so that the header is no longer per specta, but per file

Refs #7732
Written the unit test for version 2

Createa s unit test for the new format based on the old test.

Compared to the original the unit test is now split into two.

Refs #7732
New version of LaodAscii written

The new verison of LoadAscii was going to be based on the original, and it has been, but not as much as was initially intended, and it ended up a full rewrite.

The Loader will load the form of files saved by SaveAscii version 2, but not version 1. The format has changed that much.

It is slgihtly flexible in that it will load files that SaveAscii wouldn't wirte, but htis only extends as far as it'll accept blank lines as equivelent to spectra IDs, will allow 2 collumns minimum (implying that E and Dx are 0), and will ingnore lines staritng wiht a comment character. However, it is still strict enough that it will expect any standards set at the start of the file to be continued thoughout. This means number of bins per spectra, number of columns per bin, inclusion or omittance of spectra IDs, comment characters and delimiters.

Refs #7732
Merge remote-tracking branch 'origin/master'

into feature/8031_workspace_in_sample_log_name

Conflicts:
	Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp

Refs #8031
Correcting indent to stop it complaining on a push to develop

Still correcting merge confilct, this is more preventative as i just resolved this conflict between my branch and develop, on develop.

The problem still exisited here so jsut fixing it now

Refs #8031
Refactored some repeated code

I introduced some repeated code, so i've condensed and refactored it into it's own method.

Refs #8031
Clarified some errors and comments

Errors now include the line number in the file if it's avialable to them.

Some comments have been deleted or improved

Refs #7732
Refactored Save Algorithm

SaveAscii now validates the comment indicator and user defined separator.

The code has been refactored to split off the spectra writing code into a mthod with two overloads: one taking an int and one taking an iterator.

Some varables have become private member variables to help with the new methods

Refs #7732
Load Algorithm now compatible with custom separators

The Save Algorithm had always been able to define a custom spearator, but ht eLoad algorithm wouldn't recognise them.

Custom separator code now added to both algorithm and custom dialog.

Refs #7732