Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make this complete to run tests locally. #638

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Commits on Nov 23, 2019

  1. Make this complete to run teste locally.

    Add latest smallest jquery-3.4.1.slim.min.js
    Fix pathways in ./index.html. Now, ./index.html working after run this from folder.
    Add /dist/jszip-utils.js
    fix protocols and pathways in ./test/index.html. Add warning there, in the top of the page.
    username1565 committed Nov 23, 2019
    Configuration menu
    Copy the full SHA
    7a3ca6a View commit details
    Browse the repository at this point in the history
  2. Remove this file

    Because Jquery already exists in `./test/jquery-1.8.3.min.js`
    username1565 committed Nov 23, 2019
    Configuration menu
    Copy the full SHA
    b1aba04 View commit details
    Browse the repository at this point in the history
  3. Rename test/jquery-1.8.3.min.js to test/vendor/jquery-1.8.3.min.js

    Move this to `./test/vendor/`-
    username1565 committed Nov 23, 2019
    Configuration menu
    Copy the full SHA
    a463bdc View commit details
    Browse the repository at this point in the history
  4. Update jQuery to smallest

    Replace old Jquery `./test/vendor/jquery-1.8.3.min.js` (93,637 bytes)
    to latest minified of JQuery-slim: `./test/vendor/jquery-3.4.1.slim.min.js` (71,037 bytes).
    
    Add `qunit-1.23.0.js` and `qunit-1.23.0.css` to the `./test/vendor`-folder.
    
    Change pathways for this files, in `index.html` and `./test/index.html`.
    username1565 committed Nov 23, 2019
    Configuration menu
    Copy the full SHA
    1810b6e View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2019

  1. Free shit

    Changes:
    	Added windows-1251 and DOS(cp866) encoding to correct encode-decode the ciryllic symbols on Windows.
    		Now this specified in params, as
    			{encoding: "windows-1251"},
    			{encoding: "Windows-1251"},
    			{encoding: "cp866"},
    	Added third case:
    		{encoding: "pathways_and_filenames-encoding-is-cp866_password-encoding-is-windows-1251"},
    		when pathway encoding is cp866 but encoding for password is windows-1251.
    
    	Default encoding for txt-file content is not changed, but now this can be a string, not buffer of bytearray.
    	
    	Maybe all encoders need to be added in separate module and .js-script, and using only hex(bytes), as values on input-ouptut.
    	
    	Here, you can see cyrillic-symbols in pathway (filename), and password.
    	This is compressing, and uncompressing sucessfully, by using this script.
    	
    	abc_пароль.zip - zip-file, which was been generated by this script.
    	
    	make_array_with_bytes.html - the page to return hexdump - "array_with_bytes.txt", after uploding binary file.
    	
    	smaller_array_with_bytes.txt - array, without many "0x00" bytes, in the end.
    
    
    	
    	I don't know how to write this in C-code, because as I understand, minizip-asm.min.js is generated from C-code.
    	
    	But anyway, anyone can read this, understand this, see differences, and fix this by more qualified way.
    username1565 committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    355dc29 View commit details
    Browse the repository at this point in the history
  2. Delete abc_пароль.zip

    Remove file from commit username1565/minizip-asm.js@64b827f
    username1565 committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    166f885 View commit details
    Browse the repository at this point in the history
  3. Delete array_with_bytes.txt

    Remove file from commit username1565/minizip-asm.js@64b827f
    username1565 committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    ae5b4aa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a4042de View commit details
    Browse the repository at this point in the history
  5. Delete unminified_minizip-asm.js

    Remove file from commit username1565/minizip-asm.js@64b827f
    username1565 committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    a1462e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5e7dc39 View commit details
    Browse the repository at this point in the history
  7. Delete minizip-asm.min.js

    Remove file from commit username1565/minizip-asm.js@64b827f
    username1565 committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    721488b View commit details
    Browse the repository at this point in the history
  8. Delete make_array_with_bytes.html

    Remove file from commit username1565/minizip-asm.js@64b827f
    username1565 committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    8e0c16c View commit details
    Browse the repository at this point in the history
  9. Delete browser_test.html

    Remove file from commit username1565/minizip-asm.js@64b827f
    username1565 committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    6b42520 View commit details
    Browse the repository at this point in the history