Skip to content

Tranform php.js into Locutus#291

Merged
kvz merged 203 commits into
masterfrom
locutus
May 2, 2016
Merged

Tranform php.js into Locutus#291
kvz merged 203 commits into
masterfrom
locutus

Conversation

@kvz

@kvz kvz commented May 2, 2016

Copy link
Copy Markdown
Collaborator

These are a few of the things I have been working on in order to clean up our codebase and breathe new life into this project:

  • Added (generated) Mocha tests for every function, instead of our own test framework
  • Added a $global that works in both Browsers and Node.js (we should try to avoid this when we can though)
  • Added a CONTRIBUTORS guide as well as New Issue and Pull Request templates, so we can be more efficient using GitHub
  • Added native JSON, base64, sha1 and md5 support where available
  • Added npm versioning and releases
  • Added support for ES6, any function can be written in this JavaScript version and it will be transpiled to ES5 before we publish to npm to ensure compatability.
  • Asked Troy Dodd if we could use his stunning Locutus artwork to be our avatar (and he said yes!)
  • Assimilated a dozen of example functions that showcase how we could port four new languages to JavaScript
  • Changed all functions to make them adhere to the JavaScript Standard Style and have a max line length of 100. Travis CI will fail when new additions do not adhere
  • Deprecated/documented all functions using eval, new Function and other bad practices
  • Fixed around 50 failed tests that were previously marked as skipped (still a few to go)
  • Made it so that all functions can be required individually via npm
  • Made it so that dependencies between functions are now handled via CommonJS require
  • Moved the website from Jekyll to Hexo, so that we lose a Ruby dependency and everything needed to work on the website can be npm installed
  • Refactored the utility class
  • Removed _workbench and _experimental folders. They are available for reference in 1.3.2, but making them harder to find for newcomers should help avoid complaints and confusion. If you want to experiment, we can use local files or branches when it's time to collaborate.

kvz and others added 28 commits April 28, 2016 12:20
…untObj.value` and `errorObj.value` instead
and change all functions accordingly
So we don't have to have any Ruby dependencies

Squashed commit of the following:

commit da192c6
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Mon May 2 15:51:21 2016 +0200

    Rename `_locutus_shared` to `_helpers`. Rename `_locutus_shared_bc` to `_bc`

commit 59b68d7
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Mon May 2 14:12:38 2016 +0200

    Fix tests

commit b5f87be
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Mon May 2 11:09:14 2016 +0200

    Bla

commit f7875a0
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Mon May 2 10:16:11 2016 +0200

    WIP

commit 5b029f8
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 23:23:08 2016 +0200

    Fix jumpy scrolling due to on the githubs

commit 148a5ab
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 23:05:36 2016 +0200

    Add package type

commit c7822cf
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 21:12:30 2016 +0200

    Port add more

commit 8eea314
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 20:35:51 2016 +0200

    Ported function layout

commit 2685b9c
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 19:25:30 2016 +0200

    Fix authors

commit 08557f4
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 16:16:32 2016 +0200

    WIP

commit d4b3ae0
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 12:20:35 2016 +0200

    update

commit e848be6
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 11:59:17 2016 +0200

    Better injection

commit 5a14b88
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 11:52:59 2016 +0200

    WIP

commit 77966c4
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 11:45:11 2016 +0200

    Source

commit 100ee7f
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 11:35:54 2016 +0200

    WIP

commit 000e0ae
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Sun May 1 10:21:27 2016 +0200

    Add icarus theme
@kvz kvz merged commit 18e21b2 into master May 2, 2016
@kvz kvz deleted the locutus branch May 2, 2016 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants