summaryrefslogtreecommitdiff
path: root/modules/script/byteArray.js
Commit message (Collapse)AuthorAgeFilesLines
* ByteArray: Implement ByteArray.toGBytes() in JSEvan Welsh2021-08-071-1/+14
| | | | | | | | At least from what I can tell ByteArray.toGBytes() doesn't support ByteArray.ByteArray instances and at some point the GLib.Bytes constructor started working to copy data just fine. So now toGBytes() is just a wrapper around GLib.Bytes and I removed _makeBytes().
* ByteArray: Clarify eslint overrideEvan Welsh2021-07-011-1/+3
| | | | | This exists because we export a property named 'toString' from this module.
* ByteArray: Add jsdoc to ByteArray.fromArray()Evan Welsh2021-07-011-2/+7
|
* 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/+1
| | | | | | 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.)
* modules: Reorganize modules to support multiple globals.Evan Welsh2020-02-021-0/+63
- Rename and move modules.gresource.xml -> js.gresource.xml This reflects that new environments may require JS resources outside of modules/ - Move the "core" cairo, format, gettext, and signals logic to modules/core/ to allow reuse across environments. - Move the "legacy" (script-based) modules to modules/script/ - Move the script-based bootstrap files to modules/script/ - Move overrides to modules/core/ as they will be reused across environments - Update meson resource compilation. - Update js.gresource.xml for new module paths. - Update resource path references in C++.