| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
(Changes from Philip folded in: tests, moving file operations into
internal.cpp, store module loader in global, some renames, some added
comments)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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?
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
- 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++.
|