summaryrefslogtreecommitdiff
path: root/installed-tests/js/testLegacyByteArray.js
Commit message (Collapse)AuthorAgeFilesLines
* maint: Add copyright notices based on major file contributorsPhilip Chimento2020-11-301-0/+1
| | | | | | | | | | | | Based on looking at the git logs, add copyright notices to files which were missing them, assuming the copyright belongs to people who made major contributions to each file. Some assumptions were made as to who to assign the copyright to, such as, what copyright assignment did the contributor make in other files added in the same commit? What email address did they use to make the commit? What copyright assignment did they make in other commits using the same email address?
* maint: Add dual MIT/LGPL license to all GJS files that didn't have onePhilip Chimento2020-10-041-0/+2
| | | | | | This adds a SPDX-License-Identifier comment to all files that are part of GJS, part of its unit tests, or auxiliary tools. (Except for some files like the debugger scripts that don't support comments.)
* CI: Add space-before-function-paren to eslint rulesPhilip Chimento2019-08-131-21/+21
| | | | | | | | This is done quite inconsistently across the codebase, so we pick the most common style and enforce it. That is, no space before function parentheses, except in the case of anonymous functions and async arrow functions, where we add a space so as not to conflict with the rule of spaces around keywords.
* CI: Add curly to eslint rulesPhilip Chimento2019-08-131-6/+3
| | | | | | This allows omitting the braces on a one-line block (note one-statement is not necessarily one-line!) but enforces consistent brace style between if and else clauses which can be a source of bugs.
* byteArray: Add backwards-compatible ByteArray classPhilip Chimento2018-07-281-0/+113
This should make it easier to keep old code working. It adds a legacy ByteArray.ByteArray class that works just like the old ByteArray class but uses Uint8Array internally. It isn't zero-copy, so it will regress the performance of old code, but it should keep almost all code at least working. To recover the performance, clients can use Uint8Array instead. See: #5