mxrb 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.de-DE.md +4 -1
- data/README.md +11 -3
- data/README.pt-BR.md +5 -2
- data/bin/mxrb +509 -358
- data/docker/java-actions/Dockerfile +44 -0
- data/docker/java-actions/src/com/mendix/core/Core.java +491 -0
- data/docker/java-actions/src/com/mendix/core/CoreException.java +11 -0
- data/docker/java-actions/src/com/mendix/core/CoreRuntimeException.java +10 -0
- data/docker/java-actions/src/com/mendix/core/actionmanagement/MicroflowCallBuilder.java +19 -0
- data/docker/java-actions/src/com/mendix/core/conf/Configuration.java +60 -0
- data/docker/java-actions/src/com/mendix/core/conf/RuntimeVersion.java +38 -0
- data/docker/java-actions/src/com/mendix/core/internal/ICore.java +5 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixAutoNumber.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixBinary.java +48 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixBoolean.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixDateTime.java +15 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixDecimal.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixEnum.java +18 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixHashString.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixInteger.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixLong.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixObjectMember.java +73 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixObjectReference.java +20 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixObjectReferenceSet.java +22 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixString.java +10 -0
- data/docker/java-actions/src/com/mendix/datastorage/DataStorage.java +5 -0
- data/docker/java-actions/src/com/mendix/datastorage/XPathBasicQuery.java +29 -0
- data/docker/java-actions/src/com/mendix/datastorage/XPathQuery.java +41 -0
- data/docker/java-actions/src/com/mendix/externalinterface/connector/RequestHandler.java +38 -0
- data/docker/java-actions/src/com/mendix/http/Http.java +5 -0
- data/docker/java-actions/src/com/mendix/integration/Integration.java +5 -0
- data/docker/java-actions/src/com/mendix/integration/WebserviceException.java +24 -0
- data/docker/java-actions/src/com/mendix/logging/ILogNode.java +35 -0
- data/docker/java-actions/src/com/mendix/logging/LogLevel.java +4 -0
- data/docker/java-actions/src/com/mendix/logging/LogMessage.java +18 -0
- data/docker/java-actions/src/com/mendix/logging/LogSubscriber.java +22 -0
- data/docker/java-actions/src/com/mendix/m2ee/api/IMxRuntimeRequest.java +20 -0
- data/docker/java-actions/src/com/mendix/m2ee/api/IMxRuntimeResponse.java +50 -0
- data/docker/java-actions/src/com/mendix/metrics/Counter.java +7 -0
- data/docker/java-actions/src/com/mendix/metrics/Gauge.java +7 -0
- data/docker/java-actions/src/com/mendix/metrics/Metric.java +17 -0
- data/docker/java-actions/src/com/mendix/metrics/Metrics.java +75 -0
- data/docker/java-actions/src/com/mendix/metrics/Timer.java +10 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/MendixException.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/MendixRuntimeException.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/data/IDataColumnSchema.java +7 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/data/IDataRow.java +14 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/data/IDataTable.java +11 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/data/IDataTableSchema.java +13 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/IParameterMap.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/IRetrievalSchema.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/ISortExpression.java +7 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/types/IGetRequest.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/types/IOQLTextGetRequest.java +5 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/types/ITextGetRequest.java +12 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IContext.java +28 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IDataType.java +20 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IEntityProxy.java +27 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IFeedback.java +10 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/ILanguage.java +11 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IMendixIdentifier.java +8 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IMendixObject.java +65 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IMendixObjectMember.java +20 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/ISession.java +16 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IUser.java +11 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/UserAction.java +25 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaAssociation.java +15 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaEnumValue.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaEnumeration.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaObject.java +39 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaObjectMember.java +6 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaPrimitive.java +19 -0
- data/docker/java-actions/src/com/mendix/thirdparty/org/json/JSONArray.java +249 -0
- data/docker/java-actions/src/com/mendix/thirdparty/org/json/JSONException.java +14 -0
- data/docker/java-actions/src/com/mendix/thirdparty/org/json/JSONObject.java +279 -0
- data/docker/java-actions/src/com/mendix/thirdparty/org/json/JSONValues.java +273 -0
- data/docker/java-actions/src/com/mendix/utils/ListUtils.java +27 -0
- data/docker/java-actions/src/com/mendix/webui/CustomJavaAction.java +11 -0
- data/docker/java-actions/src/com/mendix/webui/FeedbackHelper.java +30 -0
- data/docker/java-actions/src/javax/servlet/http/Cookie.java +69 -0
- data/docker/java-actions/src/javax/servlet/http/HttpServletRequest.java +21 -0
- data/docker/java-actions/src/javax/servlet/http/HttpServletResponse.java +27 -0
- data/docker/java-actions/src/mxrb/sidecar/Aggregate.java +70 -0
- data/docker/java-actions/src/mxrb/sidecar/Background.java +84 -0
- data/docker/java-actions/src/mxrb/sidecar/Bridge.java +306 -0
- data/docker/java-actions/src/mxrb/sidecar/Build.java +131 -0
- data/docker/java-actions/src/mxrb/sidecar/Captions.java +52 -0
- data/docker/java-actions/src/mxrb/sidecar/Handlers.java +27 -0
- data/docker/java-actions/src/mxrb/sidecar/Invoker.java +110 -0
- data/docker/java-actions/src/mxrb/sidecar/Json.java +234 -0
- data/docker/java-actions/src/mxrb/sidecar/Metadata.java +119 -0
- data/docker/java-actions/src/mxrb/sidecar/MxContext.java +100 -0
- data/docker/java-actions/src/mxrb/sidecar/MxDataTable.java +172 -0
- data/docker/java-actions/src/mxrb/sidecar/MxDataType.java +100 -0
- data/docker/java-actions/src/mxrb/sidecar/MxIdentifier.java +47 -0
- data/docker/java-actions/src/mxrb/sidecar/MxLogNode.java +50 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMetaAssociation.java +62 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMetaEnumeration.java +64 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMetaObject.java +234 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMetaPrimitive.java +88 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMicroflowCall.java +36 -0
- data/docker/java-actions/src/mxrb/sidecar/MxObject.java +258 -0
- data/docker/java-actions/src/mxrb/sidecar/MxOqlRequest.java +101 -0
- data/docker/java-actions/src/mxrb/sidecar/MxRuntimeRequest.java +182 -0
- data/docker/java-actions/src/mxrb/sidecar/MxRuntimeResponse.java +122 -0
- data/docker/java-actions/src/mxrb/sidecar/MxSession.java +91 -0
- data/docker/java-actions/src/mxrb/sidecar/MxXPathQuery.java +127 -0
- data/docker/java-actions/src/mxrb/sidecar/RubyException.java +17 -0
- data/docker/java-actions/src/mxrb/sidecar/Server.java +56 -0
- data/docs/agent-relay/20260901-083127.md +15 -0
- data/docs/agent-relay/20260901-091655.md +16 -0
- data/docs/agent-relay/20260901-094201.md +16 -0
- data/docs/agent-relay/20260901-140415.md +28 -0
- data/docs/de-DE/README.md +2 -0
- data/docs/de-DE/architectural-standard.md +19 -0
- data/docs/de-DE/certificacao-ruby-typescript.md +40 -0
- data/docs/de-DE/cobertura-ruby-nativa.md +265 -0
- data/docs/de-DE/compiler.md +22 -7
- data/docs/de-DE/demanda-projeto-ruby-typescript-convencional.md +37 -0
- data/docs/de-DE/design-system.md +59 -2
- data/docs/de-DE/entity-dsl.md +12 -0
- data/docs/de-DE/method-oriented-flows.md +66 -0
- data/docs/de-DE/portabilidade-ruby-typescript.md +1050 -0
- data/docs/de-DE/project-structure.md +34 -10
- data/docs/de-DE/ruby-first-roadmap.md +286 -0
- data/docs/de-DE/runtime-ruby.md +329 -6
- data/docs/de-DE/scaffolds.md +8 -4
- data/docs/de-DE/studio-backend.md +352 -0
- data/docs/de-DE/validation-matrix.md +235 -19
- data/docs/de-DE/vetclinic-acceptance.md +4 -3
- data/docs/de-DE/windows-studio-pro.md +88 -0
- data/docs/de-DE/writing.md +3 -1
- data/docs/en-US/README.md +2 -0
- data/docs/en-US/architectural-patterns.md +2 -3
- data/docs/en-US/architectural-standard.md +21 -1
- data/docs/en-US/certificacao-ruby-typescript.md +40 -0
- data/docs/en-US/cobertura-ruby-nativa.md +381 -0
- data/docs/en-US/compiler.md +33 -6
- data/docs/en-US/conventions.md +1 -2
- data/docs/en-US/demanda-projeto-ruby-typescript-convencional.md +36 -0
- data/docs/en-US/design-system.md +55 -1
- data/docs/en-US/entity-dsl.md +12 -0
- data/docs/en-US/method-oriented-flows.md +62 -0
- data/docs/en-US/portabilidade-ruby-typescript.md +1050 -0
- data/docs/en-US/project-structure.md +31 -8
- data/docs/en-US/ruby-first-roadmap.md +271 -2
- data/docs/en-US/runtime-ruby.md +313 -7
- data/docs/en-US/scaffolds.md +7 -4
- data/docs/en-US/studio-backend.md +342 -0
- data/docs/en-US/validation-matrix.md +173 -48
- data/docs/en-US/vetclinic-acceptance.md +4 -2
- data/docs/en-US/windows-studio-pro.md +84 -0
- data/docs/en-US/writing.md +8 -3
- data/docs/guides/benchmark-budget.pt-BR.md +99 -0
- data/docs/guides/certificacao-edicoes.pt-BR.md +116 -0
- data/docs/guides/teste-manual-vetclinic-ruby.pt-BR.md +480 -0
- data/docs/planning/backlog.pt-BR.md +101 -0
- data/docs/planning/ruby-editability.pt-BR.md +277 -0
- data/docs/pt-BR/README.md +4 -0
- data/docs/pt-BR/architectural-standard.md +21 -1
- data/docs/pt-BR/certificacao-ruby-typescript.md +116 -0
- data/docs/pt-BR/cobertura-ruby-nativa.md +408 -0
- data/docs/pt-BR/compiler.md +38 -7
- data/docs/pt-BR/demanda-projeto-ruby-typescript-convencional.md +41 -0
- data/docs/pt-BR/design-system.md +58 -2
- data/docs/pt-BR/entity-dsl.md +12 -0
- data/docs/pt-BR/method-oriented-flows.md +158 -0
- data/docs/pt-BR/oql-sql.md +11 -1
- data/docs/pt-BR/portabilidade-ruby-typescript.md +1311 -0
- data/docs/pt-BR/project-structure.md +46 -8
- data/docs/pt-BR/ruby-first-roadmap.md +390 -2
- data/docs/pt-BR/runtime-ruby.md +321 -11
- data/docs/pt-BR/scaffolds.md +17 -4
- data/docs/pt-BR/studio-backend.md +363 -0
- data/docs/pt-BR/validation-matrix.md +211 -21
- data/docs/pt-BR/vetclinic-acceptance.md +4 -5
- data/docs/pt-BR/windows-studio-pro.md +85 -0
- data/docs/pt-BR/writing.md +4 -0
- data/docs/reviews/ruby-code-review-2026-09-05.pt-BR.md +385 -0
- data/examples/modbus_application.rb +105 -0
- data/examples/modbus_tcp_simulator.rb +137 -0
- data/examples/sudoku_evaluation.rb +5 -5
- data/examples/sudoku_functional_test.rb +12 -12
- data/lib/mxrb/architecture/graph.rb +2 -2
- data/lib/mxrb/architecture/validator.rb +5 -3
- data/lib/mxrb/benchmark_fixture.rb +19 -0
- data/lib/mxrb/caption.rb +107 -0
- data/lib/mxrb/cli/help.rb +47 -8
- data/lib/mxrb/compare.rb +236 -74
- data/lib/mxrb/compiler/activity_caption.rb +168 -0
- data/lib/mxrb/compiler/artifact_document_compiler.rb +2 -1
- data/lib/mxrb/compiler/attribute_type_index.rb +57 -0
- data/lib/mxrb/compiler/client_model_materializer.rb +3 -4
- data/lib/mxrb/compiler/code_action_document_compiler.rb +4 -1
- data/lib/mxrb/compiler/compatibility_analyzer.rb +53 -0
- data/lib/mxrb/compiler/constants_materializer.rb +7 -1
- data/lib/mxrb/compiler/data_grid_bundle_compiler.rb +14 -12
- data/lib/mxrb/compiler/database_connector_action_compiler.rb +2 -2
- data/lib/mxrb/compiler/deployment_materializer.rb +3 -2
- data/lib/mxrb/compiler/deployment_metadata.rb +7 -1
- data/lib/mxrb/compiler/domain_document_compiler.rb +26 -2
- data/lib/mxrb/compiler/domain_model_materializer.rb +30 -6
- data/lib/mxrb/compiler/domain_security_compiler.rb +9 -12
- data/lib/mxrb/compiler/java_proxy_generator.rb +34 -2
- data/lib/mxrb/compiler/languages.rb +30 -0
- data/lib/mxrb/compiler/legacy_data_grid_compiler.rb +19 -3
- data/lib/mxrb/compiler/legacy_page_builder.rb +96 -20
- data/lib/mxrb/compiler/mapping_materializer.rb +94 -0
- data/lib/mxrb/compiler/microflow_document_compiler.rb +5 -19
- data/lib/mxrb/compiler/microflow_materializer.rb +12 -1
- data/lib/mxrb/compiler/microflow_node_compiler.rb +257 -20
- data/lib/mxrb/compiler/model_values.rb +26 -0
- data/lib/mxrb/compiler/navigation_document_compiler.rb +73 -66
- data/lib/mxrb/compiler/navigation_grid_compiler.rb +112 -0
- data/lib/mxrb/compiler/page_bundle_builder.rb +17 -1
- data/lib/mxrb/compiler/page_bundle_compiler.rb +783 -147
- data/lib/mxrb/compiler/page_document_compiler.rb +17 -23
- data/lib/mxrb/compiler/published_rest_materializer.rb +117 -0
- data/lib/mxrb/compiler/published_rest_open_api.rb +131 -0
- data/lib/mxrb/compiler/runtime_nodes.rb +68 -0
- data/lib/mxrb/compiler/schemas/forms-11.12.1.json +19781 -0
- data/lib/mxrb/compiler/schemas/languages-10.24.0.73019.json +658 -0
- data/lib/mxrb/compiler/schemas/languages-11.12.1.json +670 -0
- data/lib/mxrb/compiler/schemas/runtime-10.24.0.73019.json +442 -0
- data/lib/mxrb/compiler/schemas/runtime-11.json +176 -0
- data/lib/mxrb/compiler/security_materializer.rb +13 -6
- data/lib/mxrb/compiler/settings_document_compiler.rb +14 -2
- data/lib/mxrb/compiler/settings_materializer.rb +2 -1
- data/lib/mxrb/compiler/source_model.rb +8 -10
- data/lib/mxrb/compiler/synchronized_entities.rb +76 -0
- data/lib/mxrb/compiler/url_segment_compiler.rb +82 -0
- data/lib/mxrb/compiler/user_role_resolver.rb +33 -0
- data/lib/mxrb/compiler/web_list_data_source.rb +6 -2
- data/lib/mxrb/compiler/web_shell_materializer.rb +14 -0
- data/lib/mxrb/compiler/web_widget_inventory.rb +72 -0
- data/lib/mxrb/converter.rb +125 -0
- data/lib/mxrb/dsl/artifact_documents.rb +56 -0
- data/lib/mxrb/dsl/asset_documents.rb +94 -0
- data/lib/mxrb/dsl/builder.rb +102 -1630
- data/lib/mxrb/dsl/code_actions.rb +201 -0
- data/lib/mxrb/dsl/data_view_builder.rb +162 -0
- data/lib/mxrb/dsl/document_builders.rb +185 -0
- data/lib/mxrb/dsl/entity_builder.rb +188 -0
- data/lib/mxrb/dsl/flow_body_dsl.rb +538 -0
- data/lib/mxrb/dsl/flow_builders.rb +362 -0
- data/lib/mxrb/dsl/flow_page_builder.rb +58 -0
- data/lib/mxrb/dsl/flow_program.rb +101 -0
- data/lib/mxrb/dsl/flow_rest_builder.rb +40 -0
- data/lib/mxrb/dsl/flow_text_builder.rb +55 -0
- data/lib/mxrb/dsl/integration_documents.rb +1634 -0
- data/lib/mxrb/dsl/layout_builders.rb +373 -0
- data/lib/mxrb/dsl/module_builder.rb +408 -0
- data/lib/mxrb/dsl/navigation_builders.rb +264 -0
- data/lib/mxrb/dsl/page_builder.rb +219 -0
- data/lib/mxrb/dsl/presentation_documents.rb +161 -0
- data/lib/mxrb/dsl/project_documents.rb +60 -0
- data/lib/mxrb/dsl/security_builder.rb +215 -0
- data/lib/mxrb/dsl/widget_builders.rb +251 -0
- data/lib/mxrb/dsl/widget_design.rb +61 -0
- data/lib/mxrb/dsl/widget_dsl.rb +553 -0
- data/lib/mxrb/dsl/widget_event_arguments.rb +52 -0
- data/lib/mxrb/dsl/workflows.rb +520 -0
- data/lib/mxrb/errors.rb +3 -0
- data/lib/mxrb/evaluation.rb +9 -8
- data/lib/mxrb/exporter/code_action_declarations.rb +133 -0
- data/lib/mxrb/exporter/data_sources.rb +144 -0
- data/lib/mxrb/exporter/domain_document_declarations.rb +222 -0
- data/lib/mxrb/exporter/flow_action_sources.rb +545 -0
- data/lib/mxrb/exporter/flow_linearization.rb +649 -0
- data/lib/mxrb/exporter/integration_declarations.rb +763 -0
- data/lib/mxrb/exporter/method_flow_source.rb +208 -0
- data/lib/mxrb/exporter/model_sources.rb +381 -0
- data/lib/mxrb/exporter/page_sources.rb +756 -0
- data/lib/mxrb/exporter/presentation_declarations.rb +161 -0
- data/lib/mxrb/exporter/project_sources.rb +306 -0
- data/lib/mxrb/exporter/rest_declarations.rb +509 -0
- data/lib/mxrb/exporter/workflow_declarations.rb +652 -0
- data/lib/mxrb/exporter.rb +677 -1491
- data/lib/mxrb/forms/catalog.rb +175 -0
- data/lib/mxrb/forms/certification.rb +115 -0
- data/lib/mxrb/forms/coverage.rb +130 -0
- data/lib/mxrb/forms/input_presentation.rb +55 -0
- data/lib/mxrb/forms/mpr_codec.rb +821 -0
- data/lib/mxrb/forms/node.rb +213 -0
- data/lib/mxrb/forms/source_emitter.rb +296 -0
- data/lib/mxrb/forms/storage_naming.rb +120 -0
- data/lib/mxrb/forms/values.rb +226 -0
- data/lib/mxrb/frontend/migrator.rb +2 -0
- data/lib/mxrb/functional.rb +47 -43
- data/lib/mxrb/github/annotator.rb +31 -27
- data/lib/mxrb/http/server.rb +10 -2
- data/lib/mxrb/integrity/validator.rb +70 -22
- data/lib/mxrb/io/bson_codec.rb +61 -35
- data/lib/mxrb/io/mpr_file.rb +638 -105
- data/lib/mxrb/io/mxunit_codec.rb +3 -3
- data/lib/mxrb/marketplace.rb +77 -73
- data/lib/mxrb/modbus/client.rb +162 -0
- data/lib/mxrb/modbus/rtu_transport.rb +150 -0
- data/lib/mxrb/modbus/stream_io.rb +43 -0
- data/lib/mxrb/modbus/tcp_transport.rb +47 -0
- data/lib/mxrb/modbus.rb +32 -0
- data/lib/mxrb/model/association.rb +28 -28
- data/lib/mxrb/model/attribute.rb +51 -35
- data/lib/mxrb/model/domain_model.rb +33 -16
- data/lib/mxrb/model/entity.rb +80 -70
- data/lib/mxrb/model/menu.rb +54 -13
- data/lib/mxrb/model/microflow.rb +48 -46
- data/lib/mxrb/model/module.rb +85 -42
- data/lib/mxrb/model/navigation.rb +232 -9
- data/lib/mxrb/model/page.rb +1137 -247
- data/lib/mxrb/model/project.rb +61 -15
- data/lib/mxrb/model/unit.rb +10 -9
- data/lib/mxrb/native_fragment_store.rb +184 -0
- data/lib/mxrb/official_marketplace/content_api.rb +13 -1
- data/lib/mxrb/official_marketplace/dependency_resolver.rb +6 -1
- data/lib/mxrb/official_marketplace/widget_package_installer.rb +2 -1
- data/lib/mxrb/oql/server.rb +8 -8
- data/lib/mxrb/pluggable/catalog.rb +179 -0
- data/lib/mxrb/pluggable/mpr_codec.rb +765 -0
- data/lib/mxrb/pluggable/node.rb +347 -0
- data/lib/mxrb/pluggable/schema_dsl.rb +179 -0
- data/lib/mxrb/pluggable/schema_source_emitter.rb +134 -0
- data/lib/mxrb/project_lifecycle.rb +5 -2
- data/lib/mxrb/protocols/entry.rb +29 -0
- data/lib/mxrb/protocols/registry.rb +59 -0
- data/lib/mxrb/protocols.rb +84 -70
- data/lib/mxrb/public_source_audit.rb +201 -0
- data/lib/mxrb/ruby_app/access_rule_builder.rb +27 -0
- data/lib/mxrb/ruby_app/application/offline_synchronization.rb +138 -0
- data/lib/mxrb/ruby_app/application/record_access.rb +402 -0
- data/lib/mxrb/ruby_app/application/request_handlers.rb +45 -0
- data/lib/mxrb/ruby_app/application/schema_security.rb +193 -0
- data/lib/mxrb/ruby_app/application/service_invocation.rb +261 -0
- data/lib/mxrb/ruby_app/application/session_access.rb +97 -0
- data/lib/mxrb/ruby_app/application/value_serialization.rb +148 -0
- data/lib/mxrb/ruby_app/application.rb +201 -0
- data/lib/mxrb/ruby_app/async_invocations.rb +97 -0
- data/lib/mxrb/ruby_app/compilation.rb +64 -0
- data/lib/mxrb/ruby_app/constant.rb +99 -0
- data/lib/mxrb/ruby_app/controller.rb +112 -0
- data/lib/mxrb/ruby_app/dataset.rb +87 -0
- data/lib/mxrb/ruby_app/design_classes.rb +177 -0
- data/lib/mxrb/ruby_app/design_declarations.rb +193 -0
- data/lib/mxrb/ruby_app/domain_rule_builders.rb +123 -0
- data/lib/mxrb/ruby_app/enumeration.rb +91 -0
- data/lib/mxrb/ruby_app/exporter/data_widget_sources.rb +614 -0
- data/lib/mxrb/ruby_app/exporter/document_exports.rb +216 -0
- data/lib/mxrb/ruby_app/exporter/domain_behaviors.rb +67 -0
- data/lib/mxrb/ruby_app/exporter/domain_manifests.rb +283 -0
- data/lib/mxrb/ruby_app/exporter/frontend_pages.rb +161 -0
- data/lib/mxrb/ruby_app/exporter/frontend_types.rb +500 -0
- data/lib/mxrb/ruby_app/exporter/model_sources.rb +376 -0
- data/lib/mxrb/ruby_app/exporter/module_exports.rb +211 -0
- data/lib/mxrb/ruby_app/exporter/nanoflow_typescript.rb +590 -0
- data/lib/mxrb/ruby_app/exporter/project_files.rb +398 -0
- data/lib/mxrb/ruby_app/exporter/support_files.rb +357 -0
- data/lib/mxrb/ruby_app/exporter/widget_manifests.rb +134 -0
- data/lib/mxrb/ruby_app/exporter/widget_sources.rb +510 -0
- data/lib/mxrb/ruby_app/exporter.rb +398 -2320
- data/lib/mxrb/ruby_app/file_content.rb +133 -0
- data/lib/mxrb/ruby_app/flow_metadata.rb +72 -0
- data/lib/mxrb/ruby_app/frontend_package.rb +54 -0
- data/lib/mxrb/ruby_app/frontend_template/package-lock.json +4790 -0
- data/lib/mxrb/ruby_app/frontend_template/src/app/App.tsx +5 -0
- data/lib/mxrb/ruby_app/frontend_template/src/app/router.tsx +18 -0
- data/lib/mxrb/ruby_app/frontend_template/src/components/auth/LoginForm.test.tsx +18 -0
- data/lib/mxrb/ruby_app/frontend_template/src/components/auth/LoginForm.tsx +80 -0
- data/lib/mxrb/ruby_app/frontend_template/src/components/feedback/AppFeedback.tsx +31 -0
- data/lib/mxrb/ruby_app/frontend_template/src/components/navigation/AppNavigation.tsx +45 -0
- data/lib/mxrb/ruby_app/frontend_template/src/core/errors.ts +3 -0
- data/lib/mxrb/ruby_app/frontend_template/src/features/README.md +4 -0
- data/lib/mxrb/ruby_app/frontend_template/src/features/routes.tsx +9 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/ApplicationRuntime.test.tsx +174 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/ApplicationRuntime.tsx +959 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/AsyncInvocation.test.ts +61 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/AsyncInvocation.ts +47 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/ClientActions.test.tsx +234 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/ClientEvents.test.tsx +174 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/CreateActions.test.tsx +114 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/OfflineStartup.test.tsx +154 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageDataSource.ts +26 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageEdits.test.ts +85 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageEdits.ts +132 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageVariables.test.tsx +107 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageVariables.tsx +272 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PopupRuntime.test.tsx +226 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/StartupAuthentication.test.tsx +101 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/api.ts +35 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/calendar.test.ts +93 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/calendar.ts +134 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/captions.test.tsx +201 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/captions.ts +235 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/clientFunctions.test.ts +195 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/clientFunctions.ts +182 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/clientServices.ts +24 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/commonsStorage.test.ts +77 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/commonsStorage.ts +44 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/BoundField.test.tsx +339 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/BoundField.tsx +442 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/CoreWidgets.test.tsx +306 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/DataGrid.test.tsx +417 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/DataGrid.tsx +944 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/FieldPolicy.test.ts +96 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/FieldPolicy.tsx +106 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/FileWidget.tsx +152 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/GridIcon.tsx +92 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/LanguageSelector.test.tsx +109 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/LanguageSelector.tsx +130 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceChart.test.tsx +580 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceChart.tsx +576 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceControls.test.tsx +192 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceControls.tsx +193 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceDataWidgets.test.tsx +194 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceGridFilter.test.tsx +213 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceGridFilter.tsx +95 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceInteractive.test.tsx +202 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceInteractive.tsx +246 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceLegacy.test.tsx +171 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceLegacy.tsx +189 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceMenus.tsx +114 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplacePlotly.test.tsx +96 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplacePlotly.tsx +162 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceSelection.test.tsx +170 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceSelection.tsx +204 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceTimeline.tsx +116 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceTreeNode.tsx +91 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeDataGrid.tsx +336 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeDataWidgets.test.tsx +233 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeDataWidgets.tsx +288 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeLayout.test.tsx +100 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeLayout.tsx +111 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeScrollContainer.tsx +206 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeSignature.tsx +104 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeWidgets.test.tsx +855 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeWidgets.tsx +1142 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PageOutlet.test.tsx +74 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PageOutlet.tsx +63 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PageTitleContext.ts +7 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/Popup.tsx +181 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PresentationWidgets.test.tsx +490 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PresentationWidgets.tsx +566 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/ReferenceSetCombobox.tsx +183 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/SelectionScope.tsx +28 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/TabControl.tsx +88 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/VariableScope.ts +8 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/WidgetRenderer.test.tsx +574 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/WidgetRenderer.tsx +1076 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/autofocus.test.ts +79 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/autofocus.ts +58 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/marketplaceData.ts +126 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/contracts.ts +53 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/dateFormatting.ts +297 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/dateParsing.test.ts +189 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/decimal.test.ts +75 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/decimal.ts +132 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/decimalParsing.test.ts +44 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/decimalParsing.ts +123 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/expression.test.ts +139 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/expression.ts +391 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/expressionClient.test.ts +163 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackCapture.test.ts +75 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackCapture.ts +51 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackCaptureWidget.test.tsx +136 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackCaptureWidget.tsx +79 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackFiles.test.ts +92 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackFiles.ts +84 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackMetadata.test.ts +142 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackMetadata.ts +49 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackStorage.test.ts +110 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackStorage.ts +93 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/LegacyWidgetHost.tsx +218 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/amd.ts +104 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/dojo.ts +474 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/legacy.test.tsx +518 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/mx.ts +722 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/mxGlobal.ts +13 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/nativeUnavailable.ts +20 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/session.ts +26 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/listSource.test.tsx +299 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/listSource.ts +177 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/marketplace.tsx +326 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/marketplaceWidgets.json +203 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/marketplaceWidgets.test.tsx +38 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/mendixFilters.test.ts +66 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/mendixFilters.ts +101 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflow.ts +594 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowCommons.test.ts +89 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowCommons.ts +57 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowData.test.ts +199 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowLists.test.ts +34 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowOffline.test.ts +130 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nativeMobileActions.test.ts +310 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nativeMobileActions.ts +493 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nativeOnlyJavaScriptActions.test.ts +12 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/objectRestore.test.ts +164 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/objectRestore.ts +123 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/objectStorage.test.ts +179 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/objectStorage.ts +94 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/offlineStore.test.ts +147 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/offlineStore.ts +226 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/plotly.test.ts +55 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/plotly.ts +94 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/pluggableHost.test.tsx +231 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/pluggableHost.tsx +461 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/projectJavaScriptActions.test.ts +158 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/projectJavaScriptActions.ts +91 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/qrCode.test.ts +79 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/qrCode.ts +309 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/schemaLookup.ts +46 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/sort.test.ts +114 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/synchronize.test.ts +167 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/synchronize.ts +156 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/useActionExecution.tsx +100 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/useWidgetEvent.ts +132 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/value.test.ts +89 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/value.ts +319 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/widgetContract.test.ts +32 -0
- data/lib/mxrb/ruby_app/frontend_template/src/layouts/AppLayout.tsx +19 -0
- data/lib/mxrb/ruby_app/frontend_template/src/main.tsx +16 -0
- data/lib/mxrb/ruby_app/frontend_template/src/plotly.d.ts +4 -0
- data/lib/mxrb/ruby_app/frontend_template/src/styles/index.css +1281 -0
- data/lib/mxrb/ruby_app/frontend_template/src/test/setup.ts +1 -0
- data/lib/mxrb/ruby_app/frontend_template/tsconfig.json +23 -0
- data/lib/mxrb/ruby_app/frontend_template/vitest.config.ts +10 -0
- data/lib/mxrb/ruby_app/java_actions_package.rb +118 -0
- data/lib/mxrb/ruby_app/known_community_commons_actions.rb +316 -0
- data/lib/mxrb/ruby_app/known_encryption_actions.rb +162 -0
- data/lib/mxrb/ruby_app/known_feedback_widget.rb +43 -0
- data/lib/mxrb/ruby_app/known_java_actions.rb +66 -0
- data/lib/mxrb/ruby_app/known_javascript_actions.rb +173 -0
- data/lib/mxrb/ruby_app/known_mx_model_reflection_actions.rb +353 -0
- data/lib/mxrb/ruby_app/known_oql_actions.rb +43 -0
- data/lib/mxrb/ruby_app/known_oql_module_actions.rb +101 -0
- data/lib/mxrb/ruby_app/known_startup_actions.rb +115 -0
- data/lib/mxrb/ruby_app/legacy_service_source_migration.rb +142 -0
- data/lib/mxrb/ruby_app/legacy_widget_source_migration.rb +64 -0
- data/lib/mxrb/ruby_app/manifest.rb +41 -0
- data/lib/mxrb/ruby_app/member_identity.rb +135 -0
- data/lib/mxrb/ruby_app/metamodel.rb +197 -0
- data/lib/mxrb/ruby_app/module_security.rb +51 -0
- data/lib/mxrb/ruby_app/native_bridge.rb +96 -0
- data/lib/mxrb/ruby_app/native_edit_patch.rb +69 -0
- data/lib/mxrb/ruby_app/page.rb +321 -0
- data/lib/mxrb/ruby_app/page_data_sources.rb +184 -0
- data/lib/mxrb/ruby_app/page_design_identity.rb +182 -0
- data/lib/mxrb/ruby_app/page_edit_bindings.rb +168 -0
- data/lib/mxrb/ruby_app/page_edit_contracts.rb +144 -0
- data/lib/mxrb/ruby_app/page_edit_properties.rb +93 -0
- data/lib/mxrb/ruby_app/page_edit_texts.rb +104 -0
- data/lib/mxrb/ruby_app/page_edit_translations.rb +67 -0
- data/lib/mxrb/ruby_app/page_edits.rb +662 -0
- data/lib/mxrb/ruby_app/page_widget_renames.rb +40 -0
- data/lib/mxrb/ruby_app/pluggable_context.rb +149 -0
- data/lib/mxrb/ruby_app/pluggable_properties.rb +715 -0
- data/lib/mxrb/ruby_app/pluggable_schemas.rb +28 -0
- data/lib/mxrb/ruby_app/portability_report.rb +127 -0
- data/lib/mxrb/ruby_app/presentation.rb +137 -0
- data/lib/mxrb/ruby_app/presentation_contracts.rb +132 -0
- data/lib/mxrb/ruby_app/presentation_edits.rb +179 -0
- data/lib/mxrb/ruby_app/presentation_exporter.rb +201 -0
- data/lib/mxrb/ruby_app/presentation_projection.rb +62 -0
- data/lib/mxrb/ruby_app/presentation_references.rb +53 -0
- data/lib/mxrb/ruby_app/preset.rb +37 -1
- data/lib/mxrb/ruby_app/project_javascript_actions.rb +78 -0
- data/lib/mxrb/ruby_app/project_security.rb +200 -0
- data/lib/mxrb/ruby_app/project_widget_bundle.rb +74 -0
- data/lib/mxrb/ruby_app/rack_adapter.rb +73 -0
- data/lib/mxrb/ruby_app/record.rb +388 -0
- data/lib/mxrb/ruby_app/record_identity.rb +209 -0
- data/lib/mxrb/ruby_app/record_inheritance.rb +65 -0
- data/lib/mxrb/ruby_app/record_validation.rb +175 -0
- data/lib/mxrb/ruby_app/registry.rb +149 -0
- data/lib/mxrb/ruby_app/regular_expression.rb +58 -0
- data/lib/mxrb/ruby_app/runtime_catalog.rb +106 -0
- data/lib/mxrb/ruby_app/runtime_project.rb +163 -0
- data/lib/mxrb/ruby_app/schedule_builder.rb +134 -0
- data/lib/mxrb/ruby_app/scheduled_event.rb +59 -0
- data/lib/mxrb/ruby_app/security_builders.rb +97 -0
- data/lib/mxrb/ruby_app/security_identity.rb +182 -0
- data/lib/mxrb/ruby_app/server.rb +436 -0
- data/lib/mxrb/ruby_app/service.rb +114 -0
- data/lib/mxrb/ruby_app/session_manager.rb +79 -16
- data/lib/mxrb/ruby_app/sidecar_services.rb +92 -0
- data/lib/mxrb/ruby_app/source_identity.rb +401 -0
- data/lib/mxrb/ruby_app/source_reloader.rb +38 -0
- data/lib/mxrb/ruby_app/supervisor.rb +139 -0
- data/lib/mxrb/ruby_app/synchronizer/document_synchronization.rb +281 -0
- data/lib/mxrb/ruby_app/synchronizer/entity_synchronization.rb +239 -0
- data/lib/mxrb/ruby_app/synchronizer.rb +127 -0
- data/lib/mxrb/ruby_app/thumbnail.rb +54 -0
- data/lib/mxrb/ruby_app/widget_styles.rb +73 -0
- data/lib/mxrb/ruby_app/widget_support.rb +76 -0
- data/lib/mxrb/ruby_app.rb +101 -1307
- data/lib/mxrb/runtime/access_control.rb +54 -101
- data/lib/mxrb/runtime/calendar_functions.rb +142 -0
- data/lib/mxrb/runtime/calendar_ranges.rb +93 -0
- data/lib/mxrb/runtime/client_drafts.rb +167 -0
- data/lib/mxrb/runtime/clipboard.rb +9 -2
- data/lib/mxrb/runtime/constants.rb +66 -0
- data/lib/mxrb/runtime/database_workspace.rb +282 -43
- data/lib/mxrb/runtime/date_formatting.rb +120 -0
- data/lib/mxrb/runtime/date_parse_fields.rb +144 -0
- data/lib/mxrb/runtime/date_parse_matchers.rb +39 -0
- data/lib/mxrb/runtime/date_parsing.rb +102 -0
- data/lib/mxrb/runtime/decimal_formatting.rb +56 -0
- data/lib/mxrb/runtime/decimal_parsing.rb +134 -0
- data/lib/mxrb/runtime/decimal_values.rb +121 -0
- data/lib/mxrb/runtime/docker_executor.rb +15 -14
- data/lib/mxrb/runtime/docker_workspace.rb +8 -8
- data/lib/mxrb/runtime/enumerations.rb +135 -0
- data/lib/mxrb/runtime/executor.rb +25 -25
- data/lib/mxrb/runtime/expression_functions.rb +83 -0
- data/lib/mxrb/runtime/import_mapping.rb +191 -0
- data/lib/mxrb/runtime/java_action_context.rb +224 -0
- data/lib/mxrb/runtime/java_http_exchange.rb +33 -0
- data/lib/mxrb/runtime/java_regex.rb +244 -0
- data/lib/mxrb/runtime/java_sidecar.rb +449 -0
- data/lib/mxrb/runtime/languages.rb +85 -0
- data/lib/mxrb/runtime/lifecycle.rb +21 -0
- data/lib/mxrb/runtime/native.rb +977 -155
- data/lib/mxrb/runtime/oql_case_grammar.rb +56 -0
- data/lib/mxrb/runtime/oql_datasets.rb +96 -0
- data/lib/mxrb/runtime/oql_expression_grammar.rb +128 -0
- data/lib/mxrb/runtime/oql_function_grammar.rb +114 -0
- data/lib/mxrb/runtime/oql_join_sources.rb +125 -0
- data/lib/mxrb/runtime/oql_membership.rb +35 -0
- data/lib/mxrb/runtime/oql_module_query.rb +88 -0
- data/lib/mxrb/runtime/oql_nesting.rb +51 -0
- data/lib/mxrb/runtime/oql_parameters.rb +40 -0
- data/lib/mxrb/runtime/oql_predicate.rb +322 -0
- data/lib/mxrb/runtime/oql_projection_view.rb +90 -0
- data/lib/mxrb/runtime/oql_query_shape.rb +34 -0
- data/lib/mxrb/runtime/oql_relational_query.rb +137 -0
- data/lib/mxrb/runtime/oql_relational_view.rb +100 -0
- data/lib/mxrb/runtime/oql_relations.rb +185 -0
- data/lib/mxrb/runtime/oql_scalar.rb +121 -0
- data/lib/mxrb/runtime/oql_selection.rb +127 -0
- data/lib/mxrb/runtime/oql_selection_terms.rb +50 -0
- data/lib/mxrb/runtime/oql_subquery.rb +40 -0
- data/lib/mxrb/runtime/oql_subquery_grammar.rb +68 -0
- data/lib/mxrb/runtime/oql_table.rb +117 -0
- data/lib/mxrb/runtime/oql_table_query.rb +116 -0
- data/lib/mxrb/runtime/oql_union.rb +31 -0
- data/lib/mxrb/runtime/oql_view_query.rb +62 -0
- data/lib/mxrb/runtime/oql_views.rb +107 -0
- data/lib/mxrb/runtime/password_policy.rb +59 -0
- data/lib/mxrb/runtime/scheduler.rb +61 -10
- data/lib/mxrb/runtime/schema_migrator.rb +133 -19
- data/lib/mxrb/runtime/sort_order.rb +51 -0
- data/lib/mxrb/runtime/sort_path.rb +44 -0
- data/lib/mxrb/runtime/sqlite_store.rb +352 -39
- data/lib/mxrb/runtime/string_functions.rb +42 -0
- data/lib/mxrb/runtime/system_domain.rb +140 -0
- data/lib/mxrb/runtime/system_metamodel.rb +48 -0
- data/lib/mxrb/runtime/system_metamodel_10.24.0.json +5111 -0
- data/lib/mxrb/runtime/system_metamodel_11.12.1.json +5790 -0
- data/lib/mxrb/runtime/system_sign_in.rb +53 -0
- data/lib/mxrb/runtime/time_zones.rb +85 -0
- data/lib/mxrb/runtime/toolchain.rb +16 -16
- data/lib/mxrb/runtime/xpath.rb +414 -0
- data/lib/mxrb/runtime/xpath_dates.rb +101 -0
- data/lib/mxrb/runtime/xpath_functions.rb +82 -0
- data/lib/mxrb/scaffold/cli.rb +14 -13
- data/lib/mxrb/scaffold/generator.rb +29 -7
- data/lib/mxrb/scaffold/help.rb +4 -0
- data/lib/mxrb/scaffold/recipes.rb +43 -4
- data/lib/mxrb/scaffold/templates.rb +101 -19
- data/lib/mxrb/schema/tables.rb +13 -13
- data/lib/mxrb/semantic/analyzer.rb +11 -10
- data/lib/mxrb/semantic/batch_plan.rb +8 -8
- data/lib/mxrb/semantic/domain_mutator.rb +149 -85
- data/lib/mxrb/semantic/extractor.rb +74 -75
- data/lib/mxrb/semantic/index.rb +86 -88
- data/lib/mxrb/semantic/inliner.rb +60 -60
- data/lib/mxrb/semantic/mover.rb +7 -7
- data/lib/mxrb/semantic/remover.rb +1 -1
- data/lib/mxrb/semantic/renamer.rb +23 -22
- data/lib/mxrb/settings/model.rb +330 -0
- data/lib/mxrb/settings/mpr_codec.rb +157 -0
- data/lib/mxrb/settings/source_emitter.rb +105 -0
- data/lib/mxrb/settings/value_contracts.rb +141 -0
- data/lib/mxrb/stored_fields.rb +86 -0
- data/lib/mxrb/studio/artifacts.rb +67 -0
- data/lib/mxrb/studio/backend.rb +36 -0
- data/lib/mxrb/studio/catalog.rb +249 -0
- data/lib/mxrb/studio/data_connections.rb +77 -0
- data/lib/mxrb/studio/data_explorer.rb +288 -0
- data/lib/mxrb/studio/documents.rb +260 -0
- data/lib/mxrb/studio/files.rb +321 -0
- data/lib/mxrb/studio/history.rb +181 -0
- data/lib/mxrb/studio/isolated.rb +123 -0
- data/lib/mxrb/studio/model_operations.rb +304 -0
- data/lib/mxrb/studio/parity.json +1019 -0
- data/lib/mxrb/studio/parity.rb +75 -0
- data/lib/mxrb/studio/preview_comparison.rb +106 -0
- data/lib/mxrb/studio/preview_sandbox.rb +142 -0
- data/lib/mxrb/studio/preview_sources.rb +80 -0
- data/lib/mxrb/studio/preview_worker.rb +23 -0
- data/lib/mxrb/studio/protocol.rb +116 -0
- data/lib/mxrb/studio/request_context.rb +141 -0
- data/lib/mxrb/studio/ruby_document.rb +252 -0
- data/lib/mxrb/studio/ruby_document_aggregates.rb +167 -0
- data/lib/mxrb/studio/ruby_project.rb +214 -0
- data/lib/mxrb/studio/server.rb +145 -0
- data/lib/mxrb/studio/service.rb +525 -0
- data/lib/mxrb/studio/snapshot.rb +163 -0
- data/lib/mxrb/studio/structure.rb +381 -0
- data/lib/mxrb/studio/sync.rb +1070 -0
- data/lib/mxrb/studio/sync_preview.rb +108 -0
- data/lib/mxrb/studio/task_configurations.rb +118 -0
- data/lib/mxrb/studio/text_merge.rb +185 -0
- data/lib/mxrb/studio/write_lock.rb +87 -0
- data/lib/mxrb/studio.rb +4 -0
- data/lib/mxrb/studio_compatibility/loss_audit.rb +136 -0
- data/lib/mxrb/studio_compatibility.rb +401 -0
- data/lib/mxrb/studio_schema_catalog.rb +375 -0
- data/lib/mxrb/system_texts.rb +322 -0
- data/lib/mxrb/version.rb +1 -1
- data/lib/mxrb/web_ui/assets/chunk-2GNONHZU.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-2P46CC5S.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-2SHOE7BM.js +200 -0
- data/lib/mxrb/web_ui/assets/chunk-32QEQT5X.js +1 -0
- data/lib/mxrb/web_ui/assets/{chunk-5VM5RSS4-ZNzvKenW.js → chunk-34FZNJLO.js} +2 -2
- data/lib/mxrb/web_ui/assets/chunk-35N2E2ST.js +88 -0
- data/lib/mxrb/web_ui/assets/chunk-3EBRCLBH.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-3F3S4FN6.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-3PZDNKEG.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-3UGOMMAO.js +3 -0
- data/lib/mxrb/web_ui/assets/chunk-4NYRXXLN.js +106 -0
- data/lib/mxrb/web_ui/assets/chunk-4R2TVXEB.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-4SGPCOHB.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-5BHXSKDK.js +292 -0
- data/lib/mxrb/web_ui/assets/chunk-5EVG4O6T.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-5G5NQYC6.js +34 -0
- data/lib/mxrb/web_ui/assets/chunk-5HFJOAW4.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-5TNNO4YZ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-63IIJIEV.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-66OX7QNZ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-6B4DUFPC.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-6HSV3Q4G.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-6KV64GIT.js +98 -0
- data/lib/mxrb/web_ui/assets/chunk-6ZPGWQKV.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-72H3YDZV.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-77A6STIF.js +66 -0
- data/lib/mxrb/web_ui/assets/chunk-7B4ZTT6G.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-7E4ON25K.js +7 -0
- data/lib/mxrb/web_ui/assets/chunk-7GXBVQXL.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-7ONEZDBB.js +291 -0
- data/lib/mxrb/web_ui/assets/chunk-7UWVQTN5.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-AFDXKSZJ.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-BUBLNEPX.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-CBAMBU3T.js +30 -0
- data/lib/mxrb/web_ui/assets/chunk-CYCQ4VLZ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-CYUZI6LQ.js +213 -0
- data/lib/mxrb/web_ui/assets/chunk-D246GO7Q.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-DHQUYWHD.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-E2RCGYXT.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-E5A22KZX.js +70 -0
- data/lib/mxrb/web_ui/assets/chunk-E64VJRVG.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-EBM2OVIK.js +120 -0
- data/lib/mxrb/web_ui/assets/chunk-ELCFKSFF.js +41 -0
- data/lib/mxrb/web_ui/assets/chunk-EQTVJ2VI.js +36 -0
- data/lib/mxrb/web_ui/assets/chunk-FAGUL7T6.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-FHZHQJRK.js +38 -0
- data/lib/mxrb/web_ui/assets/chunk-FUKAUTTF.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-GMUATS3X.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-GVPVJSW7.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-H3FJWUNC.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-H4QZ3SLG.js +257 -0
- data/lib/mxrb/web_ui/assets/chunk-H57W7YI5.js +62 -0
- data/lib/mxrb/web_ui/assets/chunk-H6EH3XA3.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-HB5VHJFM.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-HCKYS7KE.js +139 -0
- data/lib/mxrb/web_ui/assets/chunk-HQBVNVYC.js +39 -0
- data/lib/mxrb/web_ui/assets/chunk-HSA6P35M.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-HUYRUGAK.js +135 -0
- data/lib/mxrb/web_ui/assets/chunk-I5PKQWBH.js +140 -0
- data/lib/mxrb/web_ui/assets/chunk-ID2OERHW.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-IDAIL53S.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-IWZI7GPK.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-IXXNJOS3.js +24 -0
- data/lib/mxrb/web_ui/assets/chunk-K5MIAU7K.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-K6CUQC6N.js +136 -0
- data/lib/mxrb/web_ui/assets/chunk-KE3NT6QN.js +0 -0
- data/lib/mxrb/web_ui/assets/chunk-KI74YC4J.js +72 -0
- data/lib/mxrb/web_ui/assets/chunk-KOJL4E5L.js +370 -0
- data/lib/mxrb/web_ui/assets/chunk-KPUKEWCZ.js +169 -0
- data/lib/mxrb/web_ui/assets/chunk-LEZ2D244.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-LJWZZILO.js +8 -0
- data/lib/mxrb/web_ui/assets/chunk-LOYCYQTD.js +24 -0
- data/lib/mxrb/web_ui/assets/chunk-M2T56PG5.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-NI5QL3P3.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-NM5LBQV6.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-NNFAPT7B.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-NTAWMNDE.js +7 -0
- data/lib/mxrb/web_ui/assets/chunk-NUGW2EXC.js +27 -0
- data/lib/mxrb/web_ui/assets/chunk-OKEQR3I2.js +99 -0
- data/lib/mxrb/web_ui/assets/chunk-OUPEVUDM.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-OZ3S3DQH.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-PBU4ZVTM.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-PQQBOQJI.js +217 -0
- data/lib/mxrb/web_ui/assets/chunk-Q63GKT34.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-QJHVSIW7.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-QMUNJBVF.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-RKTVQ6NQ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-RQ6DNNSS.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-RVFML3W7.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-S5TKGUWG.js +3 -0
- data/lib/mxrb/web_ui/assets/chunk-SBICTFKY.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-SOO7HOBB.js +89 -0
- data/lib/mxrb/web_ui/assets/chunk-SQ2BDVUY.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-T5KDILTJ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-TJ2A3WRV.js +14 -0
- data/lib/mxrb/web_ui/assets/chunk-UITAI6UC.js +78 -0
- data/lib/mxrb/web_ui/assets/chunk-UL26XZ4V.js +10 -0
- data/lib/mxrb/web_ui/assets/chunk-URTGGQPX.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-UZTYCEEY.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-VFXGN725.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-VJRJYCFG.js +84 -0
- data/lib/mxrb/web_ui/assets/chunk-W6DARM7I.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-WLRR7NCQ.js +40 -0
- data/lib/mxrb/web_ui/assets/chunk-XIMEPMUW.js +32 -0
- data/lib/mxrb/web_ui/assets/chunk-XRM2LTMZ.js +4 -0
- data/lib/mxrb/web_ui/assets/chunk-Y5TK5PAP.js +62 -0
- data/lib/mxrb/web_ui/assets/chunk-ZH3OWPCF.js +339 -0
- data/lib/mxrb/web_ui/assets/chunk-ZIHGYIEK.js +1 -0
- data/lib/mxrb/web_ui/assets/domain-STH3BZOK.js +1 -0
- data/lib/mxrb/web_ui/assets/domain-VYBHNQGI.css +1 -0
- data/lib/mxrb/web_ui/assets/modeler-S2X4PVYN.js +1 -0
- data/lib/mxrb/web_ui/assets/modeler-SWHOK6BD.css +1 -0
- data/lib/mxrb/web_ui/assets/studio/studio-3F773TXK.css +1 -0
- data/lib/mxrb/web_ui/assets/studio/studio-DSAUONWT.js +68 -0
- data/lib/mxrb/web_ui/assets/uml-6G73GOJ4.css +1 -0
- data/lib/mxrb/web_ui/assets/uml-ENRAUICA.js +18 -0
- data/lib/mxrb/web_ui/domain.html +1 -3
- data/lib/mxrb/web_ui/modeler.html +1 -4
- data/lib/mxrb/web_ui/studio.html +5 -0
- data/lib/mxrb/web_ui/uml.html +1 -19
- data/lib/mxrb/widget_certification.rb +1 -8
- data/lib/mxrb/widget_development.rb +57 -0
- data/lib/mxrb/widget_package.rb +18 -12
- data/lib/mxrb/writer/data_sources.rb +149 -0
- data/lib/mxrb/writer/page_overlay.rb +542 -0
- data/lib/mxrb/writer.rb +6143 -1598
- data/lib/mxrb.rb +198 -158
- data/marketplace/modules/shared-kernel/module.rb +1 -1
- metadata +729 -108
- data/lib/mxrb/web_ui/assets/abnfDiagram-N423BO3Z-C4JD3cEC.js +0 -1
- data/lib/mxrb/web_ui/assets/arc-3Z53kgFp.js +0 -1
- data/lib/mxrb/web_ui/assets/architecture-TIHT7OUA-BStBTLea.js +0 -1
- data/lib/mxrb/web_ui/assets/architectureDiagram-T3A2C74G-DBwqnM4J.js +0 -36
- data/lib/mxrb/web_ui/assets/array-BifhSqXX.js +0 -1
- data/lib/mxrb/web_ui/assets/blockDiagram-VBNYF7ZC-DLtuHt-j.js +0 -132
- data/lib/mxrb/web_ui/assets/c4Diagram-5PPSVZJV-ConSk_pe.js +0 -10
- data/lib/mxrb/web_ui/assets/channel-BhPvD7Dt.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-2GRJ4B5K-D2HpWsf_.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-2Q5K7J3B-C1jixKkw.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-4I5QYGJK-CiIdNwaF.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-5RXB4S5H-Bu_AaEkE.js +0 -231
- data/lib/mxrb/web_ui/assets/chunk-6Q2QTUOP-wQkNmt_X.js +0 -88
- data/lib/mxrb/web_ui/assets/chunk-7BUUIJ7U-Bb538aSH.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-GF5L2VYU-G8MmiBzU.js +0 -206
- data/lib/mxrb/web_ui/assets/chunk-I66GZJ75-CulcrLPh.js +0 -127
- data/lib/mxrb/web_ui/assets/chunk-JQJVKLGR-ukjzcdlL.js +0 -156
- data/lib/mxrb/web_ui/assets/chunk-JWPE2WC7-DVXcaiue.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-KBJHAD2P-Wm35lYov.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-KEIR6QF5-BICK3FdT.js +0 -161
- data/lib/mxrb/web_ui/assets/chunk-NSK5VX7P-D2nYrCY4.js +0 -2
- data/lib/mxrb/web_ui/assets/chunk-QR6OTTB3-BrdIzg4Q.js +0 -62
- data/lib/mxrb/web_ui/assets/chunk-RYQCIY6F-CCfZMcW6.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-UBXNYLIW-BPEVYsFK.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-W5SLKNZC-2E6OPhA4.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-WRU74C26-CBIvOyWp.js +0 -70
- data/lib/mxrb/web_ui/assets/chunk-XXDRQBXY-pH58XAyl.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +0 -1
- data/lib/mxrb/web_ui/assets/classDiagram-JCYQIIEL-xiqo4D89.js +0 -1
- data/lib/mxrb/web_ui/assets/classDiagram-v2-OCEON4UE-xiqo4D89.js +0 -1
- data/lib/mxrb/web_ui/assets/cose-bilkent-JH36ORCC-t_flPpii.js +0 -1
- data/lib/mxrb/web_ui/assets/cynefin-VYW2F7L2-BIqktTEv.js +0 -1
- data/lib/mxrb/web_ui/assets/cynefinDiagram-MW4NZA55-C2d--lut.js +0 -62
- data/lib/mxrb/web_ui/assets/cytoscape.esm-B-NFISlW.js +0 -321
- data/lib/mxrb/web_ui/assets/dagre-Buvkdvvj.js +0 -1
- data/lib/mxrb/web_ui/assets/dagre-VZM6K2ZE-CSz2_tb5.js +0 -4
- data/lib/mxrb/web_ui/assets/defaultLocale-BFoDCU3G.js +0 -1
- data/lib/mxrb/web_ui/assets/diagram-7IWD3JNH-DCt7u7V_.js +0 -30
- data/lib/mxrb/web_ui/assets/diagram-B4RE2ZJO-DqZBqkMu.js +0 -3
- data/lib/mxrb/web_ui/assets/diagram-LBJQPF4R-ClIYbIsI.js +0 -24
- data/lib/mxrb/web_ui/assets/diagram-Q27KOJAE-DFxhvthJ.js +0 -24
- data/lib/mxrb/web_ui/assets/diagram-UB23O5K3-BSUTXptv.js +0 -41
- data/lib/mxrb/web_ui/assets/dist-D2qOEbeJ.js +0 -1
- data/lib/mxrb/web_ui/assets/domain-mGOZ1KCG.css +0 -1
- data/lib/mxrb/web_ui/assets/domain-qsjXhy4v.js +0 -1
- data/lib/mxrb/web_ui/assets/ebnfDiagram-BXEA7PRR-B5reICEi.js +0 -1
- data/lib/mxrb/web_ui/assets/erDiagram-JOGREHBK-Co5Mxn2p.js +0 -85
- data/lib/mxrb/web_ui/assets/eventmodeling-45OFAUF4-C1ylhSks.js +0 -1
- data/lib/mxrb/web_ui/assets/flowDiagram-UKHOOZJN-CHXaJIaS.js +0 -1
- data/lib/mxrb/web_ui/assets/ganttDiagram-PKOTCBZU-DPPPaWaz.js +0 -292
- data/lib/mxrb/web_ui/assets/gitGraph-TEB2WS4Q-qS77ywA9.js +0 -1
- data/lib/mxrb/web_ui/assets/gitGraphDiagram-DS77QQ5N-DpAv6-BT.js +0 -106
- data/lib/mxrb/web_ui/assets/graphlib-DS17s2tU.js +0 -1
- data/lib/mxrb/web_ui/assets/info-DKCQHKI2-C9VD1Y4e.js +0 -1
- data/lib/mxrb/web_ui/assets/infoDiagram-6WML65LV-Bk1kbcCy.js +0 -2
- data/lib/mxrb/web_ui/assets/init-C-OQMol4.js +0 -1
- data/lib/mxrb/web_ui/assets/ishikawaDiagram-WSZJBQD7-0gcISBFR.js +0 -70
- data/lib/mxrb/web_ui/assets/journeyDiagram-NVQOT4AX-Dt0RQnlh.js +0 -139
- data/lib/mxrb/web_ui/assets/jsx-runtime-DV0a5kSb.js +0 -9
- data/lib/mxrb/web_ui/assets/kanban-definition-27J2QSJJ-DIPQM7w9.js +0 -89
- data/lib/mxrb/web_ui/assets/katex-CXMH3UgJ.js +0 -257
- data/lib/mxrb/web_ui/assets/line-C0rYD-tL.js +0 -1
- data/lib/mxrb/web_ui/assets/linear-BPPxWorj.js +0 -1
- data/lib/mxrb/web_ui/assets/map-BaFkSB1l.js +0 -1
- data/lib/mxrb/web_ui/assets/mermaid-parser.core-B_UPzTxa.js +0 -7
- data/lib/mxrb/web_ui/assets/mindmap-definition-FAOFIHXS-CdJRSMuk.js +0 -96
- data/lib/mxrb/web_ui/assets/modeler-BNqHthwk.css +0 -1
- data/lib/mxrb/web_ui/assets/modeler-CQmqflbg.js +0 -1
- data/lib/mxrb/web_ui/assets/ordinal-BDEzSJ7C.js +0 -1
- data/lib/mxrb/web_ui/assets/packet-7NZHBO7P-CwQ4NSBs.js +0 -1
- data/lib/mxrb/web_ui/assets/path-fybaL0A-.js +0 -1
- data/lib/mxrb/web_ui/assets/pegDiagram-VL7TDLO6-D40S7ppx.js +0 -1
- data/lib/mxrb/web_ui/assets/pie-RZYD4A2V-CJroHMKh.js +0 -1
- data/lib/mxrb/web_ui/assets/pieDiagram-7S7Q4E2Y-QB54__BV.js +0 -39
- data/lib/mxrb/web_ui/assets/quadrantDiagram-CIZ2JOQS-DBhDS6ag.js +0 -7
- data/lib/mxrb/web_ui/assets/radar-I7S5WNFK-DdIUwd2d.js +0 -1
- data/lib/mxrb/web_ui/assets/railroad-3IZDKUUU-B1Lw6Xyq.js +0 -1
- data/lib/mxrb/web_ui/assets/railroad-abnf-AHOZXSZD-CQgQoeak.js +0 -1
- data/lib/mxrb/web_ui/assets/railroad-ebnf-EBAXGLYW-D7qEQ2x8.js +0 -1
- data/lib/mxrb/web_ui/assets/railroad-peg-LSFZ7HO6-C005Vxbb.js +0 -1
- data/lib/mxrb/web_ui/assets/railroadDiagram-AXF67PYL-BBP2qk7M.js +0 -1
- data/lib/mxrb/web_ui/assets/requirementDiagram-LRYGKXZP-D2cLsAoI.js +0 -84
- data/lib/mxrb/web_ui/assets/rough.esm-Dy-Kn_BL.js +0 -1
- data/lib/mxrb/web_ui/assets/sankeyDiagram-W5VNT64P-Bpi3FiP2.js +0 -40
- data/lib/mxrb/web_ui/assets/sequenceDiagram-SI44F4Z6-DCRcDlVe.js +0 -162
- data/lib/mxrb/web_ui/assets/sizeCapture-X5ZJPWSS-B0uUizjq.js +0 -1
- data/lib/mxrb/web_ui/assets/src-CvxfUak2.js +0 -1
- data/lib/mxrb/web_ui/assets/stateDiagram-OKZ733FA-C2GCEoxl.js +0 -1
- data/lib/mxrb/web_ui/assets/stateDiagram-v2-UEYNNEHI-D2gWgedh.js +0 -1
- data/lib/mxrb/web_ui/assets/swimlanes-SLNWSIFB-CRI9irEW.js +0 -2
- data/lib/mxrb/web_ui/assets/swimlanesDiagram-ULZ7WXOC-C5Wb_-hZ.js +0 -8
- data/lib/mxrb/web_ui/assets/theme-_mxc7BdY.css +0 -1
- data/lib/mxrb/web_ui/assets/timeline-definition-Z64GVDOM-B1-mNg-h.js +0 -120
- data/lib/mxrb/web_ui/assets/treeView-QDETBFTQ-7CTvIwKq.js +0 -1
- data/lib/mxrb/web_ui/assets/treemap-6X3UGDF4-CtL22pq5.js +0 -1
- data/lib/mxrb/web_ui/assets/uml-C3KAFGTq.js +0 -51
- data/lib/mxrb/web_ui/assets/uml-Dn-qd01X.css +0 -1
- data/lib/mxrb/web_ui/assets/vennDiagram-T6HMQDX7-BzVnUEAy.js +0 -34
- data/lib/mxrb/web_ui/assets/wardley-OPB4EBWU-JNi-QNag.js +0 -1
- data/lib/mxrb/web_ui/assets/wardleyDiagram-T6FBY63Y-BUwmAQ-B.js +0 -78
- data/lib/mxrb/web_ui/assets/xychartDiagram-ELKLHX3M-DEQS8sKp.js +0 -7
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
# Studio backend protocol
|
|
2
|
+
|
|
3
|
+
[Português](../pt-BR/studio-backend.md) · **English** · [Deutsch](../de-DE/studio-backend.md)
|
|
4
|
+
|
|
5
|
+
`mxrb studio serve` runs MXRB as the backend of an IDE: a long-lived process
|
|
6
|
+
that speaks JSON-RPC 2.0 on stdin and stdout. Every IDE function that MXRB
|
|
7
|
+
owns (command catalog and tasks, Ruby project files, conversion, document
|
|
8
|
+
properties, typed model operations with undo and redo, Ruby/Mendix
|
|
9
|
+
synchronization, write coordination, ER and database queries) is one method
|
|
10
|
+
of `Mxrb::Studio::Service`. The IDE renders; MXRB decides and persists.
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
mxrb studio serve [--state-root DIR]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
State (Ruby project links, synchronization bases, undo journals) lives under
|
|
17
|
+
`$XDG_STATE_HOME/mxrb/studio` unless `--state-root` is given.
|
|
18
|
+
|
|
19
|
+
## Framing and session
|
|
20
|
+
|
|
21
|
+
- One JSON-RPC message per line (NDJSON). JSON text never contains a raw
|
|
22
|
+
newline, so a line is always a whole message.
|
|
23
|
+
- Requests run concurrently; replies can arrive in any order.
|
|
24
|
+
- The first request is `initialize`. The client states the protocol versions
|
|
25
|
+
it speaks and, optionally, its workspace roots (used to attach file/line
|
|
26
|
+
locations to errors):
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{"jsonrpc":"2.0","id":1,"method":"initialize",
|
|
30
|
+
"params":{"protocol_versions":[2],"roots":["/work/shop-ruby"]}}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The reply names the protocol (`mxrb-studio` 2), the server version, every
|
|
34
|
+
method, the notifications and the capabilities (cancellation, progress, fork
|
|
35
|
+
isolation, undo, sync, locks). A client that speaks no supported version
|
|
36
|
+
receives error `-32015` with `data.supported`.
|
|
37
|
+
|
|
38
|
+
- `shutdown` waits for running requests and then refuses new ones; the `exit`
|
|
39
|
+
notification ends the process. Closing stdin cancels what is still running.
|
|
40
|
+
|
|
41
|
+
## Methods
|
|
42
|
+
|
|
43
|
+
| Group | Methods |
|
|
44
|
+
|---|---|
|
|
45
|
+
| Catalog and tasks | `catalog/list`, `catalog/arguments`, `tasks/prepare`, `tasks/run`, `tasks/input`, `tasks/configurations`, `tasks/saveConfiguration`, `tasks/deleteConfiguration` |
|
|
46
|
+
| Files | `files/list`, `files/read`, `files/write`, `files/create`, `files/move`, `files/delete`, `files/worktrees`, `files/worktreeAdd`, `files/worktreeRemove` |
|
|
47
|
+
| Ruby | `ruby/syntax`, `ruby/declarations` |
|
|
48
|
+
| Project | `snapshot/create`, `project/status`, `project/convert`, `project/attach` |
|
|
49
|
+
| Documents | `documents/list`, `documents/read`, `documents/patch`, `documents/ruby` |
|
|
50
|
+
| Model | `model/capabilities`, `model/revision`, `model/preview`, `model/apply`, `model/history`, `model/undo`, `model/redo`, `model/catalog`, `model/domainDiagram` |
|
|
51
|
+
| Data | `data/logical`, `data/connections`, `data/physical`, `data/query`, `data/explain` |
|
|
52
|
+
| Parity | `parity/matrix` |
|
|
53
|
+
| Sync | `sync/link`, `sync/unlink`, `sync/status`, `sync/document`, `sync/run`, `sync/preview` |
|
|
54
|
+
| Locks | `locks/acquire`, `locks/release`, `locks/status` |
|
|
55
|
+
|
|
56
|
+
`catalog/list` returns every public CLI command and scaffold with a typed
|
|
57
|
+
argument schema; `tasks/run` executes one as a child process and streams
|
|
58
|
+
`tasks/started` and `tasks/output` notifications. Cancelling the request
|
|
59
|
+
stops the task (`cancelled: true` in the result).
|
|
60
|
+
|
|
61
|
+
`ruby/syntax` parses with Prism and returns diagnostics with line and column;
|
|
62
|
+
`ruby/declarations` lists the Mendix artifacts a file declares (`entity`,
|
|
63
|
+
`page`, `microflow`, ...) with their qualified names. Neither evaluates Ruby.
|
|
64
|
+
|
|
65
|
+
`documents/ruby` takes `source_model`, `unit_id` (native unit UUID), and optional
|
|
66
|
+
`qualified_name`/BSON `type` identity checks. It returns `state: "ready"`, the
|
|
67
|
+
linked `root`, relative `path` and declaration `line`. Native identity, parsed
|
|
68
|
+
Prism declarations and flow identity metadata resolve the source without
|
|
69
|
+
executing Ruby or guessing filenames. The caller cannot supply a different root.
|
|
70
|
+
All exporter document families are supported, including module documents,
|
|
71
|
+
global settings/system texts/security/navigation, and project/module sources.
|
|
72
|
+
Generic `native_document` and `native_unit` declarations match the exact UUID,
|
|
73
|
+
so preserved extension types are not restricted to a named-document whitelist.
|
|
74
|
+
For aggregates with multiple source files, such as DomainModel, the response is
|
|
75
|
+
`state: "choose"`, `root`, and `files: [{path, line, label}]`. Domain entries
|
|
76
|
+
include the loader-verified index and entity/DTO/OQL view declarations; labels
|
|
77
|
+
use qualified entity names such as `Sudoku.Cell`. The host lets the user choose
|
|
78
|
+
before opening the editor. One file returns `ready`; conflicting duplicate
|
|
79
|
+
declarations remain `unavailable/ambiguous_source`.
|
|
80
|
+
|
|
81
|
+
A supported document without a linked Ruby project returns `missing_project`.
|
|
82
|
+
The host may ask the user to convert, save/snapshot the model, call
|
|
83
|
+
`project/convert`, then repeat the lookup and open its central editor. An absent,
|
|
84
|
+
unsupported, stale or ambiguous mapping returns `unavailable` with `reason` and
|
|
85
|
+
`message`. Existing Ruby workspaces are never regenerated by this read operation.
|
|
86
|
+
Infrastructure units preserved only in baseline JSON (Folder, ModuleGuidMapping,
|
|
87
|
+
ModuleSettings, ProjectConversion) do not fabricate a Ruby source file.
|
|
88
|
+
|
|
89
|
+
`files/write` and `documents/patch` take the revision the client last read
|
|
90
|
+
and fail with a conflict when the file or unit changed in between, so both
|
|
91
|
+
versions are kept.
|
|
92
|
+
|
|
93
|
+
## Panel operations
|
|
94
|
+
|
|
95
|
+
`tasks/configurations`, `tasks/saveConfiguration` and `tasks/deleteConfiguration`
|
|
96
|
+
keep named task configurations per `project` path in the state root. A saved
|
|
97
|
+
configuration stores a catalog command, its field values and extra arguments;
|
|
98
|
+
placeholders such as `{mpr}` stay unresolved. Unknown commands, fields or choices
|
|
99
|
+
are rejected when saving, and names are unique per project.
|
|
100
|
+
|
|
101
|
+
`files/delete` removes a file, or a folder with `recursive: true`; an optional
|
|
102
|
+
`revision` must still match. Git metadata and the workspace root cannot be
|
|
103
|
+
deleted. `files/worktreeAdd` adds a Git worktree at an absolute path outside the
|
|
104
|
+
current worktree, on a new or existing branch; `files/worktreeRemove` never forces
|
|
105
|
+
removal, so a worktree with local changes is kept. `project/attach` links the
|
|
106
|
+
native project to another worktree of the same Ruby project.
|
|
107
|
+
|
|
108
|
+
`data/connections` lists the database connections of a model with their
|
|
109
|
+
environment, host, port, database, user and running state. `data/physical`,
|
|
110
|
+
`data/query` and `data/explain` require an explicit `connection: {id}` and echo
|
|
111
|
+
the connection in every result; a missing or stale choice fails with
|
|
112
|
+
`connection_required` (-32020). Physical tables and foreign keys come only from
|
|
113
|
+
the PostgreSQL catalog; the logical model never confirms them. Query and explain
|
|
114
|
+
results include the executed SQL, so OQL translations are visible.
|
|
115
|
+
|
|
116
|
+
`parity/matrix` returns the parity matrix in both directions: Studio Pro
|
|
117
|
+
capabilities with their MXRB Ruby APIs/DSL from a reviewed inventory, and MXRB
|
|
118
|
+
operations with the IDE surface that reaches them, derived from the command
|
|
119
|
+
catalog and this protocol. Each capability has per-dimension states; nothing is
|
|
120
|
+
aggregated into a completion figure.
|
|
121
|
+
|
|
122
|
+
## Progress, cancellation and errors
|
|
123
|
+
|
|
124
|
+
- `$/cancelRequest` with `{"id": ...}` cancels a request.
|
|
125
|
+
- Long operations report `$/progress` notifications
|
|
126
|
+
(`token` = request id, `kind` = `begin`/`report`/`end`, `current`, `total`,
|
|
127
|
+
`detail`). Every MXRB operation that reports terminal progress reports here,
|
|
128
|
+
and each report is a cancellation point.
|
|
129
|
+
- Evaluating a Ruby project and exporting a model run in a forked worker: a
|
|
130
|
+
definition that exits, loops or exhausts memory cannot take the server down,
|
|
131
|
+
and cancelling terminates the worker.
|
|
132
|
+
|
|
133
|
+
Errors are JSON-RPC error objects with `data.kind` and, when known,
|
|
134
|
+
`data.locations` (`file`, `line`, `column`):
|
|
135
|
+
|
|
136
|
+
| Code | `kind` | Meaning |
|
|
137
|
+
|---|---|---|
|
|
138
|
+
| -32700 / -32600 / -32601 / -32602 | `parse_error` / `invalid_request` / `method_not_found` / `invalid_params` | JSON-RPC conditions |
|
|
139
|
+
| -32002 | `not_initialized` | a request before `initialize` |
|
|
140
|
+
| -32800 | `cancelled` | the request was cancelled |
|
|
141
|
+
| -32010 | `conflict` | the target changed since it was read; nothing was overwritten |
|
|
142
|
+
| -32011 | `busy` | another writer holds the model; retry |
|
|
143
|
+
| -32012 | `validation` | the model or operation is invalid |
|
|
144
|
+
| -32013 | `toolchain` | a required tool or system call failed |
|
|
145
|
+
| -32014 | `ruby_source` | Ruby does not parse or evaluate; see `locations` |
|
|
146
|
+
| -32015 | `unsupported_protocol` | no common protocol version |
|
|
147
|
+
| -32603 | `internal_error` | anything else |
|
|
148
|
+
|
|
149
|
+
## Coordinated writes
|
|
150
|
+
|
|
151
|
+
Every MXRB writer of a model or workspace takes an exclusive `flock` on
|
|
152
|
+
`$XDG_STATE_HOME/mxrb/studio/locks/<sha256 of the canonical path>`. An IDE
|
|
153
|
+
that saves the same model takes the same lock, either directly or through
|
|
154
|
+
`locks/acquire` (the server holds the lock for the lease until
|
|
155
|
+
`locks/release` or the end of the connection). `locks/status` reports whether
|
|
156
|
+
someone holds it. MXRB waits up to 30 seconds and then answers `busy`.
|
|
157
|
+
|
|
158
|
+
## Undo and redo
|
|
159
|
+
|
|
160
|
+
`model/apply`, `documents/patch` and `sync/run` record a journal entry with the
|
|
161
|
+
exact native bytes of every unit they added, removed or changed. `model/undo`
|
|
162
|
+
restores them byte for byte (IDs, references and layout included);
|
|
163
|
+
`model/redo` reapplies them. An entry is only undone while its units still
|
|
164
|
+
hold the state it left; otherwise the request fails with a conflict and
|
|
165
|
+
nothing is written. The journal keeps the last 100 entries.
|
|
166
|
+
|
|
167
|
+
## Ruby and Mendix synchronization
|
|
168
|
+
|
|
169
|
+
`sync/preview` accepts `source_model` and optional
|
|
170
|
+
`expected_revisions: {"model": "<sha256>", "ruby": "<sha256>"}`. It resolves
|
|
171
|
+
the linked Ruby root, snapshots the saved native model, and compiles a private
|
|
172
|
+
copy of the Ruby tree. It never calls `sync/link`, updates original `.mxrb/`
|
|
173
|
+
metadata, replaces the Ruby binding, or writes the saved model. Temporary files
|
|
174
|
+
are removed on completion, errors and cancellation.
|
|
175
|
+
|
|
176
|
+
The response always includes `applied: false`,
|
|
177
|
+
`comparison: "saved_model_to_generated_ruby"`, and
|
|
178
|
+
`conflicts: {assessed: false, reason: "no_sync_baseline"}`. A completed preview
|
|
179
|
+
returns `state: "ready"`, `root`, `revisions`, `current_revisions`, `units` and
|
|
180
|
+
`validation: {errors, warnings}`. Each unit has its identity, type, name,
|
|
181
|
+
`action` (added/removed/modified), and element/property `changes` with before
|
|
182
|
+
and after values. Presence flags distinguish missing properties from null;
|
|
183
|
+
binary values use byte length and SHA-256. Changed inputs return `stale`;
|
|
184
|
+
an absent valid Ruby representation returns `missing_project`.
|
|
185
|
+
Relinking during generation also returns `stale`, with
|
|
186
|
+
`reason: "linked_project_changed"` and `current_root`; the new binding is preserved.
|
|
187
|
+
|
|
188
|
+
This compares saved inputs and the actual compilation result, not a three-way
|
|
189
|
+
merge or an apply plan. Compilation can normalize defaults without Ruby edits.
|
|
190
|
+
Name/position reconciliation does not guarantee preserved identity for future
|
|
191
|
+
application, and removed Ruby declarations can survive through native baseline
|
|
192
|
+
metadata. These limits are explicit in `limitations`.
|
|
193
|
+
|
|
194
|
+
Linux Bubblewrap isolation is mandatory: runtime, gems and MXRB libraries are
|
|
195
|
+
read-only; only a private worker directory is writable. The native comparison
|
|
196
|
+
snapshot stays outside that directory. The worker has separate process/network
|
|
197
|
+
namespaces, a temporary HOME and a reduced environment, without personal
|
|
198
|
+
credential folders. Failure to start isolation returns
|
|
199
|
+
`unavailable/isolation_unavailable` with no unrestricted fallback. Source
|
|
200
|
+
symlinks are rejected. Initial limits: 25,000 files/512 MiB of sources,
|
|
201
|
+
120 seconds of generation, 128 KiB of output. Ruby errors include file/line.
|
|
202
|
+
|
|
203
|
+
`sync/link` records the synchronized base of a model and its Ruby project: a
|
|
204
|
+
copy of the model, a copy of the Ruby files, the Ruby export of the model and
|
|
205
|
+
the model generated from the Ruby. `sync/status` is cheap: changed Ruby files
|
|
206
|
+
with their parse diagnostics and declared artifacts, changed Mendix units and
|
|
207
|
+
unresolved conflicts, summarized as `synced`, `pending`, `conversion_error` or
|
|
208
|
+
`conflict`.
|
|
209
|
+
|
|
210
|
+
`sync/run` synchronizes both directions:
|
|
211
|
+
|
|
212
|
+
1. **Mendix edits** are the units whose meaning differs from the base model.
|
|
213
|
+
Property order, freshly generated IDs and the order of entities do not
|
|
214
|
+
count as changes.
|
|
215
|
+
2. **Ruby edits** are the units whose generation from the current Ruby differs
|
|
216
|
+
from the generation of the base Ruby. They are expressed as element
|
|
217
|
+
operations (set a property, insert, remove or reorder a child) in the IDs
|
|
218
|
+
of the model, so applying them keeps IDs, references, layout and every
|
|
219
|
+
untouched property. Deleting the Ruby declaration of a document removes the
|
|
220
|
+
document.
|
|
221
|
+
3. An element both sides changed is a **conflict**. A run with conflicts
|
|
222
|
+
writes nothing and returns each conflict with the base, Mendix and Ruby
|
|
223
|
+
values (`kind` `element`, `unit` or `file`). Running again with
|
|
224
|
+
`resolutions` (`{"<conflict id>": "ruby" | "mendix"}`) applies everything.
|
|
225
|
+
4. Ruby edits are applied to the model in one journaled transaction, under the
|
|
226
|
+
write lock, only if the model did not change during the run.
|
|
227
|
+
5. Mendix edits are merged into the Ruby files with a line-based three-way
|
|
228
|
+
merge: comments and Ruby code outside the changed lines stay as they are. A
|
|
229
|
+
change on one side next to an insertion on the other is not a conflict.
|
|
230
|
+
Files that are overwritten are copied to the base's backup folder first.
|
|
231
|
+
6. `.mxrb/` (the native baseline and asset manifest) is owned by MXRB and
|
|
232
|
+
always mirrors the synchronized model.
|
|
233
|
+
|
|
234
|
+
Ruby that does not parse or evaluate leaves the model untouched; the run fails
|
|
235
|
+
with `ruby_source` and the locations of the error. The last valid model stays
|
|
236
|
+
as it is and the Ruby changes stay pending.
|
|
237
|
+
|
|
238
|
+
`sync/status` also reports `diverged` units: units where the model generated
|
|
239
|
+
from the synchronized Ruby means something different from the model itself.
|
|
240
|
+
They show which parts of a model the Ruby projection does not capture yet;
|
|
241
|
+
their native content is preserved, not converted.
|
|
242
|
+
|
|
243
|
+
### Coordination with an open IDE
|
|
244
|
+
|
|
245
|
+
- **Revisions.** `sync/status` and every `sync/run` answer `revisions:
|
|
246
|
+
{model, ruby}` (SHA-256 of the units and of the Ruby files). Passing them
|
|
247
|
+
back as `expected_revisions` makes the run refuse (`conflict`) to apply
|
|
248
|
+
anything but the state that was compared, typically by a dry run the user
|
|
249
|
+
reviewed.
|
|
250
|
+
- **Ruby copy.** A run generates from a private copy of the Ruby files taken
|
|
251
|
+
when it starts. Ruby saved while it runs stays pending; it is never folded
|
|
252
|
+
into the new base. Before writing, under the model lock and then the Ruby
|
|
253
|
+
project lock, every Ruby file the Mendix merge rewrites must still hold the
|
|
254
|
+
copied text, otherwise nothing is written (`conflict`). Merged files are
|
|
255
|
+
replaced atomically.
|
|
256
|
+
- **Leases.** An IDE that keeps its own saves out until it has reloaded the
|
|
257
|
+
model takes `locks/acquire` on the model and passes the `lease` to
|
|
258
|
+
`sync/run`, which then writes under that held lock.
|
|
259
|
+
- **Sandbox.** Generation of the Ruby project runs in the same Bubblewrap
|
|
260
|
+
sandbox as `sync/preview`; without isolation the run fails with
|
|
261
|
+
`toolchain`/`isolation_unavailable`. Only the process that starts the
|
|
262
|
+
server can relax this with `MXRB_STUDIO_SYNC_ISOLATION=process` (for
|
|
263
|
+
example, CI without user namespaces).
|
|
264
|
+
- **Conflicts** found by a run, dry runs included, are kept with the
|
|
265
|
+
revisions they were found at; `sync/status` stops reporting them once either
|
|
266
|
+
side changes.
|
|
267
|
+
- **Artifacts.** `sync/status` lists `documents`: one entry per changed native
|
|
268
|
+
unit (a document, or a module's domain model for entities) with what Ruby
|
|
269
|
+
and Mendix did, its files, diagnostics, conflicts and `state`.
|
|
270
|
+
`sync/document` answers the state of one artifact by `unit_id` or Ruby
|
|
271
|
+
`path`.
|
|
272
|
+
- **Conversion.** `project/convert` with `link: true` links the new Ruby
|
|
273
|
+
project at once, so the first edits on either side are synchronized.
|
|
274
|
+
|
|
275
|
+
Measured on the public Sudoku sample (409 units, 355 Ruby files, Ruby 4.0,
|
|
276
|
+
one core per worker): linking 23 s, Ruby to Mendix 21 s (dominated by
|
|
277
|
+
generating the whole project from Ruby), Mendix to Ruby 5 s, `sync/status`
|
|
278
|
+
0.2 s.
|
|
279
|
+
|
|
280
|
+
## Single-shot use
|
|
281
|
+
|
|
282
|
+
`Mxrb::Studio::Backend#call` accepts one request object with a version 1
|
|
283
|
+
`action` name (`catalog`, `file_read`, `model_apply`, ...) and reaches the same
|
|
284
|
+
methods, for clients that start one process per request.
|
|
285
|
+
|
|
286
|
+
## Studio Pro panels
|
|
287
|
+
|
|
288
|
+
The additional `frontend/modeler/studio.html` entry provides the Ruby App Explorer,
|
|
289
|
+
MXRB Tasks, Global ER, Database and Parity panels in React. Build it with `npm run build:studio` from
|
|
290
|
+
`frontend/modeler`; the compiled entry and local assets ship in the gem. Node is
|
|
291
|
+
only a build dependency. This separate build preserves the existing modeler bundles.
|
|
292
|
+
|
|
293
|
+
Panels speak the protocol above through `chrome.webview.postMessage` and its
|
|
294
|
+
`message` event. The desktop host owns the Ruby process, negotiates protocol 2 and
|
|
295
|
+
maps page request IDs to its shared connection. It additionally handles
|
|
296
|
+
`host/context` and `host/contextChanged`: project `root`, `source_model`, optional
|
|
297
|
+
`ruby_root` and `theme` CSS variables named `--studio-*`. These two messages belong
|
|
298
|
+
to the desktop adapter, not `Mxrb::Studio::Service`. Panels cannot shut down the
|
|
299
|
+
shared process. When the context advertises `capabilities.native_dialogs`, panels
|
|
300
|
+
ask the host for Rename/Warning dialogs with `host/dialog`
|
|
301
|
+
(`{kind: "input"|"confirm", title, message, label, value, buttons}` →
|
|
302
|
+
`{button, value}`); otherwise they show an equivalent in-page dialog.
|
|
303
|
+
|
|
304
|
+
Before each task, the panel resolves `project/status` if the host did not supply
|
|
305
|
+
`ruby_root`. A conversion or link made in another dock therefore supplies the
|
|
306
|
+
working directory and `{ruby}` substitution immediately. `{root}` follows that
|
|
307
|
+
working directory; `{mpr}` continues to identify the native model. Without a
|
|
308
|
+
linked representation, native/global commands can use the source directory, but
|
|
309
|
+
Ruby-context commands ask for conversion or linking first. Project changes and
|
|
310
|
+
Stop cancel pending resolution as well as task execution.
|
|
311
|
+
|
|
312
|
+
Run `npm run test:studio` in `frontend/modeler` for the workspace/cancellation
|
|
313
|
+
regressions. `studio_tasks_linked_flow.json` adds a Tasks-only browser scenario:
|
|
314
|
+
its host supplies `panel: "tasks"`, `root` and `source_model` (no `ruby_root`) for
|
|
315
|
+
a synthetic model whose linked Ruby project contains module `Shop`. It runs the
|
|
316
|
+
real `project inspect` command and checks the converted project output.
|
|
317
|
+
|
|
318
|
+
The Explorer supports project link lookup/conversion, lazy folder reads,
|
|
319
|
+
virtualized rows, add file/folder, rename and delete through Studio Pro dialogs
|
|
320
|
+
supplied by the host (`host/dialog`), and Git worktrees. Tasks group the real
|
|
321
|
+
catalog like IntelliJ's Maven window, keep saved tasks per project and show output
|
|
322
|
+
with Stop, Clear and Scroll lock. The Global ER shows the logical model of all
|
|
323
|
+
modules on one canvas; the Database panel shows physical schema, SQL/OQL results
|
|
324
|
+
and plans only for an explicitly chosen connection; the Parity panel shows
|
|
325
|
+
`parity/matrix`. Browser scenarios under
|
|
326
|
+
`spec/fixtures/frontend_browser/studio_*_flow.json` exercise the panels with
|
|
327
|
+
synthetic files, a public sample app and, for `studio_database_live_flow.json`,
|
|
328
|
+
a running MXRB database workspace; they do not establish full IDE parity.
|
|
329
|
+
|
|
330
|
+
The host can publish a numeric `project_revision` in `host/contextChanged` when a
|
|
331
|
+
conversion or link change keeps the same `source_model`. The Explorer then queries
|
|
332
|
+
`project/status` again and drops the previous selection and listing, and Tasks
|
|
333
|
+
cancels the pending operation. The native host uses this revision to invalidate
|
|
334
|
+
the context instead of caching `ruby_root` as a permanent link.
|
|
335
|
+
`studio_project_revision_flow.json` checks that transition and the cancellation of
|
|
336
|
+
late responses against the synthetic host served by
|
|
337
|
+
`node frontend/modeler/test/studio/contextRevisionServer.mjs 4587`. The same server
|
|
338
|
+
answers `/studio.html?fixture=sync` for the `studio_sync_preview*_flow.json`
|
|
339
|
+
scenarios. The synthetic hosts are TypeScript sources in
|
|
340
|
+
`spec/fixtures/frontend_browser`, served with their types stripped.
|
|
341
|
+
|
|
342
|
+
[Back to the documentation index](README.md)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Português](../pt-BR/validation-matrix.md) · **English** · [Deutsch](../de-DE/validation-matrix.md)
|
|
4
4
|
|
|
5
|
-
Last updated: 2026-
|
|
5
|
+
Last updated: 2026-09-28.
|
|
6
6
|
|
|
7
7
|
The matrix exercises this pipeline using only MXRB:
|
|
8
8
|
|
|
@@ -27,23 +27,62 @@ are never modified.
|
|
|
27
27
|
| `mendixlabs/TreeViewAndGridView` (`TreeviewDemo`) | 5.21.4 | v1 | 176 | pass |
|
|
28
28
|
| `mendixlabs/TreeViewAndGridView` (`GridViewPlayground`) | 6.10.8 | v1 | 122 | pass |
|
|
29
29
|
|
|
30
|
-
On
|
|
31
|
-
1,506 units, 1,734 artifacts, and 3,388 references in
|
|
30
|
+
On September 13, `script/validate_matrix` repeated the matrix with **6/6
|
|
31
|
+
passes**: 1,506 units, 1,734 artifacts, and 3,388 references in 19.278 seconds.
|
|
32
32
|
|
|
33
33
|
## Additional local inventory
|
|
34
34
|
|
|
35
35
|
`script/certify_mprs --cycles 2 --repair-hashes` certified seven additional
|
|
36
36
|
MPRs through 14 consecutive round trips: **7/7 passes**, 2,799 units, 3,238
|
|
37
|
-
artifacts, and 4,819 references. The set covers LearnNow, SLATaskApp,
|
|
37
|
+
artifacts, and 4,819 references in 100.544 seconds. The set covers LearnNow, SLATaskApp,
|
|
38
38
|
SLATaskAppNative, MyFirstModule, CourseManager, RubyBridgeSandbox, and
|
|
39
39
|
VetClinic.
|
|
40
40
|
|
|
41
|
+
SLATaskAppNative shares `mprcontents/` with SLATaskApp, and the library refuses to
|
|
42
|
+
open it in place. The gate certifies it from a temporary copy whose `mprname`
|
|
43
|
+
names it, and reports the owner as `contents_shared_with`.
|
|
44
|
+
|
|
41
45
|
SLATaskApp had one stale content hash and RubyBridgeSandbox had two. The gate
|
|
42
46
|
repaired only `Unit.ContentsHash` in temporary copies, recorded the changed
|
|
43
47
|
UUIDs, and preserved the original BSON bytes. Source files were not modified.
|
|
44
48
|
The second round trip also exposed and fixed native-widget types deserialized
|
|
45
49
|
as strings.
|
|
46
50
|
|
|
51
|
+
The September 13 recertification found and fixed two additional losses: the DSL
|
|
52
|
+
added `System.Administrator` to an exact native role list that did not contain
|
|
53
|
+
it, and the Studio 11 settings codec did not yet recognize
|
|
54
|
+
`Settings$ConstantValue`, `Settings$SharedValue`, and `Settings$PrivateValue`.
|
|
55
|
+
Focused regressions cover both cases; private values are not published.
|
|
56
|
+
|
|
57
|
+
On September 25, `script/validate_ruby_app --repair-hashes` certified the full
|
|
58
|
+
13-project corpus through Ruby-app export, a zero-violation public-source audit,
|
|
59
|
+
compilation with the editable Mendix sidecar detached, MPR validation, and an
|
|
60
|
+
identical semantic comparison: **13/13 passed**. Hash repair remains explicit
|
|
61
|
+
and temporary: one stale hash in SLATaskApp and two in RubyBridgeSandbox were
|
|
62
|
+
repaired in copies, while the other eleven inputs required no repair.
|
|
63
|
+
|
|
64
|
+
This gate also validates SLATaskAppNative from a temporary copy whose `mprname`
|
|
65
|
+
names it, because its `mprcontents/` belongs to SLATaskApp, and reports the owner
|
|
66
|
+
as `contents_shared_with`.
|
|
67
|
+
|
|
68
|
+
Since November 4, the gate rebuilds each project twice and requires an identical
|
|
69
|
+
result both times. The first rebuild removes the Mendix sidecar and starts from
|
|
70
|
+
the runtime copy of the original MPR, so it shows that the public package compiles
|
|
71
|
+
without the sidecar. The second removes that copy and starts from the sidecar, so
|
|
72
|
+
it shows that the sidecar's Ruby and its preserved native units rebuild the model.
|
|
73
|
+
13/13 projects pass both. Neither involves edits: compiling applies edits to
|
|
74
|
+
`app/pages/*.rb` to the page documents, as
|
|
75
|
+
[portability](portabilidade-ruby-typescript.md#editing-exported-pages) describes.
|
|
76
|
+
|
|
77
|
+
This gate exposed and fixed public Ruby leaks that the structural round-trip did
|
|
78
|
+
not detect. Database Connector mappings now use ordered parameter blocks;
|
|
79
|
+
schema-supported pluggable scalars, actions, XPath sources, and object lists use
|
|
80
|
+
editable semantic builders, while any still-unsupported nested value stays
|
|
81
|
+
losslessly authoritative in the private baseline; and compound design
|
|
82
|
+
properties are emitted as nested semantic declarations with their BSON
|
|
83
|
+
identities restored privately. External UUID-shaped widget configuration is no
|
|
84
|
+
longer misclassified as a Mendix unit identity.
|
|
85
|
+
|
|
47
86
|
The comparator used for this matrix includes:
|
|
48
87
|
|
|
49
88
|
- project metadata and format;
|
|
@@ -52,7 +91,26 @@ The comparator used for this matrix includes:
|
|
|
52
91
|
- entities, native attribute metadata, access rules and associations;
|
|
53
92
|
- pages and their complete deep widget/layout trees, events and data sources;
|
|
54
93
|
- menus;
|
|
55
|
-
-
|
|
94
|
+
- pages, layouts, page templates, building blocks and snippets, as stored;
|
|
95
|
+
- microflow and nanoflow parameters, roles, objects, actions and edges;
|
|
96
|
+
- every other unit as stored, named by its containers, its name and its type.
|
|
97
|
+
|
|
98
|
+
Stored documents are compared without their element identities, empty or false
|
|
99
|
+
fields, null pointers, and the action or text template a widget value stores when its
|
|
100
|
+
property is not of that kind. Four forms that generators wrote count as what Studio
|
|
101
|
+
Pro stores, because a rebuild writes them that way: a `Class` copying the appearance
|
|
102
|
+
beside it, a sort item without `SortOrder` as ascending whatever its `SortDirection`
|
|
103
|
+
says, because MxBuild ignores that field, a page without the `Autofocus` the schema
|
|
104
|
+
defaults to `Off`, and the default marker on six collections. A change to a page appears
|
|
105
|
+
twice, in its summary and as stored. The navigation document is compared as stored too.
|
|
106
|
+
|
|
107
|
+
A rebuild for the same Mendix version writes only the fields its project stores on
|
|
108
|
+
each element type, under the collection marker the project always uses for that field.
|
|
109
|
+
These are learned from the exported units and the version's Studio Pro template, since
|
|
110
|
+
Studio Pro stores every property a version has. For these versions, stored documents
|
|
111
|
+
are compared with their empty and false fields, so an added or dropped field shows up.
|
|
112
|
+
Mendix 10.24.0 and 11.12.1 are exempt from both: the writer follows their schemas, and
|
|
113
|
+
generators may leave out fields they have.
|
|
56
114
|
|
|
57
115
|
UUIDs and visual canvas coordinates are normalized because regeneration may
|
|
58
116
|
legitimately assign new identifiers or positions. Mendix names remain canonical
|
|
@@ -125,54 +183,76 @@ MxBuild 11.12.1:
|
|
|
125
183
|
- current regression MDA: 11,941,148 bytes, SHA-256
|
|
126
184
|
`fc4fb7a2ea2b4ad7cdb0fcd3296a5dbb5c4d148371aad997ab0032d2c5c0cf33`.
|
|
127
185
|
|
|
186
|
+
The `spec/fixtures/navigation_profiles/project.rb` witness covers translated
|
|
187
|
+
login titles, home/not-found targets, role homes, and partial-sync behavior.
|
|
188
|
+
`script/frontend_acceptance` accepted both source and rebuilt projects with
|
|
189
|
+
MxBuild 11.12.1: zero errors, no structural differences, and
|
|
190
|
+
`frontend_ready: true`.
|
|
191
|
+
|
|
192
|
+
The `spec/fixtures/published_rest/project.rb` witness covers published REST
|
|
193
|
+
resources, operations, parameters, and inferred JSON/export mappings. Two
|
|
194
|
+
cycles retained identities and semantics; `script/frontend_acceptance`
|
|
195
|
+
accepted source and rebuilt projects with MxBuild 11.12.1, zero errors, no
|
|
196
|
+
structural differences, and `frontend_ready: true`.
|
|
197
|
+
|
|
198
|
+
The `spec/fixtures/consumed_services/project.rb` witness covers a bodyless REST
|
|
199
|
+
call with parameters, headers, timeout, and HTTP response handling plus a
|
|
200
|
+
consumed OData service with valid CSDL v4 and a constant-based URL. Two cycles
|
|
201
|
+
retained identities and semantics without opaque fallback;
|
|
202
|
+
`script/frontend_acceptance` accepted source and rebuilt projects with MxBuild
|
|
203
|
+
11.12.1, zero errors, no structural differences, and `frontend_ready: true`.
|
|
204
|
+
|
|
205
|
+
The `spec/fixtures/message_xml/project.rb` witness covers message definitions,
|
|
206
|
+
derived import/export mappings with `XmlPath`, and microflow actions that
|
|
207
|
+
import and export XML. Two cycles retained identities and semantics without
|
|
208
|
+
opaque fallback; `script/frontend_acceptance` accepted source and rebuilt
|
|
209
|
+
projects with MxBuild 11.12.1, zero errors, no structural differences, and
|
|
210
|
+
`frontend_ready: true`.
|
|
211
|
+
|
|
212
|
+
The `spec/fixtures/published_odata/project.rb` witness covers a read-only OData
|
|
213
|
+
4 service with an allowed role, Basic authentication, an entity type, ID,
|
|
214
|
+
attributes, and a paged entity set. Two cycles retained identities and
|
|
215
|
+
semantics without opaque fallback; `script/frontend_acceptance` accepted source
|
|
216
|
+
and rebuilt projects with MxBuild 11.12.1, zero errors, no structural
|
|
217
|
+
differences, and `frontend_ready: true`.
|
|
218
|
+
|
|
128
219
|
This validation exposed and drove the fixes listed above. The six-project MXRB
|
|
129
220
|
matrix was rerun from fresh targets after the fixes and all six v1/v2
|
|
130
221
|
round-trips passed again.
|
|
131
222
|
|
|
132
223
|
## Official Mendix 5–9 validation
|
|
133
224
|
|
|
134
|
-
|
|
135
|
-
and rebuilt projects
|
|
136
|
-
with identical resources:
|
|
225
|
+
On 2026-11-18, the Windows Legacy MxBuild oracle produced executable packages
|
|
226
|
+
for both original and rebuilt projects in all five legacy fixtures:
|
|
137
227
|
|
|
138
228
|
| Fixture | Official tool | Original vs rebuilt result |
|
|
139
229
|
|---|---|---|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
| ConnectorKitDemo 7.5.0 | MxBuild 7.5.0 |
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
|
|
146
|
-
The
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
The old 6.x/7.x distributions have an optional NLog configuration that is
|
|
159
|
-
incompatible with modern Mono reflection. Only that logging section was
|
|
160
|
-
disabled in disposable copies; the MxBuild/model/runtime assemblies were not
|
|
161
|
-
changed. MxBuild 5.21.4 cannot be model-validated on this Linux host because it
|
|
162
|
-
loads WPF `PresentationFramework` plugins before reading the MPR. The same
|
|
163
|
-
original and rebuilt 5.21 projects were therefore compared through MxBuild
|
|
164
|
-
6.10.8's official in-memory upgrade. Exact 5.21 validation remains a Windows
|
|
165
|
-
Studio Pro/MxBuild check.
|
|
230
|
+
| TreeviewDemo 5.21.4 | Exact MxBuild 5.21.4 on Windows | **BUILD SUCCEEDED** for both |
|
|
231
|
+
| GridViewPlayground 6.10.8 | MxBuild 6.10.8 | **BUILD SUCCEEDED** for both |
|
|
232
|
+
| ConnectorKitDemo 7.5.0 | MxBuild 7.5.0 | **BUILD SUCCEEDED** for both |
|
|
233
|
+
| QueryApiBlogPost 7.17.0-rc5 | MxBuild 7.17.0 final with `--loose-version-check` | **BUILD SUCCEEDED** for both |
|
|
234
|
+
| FirstMedix App 9.6.1 | MxBuild 9.6.1.29396 | **BUILD SUCCEEDED** for both |
|
|
235
|
+
|
|
236
|
+
The workflow pins project revisions and tool checksums, restores the declared
|
|
237
|
+
Java dependencies and missing Atlas/widget resources identically in both
|
|
238
|
+
variants, and uses `--require-build` for every case. An equivalent failure is
|
|
239
|
+
rejected. All eight cases passed, including presentation edits in Mendix 7/9/11.
|
|
240
|
+
[Release evidence](../evidence/release-0.1.6.json) records package sizes, SHA-256
|
|
241
|
+
hashes and the workflow run. Package hashes may differ because generated
|
|
242
|
+
metadata is not deterministic.
|
|
243
|
+
|
|
244
|
+
The exact Mendix 5.21.4 check now runs on Windows with WPF, replacing the prior
|
|
245
|
+
confidence limit based on the 6.10 in-memory converter. The fixture also exposed
|
|
246
|
+
an omitted image-viewer data source in exported Ruby; the exporter now preserves
|
|
247
|
+
it, and both 5.21.4 and 7.17.0 pass full-unit comparisons before native compilation.
|
|
166
248
|
|
|
167
249
|
## Confidence boundary
|
|
168
250
|
|
|
169
|
-
A passing matrix demonstrates lossless behavior for the properties
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
version, and unknown `.mxunit` encodings continue to be rejected rather than
|
|
175
|
-
guessed.
|
|
251
|
+
A passing matrix demonstrates lossless behavior for the inspected properties and
|
|
252
|
+
native compilation of these fixtures. It does not prove compatibility with every
|
|
253
|
+
Mendix metamodel version or custom widget. Unknown `.mxunit` encodings remain
|
|
254
|
+
rejected. Linux still lacks the WPF components needed to run MxBuild 5.21.4;
|
|
255
|
+
the exact automated check uses Windows.
|
|
176
256
|
|
|
177
257
|
Every native unit retains `.mxrb/native_units.json` as its lossless baseline
|
|
178
258
|
and is also expanded into editable `native_unit` hashes in
|
|
@@ -181,6 +261,22 @@ representation where available.
|
|
|
181
261
|
|
|
182
262
|
## Widget certification
|
|
183
263
|
|
|
264
|
+
`script/forms_core_project_gate` complements behavioral coverage with a
|
|
265
|
+
property-level structural gate. For Mendix 11.12.1 it materializes all 455
|
|
266
|
+
inherited property occurrences across 41 core widgets, reopens the MPR, exports
|
|
267
|
+
readable Ruby without opaque fragments, recompiles it, and compares every typed
|
|
268
|
+
value after reopening. The current result is 455/455 for `imported` and
|
|
269
|
+
`compiled`, and 455/455 for `studio_validated`.
|
|
270
|
+
|
|
271
|
+
With `--mxbuild` and the official 11.12.1 executable, the gate creates a second
|
|
272
|
+
evidence MPR containing complete widgets in the required layout, template,
|
|
273
|
+
entity, file, and image contexts. MxBuild loaded, checked, and packaged that
|
|
274
|
+
MPR with exit status 0 and no problems. An independent typed inspection proves
|
|
275
|
+
that the same 455 properties are present in the accepted project. The legacy
|
|
276
|
+
`TemplatePlaceholder` remains loadable only in an explicitly excluded template
|
|
277
|
+
because Studio rejects it in deployable templates; the gate records that
|
|
278
|
+
platform limitation instead of claiming it can be published.
|
|
279
|
+
|
|
184
280
|
`script/certify_widgets --browser-report REPORT.json App.mpr` is the fail-closed
|
|
185
281
|
gate for native web compiler and Marketplace widgets actually used by a
|
|
186
282
|
project. It jointly requires page/layout compilation without fallbacks, resolution of every
|
|
@@ -235,11 +331,22 @@ pair returned zero semantic changes. A controlled microflow rename in the 7.17
|
|
|
235
331
|
fixture was reduced to precise `changed` entries for its name and references,
|
|
236
332
|
instead of dumping the complete removed and added flow bodies.
|
|
237
333
|
|
|
334
|
+
The `ShowHomePageAction` gate authors the final core action in the inventoried
|
|
335
|
+
Mendix 11 schema that previously lacked a Ruby declaration. One Ruby-app and
|
|
336
|
+
two regular cycles retain the unit, activity, and action IDs without opaque
|
|
337
|
+
fallback; the official MxBuild 11.12.1 finishes with **BUILD SUCCEEDED**.
|
|
338
|
+
|
|
339
|
+
The flow-annotation gate covers creation, editing, and removal of captions,
|
|
340
|
+
positions, and sizes with stable IDs. Existing connections remain identical
|
|
341
|
+
when their endpoints survive and are dropped when they would become dangling;
|
|
342
|
+
the fixture containing a valid `AnnotationFlow` finishes with **BUILD
|
|
343
|
+
SUCCEEDED** under MxBuild 11.12.1.
|
|
344
|
+
|
|
238
345
|
## Ruby evaluations and coverage gate
|
|
239
346
|
|
|
240
|
-
The current suite contains
|
|
241
|
-
(
|
|
242
|
-
(
|
|
347
|
+
The current suite contains 2,113 examples and passes with 100.00% line coverage
|
|
348
|
+
(37,742/37,742 executable library lines) and 100.00% branch coverage
|
|
349
|
+
(16,324/16,324 branches).
|
|
243
350
|
Run the enforced gate with:
|
|
244
351
|
|
|
245
352
|
```sh
|
|
@@ -282,11 +389,29 @@ audited computed CSS.
|
|
|
282
389
|
|
|
283
390
|
## Reproducibility and performance
|
|
284
391
|
|
|
392
|
+
The real Mendix projects are external certification inputs and are never stored
|
|
393
|
+
in this repository. Set `MXRB_FIXTURES_ROOT` before `script/validate_matrix`,
|
|
394
|
+
`MXRB_BENCHMARK_MPR` before `script/benchmark`, and
|
|
395
|
+
`MXRB_CONNECTOR_FIXTURE` for the optional connector integration specs.
|
|
396
|
+
`MXRB_ACCEPTANCE_MPRS` accepts one or more system-path-separated MPR files for
|
|
397
|
+
the web compatibility gate. The suite loads these four keys from the ignored
|
|
398
|
+
`.env` without overriding variables already supplied by the process. Copy the
|
|
399
|
+
variable names from `.env.example`, but keep workstation-specific values in an
|
|
400
|
+
ignored `.env` or in the shell environment.
|
|
401
|
+
|
|
285
402
|
`script/validate_matrix` reruns all six disposable round trips and emits JSON
|
|
286
|
-
evidence. The current run covered 1,506 units in
|
|
287
|
-
semantic differences.
|
|
288
|
-
|
|
289
|
-
|
|
403
|
+
evidence. The current run covered 1,506 units in 19.278 seconds with zero
|
|
404
|
+
semantic differences. After fixing the required `mprcontents` copy for v2
|
|
405
|
+
MPRs, `script/benchmark` ran the Sudoku pipeline three times on Ruby 4.0.5.
|
|
406
|
+
Median total time was 9.6308 s: validation 0.7596 s, cold semantic index
|
|
407
|
+
0.7839 s, warm index 0.0090 s, read-only index 0.8171 s, export 3.9405 s,
|
|
408
|
+
generation 2.1941 s, and comparison 1.1322 s. Median warm-cache speedup was
|
|
409
|
+
87.1x. The former 6.8463 s result is not a comparable baseline because it used
|
|
410
|
+
a different step composition and did not record an environment/budget. On
|
|
411
|
+
November 17, the [versioned budget](../guides/benchmark-budget.pt-BR.md)
|
|
412
|
+
(Portuguese guide) was implemented with model/asset/environment identities and
|
|
413
|
+
three samples: local calibration at 25.651754 s and an independent passing
|
|
414
|
+
verification at 27.512983 s. CI collects samples for runner-specific limits.
|
|
290
415
|
|
|
291
416
|
Deterministic fuzz tests additionally round-trip 250 nested BSON documents and
|
|
292
417
|
50 atomic `.mxunit` files, including binary values, arrays and nested hashes.
|