summaryrefslogtreecommitdiff
path: root/js.gresource.xml
Commit message (Collapse)AuthorAgeFilesLines
* modules: Enable top-level await for modulesEvan Welsh2022-02-061-1/+0
|
* Implement WHATWG Timers APIEvan Welsh2022-01-141-1/+3
|
* modules: Implement WHATWG console specificationEvan Welsh2021-08-161-0/+1
|
* modules: Implement fatal TextEncoder and TextDecoder APIsEvan Welsh2021-08-111-0/+4
|
* modules: Add bootstrap file with ESM supportEvan Welsh2021-07-121-0/+2
|
* esm: Add additional builtin ES modulesEvan Welsh2021-02-061-0/+4
| | | | | | | | | | | Adds 'cairo', 'gettext', and 'system' modules, to match the builtin legacy modules that GJS already had. 'gettext' and 'system' have named exports because it's expected that the functions might be used individually that way. That doesn't make as much sense for Cairo which is to be understood more as if it were a GI module. (changes from Philip folded in: Jasmine tests)
* esm: Enable static module imports.Evan Welsh2021-02-061-0/+6
| | | | | | (Changes from Philip folded in: tests, moving file operations into internal.cpp, store module loader in global, some renames, some added comments)
* 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.)
* GObject: Allow omitting setters and gettersPhilip Chimento2020-04-191-0/+1
| | | | | | | | | | | | | | | | | | | In the case where you don't need anything special from your GObject property getters and setters, just correct handling of notify signals and default values, it's now possible to leave out the getters and setters, and GJS will just do the right thing. This is convenient for JS code authors as well as avoiding problems caused by missing getters and setters. This only works for read-write properties. If a read-only or write-only property is missing its accessor, then one is generated which throws. If the property name consists of multiple words, then accessors will be generated for all three variants: kebab-case, snake_case, and camelCase. Additionally, if you do provide accessors for one of these, then they will be copied to the other two variants. See: #306
* modules: Reorganize modules to support multiple globals.Evan Welsh2020-02-021-0/+36
- 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++.