import change from `dev' branch of rmottola/Arctic-Fox:

- goanna -> gecko (cac9263ee)
This commit is contained in:
2020-07-11 08:42:58 +08:00
parent c7f8abfdb0
commit 30dd322d5a
773 changed files with 2295 additions and 3890 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
lldb debugging functionality for Goanna
lldb debugging functionality for Gecko
======================================
This directory contains a module, lldbutils, which is imported by the
in-tree .lldbinit file. The lldbutil modules define some lldb commands
that are handy for debugging Goanna.
that are handy for debugging Gecko.
If you want to add a new command or Python-implemented type summary, either add
it to one of the existing broad area Python files (such as lldbutils/layout.py
@@ -4,7 +4,7 @@
'''
Script to produce an Android ARchive (.aar) containing the compiled
Goanna library binaries. The AAR file is intended for use by local
Gecko library binaries. The AAR file is intended for use by local
developers using Gradle.
'''
@@ -27,7 +27,7 @@ class CppEclipseBackend(CommonBackend):
CommonBackend._init(self)
self._paths_to_defines = {}
self._project_name = 'Goanna'
self._project_name = 'Gecko'
self._workspace_dir = self._get_workspace_path()
self._project_dir = os.path.join(self._workspace_dir, self._project_name)
self._overwriting_workspace = os.path.isdir(self._workspace_dir)
@@ -454,7 +454,7 @@ GECKO_LAUNCH_CONFIG_TEMPLATE = """<?xml version="1.0" encoding="UTF-8" standalon
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="@LAUNCH_ARGS@"/>
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="@LAUNCH_PROGRAM@"/>
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="Goanna"/>
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="Gecko"/>
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
<booleanAttribute key="org.eclipse.cdt.launch.use_terminal" value="true"/>
@@ -489,7 +489,7 @@ B2GFLASH_LAUNCH_CONFIG_TEMPLATE = """<?xml version="1.0" encoding="UTF-8" standa
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="@LAUNCH_PROGRAM@"/>
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="Goanna"/>
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="Gecko"/>
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
<stringAttribute key="org.eclipse.cdt.launch.WORKING_DIRECTORY" value="@OBJDIR@"/>
+5 -5
View File
@@ -453,7 +453,7 @@ class JarReader(object):
class JarWriter(object):
'''
Class with methods to write Jar files. Can write more-or-less standard jar
archives as well as jar archives optimized for Goanna. See the documentation
archives as well as jar archives optimized for Gecko. See the documentation
for the close() member function for a description of both layouts.
'''
def __init__(self, file=None, fileobj=None, compress=True, optimize=True):
@@ -462,7 +462,7 @@ class JarWriter(object):
object if one is given instead of opening the given file name.
The compress option determines the default behavior for storing data
in the jar archive. The optimize options determines whether the jar
archive should be optimized for Goanna or not.
archive should be optimized for Gecko or not.
'''
if fileobj:
self._data = fileobj
@@ -501,7 +501,7 @@ class JarWriter(object):
- End of central directory, pointing at first central directory
entry.
Jar archives optimized for Goanna are laid out like the following:
Jar archives optimized for Gecko are laid out like the following:
- 32-bits unsigned integer giving the amount of data to preload.
- Central directory entry pointing at Local file header 1
- Central directory entry pointing at Local file header 2
@@ -627,7 +627,7 @@ class JarWriter(object):
def preload(self, files):
'''
Set which members of the jar archive should be preloaded when opening
the archive in Goanna. This reorders the members according to the order
the archive in Gecko. This reorders the members according to the order
of given list.
'''
new_contents = OrderedDict()
@@ -751,7 +751,7 @@ class Deflater(object):
class JarLog(dict):
'''
Helper to read the file Goanna generates when setting MOZ_JAR_LOG_FILE.
Helper to read the file Gecko generates when setting MOZ_JAR_LOG_FILE.
The jar log is then available as a dict with the jar path as key (see
canonicalize for more details on the key value), and the corresponding
access log as a list value. Only the first access to a given member of