Skip to content

Commit

Permalink
Merge pull request #566 from coreemu/rel/7.5.1
Browse files Browse the repository at this point in the history
Rel/7.5.1
  • Loading branch information
bharnden authored Apr 16, 2021
2 parents b2726b6 + 1daf577 commit cbe1db1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2021-04-15 CORE 7.5.1

* core-pygui
* fixed issues creating and drawing custom nodes

## 2021-03-11 CORE 7.5.0

* core-daemon
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

# this defines the CORE version number, must be static for AC_INIT
AC_INIT(core, 7.5.0)
AC_INIT(core, 7.5.1)

# autoconf and automake initialization
AC_CONFIG_SRCDIR([netns/version.h.in])
Expand Down
14 changes: 7 additions & 7 deletions daemon/core/gui/dialogs/customnodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ def draw(self) -> None:
button.grid(row=0, column=1, sticky=tk.EW)

# trigger group change
self.groups.listbox.event_generate("<<ListboxSelect>>")
self.handle_group_change()

def handle_group_change(self, event: tk.Event) -> None:
def handle_group_change(self, event: tk.Event = None) -> None:
selection = self.groups.listbox.curselection()
if selection:
index = selection[0]
Expand Down Expand Up @@ -195,7 +195,7 @@ def click_icon(self) -> None:
self.image_button.config(image=self.image)

def click_services(self) -> None:
dialog = ServicesSelectDialog(self, self.app, self.services)
dialog = ServicesSelectDialog(self, self.app, set(self.services))
dialog.show()
if dialog.current_services is not None:
self.services.clear()
Expand Down Expand Up @@ -238,12 +238,12 @@ def click_edit(self) -> None:
node_draw.model = name
node_draw.image_file = str(Path(self.image_file).absolute())
node_draw.image = self.image
node_draw.services = self.services
node_draw.services = set(self.services)
logging.debug(
"edit custom node (%s), image: (%s), services (%s)",
name,
self.image_file,
self.services,
node_draw.model,
node_draw.image_file,
node_draw.services,
)
self.app.core.custom_nodes[name] = node_draw
self.nodes_list.listbox.delete(self.selected_index)
Expand Down
2 changes: 1 addition & 1 deletion daemon/core/gui/nodeutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def from_custom(cls, custom_node: CustomNode) -> "NodeDraw":
node_draw.image_file = custom_node.image
node_draw.image = images.from_file(custom_node.image, width=images.NODE_SIZE)
node_draw.node_type = NodeType.DEFAULT
node_draw.services = custom_node.services
node_draw.services = set(custom_node.services)
node_draw.label = custom_node.name
node_draw.model = custom_node.name
node_draw.tooltip = custom_node.name
Expand Down
2 changes: 1 addition & 1 deletion daemon/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "core"
version = "7.5.0"
version = "7.5.1"
description = "CORE Common Open Research Emulator"
authors = ["Boeing Research and Technology"]
license = "BSD-2-Clause"
Expand Down
3 changes: 3 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ After installation has completed you should be able to run `core-daemon` and `co
`install.sh` will attempt to determine your OS by way of `/etc/os-release`, currently it supports
attempts to install OSs that are debian/redhat like (yum/apt).
```shell
# make sure pip is the latest version before moving forward
python3 -m pip install -U pip

# clone CORE repo
git clone https://github.com/coreemu/core.git
cd core
Expand Down

0 comments on commit cbe1db1

Please sign in to comment.