aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-17code: refactor Server.start()Isaac Freund1-19/+5
This was needlessly verbose
2020-06-17editorconfig: add scdoc configIsaac Freund1-0/+4
2020-06-17docs: tweak readmeIsaac Freund1-7/+5
2020-06-17docs: small man pages fixes and updatesLennard Hofmann5-17/+23
- Previous hard-coded settings can be now be changes with riverctl or via environment variables - Update "See also" - Mod → Mod1
2020-06-17cli: allow setting log level with '-l' flagIsaac Freund2-4/+22
2020-06-17code: improve logging functionsIsaac Freund18-92/+207
this implements a modified version of the logging interface proposed here: https://github.com/ziglang/zig/pull/5348
2020-06-16river-status: fix crash due to bad alignmentIsaac Freund1-12/+16
Using an ArrayList to back the wl_array we need to pass to libwayland is much safer and avoids this kind of bug.
2020-06-16code: create util.allocator and use globallyIsaac Freund17-86/+76
river is not a library and passing a general purpose allocators around everywhere does not make sense and leads to ugly code. This does not prevent us from using local arenas if they are fitting.
2020-06-16code: create voidCast() util functionIsaac Freund18-79/+80
2020-06-16river-status: actually destroy the manager objectIsaac Freund1-1/+3
2020-06-16river-control: implement protocol changesIsaac Freund2-38/+77
2020-06-16river-control: send output on success, fix issuesIsaac Freund1-10/+35
Add an output arg to the success event on the callback. This allows for implementing commands that return values, which are planned. Replace the array of null terminated strings with a series of requests each adding a single string to the args array. This is more idiomatic wayland. Add a seat argument to the run_command request to allow for proper multi-seat support in the future. Add missing destructor request.
2020-06-16contrib: use rivertile in config.sh exampleIsaac Freund1-4/+7
2020-06-16docs: update readmeIsaac Freund1-5/+8
- clarify design goals - mention scdoc dependency - improve build command example
2020-06-16contrib: add tiled layout in pythonIsaac Freund1-0/+68
2020-06-16docs: add rivertile man pageIsaac Freund3-6/+59
2020-06-16rivertile: create default layout generatorIsaac Freund2-0/+135
2020-06-16Doc: Add layout documentationLeon Henrik Plickat3-2/+82
2020-06-16Contrib: Add debug layoutsLeon Henrik Plickat2-0/+60
2020-06-16Commands: rework layout commandLeon Henrik Plickat1-2/+3
2020-06-16Output: Add layoutExternal()Leon Henrik Plickat1-18/+103
2020-06-16Output: Rework layout switching in arrangeViews()Leon Henrik Plickat1-61/+21
2020-06-16Output: Remove layoutMasterStack() and rework layoutFull()Leon Henrik Plickat1-172/+27
layoutFull() now enforces a minimum view size of 50x50
2020-06-15build: allow disabling man-pages if scdoc is foundIsaac Freund1-9/+8
2020-06-15org: unify gitignoreIsaac Freund2-3/+3
2020-06-15build: add scdoc step to generate man pagesIsaac Freund1-4/+71
2020-06-15docs: use scdoc instead of roff for man pagesLennard Hofmann5-236/+166
2020-06-13docs: mention xkb environment variables in readmeIsaac Freund1-0/+16
2020-06-13xdg-shell: improve child handlingIsaac Freund5-21/+71
- wait until map to send tiled state - only set toplevels with no parent to tiled (toplevels with a parent are generally popup-like things such as a file chooser or yes/no prompt) - track dimesions and offset of the surface and take offset into account for rendering.
2020-06-13command: add view_padding optionIsaac Freund2-2/+5
2020-06-13command: allow alpha in colors, simplify codeIsaac Freund7-63/+35
2020-06-13code: simplify option handlingIsaac Freund5-34/+21
2020-06-13command: add border_focused_color and border_unfocused_color optionslazy-dolphin7-5/+74
2020-06-11docs: use release-safe in build instructionsIsaac Freund1-3/+7
2020-06-11docs: update disclaimerIsaac Freund1-4/+3
2020-06-11docs: add IRC channel, remove matrixIsaac Freund1-8/+3
2020-06-11code: simplify view renderingIsaac Freund2-22/+9
2020-06-11command: don't zoom floating viewsIsaac Freund1-0/+3
2020-06-11render: floating as normal, focused views on topIsaac Freund1-4/+16
This means that floating views can be (partially) obscured by normal views if they are low in the stack, and that the "full" layout will work a little nicer as the focused view is always the top rendered.
2020-06-10command: implement set-optionlazy-dolphin5-1/+78
Only border and padding options are currently available.
2020-06-10transactions: save transform, refactor renderingIsaac Freund2-56/+45
2020-06-09transactions: save and render subsurface buffersIsaac Freund3-52/+78
2020-06-09transactions: handle preemption take 2Isaac Freund5-12/+51
This implementation is far simpler than c0d7e71 as it takes advantage of wlroots's tracking of pending state. Additionally, we now send frame done events if a view that we are configuring commits with the wrong dimensions. This is necessary in order to trigger a redraw for some clients as well as being a more correct implementation of the protocol.
2020-06-09transactions: revert c0d7e71Isaac Freund6-99/+36
2020-06-08transactions: propogate x/y of new box if neededIsaac Freund1-3/+9
2020-06-08transactions: set timeout back to 200msIsaac Freund1-1/+1
The change to 1000ms was an accident
2020-06-08transactions: handle preemption properlyIsaac Freund6-37/+94
when a transaction interrupts an ongoing transaction, we must be careful to handle the configures properly. This commit adds a new member to view so that we can store the dimensions sent with the last configure in order to determine if the preempting transaction should override the ongoing configure or not. Additionally, some views do not ack a configure if they already have the requested dimensions. This can happen if a pending configure setting alternative dimensions is overridden, so in this case we do not wait for an ack before committing the transaction.
2020-06-07code: remove dead codeIsaac Freund1-8/+0
2020-06-06river-status: send view_tags on view output changeIsaac Freund1-0/+3
2020-06-06river-status: simplify example clientIsaac Freund1-12/+7