173 Commits (613abdda6fa978480067a35c3adc46fb414b0b5c)

Author SHA1 Message Date
Connor E cfc533aa9c Truncate message, append buffer overflow message if too long.
6 years ago
Cole Mickens a9a9df75ec common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC
6 years ago
Ryan Dwyer c6f153d8f9 Event loop: Fix memmove and remove extraneous declaration
6 years ago
Ryan Dwyer 893f61d03a Event loop: Free fds and fix race condition
6 years ago
Ryan Dwyer 6921fdc6d6 Remove timerfd from loop implementation
6 years ago
Ryan Dwyer c242712262 swaylock: Remove indicator after 3 seconds
6 years ago
Ryan Dwyer 4056c09e13 Move swaybar's event loop to common directory and refactor
6 years ago
Brian Ashworth 9ea99a5d36 swaybg: fix increasingly smaller bg on hotplug
6 years ago
Geoff Greer 987e0054ac Call pango_cairo_context_set_font_options().
6 years ago
Geoff Greer c495164f60 swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available).
6 years ago
Ryan Dwyer 2f36502828 Use pango_layout_set_text instead of pango_layout_set_markup
6 years ago
Ryan Dwyer 10ef118e09 Fix pango escaping and refactor escape_markup_text
6 years ago
Ian Fan 8cbce77e1d swaybar: rewrite protocol determination
6 years ago
Ryan Dwyer 9215ca0f01 Align titles to baseline
6 years ago
taiyu d625d68d4a
prevent ub caused by misaligned stores/loads
6 years ago
Ryan Dwyer 7e81e58e7d Allow reload command to exist anywhere in the command string
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
6 years ago
Ryan Dwyer 701fcafc70 Use list_find in more places and refactor/fix workspace prev_next functions
6 years ago
Ryan Dwyer b4a0363d17 Implement resizing tiled containers via cursor
6 years ago
Ian Fan baf4604629 ipc-client: fix memory leaks in get_socketpath
6 years ago
Brian Ashworth 9ec1d6cf79 Address review comments on parse_boolean
6 years ago
Brian Ashworth d56d62c1c0 Remove unneeded const
6 years ago
Brian Ashworth 863914ec95 Switch to using a function to parse booleans
6 years ago
Ryan Dwyer 15dc5286e2 Move floating windows to front when focused
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Dominique Martinet 971b2f11f9 utf8_size: fix loop boundary
6 years ago
Dominique Martinet f0d1d26320 get_parent_pid: fix memory leak
6 years ago
Brian Ashworth 85a5c8dabd Fix infinite loop in peek_line for EOF blanks
7 years ago
Brian Ashworth af87c7a1af Address emersion's feedback on peek_line
7 years ago
Brian Ashworth fbca3bbacb Fix condition in peek_line
7 years ago
Brian Ashworth 8bfa2def88 Address first round of review for generic blocks
7 years ago
Brian Ashworth 51bb9d8573 Support braces on next line for config blocks
7 years ago
Ryan Dwyer db38b9bbf3 Clean up container title functions
7 years ago
Brian Ashworth 0944d3fd9c Change scale from int32_t to double for pango
7 years ago
emersion 6eda10e4ca
Fix pango markup
7 years ago
Heghedus Razvan 789a877b37 Fix crash when using pango markup font
7 years ago
Dominique Martinet 25af959fe9 Fix gcc string truncation warnings
7 years ago
Drew DeVault d053acbed6 R E N D E R I N G
7 years ago
Drew DeVault 066143adef Add password buffer, refactor rendering/surfaces
7 years ago
Drew DeVault b32bf595ae Initial swaylock port
7 years ago
Drew DeVault a28730edee Move swaybg background rendering into common/
7 years ago
Drew DeVault c507727ad2 Fix use-after-free with block hotspots
7 years ago
Drew DeVault 849c3515ab Use statically allocated text buffer
7 years ago
Drew DeVault cab1352801 Start port of swaybar to layer shell
7 years ago
Drew DeVault 382e8af418 Allow sway IPC clients to fall back to i3 socket
7 years ago
Drew DeVault d39bda76c4 Address review comments
7 years ago
Drew DeVault 632bb948b7 Add solid-color rendering to swaybg
7 years ago
Dominique Martinet d4ddfec32e common/log: finish removing most log functions
7 years ago
Dominique Martinet 67985e9031 sway: change all sway_log to wlr_log
7 years ago
Dominique Martinet f9413adde7 build: add wlroots dependency to common
7 years ago
Tony Crisci 517af37cc9 remove relevant CMakeLists.txt
7 years ago
Tony Crisci cc310cffb0 meson: common static library
7 years ago
Tony Crisci 88cc7e3178 use meson subdirectories
7 years ago
Dominique Martinet 977c1f6a30 common/util: replace WLC_BIT_MOD_* by WLR_MODIFIER_*
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Calvin Lee 016261fd64 Print log level even if STDERR is not a tty
7 years ago
johalun 7fef283044 FreeBSD fixes
8 years ago
Mykyta Holubakha f470fa58a3 Replace spaces with tabs in resolve_path
8 years ago
Drew DeVault 586eca0e4c Fix link to dotfiles, closes #1193
8 years ago
Jerzi Kaminsky 8ecb490679 Make sway_abort() report location
8 years ago
Jerzi Kaminsky c9694ee63d Add resolve_path() to utils
8 years ago
Jerzi Kaminsky 709b53bd43 Fix location reported by sway_assert
8 years ago
Jerzi Kaminsky eb3b1ec5f1 Fix variadic forwarding in sway_assert
8 years ago
Drew DeVault 9aed9d9359 UnGNUify the codebase
8 years ago
Calvin Lee 34e2c70abc Feature for #1078: Configurable swaylock colors
8 years ago
wil 1b87193c3d Added "layout promote" command.
8 years ago
Drew DeVault d75a747a3d Handle config-related allocation failures
8 years ago
Drew DeVault 4c6c65e70c Handle malloc failures from read_line
8 years ago
Drew DeVault 9ad1e6b40f Handle malloc failure in ipc_recv_response
8 years ago
Drew DeVault 416417a54c Reorganize includes
8 years ago
Johannes Lundberg 949933c5c3 Fix to make ipc client code FreeBSD compatible.
8 years ago
progandy bf4056a2c6 common: use strtoul in parse_color to avoid clamp
8 years ago
Zandr Martin 98aa59fdda
implement solid color rendering for swaybg
8 years ago
Tony Crisci 70360c5c07 Add timestamp to log messages
8 years ago
Drew DeVault c8917395c0 Remove SIGSERV and SIGABORT handler
8 years ago
David Eklov 26842ff383 Add get_log_level() to encapsulate v (current log level)
9 years ago
Zandr Martin 9ecb43ea3b
couple small fixes
9 years ago
Zandr Martin 2298143d09
cleanup + add timeouts for pid_workspace list
9 years ago
Zandr Martin 66caee645c Merge branch 'master' into assign-command
9 years ago
Zandr Martin 03d79b41c7
semi-working (only non-client/server wayland apps)
9 years ago
Roosembert Palacios 230591fa4e
Common: Readline: Ignore newline on '\' escaped line ends.
9 years ago
Zandr Martin 9ccc92705e implement stable sort for lists
9 years ago
Eric Engestrom cc9d1cacbb common: refactor sway_log()
9 years ago
Eric Engestrom f53ddbe800 common: fix double-close in error_handler()
9 years ago
Eric Engestrom a1bb58017b Fix off-by-one bug in log functions
9 years ago
Eric Engestrom aece36cd22 common: fix potential buffer overflow
9 years ago
Daniel Lockyer 235cfd93b2 common/stringop.c: a premature decrement meant an element of argv was never released
9 years ago
Tomáš Čech bcdeb72189 Explicitly mark static linking in CMake
9 years ago
Tomáš Čech 468ddfb34d Fix missing include paths
9 years ago
Eric Engestrom 3e8081514d Fix spelling mistakes
9 years ago
Dominique Martinet 234932723c CMake: add missing wlc include dir for common and swaygrab
9 years ago
Mikkel Oscar Lyderik 1d010afbf7 Abort when receiving 0 bytes in IPC call
9 years ago
Mikkel Oscar Lyderik 5e253fdd9a Correctly exit sway on errors.
9 years ago
Mikkel Oscar Lyderik bacd40d6db Fix clang warnings
9 years ago
Drew DeVault e5bb08cc18 Print /proc/<pid>/maps on segfault
9 years ago
Mikkel Oscar Lyderik 32ae26e519 Add quotes to multiword arguments.
9 years ago
Mikkel Oscar Lyderik c8cf3f70f9 numlen(0) == 1
9 years ago
Mikkel Oscar Lyderik 2707be7199 use log10 in numlen
9 years ago
Drew DeVault a416715372 Revert "s/numlen/log10/g"
9 years ago
Drew DeVault 038bb8cc7c s/numlen/log10/g
9 years ago