@theia/memory-inspector 1.67.0-next.13 → 1.67.0-next.56

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.
Files changed (126) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -4
  3. package/lib/browser/diff-widget/memory-diff-options-widget.d.ts +0 -37
  4. package/lib/browser/diff-widget/memory-diff-options-widget.d.ts.map +0 -1
  5. package/lib/browser/diff-widget/memory-diff-options-widget.js +0 -125
  6. package/lib/browser/diff-widget/memory-diff-options-widget.js.map +0 -1
  7. package/lib/browser/diff-widget/memory-diff-select-widget.d.ts +0 -51
  8. package/lib/browser/diff-widget/memory-diff-select-widget.d.ts.map +0 -1
  9. package/lib/browser/diff-widget/memory-diff-select-widget.js +0 -130
  10. package/lib/browser/diff-widget/memory-diff-select-widget.js.map +0 -1
  11. package/lib/browser/diff-widget/memory-diff-table-widget.d.ts +0 -78
  12. package/lib/browser/diff-widget/memory-diff-table-widget.d.ts.map +0 -1
  13. package/lib/browser/diff-widget/memory-diff-table-widget.js +0 -307
  14. package/lib/browser/diff-widget/memory-diff-table-widget.js.map +0 -1
  15. package/lib/browser/diff-widget/memory-diff-widget-types.d.ts +0 -42
  16. package/lib/browser/diff-widget/memory-diff-widget-types.d.ts.map +0 -1
  17. package/lib/browser/diff-widget/memory-diff-widget-types.js +0 -24
  18. package/lib/browser/diff-widget/memory-diff-widget-types.js.map +0 -1
  19. package/lib/browser/editable-widget/memory-editable-table-widget.d.ts +0 -65
  20. package/lib/browser/editable-widget/memory-editable-table-widget.d.ts.map +0 -1
  21. package/lib/browser/editable-widget/memory-editable-table-widget.js +0 -320
  22. package/lib/browser/editable-widget/memory-editable-table-widget.js.map +0 -1
  23. package/lib/browser/memory-inspector-frontend-contribution.d.ts +0 -47
  24. package/lib/browser/memory-inspector-frontend-contribution.d.ts.map +0 -1
  25. package/lib/browser/memory-inspector-frontend-contribution.js +0 -284
  26. package/lib/browser/memory-inspector-frontend-contribution.js.map +0 -1
  27. package/lib/browser/memory-inspector-frontend-module.d.ts +0 -22
  28. package/lib/browser/memory-inspector-frontend-module.d.ts.map +0 -1
  29. package/lib/browser/memory-inspector-frontend-module.js +0 -88
  30. package/lib/browser/memory-inspector-frontend-module.js.map +0 -1
  31. package/lib/browser/memory-provider/cdt-gdb-memory-provider.d.ts +0 -36
  32. package/lib/browser/memory-provider/cdt-gdb-memory-provider.d.ts.map +0 -1
  33. package/lib/browser/memory-provider/cdt-gdb-memory-provider.js +0 -132
  34. package/lib/browser/memory-provider/cdt-gdb-memory-provider.js.map +0 -1
  35. package/lib/browser/memory-provider/memory-provider-service.d.ts +0 -37
  36. package/lib/browser/memory-provider/memory-provider-service.d.ts.map +0 -1
  37. package/lib/browser/memory-provider/memory-provider-service.js +0 -94
  38. package/lib/browser/memory-provider/memory-provider-service.js.map +0 -1
  39. package/lib/browser/memory-provider/memory-provider.d.ts +0 -66
  40. package/lib/browser/memory-provider/memory-provider.d.ts.map +0 -1
  41. package/lib/browser/memory-provider/memory-provider.js +0 -89
  42. package/lib/browser/memory-provider/memory-provider.js.map +0 -1
  43. package/lib/browser/memory-provider/memory-provider.spec.d.ts +0 -17
  44. package/lib/browser/memory-provider/memory-provider.spec.d.ts.map +0 -1
  45. package/lib/browser/memory-provider/memory-provider.spec.js +0 -24
  46. package/lib/browser/memory-provider/memory-provider.spec.js.map +0 -1
  47. package/lib/browser/memory-widget/memory-options-widget.d.ts +0 -137
  48. package/lib/browser/memory-widget/memory-options-widget.d.ts.map +0 -1
  49. package/lib/browser/memory-widget/memory-options-widget.js +0 -557
  50. package/lib/browser/memory-widget/memory-options-widget.js.map +0 -1
  51. package/lib/browser/memory-widget/memory-table-widget.d.ts +0 -147
  52. package/lib/browser/memory-widget/memory-table-widget.d.ts.map +0 -1
  53. package/lib/browser/memory-widget/memory-table-widget.js +0 -481
  54. package/lib/browser/memory-widget/memory-table-widget.js.map +0 -1
  55. package/lib/browser/memory-widget/memory-widget.d.ts +0 -34
  56. package/lib/browser/memory-widget/memory-widget.d.ts.map +0 -1
  57. package/lib/browser/memory-widget/memory-widget.js +0 -105
  58. package/lib/browser/memory-widget/memory-widget.js.map +0 -1
  59. package/lib/browser/register-widget/register-filter-service.d.ts +0 -43
  60. package/lib/browser/register-widget/register-filter-service.d.ts.map +0 -1
  61. package/lib/browser/register-widget/register-filter-service.js +0 -74
  62. package/lib/browser/register-widget/register-filter-service.js.map +0 -1
  63. package/lib/browser/register-widget/register-options-widget.d.ts +0 -82
  64. package/lib/browser/register-widget/register-options-widget.d.ts.map +0 -1
  65. package/lib/browser/register-widget/register-options-widget.js +0 -331
  66. package/lib/browser/register-widget/register-options-widget.js.map +0 -1
  67. package/lib/browser/register-widget/register-table-widget.d.ts +0 -78
  68. package/lib/browser/register-widget/register-table-widget.d.ts.map +0 -1
  69. package/lib/browser/register-widget/register-table-widget.js +0 -224
  70. package/lib/browser/register-widget/register-table-widget.js.map +0 -1
  71. package/lib/browser/register-widget/register-widget-types.d.ts +0 -30
  72. package/lib/browser/register-widget/register-widget-types.d.ts.map +0 -1
  73. package/lib/browser/register-widget/register-widget-types.js +0 -36
  74. package/lib/browser/register-widget/register-widget-types.js.map +0 -1
  75. package/lib/browser/utils/memory-commands.d.ts +0 -28
  76. package/lib/browser/utils/memory-commands.d.ts.map +0 -1
  77. package/lib/browser/utils/memory-commands.js +0 -68
  78. package/lib/browser/utils/memory-commands.js.map +0 -1
  79. package/lib/browser/utils/memory-hover-renderer.d.ts +0 -34
  80. package/lib/browser/utils/memory-hover-renderer.d.ts.map +0 -1
  81. package/lib/browser/utils/memory-hover-renderer.js +0 -104
  82. package/lib/browser/utils/memory-hover-renderer.js.map +0 -1
  83. package/lib/browser/utils/memory-recents.d.ts +0 -28
  84. package/lib/browser/utils/memory-recents.d.ts.map +0 -1
  85. package/lib/browser/utils/memory-recents.js +0 -53
  86. package/lib/browser/utils/memory-recents.js.map +0 -1
  87. package/lib/browser/utils/memory-widget-components.d.ts +0 -59
  88. package/lib/browser/utils/memory-widget-components.d.ts.map +0 -1
  89. package/lib/browser/utils/memory-widget-components.js +0 -71
  90. package/lib/browser/utils/memory-widget-components.js.map +0 -1
  91. package/lib/browser/utils/memory-widget-manager.d.ts +0 -51
  92. package/lib/browser/utils/memory-widget-manager.d.ts.map +0 -1
  93. package/lib/browser/utils/memory-widget-manager.js +0 -175
  94. package/lib/browser/utils/memory-widget-manager.js.map +0 -1
  95. package/lib/browser/utils/memory-widget-utils.d.ts +0 -114
  96. package/lib/browser/utils/memory-widget-utils.d.ts.map +0 -1
  97. package/lib/browser/utils/memory-widget-utils.js +0 -43
  98. package/lib/browser/utils/memory-widget-utils.js.map +0 -1
  99. package/lib/browser/utils/memory-widget-variable-utils.d.ts +0 -58
  100. package/lib/browser/utils/memory-widget-variable-utils.d.ts.map +0 -1
  101. package/lib/browser/utils/memory-widget-variable-utils.js +0 -145
  102. package/lib/browser/utils/memory-widget-variable-utils.js.map +0 -1
  103. package/lib/browser/utils/multi-select-bar.d.ts +0 -32
  104. package/lib/browser/utils/multi-select-bar.d.ts.map +0 -1
  105. package/lib/browser/utils/multi-select-bar.js +0 -36
  106. package/lib/browser/utils/multi-select-bar.js.map +0 -1
  107. package/lib/browser/wrapper-widgets/memory-dock-panel.d.ts +0 -25
  108. package/lib/browser/wrapper-widgets/memory-dock-panel.d.ts.map +0 -1
  109. package/lib/browser/wrapper-widgets/memory-dock-panel.js +0 -49
  110. package/lib/browser/wrapper-widgets/memory-dock-panel.js.map +0 -1
  111. package/lib/browser/wrapper-widgets/memory-dockpanel-placeholder-widget.d.ts +0 -24
  112. package/lib/browser/wrapper-widgets/memory-dockpanel-placeholder-widget.d.ts.map +0 -1
  113. package/lib/browser/wrapper-widgets/memory-dockpanel-placeholder-widget.js +0 -50
  114. package/lib/browser/wrapper-widgets/memory-dockpanel-placeholder-widget.js.map +0 -1
  115. package/lib/browser/wrapper-widgets/memory-layout-widget.d.ts +0 -52
  116. package/lib/browser/wrapper-widgets/memory-layout-widget.d.ts.map +0 -1
  117. package/lib/browser/wrapper-widgets/memory-layout-widget.js +0 -178
  118. package/lib/browser/wrapper-widgets/memory-layout-widget.js.map +0 -1
  119. package/lib/common/util.d.ts +0 -22
  120. package/lib/common/util.d.ts.map +0 -1
  121. package/lib/common/util.js +0 -32
  122. package/lib/common/util.js.map +0 -1
  123. package/lib/common/utils.spec.d.ts +0 -17
  124. package/lib/common/utils.spec.d.ts.map +0 -1
  125. package/lib/common/utils.spec.js +0 -47
  126. package/lib/common/utils.spec.js.map +0 -1
@@ -1,32 +0,0 @@
1
- /********************************************************************************
2
- * Copyright (C) 2021 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
- /// <reference types="react" />
17
- import * as React from '@theia/core/shared/react';
18
- import { MWLabelProps } from './memory-widget-components';
19
- export interface SingleSelectItemProps {
20
- id: string;
21
- label: string;
22
- defaultChecked?: boolean;
23
- }
24
- interface MultiSelectBarProps {
25
- items: SingleSelectItemProps[];
26
- id?: string;
27
- onSelectionChanged: (labelSelected: string, newSelectionState: boolean) => unknown;
28
- }
29
- export declare const MultiSelectBar: React.FC<MultiSelectBarProps>;
30
- export declare const MWMultiSelect: React.FC<MWLabelProps & MultiSelectBarProps>;
31
- export {};
32
- //# sourceMappingURL=multi-select-bar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"multi-select-bar.d.ts","sourceRoot":"","sources":["../../../src/browser/utils/multi-select-bar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;;AAElF,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAW,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AACD,UAAU,mBAAmB;IACzB,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kBAAkB,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,KAAK,OAAO,CAAC;CACtF;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgBxD,CAAC;AAuBF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,GAAG,mBAAmB,CAKtE,CAAC"}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /********************************************************************************
3
- * Copyright (C) 2021 Ericsson and others.
4
- *
5
- * This program and the accompanying materials are made available under the
6
- * terms of the Eclipse Public License v. 2.0 which is available at
7
- * http://www.eclipse.org/legal/epl-2.0.
8
- *
9
- * This Source Code may also be made available under the following Secondary
10
- * Licenses when the conditions for such availability set forth in the Eclipse
11
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- * with the GNU Classpath Exception which is available at
13
- * https://www.gnu.org/software/classpath/license.html.
14
- *
15
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- ********************************************************************************/
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.MWMultiSelect = exports.MultiSelectBar = void 0;
19
- const tslib_1 = require("tslib");
20
- const React = tslib_1.__importStar(require("@theia/core/shared/react"));
21
- const memory_widget_components_1 = require("./memory-widget-components");
22
- const MultiSelectBar = ({ items, onSelectionChanged, id }) => {
23
- const changeHandler = React.useCallback(e => {
24
- onSelectionChanged(e.target.id, e.target.checked);
25
- }, [onSelectionChanged]);
26
- return (React.createElement("div", { className: 'multi-select-bar', id: id }, items.map(({ label, id: itemId, defaultChecked }) => (React.createElement(LabeledCheckbox, { label: label, onChange: changeHandler, defaultChecked: !!defaultChecked, id: itemId, key: `${label}-${id}-checkbox` })))));
27
- };
28
- exports.MultiSelectBar = MultiSelectBar;
29
- const LabeledCheckbox = ({ defaultChecked, label, onChange, id }) => (React.createElement("div", { className: 'multi-select-checkbox-wrapper' },
30
- React.createElement("input", { tabIndex: 0, type: 'checkbox', id: id, className: 'multi-select-checkbox', defaultChecked: defaultChecked, onChange: onChange }),
31
- React.createElement(memory_widget_components_1.MWLabel, { id: id, label: label, classNames: ['multi-select-label'] })));
32
- const MWMultiSelect = ({ id, label, disabled, items, onSelectionChanged }) => (React.createElement(React.Fragment, null,
33
- React.createElement(memory_widget_components_1.MWLabel, { id: id, label: label, disabled: disabled }),
34
- React.createElement(exports.MultiSelectBar, { id: id, items: items, onSelectionChanged: onSelectionChanged })));
35
- exports.MWMultiSelect = MWMultiSelect;
36
- //# sourceMappingURL=multi-select-bar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"multi-select-bar.js","sourceRoot":"","sources":["../../../src/browser/utils/multi-select-bar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;AAElF,wEAAkD;AAClD,yEAAmE;AAa5D,MAAM,cAAc,GAAkC,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,EAAE,EAAE,EAAE;IAC/F,MAAM,aAAa,GAA+C,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE;QACpF,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAEzB,OAAO,CACH,6BAAK,SAAS,EAAC,kBAAkB,EAAC,EAA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ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
- import { TheiaDockPanel } from '@theia/core/lib/browser/shell/theia-dock-panel';
17
- import { interfaces } from '@theia/core/shared/inversify';
18
- export declare class MemoryDockPanel extends TheiaDockPanel {
19
- toggleMaximized(): void;
20
- }
21
- export declare namespace MemoryDockPanel {
22
- const ID = "memory-dock-panel-widget";
23
- const createWidget: (parent: interfaces.Container) => MemoryDockPanel;
24
- }
25
- //# sourceMappingURL=memory-dock-panel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-dock-panel.d.ts","sourceRoot":"","sources":["../../../src/browser/wrapper-widgets/memory-dock-panel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAGlF,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,qBAAa,eAAgB,SAAQ,cAAc;IACtC,eAAe,IAAI,IAAI;CACnC;AAED,yBAAiB,eAAe,CAAC;IACtB,MAAM,EAAE,6BAA6B,CAAC;IAoBtC,MAAM,YAAY,WAAY,WAAW,SAAS,KAAG,eAI3D,CAAC;CACL"}
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /********************************************************************************
3
- * Copyright (C) 2019 Ericsson and others.
4
- *
5
- * This program and the accompanying materials are made available under the
6
- * terms of the Eclipse Public License v. 2.0 which is available at
7
- * http://www.eclipse.org/legal/epl-2.0.
8
- *
9
- * This Source Code may also be made available under the following Secondary
10
- * Licenses when the conditions for such availability set forth in the Eclipse
11
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- * with the GNU Classpath Exception which is available at
13
- * https://www.gnu.org/software/classpath/license.html.
14
- *
15
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- ********************************************************************************/
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.MemoryDockPanel = void 0;
19
- const browser_1 = require("@theia/core/lib/browser");
20
- const theia_dock_panel_1 = require("@theia/core/lib/browser/shell/theia-dock-panel");
21
- class MemoryDockPanel extends theia_dock_panel_1.TheiaDockPanel {
22
- toggleMaximized() { }
23
- }
24
- exports.MemoryDockPanel = MemoryDockPanel;
25
- (function (MemoryDockPanel) {
26
- MemoryDockPanel.ID = 'memory-dock-panel-widget';
27
- const DOCK_PANEL_ID = 'theia-main-content-panel';
28
- const THEIA_TABBAR_CLASSES = ['theia-app-centers', 'theia-app-main'];
29
- const MEMORY_INSPECTOR_TABBAR_CLASS = 'memory-dock-tabbar';
30
- const DOCK_PANEL_CLASS = 'memory-dock-panel';
31
- const createDockPanel = (factory) => {
32
- const renderer = factory();
33
- renderer.tabBarClasses.push(...THEIA_TABBAR_CLASSES, MEMORY_INSPECTOR_TABBAR_CLASS);
34
- const dockPanel = new MemoryDockPanel({
35
- mode: 'multiple-document',
36
- renderer,
37
- spacing: 0,
38
- });
39
- dockPanel.addClass(DOCK_PANEL_CLASS);
40
- dockPanel.id = DOCK_PANEL_ID;
41
- return dockPanel;
42
- };
43
- MemoryDockPanel.createWidget = (parent) => {
44
- const dockFactory = parent.get(browser_1.DockPanelRendererFactory);
45
- const dockPanel = createDockPanel(dockFactory);
46
- return dockPanel;
47
- };
48
- })(MemoryDockPanel || (exports.MemoryDockPanel = MemoryDockPanel = {}));
49
- //# sourceMappingURL=memory-dock-panel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-dock-panel.js","sourceRoot":"","sources":["../../../src/browser/wrapper-widgets/memory-dock-panel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,qDAAmE;AACnE,qFAAgF;AAGhF,MAAa,eAAgB,SAAQ,iCAAc;IACtC,eAAe,KAAuB,CAAC;CACnD;AAFD,0CAEC;AAED,WAAiB,eAAe;IACf,kBAAE,GAAG,0BAA0B,CAAC;IAC7C,MAAM,aAAa,GAAG,0BAA0B,CAAC;IACjD,MAAM,oBAAoB,GAAG,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,6BAA6B,GAAG,oBAAoB,CAAC;IAC3D,MAAM,gBAAgB,GAAG,mBAAmB,CAAC;IAE7C,MAAM,eAAe,GAAG,CAAC,OAAiC,EAAmB,EAAE;QAC3E,MAAM,QAAQ,GAAG,OAAO,EAAE,CAAC;QAC3B,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,oBAAoB,EAAE,6BAA6B,CAAC,CAAC;QACpF,MAAM,SAAS,GAAG,IAAI,eAAe,CAAC;YAClC,IAAI,EAAE,mBAAmB;YACzB,QAAQ;YACR,OAAO,EAAE,CAAC;SACb,CAAC,CAAC;QACH,SAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;QACrC,SAAS,CAAC,EAAE,GAAG,aAAa,CAAC;QAE7B,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;IAEW,4BAAY,GAAG,CAAC,MAA4B,EAAmB,EAAE;QAC1E,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAA2B,kCAAwB,CAAC,CAAC;QACnF,MAAM,SAAS,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC;QAC/C,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;AACN,CAAC,EA1BgB,eAAe,+BAAf,eAAe,QA0B/B"}
@@ -1,24 +0,0 @@
1
- /// <reference types="react" />
2
- /********************************************************************************
3
- * Copyright (C) 2021 Ericsson and others.
4
- *
5
- * This program and the accompanying materials are made available under the
6
- * terms of the Eclipse Public License v. 2.0 which is available at
7
- * http://www.eclipse.org/legal/epl-2.0.
8
- *
9
- * This Source Code may also be made available under the following Secondary
10
- * Licenses when the conditions for such availability set forth in the Eclipse
11
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- * with the GNU Classpath Exception which is available at
13
- * https://www.gnu.org/software/classpath/license.html.
14
- *
15
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- ********************************************************************************/
17
- import { ReactWidget } from '@theia/core/lib/browser';
18
- import * as React from '@theia/core/shared/react';
19
- export declare class MemoryDockpanelPlaceholder extends ReactWidget {
20
- static ID: string;
21
- init(): void;
22
- render(): React.ReactNode;
23
- }
24
- //# sourceMappingURL=memory-dockpanel-placeholder-widget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-dockpanel-placeholder-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/wrapper-widgets/memory-dockpanel-placeholder-widget.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAElD,qBACa,0BAA2B,SAAQ,WAAW;IACvD,MAAM,CAAC,EAAE,SAAkC;IAG3C,IAAI,IAAI,IAAI;IAMZ,MAAM,IAAI,KAAK,CAAC,SAAS;CAO5B"}
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var MemoryDockpanelPlaceholder_1;
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.MemoryDockpanelPlaceholder = void 0;
5
- const tslib_1 = require("tslib");
6
- /********************************************************************************
7
- * Copyright (C) 2021 Ericsson and others.
8
- *
9
- * This program and the accompanying materials are made available under the
10
- * terms of the Eclipse Public License v. 2.0 which is available at
11
- * http://www.eclipse.org/legal/epl-2.0.
12
- *
13
- * This Source Code may also be made available under the following Secondary
14
- * Licenses when the conditions for such availability set forth in the Eclipse
15
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
16
- * with the GNU Classpath Exception which is available at
17
- * https://www.gnu.org/software/classpath/license.html.
18
- *
19
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
20
- ********************************************************************************/
21
- const browser_1 = require("@theia/core/lib/browser");
22
- const inversify_1 = require("@theia/core/shared/inversify");
23
- const React = tslib_1.__importStar(require("@theia/core/shared/react"));
24
- let MemoryDockpanelPlaceholder = MemoryDockpanelPlaceholder_1 = class MemoryDockpanelPlaceholder extends browser_1.ReactWidget {
25
- init() {
26
- this.id = MemoryDockpanelPlaceholder_1.ID;
27
- this.addClass(MemoryDockpanelPlaceholder_1.ID);
28
- this.update();
29
- }
30
- render() {
31
- return (React.createElement("div", { className: 't-mv-memory-fetch-error' },
32
- "Click the ",
33
- React.createElement("i", { className: 'memory-view-icon toolbar' }),
34
- " icon to add a new memory view or the ",
35
- React.createElement("i", { className: 'register-view-icon toolbar' }),
36
- " icon to add a register view."));
37
- }
38
- };
39
- exports.MemoryDockpanelPlaceholder = MemoryDockpanelPlaceholder;
40
- MemoryDockpanelPlaceholder.ID = 'memory-dockpanel-placeholder';
41
- tslib_1.__decorate([
42
- (0, inversify_1.postConstruct)(),
43
- tslib_1.__metadata("design:type", Function),
44
- tslib_1.__metadata("design:paramtypes", []),
45
- tslib_1.__metadata("design:returntype", void 0)
46
- ], MemoryDockpanelPlaceholder.prototype, "init", null);
47
- exports.MemoryDockpanelPlaceholder = MemoryDockpanelPlaceholder = MemoryDockpanelPlaceholder_1 = tslib_1.__decorate([
48
- (0, inversify_1.injectable)()
49
- ], MemoryDockpanelPlaceholder);
50
- //# sourceMappingURL=memory-dockpanel-placeholder-widget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-dockpanel-placeholder-widget.js","sourceRoot":"","sources":["../../../src/browser/wrapper-widgets/memory-dockpanel-placeholder-widget.tsx"],"names":[],"mappings":";;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,qDAAsD;AACtD,4DAAyE;AACzE,wEAAkD;AAG3C,IAAM,0BAA0B,kCAAhC,MAAM,0BAA2B,SAAQ,qBAAW;IAIvD,IAAI;QACA,IAAI,CAAC,EAAE,GAAG,4BAA0B,CAAC,EAAE,CAAC;QACxC,IAAI,CAAC,QAAQ,CAAC,4BAA0B,CAAC,EAAE,CAAC,CAAC;QAC7C,IAAI,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;IAED,MAAM;QACF,OAAO,CACH,6BAAK,SAAS,EAAC,yBAAyB;;YAC1B,2BAAG,SAAS,EAAC,0BAA0B,GAAG;;YAAsC,2BAAG,SAAS,EAAC,4BAA4B,GAAG;4CACpI,CACT,CAAC;IACN,CAAC;;AAhBQ,gEAA0B;AAC5B,6BAAE,GAAG,8BAA8B,AAAjC,CAAkC;AAG3C;IADC,IAAA,yBAAa,GAAE;;;;sDAKf;qCARQ,0BAA0B;IADtC,IAAA,sBAAU,GAAE;GACA,0BAA0B,CAiBtC"}
@@ -1,52 +0,0 @@
1
- /********************************************************************************
2
- * Copyright (C) 2021 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
- import { Disposable, DisposableCollection, Emitter } from '@theia/core';
17
- import { ApplicationShell, Message, Panel, Widget, WidgetManager } from '@theia/core/lib/browser';
18
- import { MemoryDiffSelectWidget } from '../diff-widget/memory-diff-select-widget';
19
- import { MemoryWidgetManager } from '../utils/memory-widget-manager';
20
- import { MemoryDockPanel } from './memory-dock-panel';
21
- import { MemoryDockpanelPlaceholder } from './memory-dockpanel-placeholder-widget';
22
- export declare class MemoryLayoutWidget extends Panel implements Disposable, ApplicationShell.TrackableWidgetProvider {
23
- static readonly ID = "memory-layout-widget";
24
- static readonly LABEL: string;
25
- static readonly DOCK_PANEL_ID = "theia-main-content-panel";
26
- static readonly THEIA_TABBAR_CLASSES: string[];
27
- static readonly MEMORY_INSPECTOR_TABBAR_CLASS = "memory-dock-tabbar";
28
- static readonly DOCK_PANEL_CLASS = "memory-dock-panel";
29
- protected readonly widgetManager: WidgetManager;
30
- protected readonly memoryWidgetManager: MemoryWidgetManager;
31
- protected readonly diffSelectWidget: MemoryDiffSelectWidget;
32
- protected readonly placeholderWidget: MemoryDockpanelPlaceholder;
33
- protected readonly shell: ApplicationShell;
34
- protected readonly onDidChangeTrackableWidgetsEmitter: Emitter<Widget[]>;
35
- readonly onDidChangeTrackableWidgets: import("@theia/core").Event<Widget[]>;
36
- protected readonly toDispose: DisposableCollection;
37
- protected dockPanel: MemoryDockPanel;
38
- protected hasGeneratedWidgetAutomatically: boolean;
39
- protected init(): void;
40
- protected doInit(): Promise<void>;
41
- toggleComparisonVisibility(): void;
42
- dispose(): void;
43
- protected dockPanelHoldsWidgets(): boolean;
44
- protected handleWidgetsChanged(): void;
45
- protected handleWidgetRemoved(_sender: Widget, widgetRemoved: Widget): void;
46
- protected createAndFocusWidget(): Promise<void>;
47
- protected onAfterShow(msg: Message): Promise<void>;
48
- getTrackableWidgets(): Widget[];
49
- activateWidget(id: string): Widget | undefined;
50
- onActivateRequest(msg: Message): void;
51
- }
52
- //# sourceMappingURL=memory-layout-widget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-layout-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/wrapper-widgets/memory-layout-widget.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,UAAU,EAAE,oBAAoB,EA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,IAAI,IAAI;cAIN,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IA4BvC,0BAA0B,IAAI,IAAI;IASzB,OAAO,IAAI,IAAI;IAKxB,SAAS,CAAC,qBAAqB,IAAI,OAAO;IAY1C,SAAS,CAAC,oBAAoB,IAAI,IAAI;IAQtC,SAAS,CAAC,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;cAO3D,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;cAK5B,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAQjE,mBAAmB,IAAI,MAAM,EAAE;IAK/B,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQrC,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;CAWjD"}
@@ -1,178 +0,0 @@
1
- "use strict";
2
- /********************************************************************************
3
- * Copyright (C) 2021 Ericsson and others.
4
- *
5
- * This program and the accompanying materials are made available under the
6
- * terms of the Eclipse Public License v. 2.0 which is available at
7
- * http://www.eclipse.org/legal/epl-2.0.
8
- *
9
- * This Source Code may also be made available under the following Secondary
10
- * Licenses when the conditions for such availability set forth in the Eclipse
11
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- * with the GNU Classpath Exception which is available at
13
- * https://www.gnu.org/software/classpath/license.html.
14
- *
15
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- ********************************************************************************/
17
- var MemoryLayoutWidget_1;
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.MemoryLayoutWidget = void 0;
20
- const tslib_1 = require("tslib");
21
- const core_1 = require("@theia/core");
22
- const browser_1 = require("@theia/core/lib/browser");
23
- const inversify_1 = require("@theia/core/shared/inversify");
24
- const memory_diff_select_widget_1 = require("../diff-widget/memory-diff-select-widget");
25
- const memory_widget_1 = require("../memory-widget/memory-widget");
26
- const memory_widget_manager_1 = require("../utils/memory-widget-manager");
27
- const memory_dock_panel_1 = require("./memory-dock-panel");
28
- const memory_dockpanel_placeholder_widget_1 = require("./memory-dockpanel-placeholder-widget");
29
- let MemoryLayoutWidget = MemoryLayoutWidget_1 = class MemoryLayoutWidget extends browser_1.Panel {
30
- constructor() {
31
- super(...arguments);
32
- this.onDidChangeTrackableWidgetsEmitter = new core_1.Emitter();
33
- this.onDidChangeTrackableWidgets = this.onDidChangeTrackableWidgetsEmitter.event;
34
- this.toDispose = new core_1.DisposableCollection();
35
- this.hasGeneratedWidgetAutomatically = false;
36
- }
37
- init() {
38
- this.doInit();
39
- }
40
- async doInit() {
41
- this.id = MemoryLayoutWidget_1.ID;
42
- this.addClass(MemoryLayoutWidget_1.ID);
43
- this.title.label = MemoryLayoutWidget_1.LABEL;
44
- this.title.caption = MemoryLayoutWidget_1.LABEL;
45
- this.title.closable = true;
46
- this.title.iconClass = 'memory-view-icon';
47
- this.dockPanel = await this.widgetManager.getOrCreateWidget(memory_dock_panel_1.MemoryDockPanel.ID);
48
- this.addWidget(this.dockPanel);
49
- this.addWidget(this.diffSelectWidget);
50
- this.addWidget(this.placeholderWidget);
51
- this.toDispose.push(this.memoryWidgetManager.onDidCreateNewWidget(widget => {
52
- this.dockPanel.addWidget(widget);
53
- this.dockPanel.activateWidget(widget);
54
- this.onDidChangeTrackableWidgetsEmitter.fire([widget]);
55
- }));
56
- this.toDispose.push(this.memoryWidgetManager.onChanged(() => {
57
- if (!this.memoryWidgetManager.canCompare) {
58
- this.diffSelectWidget.hide();
59
- }
60
- }));
61
- this.dockPanel.widgetRemoved.connect(this.handleWidgetRemoved.bind(this), this);
62
- this.dockPanel.widgetAdded.connect(this.handleWidgetsChanged.bind(this), this);
63
- this.toDispose.push(this.onDidChangeTrackableWidgetsEmitter);
64
- this.diffSelectWidget.hide();
65
- this.update();
66
- }
67
- toggleComparisonVisibility() {
68
- if (this.diffSelectWidget.isHidden) {
69
- this.diffSelectWidget.show();
70
- }
71
- else {
72
- this.diffSelectWidget.hide();
73
- }
74
- this.update();
75
- }
76
- dispose() {
77
- this.toDispose.dispose();
78
- super.dispose();
79
- }
80
- dockPanelHoldsWidgets() {
81
- const iter = this.dockPanel.tabBars();
82
- let tabBar = iter.next();
83
- while (!tabBar.done) {
84
- if (tabBar.value.titles.length) {
85
- return true;
86
- }
87
- tabBar = iter.next();
88
- }
89
- return false;
90
- }
91
- handleWidgetsChanged() {
92
- if (this.dockPanelHoldsWidgets()) {
93
- this.placeholderWidget.hide();
94
- }
95
- else {
96
- this.placeholderWidget.show();
97
- }
98
- }
99
- handleWidgetRemoved(_sender, widgetRemoved) {
100
- if (widgetRemoved instanceof memory_widget_1.MemoryWidget) { // Sometimes it's the tabbar.
101
- this.handleWidgetsChanged();
102
- this.shell.activateWidget(this.id);
103
- }
104
- }
105
- async createAndFocusWidget() {
106
- const widget = await this.memoryWidgetManager.createNewMemoryWidget();
107
- widget.activate();
108
- }
109
- async onAfterShow(msg) {
110
- if (!this.hasGeneratedWidgetAutomatically && !this.dockPanelHoldsWidgets()) {
111
- await this.createAndFocusWidget();
112
- this.hasGeneratedWidgetAutomatically = true;
113
- }
114
- super.onAfterShow(msg);
115
- }
116
- getTrackableWidgets() {
117
- const childIterator = this.dockPanel.children();
118
- return Array.from(childIterator);
119
- }
120
- activateWidget(id) {
121
- const widget = this.getTrackableWidgets().find(candidateWidget => candidateWidget.id === id);
122
- if (widget) {
123
- this.dockPanel.activateWidget(widget);
124
- }
125
- return widget;
126
- }
127
- onActivateRequest(msg) {
128
- var _a, _b;
129
- const displayedWidget = (_b = (_a = this.dockPanel.currentTabBar) === null || _a === void 0 ? void 0 : _a.currentTitle) === null || _b === void 0 ? void 0 : _b.owner;
130
- if (displayedWidget) {
131
- displayedWidget.activate();
132
- }
133
- else {
134
- // Only happens if you remove all widgets, then close the view.
135
- this.node.tabIndex = -1;
136
- this.node.focus();
137
- }
138
- super.onActivateRequest(msg);
139
- }
140
- };
141
- exports.MemoryLayoutWidget = MemoryLayoutWidget;
142
- MemoryLayoutWidget.ID = 'memory-layout-widget';
143
- MemoryLayoutWidget.LABEL = core_1.nls.localize('theia/memory-inspector/memoryInspector', 'Memory Inspector');
144
- // Necessary to inherit theia's tabbar styling
145
- MemoryLayoutWidget.DOCK_PANEL_ID = 'theia-main-content-panel';
146
- MemoryLayoutWidget.THEIA_TABBAR_CLASSES = ['theia-app-centers', 'theia-app-main'];
147
- MemoryLayoutWidget.MEMORY_INSPECTOR_TABBAR_CLASS = 'memory-dock-tabbar';
148
- MemoryLayoutWidget.DOCK_PANEL_CLASS = 'memory-dock-panel';
149
- tslib_1.__decorate([
150
- (0, inversify_1.inject)(browser_1.WidgetManager),
151
- tslib_1.__metadata("design:type", browser_1.WidgetManager)
152
- ], MemoryLayoutWidget.prototype, "widgetManager", void 0);
153
- tslib_1.__decorate([
154
- (0, inversify_1.inject)(memory_widget_manager_1.MemoryWidgetManager),
155
- tslib_1.__metadata("design:type", memory_widget_manager_1.MemoryWidgetManager)
156
- ], MemoryLayoutWidget.prototype, "memoryWidgetManager", void 0);
157
- tslib_1.__decorate([
158
- (0, inversify_1.inject)(memory_diff_select_widget_1.MemoryDiffSelectWidget),
159
- tslib_1.__metadata("design:type", memory_diff_select_widget_1.MemoryDiffSelectWidget)
160
- ], MemoryLayoutWidget.prototype, "diffSelectWidget", void 0);
161
- tslib_1.__decorate([
162
- (0, inversify_1.inject)(memory_dockpanel_placeholder_widget_1.MemoryDockpanelPlaceholder),
163
- tslib_1.__metadata("design:type", memory_dockpanel_placeholder_widget_1.MemoryDockpanelPlaceholder)
164
- ], MemoryLayoutWidget.prototype, "placeholderWidget", void 0);
165
- tslib_1.__decorate([
166
- (0, inversify_1.inject)(browser_1.ApplicationShell),
167
- tslib_1.__metadata("design:type", browser_1.ApplicationShell)
168
- ], MemoryLayoutWidget.prototype, "shell", void 0);
169
- tslib_1.__decorate([
170
- (0, inversify_1.postConstruct)(),
171
- tslib_1.__metadata("design:type", Function),
172
- tslib_1.__metadata("design:paramtypes", []),
173
- tslib_1.__metadata("design:returntype", void 0)
174
- ], MemoryLayoutWidget.prototype, "init", null);
175
- exports.MemoryLayoutWidget = MemoryLayoutWidget = MemoryLayoutWidget_1 = tslib_1.__decorate([
176
- (0, inversify_1.injectable)()
177
- ], MemoryLayoutWidget);
178
- //# sourceMappingURL=memory-layout-widget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-layout-widget.js","sourceRoot":"","sources":["../../../src/browser/wrapper-widgets/memory-layout-widget.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;AAElF,sCAA6E;AAC7E,qDAAkG;AAClG,4DAAiF;AACjF,wFAAkF;AAClF,kEAA8D;AAC9D,0EAAqE;AACrE,2DAAsD;AACtD,+FAAmF;AAG5E,IAAM,kBAAkB,0BAAxB,MAAM,kBAAmB,SAAQ,eAAK;IAAtC;;QAgBgB,uCAAkC,GAAG,IAAI,cAAO,EAAY,CAAC;QACvE,gCAA2B,GAAG,IAAI,CAAC,kCAAkC,CAAC,KAAK,CAAC;QAElE,cAAS,GAAG,IAAI,2BAAoB,EAAE,CAAC;QAEhD,oCAA+B,GAAG,KAAK,CAAC;IAiHtD,CAAC;IA9Ga,IAAI;QACV,IAAI,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;IAES,KAAK,CAAC,MAAM;QAClB,IAAI,CAAC,EAAE,GAAG,oBAAkB,CAAC,EAAE,CAAC;QAChC,IAAI,CAAC,QAAQ,CAAC,oBAAkB,CAAC,EAAE,CAAC,CAAC;QACrC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,oBAAkB,CAAC,KAAK,CAAC;QAC5C,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,oBAAkB,CAAC,KAAK,CAAC;QAC9C,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;QAC3B,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,kBAAkB,CAAC;QAC1C,IA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KAAK,EAAE,CAAC;QACtB,CAAC;QACD,KAAK,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;IACjC,CAAC;;AArIQ,gDAAkB;AACX,qBAAE,GAAG,sBAAsB,AAAzB,CAA0B;AAC5B,wBAAK,GAAG,UAAG,CAAC,QAAQ,CAAC,wCAAwC,EAAE,kBAAkB,CAAC,AAA7E,CAA8E;AAEnG,8CAA8C;AAC9B,gCAAa,GAAG,0BAA0B,AAA7B,CAA8B;AAC3C,uCAAoB,GAAG,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,AAA1C,CAA2C;AAC/D,gDAA6B,GAAG,oBAAoB,AAAvB,CAAwB;AACrD,mCAAgB,GAAG,mBAAmB,AAAtB,CAAuB;AAEb;IAAzC,IAAA,kBAAM,EAAC,uBAAa,CAAC;sCAAmC,uBAAa;yDAAC;AACvB;IAA/C,IAAA,kBAAM,EAAC,2CAAmB,CAAC;sCAAyC,2CAAmB;+DAAC;AACtC;IAAlD,IAAA,kBAAM,EAAC,kDAAsB,CAAC;sCAAsC,kDAAsB;4DAAC;AACrC;IAAtD,IAAA,kBAAM,EAAC,gEAA0B,CAAC;sCAAuC,gEAA0B;6DAAC;AACxD;IAA5C,IAAA,kBAAM,EAAC,0BAAgB,CAAC;sCAA2B,0BAAgB;iDAAC;AAU3D;IADT,IAAA,yBAAa,GAAE;;;;8CAGf;6BA1BQ,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CAsI9B"}
@@ -1,22 +0,0 @@
1
- /********************************************************************************
2
- * Copyright (C) 2019 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
- import Long from 'long';
17
- /**
18
- * Parse `hexStr` as an hexadecimal string (with or without the leading 0x)
19
- * and return the value as a Long.
20
- */
21
- export declare function hexStrToUnsignedLong(hexStr: string): Long;
22
- //# sourceMappingURL=util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/common/util.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAKzD"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- /********************************************************************************
3
- * Copyright (C) 2019 Ericsson and others.
4
- *
5
- * This program and the accompanying materials are made available under the
6
- * terms of the Eclipse Public License v. 2.0 which is available at
7
- * http://www.eclipse.org/legal/epl-2.0.
8
- *
9
- * This Source Code may also be made available under the following Secondary
10
- * Licenses when the conditions for such availability set forth in the Eclipse
11
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- * with the GNU Classpath Exception which is available at
13
- * https://www.gnu.org/software/classpath/license.html.
14
- *
15
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- ********************************************************************************/
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.hexStrToUnsignedLong = void 0;
19
- const tslib_1 = require("tslib");
20
- const long_1 = tslib_1.__importDefault(require("long"));
21
- /**
22
- * Parse `hexStr` as an hexadecimal string (with or without the leading 0x)
23
- * and return the value as a Long.
24
- */
25
- function hexStrToUnsignedLong(hexStr) {
26
- if (hexStr.trim().length === 0) {
27
- return new long_1.default(0, 0, true);
28
- }
29
- return long_1.default.fromString(hexStr, true, 16);
30
- }
31
- exports.hexStrToUnsignedLong = hexStrToUnsignedLong;
32
- //# sourceMappingURL=util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../src/common/util.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;AAElF,wDAAwB;AAExB;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,MAAc;IAC/C,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC7B,OAAO,IAAI,cAAI,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,cAAI,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;AAC7C,CAAC;AALD,oDAKC"}
@@ -1,17 +0,0 @@
1
- /********************************************************************************
2
- * Copyright (C) 2019 Ericsson and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
- export {};
17
- //# sourceMappingURL=utils.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.spec.d.ts","sourceRoot":"","sources":["../../src/common/utils.spec.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF"}
@@ -1,47 +0,0 @@
1
- "use strict";
2
- /********************************************************************************
3
- * Copyright (C) 2019 Ericsson and others.
4
- *
5
- * This program and the accompanying materials are made available under the
6
- * terms of the Eclipse Public License v. 2.0 which is available at
7
- * http://www.eclipse.org/legal/epl-2.0.
8
- *
9
- * This Source Code may also be made available under the following Secondary
10
- * Licenses when the conditions for such availability set forth in the Eclipse
11
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- * with the GNU Classpath Exception which is available at
13
- * https://www.gnu.org/software/classpath/license.html.
14
- *
15
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- ********************************************************************************/
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- const tslib_1 = require("tslib");
19
- const util_1 = require("./util");
20
- const chai_1 = require("chai");
21
- const long_1 = tslib_1.__importDefault(require("long"));
22
- describe('utils', function () {
23
- it('#hexStrToUnsignedLong', function () {
24
- let val = (0, util_1.hexStrToUnsignedLong)('');
25
- (0, chai_1.expect)(val).eql(new long_1.default(0, 0, true));
26
- val = (0, util_1.hexStrToUnsignedLong)('0x');
27
- (0, chai_1.expect)(val).eql(new long_1.default(0, 0, true));
28
- val = (0, util_1.hexStrToUnsignedLong)('0x0');
29
- (0, chai_1.expect)(val).eql(new long_1.default(0, 0, true));
30
- val = (0, util_1.hexStrToUnsignedLong)('0x1');
31
- (0, chai_1.expect)(val).eql(new long_1.default(0x1, 0, true));
32
- val = (0, util_1.hexStrToUnsignedLong)('0x12345678abcd');
33
- (0, chai_1.expect)(val).eql(new long_1.default(0x5678abcd, 0x1234, true));
34
- val = (0, util_1.hexStrToUnsignedLong)('0x12345678abcd1234');
35
- (0, chai_1.expect)(val).eql(new long_1.default(0xabcd1234, 0x12345678, true));
36
- });
37
- it('should handle -1 correctly', () => {
38
- const val = (0, util_1.hexStrToUnsignedLong)('-0x1');
39
- (0, chai_1.expect)(val).eql(long_1.default.fromInt(-1, true));
40
- });
41
- it('should handle long decimal numbers (up to 2^64-1)', () => {
42
- const input = '18446744073709551615';
43
- const val = long_1.default.fromString(input, true, 10);
44
- (0, chai_1.expect)(val.toString(10)).eql(input);
45
- });
46
- });
47
- //# sourceMappingURL=utils.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.spec.js","sourceRoot":"","sources":["../../src/common/utils.spec.ts"],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