Commit graph

231 commits

Author SHA1 Message Date
Chris Glass
a747b03c17 Bonus: reduce size of Message further
Turns out we can reduce the size of Message even further by also boxing
the Config variant.

The size of the Message enum has now dropped from 900+ bytes to 64
bytes.
2026-04-10 19:00:25 +02:00
Chris Glass
eca9421e87 We don't need to match for only one case
Instead, let's use a simple if statement. If in the future we need to
care about other cases, we can introduce a match statement again.
2026-04-10 18:36:16 +02:00
Chris Glass
72a27129e3 Don't pass the large DialogMessage on the stack
Instead, since the size of DialogMessage is allocated in the Message
enum, pass it as a box, so that only the size of a pointer is allocated
on the stack instead.
2026-04-10 18:32:09 +02:00
Chris Glass
f50ece41eb Fix all auto-fix from clippy 2026-04-10 18:09:25 +02:00
Hojjat
c8b18c2827 chore: update to the latest libcosmic
applies iced re-export changes
2026-04-09 12:47:22 -04:00
Hojjat
1d86974682 fix: keep the url in state for menu actions and underline 2026-04-09 12:47:22 -04:00
Hojjat
8b95675c9b fix: gate wayland features and add inline popover fallback 2026-04-09 12:47:22 -04:00
Hojjat
467998433c chore: cargo fmt 2026-04-09 12:47:22 -04:00
Hojjat
133c526acd fix: dismiss context menu when clicking in any pane 2026-04-09 12:47:22 -04:00
Hojjat
0575680860 feat: Convert context menu from widget::popover to Wayland popup surface 2026-04-09 12:47:22 -04:00
Hojjat
8203b1e233 fix(style): add the background color to that tab bar 2026-03-24 10:48:58 -06:00
Ashley Wulber
f62abcea4e
feat: rebase libcosmic onto iced 0.14 2026-03-18 17:21:57 +01:00
Chris Glass
8781276c3f Fix "Copy link" lingering highlight bug
Previously introduced "Copy Link" seems to have missed some changes
added top "Open Link" which results in a lingering "underline" when
copying links.

For some reason the file was not properly formatted acoring to rust-fmt,
so some unrelated formatting changes snuck in.
2026-02-28 22:12:57 +01:00
Josh Megnauth
108ba0dfe3 Activate nearest tab only if closing focused tab
Closes: #719

The nearest tab should only be focused if the currently focused tab is
closed.
2026-02-19 15:18:05 -05:00
Jeremy Soller
b9062e47d5
Merge pull request #662 from adil192/feat/add-working-dir-arg
feat: add `--working-directory` arg
2026-02-19 12:40:37 -07:00
Adil Hanney
7848e64bab
tweak: make options and tab_title_override not mut 2026-02-16 23:48:14 +00:00
Adil Hanney
75cfa52673
fix: merge profile and startup options 2026-02-16 23:36:40 +00:00
Jacob Kauffmann
773c3719a1 Merge branch 'master' into feat/add-working-dir-arg 2026-02-16 12:41:51 -07:00
Chris Glass
a6522c4816 Add "Copy link" to context menu 2026-02-15 11:15:12 +01:00
Jeremy Soller
51454564cc Generate translated desktop and metainfo files with xdgen 2026-02-12 15:23:04 -07:00
Jeremy Soller
16fe126138
Merge branch 'master' into feat/tab-dnd 2026-02-12 14:37:17 -07:00
Jeremy Soller
f6f8772f5d Change Unbind action to Disable to match cosmic-settings 2026-02-05 13:49:05 -07:00
Jeremy Soller
3bb79a36ac Fix improper handling of escape 2026-02-05 13:39:32 -07:00
Jeremy Soller
7d2f631c5d More design adjustments 2026-02-05 13:36:38 -07:00
Jeremy Soller
b9b2153230 Adjust to design and hard-code Copy and Paste special keys 2026-02-05 13:17:18 -07:00
Jeremy Soller
1b980df309 Implement key bind reset 2026-02-05 12:57:56 -07:00
Jeremy Soller
6752b9a434 Do not automatically show keyboard shortcuts 2026-02-05 11:50:32 -07:00
Jeremy Soller
182e1549fd Move keyboard shortcuts to menu item 2026-02-05 11:31:05 -07:00
Jeremy Soller
92d22621e4 Implement shortcut search 2026-02-05 11:25:53 -07:00
Jeremy Soller
1564a77e5f Shortcut design updates and fix escape behavior 2026-02-05 10:34:58 -07:00
Levi Portenier
974ca4ecc6
Merge branch 'master' into configurable-hotkeys 2026-02-04 11:31:16 -07:00
nludwig
70e0f5a5f2 add dialog box when replacing existing keybind 2026-02-03 22:08:34 -08:00
Ashley Wulber
54b99741e8
feat: tab dnd 2026-02-03 11:57:47 -05:00
nludwig
cc27b6ab30 fix localization 2026-02-02 15:20:28 -08:00
nludwig
d5f1ac4e91 place shortcuts in existing config 2026-01-29 20:10:25 -08:00
Adil Hanney
42ddc92370
tweak: match format of gnome-terminal and konsole's help message 2026-01-15 20:35:10 +00:00
Ada Alakbarova
719c0c5aa3
ref: avoid unwrap by using an intermediate variable
Co-Authored-By: Adil Hanney <adilhanney@disroot.org>
2026-01-15 20:32:40 +00:00
Mattias Eriksson
02899cbb43 Properly load/clear passwords on toggle 2026-01-14 15:22:25 -07:00
nludwig
bf71e1a774 make hotkeys configurable 2025-12-29 20:42:52 -08:00
Adil Hanney
5fedabd9f5 feat: add --working-directory arg 2025-12-24 22:07:04 +00:00
Vukašin Vojinović
034435273c chore: update dependencies
Also switches `alacritty_terminal` to use the crate version, rather than an old git commit.
2025-11-06 17:23:31 +01:00
Ashley Wulber
56f1ea3eed fix: disable terminal box when context page is active 2025-10-24 17:56:10 -04:00
Mattias Eriksson
27e4d722bf Avoid updating the link highlight while the context menu is shown 2025-10-17 07:57:42 +02:00
Mattias Eriksson
e7e47d5bac Add context menu for opening links 2025-10-16 09:27:00 +02:00
Mattias Eriksson
71b9fb5226 Implement a simple password manager 2025-10-13 07:19:10 +02:00
Ashley Wulber
e40b955f33 fix: opacity 2025-10-06 15:03:38 -04:00
Ashley Wulber
ffee3410e1 chore: add license url 2025-10-03 15:32:37 -04:00
Ashley Wulber
2428de7c7c
chore: update libcosmic 2025-10-03 14:56:47 -04:00
Vukašin Vojinović
f3ec16b9bd chore: update dependencies
Also switches to the `about` widget.
2025-09-11 08:34:15 -06:00
Vukašin Vojinović
58b8da4310 chore: Rust 2024 edition 2025-09-11 08:34:15 -06:00