parallaxinc / SimpleIDE

SimpleIDE for Propeller
26 stars 13 forks source link

Leading whitespace allowed in filename, but won't compile #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A) What steps will reproduce the problem?

  1. In SimpleIDE, create a new file with a leading space in the filename.
  2. Try to compile (it won't).

B) What is the expected behavior (output)?

  It should compile, or should not let the filename contain leading whitespace.

C) What do you see instead?

  It won't compile; errors out.

D) Classify the bug as one of the following:

2. Medium Priority

E) Application Version and Platform:

Version
    SimpleIDE 0-9-43

Platform

Choose OpSys from Labels Below:
    OpSys-Windows

Specify Platform OS Version and 32 or 64 bit. For example:

    Windows 8    (64 bit)

Original issue reported on code.google.com by jmar...@parallax.com on 13 Oct 2013 at 1:21

GoogleCodeExporter commented 9 years ago
Bumping to Priority-High

Original comment by jmar...@parallax.com on 13 Oct 2013 at 1:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
v0-9-47 tested.  Not sure if the problem was thought to be fixed in this 
version or not, but I verified it still exists.

  * Project > New
  * Enter " My New Project" in file field (without the quotes... notice leading space)
  * Press Save button
  * Try to compiler (Error, My New Project.c: No such file or directory"

Original comment by jmar...@parallax.com on 14 Mar 2014 at 10:57

GoogleCodeExporter commented 9 years ago
Tested v0-9-49.  Issue fixed.  Leading and trailing spaces are stripped out 
before file is saved.  Interim spaces (like before extension) are still allowed 
but don't cause compiler problems on Win 7.

Original comment by jmar...@parallax.com on 28 Apr 2014 at 9:37

GoogleCodeExporter commented 9 years ago
Re-verified in v0-9-57 on 6/12/2014.

Original comment by jmar...@parallax.com on 12 Jun 2014 at 9:47