Tom A. Wagner
6da232debf
meson: Fix incorrect output file name
...
This fixes a typo from 96c61e43 that caused the binary to be generated with the wrong name.
2022-01-28 13:48:46 +01:00
Tom A. Wagner
96c61e43d2
meson: Remove custom build scripts
2022-01-28 13:01:35 +01:00
Tom A. Wagner
872ef7890d
readme: Credit gtk-rust-template
2022-01-28 12:11:32 +01:00
Tom A. Wagner
76ad8d11d7
Change application id to org.pipewire.Helvum
2022-01-28 10:14:21 +01:00
Tom A. Wagner
4075b66865
deps: Update gtk-rs to latest release
2022-01-17 12:00:00 +01:00
Tom A. Wagner
96182826e4
logging: Use glib as log backend instead of env_logger.
...
This makes log output use the same logger as gtk itself and as most other gtk applications
2022-01-11 12:15:14 +01:00
Mihai Fufezan
e1fbb0cf49
Use gtk4-update-icon-cache instead of gtk3 one
2021-12-18 19:50:39 +00:00
Alireza Haghshenas
3653f2bb11
Emphasized that the flatpak-builder command needs be run inside a local clone of the project
2021-12-10 04:34:49 +00:00
Tom A. Wagner
56523f1b30
docs: Add documentation for making a release
2021-12-01 19:56:17 +01:00
Tom A. Wagner
7818bed159
Add appstream metadata file
2021-12-01 19:56:17 +01:00
Tom A. Wagner
c1ec56e115
Release 0.3.2
0.3.2
2021-11-30 18:25:58 +01:00
Tom A. Wagner
110e9ef67f
meson: Add dist script to vendor cargo dependencies for offline builds
2021-11-30 09:59:56 +01:00
Jan Beich
3c507683b7
build-aux: relax shebang in cargo.sh after 7b1b5ea336
...
/bin/sh: /bin/bash: not found
2021-11-27 21:57:03 +00:00
Thomas Rosendal
1d1f8bd3d7
Add instruction to add the flatpak remote 'flathub'
2021-11-25 07:59:45 +00:00
Sebastian Grabowski
b25f6f9abb
Update the extension versions in flatpak build instructions to 21.08
...
The extensions need to match the SDK version, that was updated to
org.gnome.Sdk//41 in Commit e5e02b13 . (Version 41 is based on
org.freedesktop.Sdk//21.08)
2021-11-24 17:03:23 +01:00
Tom A. Wagner
2d51ea677e
ci: use more recent fd.o ci-templates
2021-11-24 16:11:16 +01:00
Tom A. Wagner
beb03d8b09
Update CI container for rust 1.56
2021-11-24 16:11:16 +01:00
Tom A. Wagner
502cf4476b
gtk4dep: bump to 4.4 for fixed gtk_pick when using affine transform
...
This will be needed in a later commit for zooming in on the canvas using an affine (scaling) transformation matrix
2021-11-24 16:11:16 +01:00
Tom A. Wagner
eac973da15
Swap to rust 2021 edition and move rustc version check from meson.build to Cargo.toml
2021-11-24 16:11:16 +01:00
Tom A. Wagner
82a3e4f900
graphview: draw background automatically
...
This removes the manual painting of the background via cairo and adds the correct color to CSS instead,
which should hopefully improve performance as we do less cpu painting like this.
2021-11-24 16:11:16 +01:00
Suchipi
2cfc8e2e6f
Update build instructions to match changes in e5e02b1387
2021-11-19 01:10:14 +00:00
Tom A. Wagner
e5e02b1387
flatpak: Update to gnome runtime 41
2021-11-17 19:49:52 +01:00
Tom A. Wagner
396363cef1
README: Update screenshot
2021-11-17 19:49:52 +01:00
Tom A. Wagner
c887d77f64
graphview: Use #808080 as link color
...
For good contrast in both dark and light mode, the link color is now a semi-light gray instead of complete black, which had bad contrast in dark mode and good constrast in light mode.
Later, we can seperate color palettes for light and dark mode, but only together with a dark mode toggle button or system-wide darkmode toggle.
2021-11-13 20:32:40 +01:00
Tom A. Wagner
54d7ca83ae
graphview: Define link and grid colors in style.css
...
Previously, these were defined directly in the code,
but defining them in the css helps seperating theming and behaviour
and makes the colors easier to tweak.
2021-11-13 20:08:47 +01:00
Tom A. Wagner
7b1b5ea336
build: fix and improve cargo.sh
...
cargo.sh previously used bash features but only used `sh` in the shebang,
and also did not properly quote some variables to avoid splitting/globbing from happening.
Also, `-euo pilefail` is now set to avoid other errors that might come up.
2021-10-26 10:04:07 +02:00
Tom A. Wagner
729d4e1555
CI: Update container
2021-10-13 12:11:06 +02:00
Tom A. Wagner
ce6cab8134
Run rustfmt
2021-10-13 12:01:22 +02:00
Tom A. Wagner
8a552d0712
graphview: Add missing }; to fix build.
2021-10-13 11:56:46 +02:00
halfbro
f76235674c
Add small control point offset to links that connect from right to left (loopbacks)
2021-10-13 09:11:10 +00:00
Tom A. Wagner
92dcfd61a1
Add gpl snippets to the start of each rust source file.
2021-10-03 11:27:36 +02:00
Tom A. Wagner
02e58e9bfa
LICENSE: Replace outdated and edited GPL with the lastest stock version.
...
The old license file contained project specific edits, but editing the GPL text is disallowed by the fsf.
The new file also contains updated links.
2021-10-03 11:14:30 +02:00
Tom A. Wagner
958fa15230
Release 0.3.1
0.3.1
2021-09-30 08:45:11 +02:00
Tom A. Wagner
e9753dd078
Update dependencies
2021-09-30 08:45:00 +02:00
Tom A. Wagner
dfb1b754c7
Add and install icons.
...
This adds one new app icon and one new symbolic icon, and makes meson install these to the appropriate
directories, and adds an appropriate entry in the .desktop file.
2021-09-30 08:28:06 +02:00
Tom A. Wagner
497da8b953
graphview: Do not crash when the position of a node not on the graph is requested
...
While the position of a node not on the graph should never be requested, this seems to occur sometimes,
so instead of panicking, we only log an error now, or ignore that node if it wasn't
important.
2021-09-11 15:03:03 +02:00
Tom A. Wagner
da5da90352
Add .desktop file
...
This adds a .desktop file (without icon for now), which will automatically be installed when
`meson install` is run.
2021-08-29 18:41:09 +02:00
Tom A. Wagner
a8bfd8383e
buildsystem: Move to meson for building the project
...
Meson will allow us to:
- Verify the used rust compiler is recent enough
- Install ressources such as a .desktop files, icons, etc.
2021-08-29 17:28:55 +02:00
Tom A. Wagner
7ef8677c4c
readme: move screenshot.png into docs/ folder
2021-08-29 16:56:56 +02:00
Roger Roger
487dc3b2d3
Group nodes into columns by major type
2021-08-18 07:23:50 +00:00
Tom A. Wagner
2ee7bca68a
Release 0.3.0
0.3.0
2021-08-08 09:51:55 +02:00
Tom A. Wagner
494d3a383f
Update dependencies
2021-08-08 09:51:42 +02:00
Tom A. Wagner
b719e0d2ec
Add simple flatpak manifest
2021-07-22 11:35:12 +02:00
Tom A. Wagner
f64a936dd9
Update dependencies
2021-07-18 09:58:39 +02:00
Tom A. Wagner
179665778d
view: Draw a dashed line for links that are not active
2021-07-08 13:37:37 +02:00
er888kh
be9339472e
First nodes that GraphView::add_node creates, get pushed
...
to the left side of the screen. So by adding a constant offset,
we can avoid having possible links that are partly out of the view
just after starting the program
2021-07-06 09:39:34 +00:00
Tom A. Wagner
e29ffdeea8
view: Port: Do not inherit from gtk::Button
...
We do not need any button functionality, so it is more appropriate to inherit directly from gtk::Widget
2021-07-06 11:01:20 +02:00
Tom A. Wagner
add1a96b75
Deduplicate port dragging code and add some extra logging
2021-07-06 10:23:20 +02:00
Tom A. Wagner
9445e173f9
view: ports: Improve linking between ports.
...
Links can now created by dragging in both directions, so now from an input port to an output port, too.
The drag-n-drop handlers now use dedicated types for each direction, so that no mismatched things can be dropped on each other.
2021-06-28 13:54:53 +02:00
Tom A. Wagner
58794fe123
Remove unneeded Rc, Port is now a refcounted gobject
2021-06-28 13:29:46 +02:00