Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
jio
Commits
5d72e7e1
Commit
5d72e7e1
authored
Sep 09, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release 3.40.0
parent
750c352f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16014 additions
and
18 deletions
+16014
-18
Makefile
Makefile
+1
-1
dist/jio-latest.js
dist/jio-latest.js
+5
-17
dist/jio-v3.40.0.js
dist/jio-v3.40.0.js
+16008
-0
No files found.
Makefile
View file @
5d72e7e1
...
@@ -26,7 +26,7 @@ TESTDIR = test
...
@@ -26,7 +26,7 @@ TESTDIR = test
EXAMPLEDIR
=
examples
EXAMPLEDIR
=
examples
EXTERNALDIR
=
external
EXTERNALDIR
=
external
VERSION
=
3.
39
.0
VERSION
=
3.
40
.0
JIOVERSION
=
${DISTDIR}
/jio-v
${VERSION}
.js
JIOVERSION
=
${DISTDIR}
/jio-v
${VERSION}
.js
JIOLATEST
=
${DISTDIR}
/jio-latest.js
JIOLATEST
=
${DISTDIR}
/jio-latest.js
JIONODEVERSION
=
${DISTDIR}
/jio-v
${VERSION}
-node
.js
JIONODEVERSION
=
${DISTDIR}
/jio-v
${VERSION}
-node
.js
...
...
dist/jio-latest.js
View file @
5d72e7e1
...
@@ -15285,8 +15285,7 @@ return new Parser;
...
@@ -15285,8 +15285,7 @@ return new Parser;
var
index
=
parseInt
(
var
index
=
parseInt
(
cursor
.
primaryKey
.
slice
(
key_path
.
length
+
1
),
cursor
.
primaryKey
.
slice
(
key_path
.
length
+
1
),
10
10
),
);
i
;
if
((
start
!==
0
)
&&
(
index
<
start_index
))
{
if
((
start
!==
0
)
&&
(
index
<
start_index
))
{
// No need to fetch blobs at the start
// No need to fetch blobs at the start
...
@@ -15297,12 +15296,6 @@ return new Parser;
...
@@ -15297,12 +15296,6 @@ return new Parser;
return
;
return
;
}
}
i
=
index
-
start_index
;
// Extend array size
while
(
i
>
promise_list
.
length
)
{
promise_list
.
push
(
null
);
i
-=
1
;
}
// Sort the blob by their index
// Sort the blob by their index
promise_list
.
splice
(
promise_list
.
splice
(
index
-
start_index
,
index
-
start_index
,
...
@@ -15336,7 +15329,7 @@ return new Parser;
...
@@ -15336,7 +15329,7 @@ return new Parser;
{
type
:
"
application/octet-stream
"
});
{
type
:
"
application/octet-stream
"
});
index
=
Math
.
floor
(
start
/
UNITE
)
*
UNITE
;
index
=
Math
.
floor
(
start
/
UNITE
)
*
UNITE
;
if
(
end
===
undefined
)
{
if
(
end
===
undefined
)
{
end
=
blob
.
length
;
end
=
blob
.
size
;
}
else
{
}
else
{
end
=
end
-
index
;
end
=
end
-
index
;
}
}
...
@@ -15359,13 +15352,8 @@ return new Parser;
...
@@ -15359,13 +15352,8 @@ return new Parser;
var
index
=
parseInt
(
var
index
=
parseInt
(
cursor
.
primaryKey
.
slice
(
key_path
.
length
+
1
),
cursor
.
primaryKey
.
slice
(
key_path
.
length
+
1
),
10
10
),
);
i
=
index
;
// Extend array size
while
(
i
>
array_buffer_list
.
length
)
{
array_buffer_list
.
push
(
null
);
i
-=
1
;
}
// Sort the blob by their index
// Sort the blob by their index
array_buffer_list
.
splice
(
array_buffer_list
.
splice
(
index
,
index
,
...
@@ -15407,7 +15395,7 @@ return new Parser;
...
@@ -15407,7 +15395,7 @@ return new Parser;
blob
=
new
Blob
(
array_buffer_list
,
blob
=
new
Blob
(
array_buffer_list
,
{
type
:
attachment
.
info
.
content_type
});
{
type
:
attachment
.
info
.
content_type
});
if
(
blob
.
length
!==
attachment
.
info
.
total_
length
)
{
if
(
blob
.
size
!==
attachment
.
info
.
length
)
{
throw
new
jIO
.
util
.
jIOError
(
throw
new
jIO
.
util
.
jIOError
(
"
IndexedDB: attachment '
"
+
"
IndexedDB: attachment '
"
+
buildKeyPath
([
id
,
name
])
+
buildKeyPath
([
id
,
name
])
+
...
...
dist/jio-v3.40.0.js
0 → 100644
View file @
5d72e7e1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment