195 Commits (09c360d503eb7309de46af3745001df7dd911438)

Author SHA1 Message Date
emersion f951c2357f
Remove unicode.c
6 years ago
Connor E de6f5b3453 Use static arrays where possible.
6 years ago
Connor E aa9d7d8ca1 Remove usage of VLAs.
6 years ago
Ian Fan 5bef06adfd fixup! stringop.c: rewrite strip_whitespace
6 years ago
Ian Fan a82b8a3c14 Remove readline.c
6 years ago
Ian Fan 967566e37f stringop.c: rewrite strip_whitespace
6 years ago
Ryan Dwyer b61a936c80
Merge pull request #3271 from ianyfan/list-cleanup
6 years ago
Ian Fan 98c1e19466 list.c: rename free_flat_list to list_free_items_and_destroy
6 years ago
Ian Fan c8776fac42 Cleanup list code
6 years ago
Ian Fan 19e831ed3d list.c: Remove list_foreach
6 years ago
Ian Fan bd6a639667 list: double list capacity when resizing instead of incrementing
6 years ago
emersion 3a310f92ab
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
6 years ago
emersion bf7af9c690
Merge pull request #3083 from c-edw/feature/StripWorkspaceName
6 years ago
Spencer Michaels 70bc4c3ab6 Add scroll factor config option.
6 years ago
emersion cad851805b
Use #if instead of #ifdef
6 years ago
Connor E 4bd46fb079 Implement strip_workspace_name.
6 years ago
Ryan Dwyer bf19f63a79 Wrap to fartherest output when running focus output
6 years ago
madblobfish 1f23ec2d05 Revert "Add resolve_path() to utils"
6 years ago
Ryan Dwyer 7be309710d Remove enum movement_direction
6 years ago
Drew DeVault 46dafbf74a
Merge pull request #2864 from sghctoma/freebsd-fixes
6 years ago
Niccolò Scatena 8c86fff6dc
Fix stringop-overflow warnings
6 years ago
sghctoma 2694fd72b6 Increase _POSIX_C_SOURCE to 200112L
6 years ago
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
7 years ago
Dominique Martinet f0d1d26320 get_parent_pid: fix memory leak
7 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