Skip to content

Commit

Permalink
Merge branch 'main' into dfa-search
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkrodrigues committed Sep 11, 2024
2 parents db2e14f + a319661 commit a508bfb
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion components/core/src/clp/ffi/KeyValuePairLogEvent.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class KeyValuePairLogEvent {
* @param node_id_value_pairs
* @param utc_offset
* @return A result containing the key-value pair log event or an error code indicating the
* failure. See `valdiate_node_id_value_pairs` for the possible error codes.
* failure. See `validate_node_id_value_pairs` for the possible error codes.
*/
[[nodiscard]] static auto create(
std::shared_ptr<SchemaTree const> schema_tree,
Expand Down
4 changes: 3 additions & 1 deletion components/core/src/clp/ffi/SchemaTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ class SchemaTree {
* Inserts a new node corresponding to the given locator.
* @param locator
* @return The ID of the inserted node.
* @throw OperationFailed if a node that corresponds to the given locator already exists.
* @throw OperationFailed if:
* - a node that corresponds to the given locator already exists.
* - the parent node identified by the locator is not an object.
*/
[[maybe_unused]] auto insert_node(NodeLocator const& locator) -> SchemaTreeNode::id_t;

Expand Down
9 changes: 5 additions & 4 deletions components/core/src/clp/ffi/ir_stream/Deserializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@ class Deserializer {
* @param reader
* @return A result containing the deserialized log event or an error code indicating the
* failure:
* - std::errc::result_out_of_range if the IR stream is truncated
* - std::errc::protocol_error if the IR stream is corrupted
* - std::errc::no_message_available if the IR stream has been fully consumed.
* - std::errc::result_out_of_range if the IR stream is truncated.
* - std::errc::protocol_error if the IR stream is corrupted.
* - std::errc::protocol_not_supported if the IR stream contains an unsupported metadata format
* or uses an unsupported version
* or uses an unsupported version.
* - Same as `KeyValuePairLogEvent::create` if the intermediate deserialized result cannot
* construct a valid key-value pair log event
* construct a valid key-value pair log event.
*/
[[nodiscard]] auto deserialize_to_next_log_event(ReaderInterface& reader
) -> OUTCOME_V2_NAMESPACE::std_result<KeyValuePairLogEvent>;
Expand Down
2 changes: 1 addition & 1 deletion components/log-viewer-webui/yscope-log-viewer
Submodule yscope-log-viewer updated 38 files
+44 −0 .github/workflows/lint.yaml
+6 −0 new-log-viewer/docs/dev-guide/state-and-stateRef.md
+27 −0 new-log-viewer/package-lock.json
+7 −0 new-log-viewer/package.json
+3 −0 new-log-viewer/public/index.html
+2 −0 new-log-viewer/public/test/.gitignore
+6 −3 new-log-viewer/src/App.tsx
+31 −0 new-log-viewer/src/components/DropFileContainer/index.css
+96 −0 new-log-viewer/src/components/DropFileContainer/index.tsx
+178 −0 new-log-viewer/src/components/Editor/MonacoInstance/actions.ts
+4 −0 new-log-viewer/src/components/Editor/MonacoInstance/index.css
+131 −0 new-log-viewer/src/components/Editor/MonacoInstance/index.tsx
+66 −0 new-log-viewer/src/components/Editor/MonacoInstance/typings.ts
+71 −0 new-log-viewer/src/components/Editor/MonacoInstance/utils.ts
+159 −0 new-log-viewer/src/components/Editor/index.tsx
+255 −22 new-log-viewer/src/components/Layout.tsx
+184 −61 new-log-viewer/src/contexts/StateContextProvider.tsx
+272 −0 new-log-viewer/src/contexts/UrlContextProvider.tsx
+18 −8 new-log-viewer/src/index.css
+67 −51 new-log-viewer/src/services/LogFileManager.ts
+15 −3 new-log-viewer/src/services/MainWorker.ts
+51 −0 new-log-viewer/src/services/decoders/ClpIrDecoder.ts
+4 −2 new-log-viewer/src/services/decoders/JsonlDecoder.ts
+7 −1 new-log-viewer/src/services/formatters/LogbackFormatter.ts
+10 −0 new-log-viewer/src/typings/common.ts
+47 −0 new-log-viewer/src/typings/config.ts
+12 −3 new-log-viewer/src/typings/decoders.ts
+3 −0 new-log-viewer/src/typings/file.ts
+43 −0 new-log-viewer/src/typings/url.ts
+14 −8 new-log-viewer/src/typings/worker.ts
+69 −0 new-log-viewer/src/utils/actions.ts
+160 −0 new-log-viewer/src/utils/config.ts
+44 −0 new-log-viewer/src/utils/data.ts
+25 −0 new-log-viewer/src/utils/file.ts
+55 −0 new-log-viewer/src/utils/math.ts
+25 −1 new-log-viewer/src/utils/url.ts
+72 −0 new-log-viewer/webpack.common.js
+69 −89 package-lock.json
4 changes: 2 additions & 2 deletions deps-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ tasks:
vars:
DEST: "{{.DEST}}"
FLAGS: "--extract"
SRC_NAME: "yscope-log-viewer-df996eac000823d02f9cd0b9eb4bb732dd634ae5"
SRC_URL: "https://github.com/y-scope/yscope-log-viewer/archive/df996ea.zip"
SRC_NAME: "yscope-log-viewer-c939f7b55b55b42f65226470d5277b15ac484665"
SRC_URL: "https://github.com/y-scope/yscope-log-viewer/archive/c939f7b.zip"
# This command must be last
- task: ":utils:compute-checksum"
vars:
Expand Down
3 changes: 2 additions & 1 deletion docs/src/dev-guide/building-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ prebuilt version instead, check out the [releases](https://github.com/y-scope/cl
* It should be possible to build a package for a different environment, it just requires a some
extra configuration.
* Python 3.8 or newer
* python3-dev
* python3-venv
* [Task](https://taskfile.dev/)

Expand All @@ -25,7 +26,7 @@ tools/scripts/deps-download/init.sh
Install CLP core's dependencies

```shell
components/core/tools/ubuntu-focal/install-all.sh
components/core/tools/scripts/lib_install/ubuntu-focal/install-all.sh
```

## Build
Expand Down

0 comments on commit a508bfb

Please sign in to comment.