Arduino/arduino-core
Cristian Maglie 653a05273d Check sanitaryName only on basename without extension
This regression originates from:

8725bb1e Clean up sketch loading

before this commit the sketch name sanitization was made on the sketch
name without the extension.
After 8725bb1e instead the name sanitization is made on the filename, so
including the ".ino" extension.

This lead to a weird corner case, caused by the limit of 63 characters
on the sketch name: before 8725bb1e it would be possible to save a sketch
with a name of exactly 63 characters, but after 8725bb1e this sketch will
suddenly becomes invalid becuase the 63 chars name + extension would exceed
the 63 characters limit.

This commit fix this regression.

Fix #5431
2016-10-03 17:00:08 +02:00
..
lib Installing tools from packager (eg: arduino) in packager folder, thus avoiding 2015-11-20 17:15:53 +01:00
src Check sanitaryName only on basename without extension 2016-10-03 17:00:08 +02:00
.classpath Installing tools from packager (eg: arduino) in packager folder, thus avoiding 2015-11-20 17:15:53 +01:00
.editorconfig Added .editorconfig files http://editorconfig.org/ 2015-05-08 10:18:43 +02:00
.gitignore Split IDE into 2 projects. 2014-11-13 16:34:24 +01:00
.project Split IDE into 2 projects. 2014-11-13 16:34:24 +01:00
build.xml Switching to Java 8 2015-06-16 09:33:48 +02:00