[debugger] Move ExprTokenType to a separate file.
The ExprToken needs to have more information associated with it to
support future extensions. As a first step, this moves the enum out of
the ExprToken class and into its own toplevel enum class.
Adds a helper function to ExprParser to convert a token to a parser
dispatch info record.
There should be no functionality change, this is mostly
There are some collateral chang-format updates.
[sdk][tool] Fix the visualization script.
Bug: DX-1052 #done
[owners] Add a src/developer/OWNERS file.
[sys] Apply StartupContext -> ComponentContext rename
These types are just aliases for each other.
[zircon][block] Initialize ServerManager::state_
Initialize ServerManager::state_ to None to ensure we don't
read uninitialized memory if server creation fails.
Bug: ZX-3758 #done
[debugger] Parse C-style casts.
Adds C-style cast support to the parser.
Since symbol lookup is not yet hooked up to the parser, this is not
currently usable. It will be hooked up in a follow-up.
This leaves some refactoring needs for the existing casting code: (a)
the existing reinterpret_cast support (which is special-cased as a
function call) should generate the new CastExprNode, and (b) the
existing "Coerce" function should be folded into the new general-purpose
casting function. These changes are noted in the code.
[media][tests][e2e] virtual audio device tests
The VirtualAudioDevice mechanism, introduced by previous CL, unlocks
our ability to validate a number of areas that were previously
testable only with much difficulty and many caveats. This CL adds a
significant number of new test cases to audio_device_tests. This test
binary now essentially covers fuchsia.media.AudioDeviceEnumerator in
its entirety. The CL is test-only and contains no product changes.
Test: build, CQ, overnight loops on various QEMU flavors (debug and
release) and NUC.
[e2e][sl4f client] Expose SSH utility
This is useful for invoking other shell commands in tests.
Test: client test using exposed functionality
client build with no changes
[auth] Store system time on each token access and clear cache on backward jumps
This CL (a) guards against the highly unlikely event of significant backwards
systime adjustments by clearing the entire cache, minimizing the risk of handing
out invalid tokens, and (b) logs any such events for debugging purposes.
[fvm] Update fvm-host/format/minfs.cpp to use safemath
Remove some recently-added crunchy code in preference to using
ulib/safemath. Primarily as an example of safemath usage.
ZX-3415 #comment [fvm] Update fvm-host/format/minfs.cpp to use safemath
[sdk] Add async-cpp to the SDK
[test spec] Compare against the target cpu, not the current
Currently, a host-side test cannot target an arm64 environment, as the
current_cpu in the host toolchain is always x64.
[zircon][scripts] Fix flashing scripts for cleo and mt8167s_ref
[chrealm] Use libsys instead of libcomponent
[scenic] Collect all waiting frames into a single instance
Make sure we only have a single async wait happening at a time in DefaultFrameScheduler.
This prevents the bug (SCN-1306) where a delayed frame can cause a second frame to
start rendering at the same time. It also makes it easier to reason about scheduling.
[zircon][gn] Don't include libraries in $zx/system/dev deps
The $zx/system/dev dependency graph should reach driver() targets
and not library() targets. A few things were included by accident
because they live under system/dev and not system/dev/lib.
[unistd] remove isatty hack
- fix ZX-972
[libsys] Port tests from various places
Porting tests from gfx and media.
[componentmgr] Use cm_rust native representation.
This change also makes related improvements:
- cm_rust adds a new type, CapabilityPath, for paths to make it easy to
- Tweak error classes so that cm_fidl_validator returns an error::Error
and cm_rust defines its own Error type
- cm_rust now represents `program` and `facets` as fidl (but keeps the
fidl_into converter). The reason being that componentmgr itself doesn't
consume `program`, it just needs to pass it along to the runner. It's
less clear at this point what should happen with `facets`, so I'm
making it a fidl for now to be consistent with `program`.
[zircon/docs] Add some minimal ktrace documentation
[ledger] Change SplitDataSource callback signature to allow moving references
Test: fx run-test ledger_tests -t ledger_unittests
[dev][platform-bus] Remove support for proxying custom protocols
Now that platform bus is proxying the Sysmem and Amlogic Canvas protocols,
this support is no longer needed.
This is another step toward integrating composite device support
into the platform bus.
TEST: astro boots into full UI.
[scudo] Enable standalone scudo.
Changes default for entire stack to scudo. Disables toolchain
[dev][platform-bus] Move proxying of Sysmem and Amlogic Canvas protocols to platform bus
First step in transitioning platform bus to use composite device support.
TEST: astro boots into full UI.
[ledger] Remove Status from Page. Part 1.
Add new API on page that do not return a status.
[voila] Revert "Add toggle to control sync in replicas."
This reverts commit c6025a932cdcab0cf144751c2be94ff8072d5342.
The original change is breaking the mac host build.
[ledger_story_model_storage_unittest] Use 2 ledger for concurrent modifications
It is not legal to start 2 transactions in parallel on the same ledger
page. To prevent this, update the test to use 2 connections to the
[scenic] Cleanup dev tools; allow short pkg-names
Convert these tools usage information to be more in-line with other
Test: Ran tiles, present_view, set_root_view;
[ledger] Deduplicate ExpiringToken definitions
[lib/inferior_control] Unbind eport before closing process handle
[bt] Remove stale comments
[scenic] Remove duplicate package entry
[recovery-netstack] Tell IP layer: unicast or broadcast frame?
- Introduce the new FrameDestination type, expressing whether a
frame was destined to a unicast link-layer address or a broadcast
- Pass this as a parameter to ip::receive_ip_packet
- This functionality is exercised in a later commit, where ICMP
needs the information in order to make decisions about whether to
send an ICMP response (in particular, the RFC 1122 restrictions)
[libsys] Add CreateWithRequest2 method
Adding this method so that we can soft transition topaz code to use
shared service directory.
[fidl] Ensure that visitors visit type ctors for errors
This was causing errors with types with more than one token to get
swallowed during formatting.
[sessionctl] Port tests to use libsys
[lib/inferior_control] Add logging message to QuitMessageLoop
... and simplify PostQuitMessageLoop.
Use PostQuitMessageLoop in test server so existing events get processed
while we're shutting down.
[component_manager] include in fuchsia.zbi
Bug: CF-651 #done
[netemul_runner] Port to use libsys
[benchmarking] Log command when |CHECK|ing command exit status
Log the attempted command again if we are about to fail a |CHECK| due to
a non-zero exit status. While it's technically possible to find this
information from the "Running ..." line above, there can be an arbitrary
amount of test logging in between that and the failure, making it
difficult to find when reading buildbot logs.
[brcmfmac] Fix auth consistency comparison
In brcmf_hook_auth_req, we verify that the bssid used matches the
one used in the join request. We were incorrectly using the profile
bssid, which hasn't been set yet. Instead, use the ifp bssid.
Test: Smoke tested on protected AP, verified that error message is
no longer produced.
[libsys] move environment_delegating_runner from libcomponent.
[KMS] Change algorithm from RSA_SHA256_4096 to SHA512.
This change is to fix a mistake that I made earlier when defining
supported algorithms, now the supported algorithms are consistent
[fuchsia-component] ServiceFs - send OnOpen event
Sending OnOpen event since appmgr expects it before mounting the out
This commit also specifies a list of supported flags, but only the
OPEN_FLAG_DESCRIBE flag is currently handled.
Test: verify that out directory shows up for a Rust component
[guest] Add nested virtualization instructions to the README
[rust_crates] Add crates harfbuzz, freetype, and their dependencies
Full list of new crates:
- core-foundation OSRB-160
- core-foundation-sys OSRB-160
- core-graphics OSRB-159
- core-text OSRB-162
- foreign-types OSRB-161
- foreign-types-shared OSRB-161
- freetype OSRB-148
- harfbuzz OSRB-150
- harfbuzz-sys OSRB-151
- Add tiny_mirrors replacements for cmake and pkg-config crates, which are
optional transitive dependencies of the harfbuzz and freetype crates, but which
we do not need or support in our build system.
- In //third_party/rust_crates/.cargo/config, add overrides to bypass building
the native harfbuzz and freetype libraries inside their wrapper crates, and
instead link to the versions of these libraries already built in our tree.
[rpc-server] add virtio to the list of tty drivers
[appmgr] Remove dependency on libcomponent testing
[rust-netstack] Records and Options serialization
- Serializing records and options in wire::util
[sdk][merger] Remove old name for input arguments.