copilot-swe-agent[bot]
d017fc4837
Address code review feedback on security fixes
...
- Fix buffer size for strncpy to match actual buffer (32 bytes)
- Use strtoul instead of strtol for unsigned color values
- Improve strncat bounds checking with accurate length tracking
- Free wordexp results immediately after use instead of batching
- Add strdup for wordexp strings to avoid use-after-free
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:57:08 +00:00
copilot-swe-agent[bot]
9d2f852ec2
Fix critical buffer overflow and memory leak vulnerabilities
...
- Replace unsafe strcpy() with strncpy() in fetch/common.h
- Replace unsafe strcpy() with strncpy() in config parsing
- Fix buffer overflow from strcat() by adding bounds checking
- Fix memory leak by adding wordfree() for wordexp results
- Add integer overflow validation for strtol() calls
- Add errno checking for all strtol conversions
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 08:54:42 +00:00
DreamMaoMao
c05eec7f53
feat: support restore stack from non-tile state
2026-02-13 20:02:23 +08:00
DreamMaoMao
711498490b
opt: not back to ov tag when view prev tag
2026-02-13 18:11:18 +08:00
DreamMaoMao
faf2e1e9da
opt: sync keymap to xwayland after xwayland ready
2026-02-08 12:13:04 +08:00
DreamMaoMao
d9f679a8e3
fix: tagcrossmon not apply in current monitor
2026-01-29 09:49:25 +08:00
DreamMaoMao
49921eadfa
feat: add drag_corner drag_warp_cursor
2026-01-21 13:54:55 +08:00
DreamMaoMao
5942c5d807
opt: only disable animation for resizewin tiling window
2026-01-20 13:50:43 +08:00
DreamMaoMao
43257ad49c
opt: support center scroller stack in centerwin dispatch
2026-01-19 14:21:28 +08:00
DreamMaoMao
48c466254a
feat: optimize focusdir to respect focusstack
2026-01-19 10:38:09 +08:00
DreamMaoMao
57d7801df2
opt: exit stack head client maximize and fullscreen state when toggle scroller stack
2026-01-18 23:31:48 +08:00
DreamMaoMao
00f56fa3aa
opt: ignore direction arg if the direction not match the scroller direction
2026-01-18 23:13:43 +08:00
DreamMaoMao
deaa26c779
opt: disable animaiton for resize and move window dispatch
2026-01-18 22:54:01 +08:00
nixpup
e0d69ece59
feat: add scroller stack support
2026-01-18 20:06:27 +08:00
DreamMaoMao
4efb8c5e06
fix: isfloating rule not follow monitor rule
2026-01-08 10:13:21 +08:00
DreamMaoMao
67b37559a8
opt: ensure auto schedule next frame when animaiton not end
2026-01-04 07:18:04 +08:00
DreamMaoMao
2771053ee6
opt: animations logic all use the int type
...
avoid the coordinates being forcibly limited to positive numbers
2026-01-03 09:37:34 +08:00
DreamMaoMao
89e0805d54
opt: optimize code struct
2026-01-01 12:26:19 +08:00
DreamMaoMao
f749500449
feat: restore the current tag when after chvt
2025-12-29 12:37:40 +08:00
DreamMaoMao
db2151af64
fix: crash when focusmon to invalid monitor
2025-12-16 11:34:52 +08:00
Mental-Vortex
9a2d2397c1
feat: support centerwin in scroller window
2025-12-08 22:14:14 +08:00
DreamMaoMao
e602605fa4
opt: optimize focus change when change monitor
2025-12-04 09:58:16 +08:00
DreamMaoMao
44c271ee52
opt: optimize border color set when change monitor
2025-12-03 21:58:46 +08:00
DreamMaoMao
e965264f3b
fix: dont use evenmask
2025-12-03 17:22:27 +08:00
DreamMaoMao
b9952f03b5
opt: change unsigned int to uint32_t
2025-12-02 16:57:24 +08:00
DreamMaoMao
9196e2a50b
opt: use event mask to decide whether print ipc message
2025-12-02 16:46:11 +08:00
DreamMaoMao
09c1920515
opt: correct var isminized to isminimized
2025-11-29 17:33:57 +08:00
DreamMaoMao
cdcc64ab5f
feat: support scroll maximize and fullscreen window
2025-11-19 12:41:03 +08:00
DreamMaoMao
d85f4375c8
fix: fix border color change when swithc mon focus
2025-11-19 12:41:03 +08:00
DreamMaoMao
17f1ae2463
opt: optmize restore_minimized size and not restore namedscratchpad
2025-11-19 12:41:03 +08:00
DreamMaoMao
0501719604
opt: spawn_on_empty and toggle_named_scratchapd use spawn_shell
2025-11-19 12:41:03 +08:00
DreamMaoMao
e09748764d
opt: remove useless normalize keysym convert
2025-11-19 12:41:03 +08:00
DreamMaoMao
d32fecfd23
fix: crash in some crossmon dispatch
2025-11-19 12:41:03 +08:00
DreamMaoMao
f542d5d5e6
opt: disable switch proportion action in some case
2025-11-19 12:41:03 +08:00
DreamMaoMao
5ba7da0570
opt: remove increase_proportion dispatch
...
should use resizewin to replace it
2025-11-19 12:41:03 +08:00
DreamMaoMao
df46194b5f
opt: optimize x11 popup focus ignore
2025-11-07 14:16:10 +08:00
DreamMaoMao
474c704562
opt: optimize xwayland focus ignore judge
2025-11-06 19:50:39 +08:00
DreamMaoMao
40b6f82823
fix: fix ov_tab_mode arg
2025-11-06 14:14:02 +08:00
DreamMaoMao
f8060d2f8f
opt: simple keyboard layout switch
2025-11-01 21:42:26 +08:00
DreamMaoMao
d75d819e28
feat: add back switch_keybaord_layout
2025-11-01 21:20:09 +08:00
DreamMaoMao
3ed36a6ea6
break change: remove switch_keyboard_layout dispatch
2025-11-01 19:06:04 +08:00
DreamMaoMao
ef92281b2a
opt: avoid crash when Incorrect Settings for keyboard layout
2025-11-01 14:29:53 +08:00
DreamMaoMao
99854aa4ea
opt: optimize viewcrossmon
2025-10-30 22:20:13 +08:00
DreamMaoMao
27fdead702
feat: add dispatch enable_monitor,disable_monitr,toggle_monitor
2025-10-30 13:30:02 +08:00
reDpz
26fd6894eb
Set arg.i = UNDIR so that focusmon uses arg.v to select monitor
2025-10-29 23:34:08 +08:00
DreamMaoMao
9b5ea50095
feat: add dispatch viewcrossmon and tagcrossmon
2025-10-29 13:40:12 +08:00
DreamMaoMao
cbcbda25cd
break change: correct maxmize to maximize
2025-10-28 20:29:25 +08:00
DreamMaoMao
918a00d578
opt: allow switch focus between fullscreen and floating window in focusstack
2025-10-27 12:46:04 +08:00
DreamMaoMao
bf6644c9f5
opt: optimize keymap set
2025-10-22 13:41:40 +08:00
DreamMaoMao
e9565f88f6
feat: auto convert keysym to keycode bind
2025-10-22 10:40:08 +08:00