542 Commits

Author SHA1 Message Date
Raiden1411
232527c9dc fix: fullscreen on new windows 2023-11-06 11:59:16 +00:00
Raiden1411
094f8effa3 fix: begin implementation of suggested changes 2023-11-06 10:19:09 +00:00
Gregory Anders
9b14398153 macos: support resizing splits 2023-11-05 20:42:59 -06:00
Mitchell Hashimoto
ef44551522 apprt/embedded: hook up paste confirmation 2023-11-05 09:20:16 -08:00
Raiden1411
9e9ad67d3c feat: add support for fullscreen, title and class values 2023-11-05 11:49:25 +00:00
Mitchell Hashimoto
ebd57f6bbc apprt/gtk: correct new tab button click function signature
Fixes #674

We were incorrectly reusing the action activate signal callback for the
button click. These have different function signatures.
2023-11-04 16:57:01 -07:00
Mitchell Hashimoto
43e1c9f147 apprt/gtk: tweak unsafe paste window 2023-11-04 11:27:39 -07:00
Mitchell Hashimoto
ab9a9b6eb1 apprt/gtk: copy change for unsafe paste window 2023-11-04 11:24:48 -07:00
Mitchell Hashimoto
a38220eade terminal: move sanitization check to this package, unit test 2023-11-04 11:19:25 -07:00
David Rubin
65c9ba0a86 add todos + make sure non-implimented platforms still work. 2023-11-04 00:50:26 -07:00
David Rubin
a578ec342f forgot to update other backends 2023-11-03 14:20:24 -07:00
David Rubin
6e575d9035 configs added 2023-11-03 13:20:26 -07:00
David Rubin
44073e4c98 add basic functionality 2023-11-03 10:58:56 -07:00
xdBronch
bbdfcfe5bd fix build with libadwaita disabled 2023-11-03 03:20:35 -04:00
hanna
63fe99809f remove hard dependency on libadwaita 2023-11-02 21:54:05 -07:00
Mitchell Hashimoto
bbf333c5c6 Merge pull request #783 from xdBronch/glfw-drop
add support for file dropping to glfw runtime
2023-11-02 21:35:02 -07:00
Mitchell Hashimoto
657111c410 apprt/glfw: small line length fixes 2023-11-02 21:34:43 -07:00
Hanna
2d7e2c8345 Integrate libadwaita for the gtk backend (#792)
* When using gtk as the backend, link libadwaita

* Update c.zig

* Use libadwaita's theme manager for gtk

* update the documentation for window-theme

* build: add libadwaita to the nix devshell

* forgot to properly import libadwaita

* apprt/gtk: adwaita style change

---------

Co-authored-by: Mitchell Hashimoto <mitchell.hashimoto@gmail.com>
2023-11-02 21:29:29 -07:00
xdBronch
008736c3bf add support for file dropping to glfw runtime 2023-11-01 19:19:30 -04:00
Mitchell Hashimoto
59a53251cf apprt/gtk: create new tab after current tab
This behaves the same as macOS, and personally I prefer this behavior
because when I create a new tab, it is often contextual to what I'm
currently working on and keeping the tab nearby feels right.
2023-10-31 09:49:39 -07:00
Mitchell Hashimoto
9b134a60c1 apprt/embedded: add API to detect if a single surface needs quit confirm 2023-10-30 09:06:23 -07:00
Mitchell Hashimoto
e188aba7f4 apprt/gtk: if no parent is set on new window, do not inherit wd 2023-10-30 08:50:58 -07:00
Mitchell Hashimoto
c2adf22858 apprt/gtk: comment on what is going on with keyval mapping 2023-10-28 08:42:35 -07:00
Vlad Pănăzan
6b7dd1479d apprt/gtk: handle non-unicode keyvals 2023-10-28 15:35:16 +02:00
Mitchell Hashimoto
25e3b21eae apprt/gtk: comment about future API 2023-10-27 15:09:52 -07:00
Mitchell Hashimoto
b985b28918 apprt/gtk: use gtk widget scale to get content scale 2023-10-27 15:03:41 -07:00
Vlad Pănăzan
ffaa7e11e2 apprt/gtk: handle surface scale changes 2023-10-27 23:27:53 +02:00
Mitchell Hashimoto
cf6ee6ed14 apprt/gtk: only create window header bar with window decorations
Fixes #737
2023-10-27 10:08:59 -07:00
Gregory Anders
2ee80a52df macos: set window resizeIncrements when cell size changes
The resizeIncrements property is only modified when the cell size of the
focused window changes. If two splits have the same cell size then the
property is not modified when focusing between the two splits.
2023-10-26 20:27:58 -05:00
Mitchell Hashimoto
28aace4393 Merge pull request #728 from mitchellh/cimgui
Terminal Inspector v1
2023-10-26 10:12:39 -07:00
Nameless
41de71ae9e fuzz: termio.MessageData small_size is max of 255, not 256 2023-10-25 11:44:21 -05:00
Mitchell Hashimoto
a162c7c47f inspector: move inspector to dedicated folder 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
a9279f9871 apprt/glfw: does not implement inspector 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
6cfa9de4df apprt/embedded: do not lock render state for inspector render 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
880d7869a9 inspector: show modes 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
c8b9bea1e1 apprt: none has app/surface so tests pass 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
5a299e14e4 all threads are notified of inspector state, trigger render 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
afa08ffc02 initial work on basic inspector information 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
c1fade6e5b apprt/embedded: also must render imgui multiple times 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
a1a398be4d inspector: setup basic modes window (empty), dock 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
597c1a17ae apprt/embedded: render in native dpi 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
55f681a0fd inspector is scaled to native dpi 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
d65b29a537 apprt/embedded: render inspector 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
865bf7441c apprt/gtk: initialize and run the inspector 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
7a30d1080e core: hook up all the inspector activation state and such 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
dcb6eef9c4 apprt/gtk: different bg color for imgui widget 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
522d6b8ba1 apprt/gtk: destory the inspector properly on close 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
6a50a938d6 apprt/gtk: button to toggle inspector 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
199e1cae29 apprt/gtk: surface has inspector state 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
29bbcbbf92 core: add input binding to control terminal inspector 2023-10-24 15:27:14 -07:00