aboutsummaryrefslogtreecommitdiff
path: root/tools/file_packager.py
AgeCommit message (Collapse)Author
2013-12-20fix file packagerAlon Zakai
2013-12-17fix parameter checkLu Wang
2013-12-14fnmatch support fullpathLu Wang
2013-12-14--exclude-fileLu Wang
2013-12-02fix file preloading in workers and add testAlon Zakai
2013-11-02Add command line parameter --no-heap-copy that optimizes for small memory ↵Jukka Jylänki
footprint and fread() performance over the default behavior that copied VFS to HEAP, that is designed for mmap() performance. Adjust MEMFS node contentMode enum to reflect whether content is off the main HEAP or not. Note that this enum is not much used, so this has little effect. Add browser tests to check that fread() and mmap() work with and without --no-heap-copy.
2013-10-28fix progress shown when multiple asset packages are downloadedAlon Zakai
2013-10-28only emit decrunch code when crunch is enabledAlon Zakai
2013-10-23remove old call to Runtime.warn in file packager codeAlon Zakai
2013-10-22start network fetch as early as possible in file packager outputAlon Zakai
2013-10-22move fetchRemotePackage to outside of file packager generated codeAlon Zakai
2013-10-22move file packager Module autocreation to toplevelAlon Zakai
2013-10-22fix file packager Module autocreationAlon Zakai
2013-10-22remove --pre-run option in file packager, handle all that automaticallyAlon Zakai
2013-10-22do not call setStatus if not presentAlon Zakai
2013-10-21add file handling code from --preload-file etc. in a pre-js, so that it will ↵Alon Zakai
be able to start network access as early as possible
2013-10-21indentation fix in file packagerAlon Zakai
2013-08-29allow null second param in createPreloadedFile|createDataFile so that file ↵Alon Zakai
packager does not need PATH, and works through closure
2013-08-27copy the entire datafile in one chunk into the heap, avoiding one malloc per ↵Alon Zakai
file, but at the cost of not being able to free them
2013-08-27own preloaded files, avoiding an unnecessary copyAlon Zakai
2013-08-23refactor DataRequest to shrink preloading-generated codeAlon Zakai
2013-08-23own the subarrays created by file preloading, to avoid a copyAlon Zakai
2013-08-09Fix file packager to generate a virtual filesystem with '/' as path ↵Jukka Jylänki
separators when the host is Windows.
2013-08-06store preloaded images by their absolute pathAnthony Pesch
2013-08-06add more output in file packager errorAlon Zakai
2013-08-02infer relative paths in file packager only when not told explicit src and ↵Alon Zakai
dest paths, and fix test_preload_file
2013-08-02move file packager logging into debug-onlyAlon Zakai
2013-07-31absolutize and verify paths in the file packagerAlon Zakai
2013-07-17Fix indentationRyan Kelly
2013-07-16Fix JS syntax error when embedding an empty file.Ryan Kelly
2013-06-18post messages to crunch worker with a new arrayBuffer, to avoid copying an ↵Alon Zakai
underlying one
2013-06-18Fix bug in file_packager.py introduced in my recent pull request that caused ↵Jukka Jylänki
all files to be skipped from being packaged if the path contains a relative '.' in its path name (e.g. './path/etc').
2013-06-18Rename emcc_debug to DEBUG in tools/file_packager.py to be consistent.Jukka Jylänki
2013-06-13Report debug diagnostics in file packager if EMCC_DEBUG=1. Make file ↵Jukka Jylänki
packager skip all path components that have a path starting with '.', like ('.git/xxx/yyy/'), or the filename starts with '.', or the file is a Win32 hidden file. Explicitly specified files on the command line are always packaged, even if they start with '.' or are hidden. Add unit tests to check that it works.
2013-06-07fix crunch pathAlon Zakai
2013-05-29Fix handling of crunched files broken in previous commit.Jukka Jylänki
2013-05-25Add warning message print to file_packager to warn user when he accidentally ↵Jukka Jylänki
specifies --preload-file to an absolute path, as discussed in #486.
2013-05-25Add support for specifying the target location of preloaded or embedded ↵Jukka Jylänki
files on the virtual filesystem via --preload-file 'src@dst' notation.
2013-05-23make file packager closure-friendlyAlon Zakai
2013-05-23handle ./ in file packagingAlon Zakai
2013-05-21Make a temporary variable local.tingyuan
2013-05-21mmap(): Align to malloc's default alignment instead of pages.tingyuan
2013-05-21Put preloaded files on HEAP instead of another ArrayBuffers.tingyuan
2013-05-17fix file packager issue with closureAlon Zakai
2013-04-25Try/catch around idb open.Alan Kligman
2013-04-25If caching fails, proceed to process package data.Alan Kligman
2013-04-25If there's a problem, fall back to default non-cache loading from remote.Alan Kligman
2013-04-25Add browser.test_preload_caching to unit tests. Replace modified-time check ↵Alan Kligman
with uuid check for cached packages, and remove HEAD XHR.
2013-04-25Fix incorrect cache logic (probably copy pasta error). Add ↵Alan Kligman
Module.preloadResults to store preload stats (for testing purposes).
2013-04-25Updated documentation for --use-preload-cache.Alan Kligman