issue 1501 and various improvements on unzipping code, importing#37
issue 1501 and various improvements on unzipping code, importing#37flerda merged 1 commit intoflerda:v2.0.1-devfrom
Conversation
|
I have a few comments above. Let me know if they make sense and if you think we could update the code. |
|
Code updated, summary of changes:
Cheers, On Mon, Jan 28, 2013 at 11:05 PM, Flavio Lerda notifications@github.comwrote:
|
|
I have a few more comments on this. Sorry for being a bit slow... |
|
You're working very late! I'm at a training today, so I'll process them Thanks for the review
|
src/com/ichi2/libanki/Utils.java
Outdated
There was a problem hiding this comment.
This should also be FILE_COPY_BUFFER_SIZE.
|
A couple of really tiny comments this time around. |
progress messages, fixes on import media bugs - updated according to feedback2
progress messages, fixes on import media bugs
A general close inspection of the import code. There were multiple bugs on the media import (written earlier by me for 2.0.1, but never really tested, he, he), should be working better now, importing files when needed, skipping if the file already exists in collection.media folder and looks the same (only the first 1024 bytes are compared for speed reasons and of course only when filenames match).
Much better feedback to the user, as this operation can take a while.