Skip to content

Commit fb3a81a

Browse files
authored
chore: update README, improve text filter, add default GUI port (#98)
* chore: update README, improve text filter, add default GUI port * chore: disable ci * chore: remove CI flag from README
1 parent b52dd38 commit fb3a81a

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: ci
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
pull_request:
8-
94
env:
105
CARGO_TERM_COLOR: always
116

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Argon
22

3-
[![ci](https://github.com/ucb-substrate/argon/actions/workflows/ci.yml/badge.svg)](https://github.com/ucb-substrate/argon/actions/workflows/ci.yml)
43
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
54

65
Argon is a programming language for writing constraint-based integrated circuit layout generators.

core/gui/src/editor/toolbars.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ impl Render for LayerSideBar {
178178
.filter(|layer| {
179179
layer
180180
.name
181-
.contains(self.name_filter.read(cx).content.as_ref())
181+
.to_lowercase()
182+
.contains(&self.name_filter.read(cx).content.to_lowercase())
182183
&& (!self.state.read(cx).used_filter || layer.used)
183184
})
184185
.map(|layer| {
@@ -284,7 +285,8 @@ impl HierarchySideBar {
284285
let expanded = self.expanded_scopes.contains(&scope_path);
285286
if scope_state
286287
.name
287-
.contains(self.name_filter.read(cx).content.as_ref())
288+
.to_lowercase()
289+
.contains(&self.name_filter.read(cx).content.to_lowercase())
288290
{
289291
scopes.push(
290292
div()

core/gui/src/rpc.rs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,16 @@ impl SyncGuiToLspClient {
4949
let (tx, mut rx) = mpsc::channel(1);
5050
let mut listener = self.app.background_executor().block(
5151
async {
52-
tarpc::serde_transport::tcp::listen((Ipv4Addr::LOCALHOST, 0), Json::default)
53-
.await
54-
.unwrap()
52+
if let Ok(listener) =
53+
tarpc::serde_transport::tcp::listen((Ipv4Addr::LOCALHOST, 12346), Json::default)
54+
.await
55+
{
56+
listener
57+
} else {
58+
tarpc::serde_transport::tcp::listen((Ipv4Addr::LOCALHOST, 0), Json::default)
59+
.await
60+
.unwrap()
61+
}
5562
}
5663
.compat(),
5764
);

plugins/vscode/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"watch": "tsc -b -w",
5151
"lint": "eslint",
5252
"postinstall": "cd client && npm install && cd ..",
53-
"test": "sh ./scripts/e2e.sh"
5453
},
5554
"devDependencies": {
5655
"@eslint/js": "^9.13.0",

0 commit comments

Comments
 (0)