Граф коммитов

117 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai eb30905b40 Merge branch 'memoryInitializer_cdn' of https://github.com/amandle/emscripten into incoming
Conflicts:
	AUTHORS
2014-09-12 21:26:01 -07:00
Aaron Mandle bdfa7bc963 locateFilePackage -> locateFile 2014-09-10 15:40:32 -07:00
Jukka Jylänki 61113f8abb Add support for all possible 7-bit ascii characters in filenames for --preload-file, notably ', " and @. 2014-09-07 07:00:42 -04:00
Alon Zakai e8113b001b use Module.locateFilePackage as a further way to more generally customize the remote package name in file packager; fixes #2680 2014-08-16 17:48:02 -07:00
Alon Zakai 78ad1fc003 verify file packager paths do not contain invalid characters; fixes #2649 2014-08-12 15:08:18 -07:00
Alon Zakai 802488977d optimize --embed-file 2014-07-25 13:13:36 -07:00
Sylvain Chevalier 192f5fa59b Added test for embedding large files 2014-07-25 12:54:03 +02:00
Sylvain Chevalier 5f0a54c213 When packaging files, make sure we do not make one line-arrays too long 2014-07-24 16:34:54 +02:00
Jukka Jylänki 0ad0c0266b Support syntax --preload-file x@x where both sides are identical and outside the current source tree. The code would accidentally treat that case as if user had instead written '--preload-file x'. Closes #2201. 2014-03-07 13:58:16 +02:00
Jukka Jylänki 8e536ebe3e Resolve symbolic links when checking for destination locations in file_packager. Fixes browser.test_preload_file on OSX. 2014-03-07 13:41:15 +02:00
Alon Zakai b8dc7df9a1 fix bug on using file packager on subdirs; fixes #2123 2014-02-12 15:54:26 -08:00
jonas echterhoff 61f0d19856 Fixes according to pull request feedback. 2014-02-12 11:07:04 -08:00
jonas echterhoff af5e9738ff Make download progress be correctly displayed when the browser cannot report total size of files (as is the case in compressed downloads), but writing full size to the generated js. 2014-02-12 11:06:43 -08:00
Alon Zakai b286fb5aa3 comments on --embed-file being inefficient, and recommending --preload-file 2014-02-07 10:48:58 -05:00
Alon Zakai 6fc5fed5b0 better error message on errors in CRUNCH 2014-01-29 14:33:58 -08:00
Alon Zakai 44998c302a rename filePackageURL to filePackagePrefixURL 2014-01-23 17:58:46 -08:00
Alon Zakai c99a28dedf allow adding a custom prefix to file package downloads, so they can happen from a different url; fixes #2049 2014-01-23 17:52:57 -08:00
Alon Zakai da894244a0 fix file packager 2013-12-20 20:30:03 -08:00
Lu Wang f7f3ae7fce fix parameter check 2013-12-17 12:05:10 +08:00
Lu Wang 6e40c203cc fnmatch support fullpath 2013-12-14 19:53:45 +08:00
Lu Wang 3b57236896 --exclude-file 2013-12-14 19:32:06 +08:00
Alon Zakai a42f659391 fix file preloading in workers and add test 2013-12-02 16:17:23 -05:00
Jukka Jylänki cb3fe2bb6f Add command line parameter --no-heap-copy that optimizes for small memory 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-11-02 01:46:31 +02:00
Alon Zakai 2884e1826c fix progress shown when multiple asset packages are downloaded 2013-10-28 16:46:19 -07:00
Alon Zakai b5c2757c7c only emit decrunch code when crunch is enabled 2013-10-28 10:23:46 -07:00
Alon Zakai d01e4caa1e remove old call to Runtime.warn in file packager code 2013-10-23 10:14:42 -07:00
Alon Zakai e5b15abb51 start network fetch as early as possible in file packager output 2013-10-22 15:06:58 -07:00
Alon Zakai 901d12835e move fetchRemotePackage to outside of file packager generated code 2013-10-22 14:54:53 -07:00
Alon Zakai 77f3f1b9b1 move file packager Module autocreation to toplevel 2013-10-22 14:45:57 -07:00
Alon Zakai 22d5103382 fix file packager Module autocreation 2013-10-22 14:26:28 -07:00
Alon Zakai b040c0d6d4 remove --pre-run option in file packager, handle all that automatically 2013-10-22 11:41:25 -07:00
Alon Zakai afc0d5e5cc do not call setStatus if not present 2013-10-22 11:31:12 -07:00
Alon Zakai e0c3cd79db add file handling code from --preload-file etc. in a pre-js, so that it will be able to start network access as early as possible 2013-10-21 17:36:03 -07:00
Alon Zakai 60e3202da0 indentation fix in file packager 2013-10-21 14:16:38 -07:00
Alon Zakai b872b8a299 allow null second param in createPreloadedFile|createDataFile so that file packager does not need PATH, and works through closure 2013-08-29 12:00:32 -07:00
Alon Zakai 3b2b7341aa copy the entire datafile in one chunk into the heap, avoiding one malloc per file, but at the cost of not being able to free them 2013-08-27 14:17:38 -07:00
Alon Zakai 8c249ab4d5 own preloaded files, avoiding an unnecessary copy 2013-08-27 14:15:15 -07:00
Alon Zakai 6c6e4f5a0d refactor DataRequest to shrink preloading-generated code 2013-08-23 11:41:17 -07:00
Alon Zakai b88b4adc2d own the subarrays created by file preloading, to avoid a copy 2013-08-23 10:31:15 -07:00
Jukka Jylänki db911f46e1 Fix file packager to generate a virtual filesystem with '/' as path separators when the host is Windows. 2013-08-09 13:58:50 +03:00
Anthony Pesch d6cde30663 store preloaded images by their absolute path 2013-08-06 22:32:44 -07:00
Alon Zakai ca19fbd11b add more output in file packager error 2013-08-06 10:20:11 -07:00
Alon Zakai c147db72f6 infer relative paths in file packager only when not told explicit src and dest paths, and fix test_preload_file 2013-08-02 11:59:38 -07:00
Alon Zakai 55164c9b36 move file packager logging into debug-only 2013-08-02 10:27:58 -07:00
Alon Zakai e4ec960736 absolutize and verify paths in the file packager 2013-07-31 14:09:27 -07:00
Ryan Kelly 3a2e897b45 Fix indentation 2013-07-17 08:10:13 +10:00
Ryan Kelly 77f2dc17b4 Fix JS syntax error when embedding an empty file. 2013-07-16 16:21:33 +10:00
Alon Zakai 3963031492 post messages to crunch worker with a new arrayBuffer, to avoid copying an underlying one 2013-06-18 19:03:57 -07:00
Jukka Jylänki 939bda64f5 Fix bug in file_packager.py introduced in my recent pull request that caused all files to be skipped from being packaged if the path contains a relative '.' in its path name (e.g. './path/etc'). 2013-06-18 17:19:45 +03:00
Jukka Jylänki 56a3c81359 Rename emcc_debug to DEBUG in tools/file_packager.py to be consistent. 2013-06-18 00:18:27 +03:00