Update: Made function "sphinxEnabledForFile(filePath)" instead of using different functions in different classes to do same thing.
Fix: 'sphinx path contain space' bug
Fix: get_console_output is rewritten such that its input arguments are as close to subprocess.popen as possible. Changes are also made to lint and navigator to reflect get_console_output change.
Fix: Apply get_console_output changes to preview plugin.
Cleanup: Use os.path.join or os.path.sep instead of using forward slash or backward slash in path parameters
Fix: continue reworking _canPreview structure
Add: 1 test case for advanced mode, 1 test case for normal mode with space in path name, 1 test case for advanced mode with space in path name. All tests pass.
Add: One test case with uppercase and lowercase character in file path. This test case is designed only for windows.
Fix: Change commonprefix function to reflect the newly added requirement.
Fix: Rework commonprefix function. Now except one potential symlink bug, commonprefix works pretty well for both linux and windows. (Some testcases are not applicable in linux)
Add: mark all todo item.
First priority: Fix buildOnSave mechanism.
Next: Make sure relative paths work.