Skip to content

Commit 675c128

Browse files
committed
Merged branch 'master' from opentoonz w/ conflicts resolved
2 parents 7359868 + 07a4704 commit 675c128

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+6259
-9353
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ matrix:
2323
- os: linux
2424
compiler: clang
2525
- os: osx
26-
osx_image: xcode8.3
26+
osx_image: xcode10.1
2727

2828
before_deploy:
2929
# Set up git user name and tag this commit

ci-scripts/osx/travis-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
pushd thirdparty/tiff-4.0.3
3-
./configure && make
3+
./configure --disable-lzma && make
44
popd
55
cd toonz && mkdir build && cd build
66
QTVERSION=`ls /usr/local/Cellar/qt`
8.88 KB
Binary file not shown.
4.36 KB
Binary file not shown.
917 Bytes
Binary file not shown.
23 KB
Binary file not shown.
236 KB
Binary file not shown.
14.6 KB
Binary file not shown.
40.8 KB
Binary file not shown.

toonz/sources/common/tstream/tstream.cpp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ TOStream &TOStream::operator<<(string v) {
357357
if ((!iswalnum(v[i]) && v[i] != '_' && v[i] != '%') ||
358358
v[i] < 32 // Less than ASCII for SPACE
359359
|| v[i] > 126 // Greater than ASCII for ~
360-
)
360+
)
361361
break;
362362
if (i == len)
363363
os << v << " ";
@@ -386,7 +386,7 @@ TOStream &TOStream::operator<<(QString _v) {
386386
if ((!iswalnum(v[i]) && v[i] != '_' && v[i] != '%') ||
387387
v[i] < 32 // Less than ASCII for SPACE
388388
|| v[i] > 126 // Greater than ASCII for ~
389-
)
389+
)
390390
break;
391391
if (i == len)
392392
os << v << " ";
@@ -1078,9 +1078,15 @@ TIStream &TIStream::operator>>(TFilePath &v) {
10781078
is.get(c);
10791079
if (c == '"') {
10801080
is.get(c);
1081-
while (is && c != '"') {
1081+
bool escapeChar = false;
1082+
// If processing double-quote ("), if it's escaped, keep reading.
1083+
while (is && (c != '"' || escapeChar)) {
10821084
// if(c=='\\')
10831085
// is.get(c);
1086+
if (c == '\\' && !escapeChar)
1087+
escapeChar = true;
1088+
else
1089+
escapeChar = false;
10841090
s.append(1, c);
10851091
is.get(c);
10861092
}

0 commit comments

Comments
 (0)