aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2015-12-24Merge pull request #404 from StephenBrown2/readme_feature_supportDrew DeVault-1/+4
Add references to other feature support issues to README
2015-12-23Add references to other feature support issues to READMEStephen Brown II-1/+4
2015-12-23Merge pull request #401 from mikkeloscar/travis-clang-buildDrew DeVault-0/+6
Add clang build to travis
2015-12-23Add clang build to travisMikkel Oscar Lyderik-0/+6
2015-12-23Merge pull request #400 from gpyh/forgot_includeDrew DeVault-0/+1
Bugfix: Added include(GNUInstallDirs)
2015-12-23Added include(GNUInstallDirs)Yacine Hmito-0/+1
Fixes configuration not properly installed since f02cf75
2015-12-23Merge pull request #398 from juju2143/bug-correction-1Drew DeVault-0/+1
swaygrab: Fix memory leak when recording videos
2015-12-23Merge pull request #399 from gpyh/dont-hardcode-pathDrew DeVault-11/+6
Use SYSCONFDIR as recommended
2015-12-23Use SYSCONFDIR as recommendedYacine Hmito-11/+6
- swaylock config path not hardcoded anymore - the unusual and weird FALLBACK_CONFIG_DIR is no more
2015-12-22swaygrab: Fix memory leak when recording videosJulien Savard-0/+1
2015-12-22Merge pull request #396 from crondog/fixbarDrew DeVault-4/+3
Stop swaybar from not rendering after the first go around
2015-12-23Stop swaybar from not rendering after the first go aroundcrondog-4/+3
I am not sure if this is a correct issue/fix but on my system at least after an i3bar protocol is detected this while loop never goes back around meaning it doesnt process the status line anymore.
2015-12-22Merge pull request #394 from progandy/i3bar-json-protocolDrew DeVault-11/+334
swaybar: I3bar json protocol
2015-12-22swaybar: fix memory leaksprogandy-2/+48
2015-12-22swaybar: add a visible separator between elementsprogandy-4/+17
2015-12-22swaybar: Improve i3bar proto implementationprogandy-13/+134
Also reintroduce plaintext fallback for simple status lines.
2015-12-22swaybar: fix whitespaceprogandy-133/+127
2015-12-22Initialize id, part twoDrew DeVault-1/+1
2015-12-22Initialize IDDrew DeVault-1/+1
2015-12-22Clean up a bitcrondog-6/+17
2015-12-22Make start on i3bar json parsingcrondog-5/+143
2015-12-21Merge pull request #393 from robotanarchy/musl-libc-compatibilityDrew DeVault-18/+41
musl libc compatibility
2015-12-21Merge pull request #391 from mikkeloscar/trigger-workspace-ipcDrew DeVault-14/+30
Trigger ipc_event_workspace in all cases
2015-12-22replace non-standard qsort_r with qsortrobotanarchy-16/+21
I've tried to make as few changes, as possible. Usually the reason for using qsort_r is, that you can pass an extra userdata pointer to the compare function. However, in sway list_sort wrapped qsort_r and always called a wrapper function for comparing, the wrapper function then had the real compare function as argument. The only thing, that the wrapper function does, is dereferencing the 'left' and 'right' function arguments before passing them to the real compare function. I have renamed list_sort to list_qsort to avoid confusion (so nobody tries to use list_qsort like list_sort) and removed the wrapper functionality. Now the dereferencing must be done in the compare function, that gets passed. Some compare functions were used in both list_sort and list_seq_find. To make the difference clear, I've added a '_qsort' suffix to the compare functions, that are intended to be used with the new list_qsort. (In other words: list_qsort is not compatible anymore with list_seq_find). - Changed and renamed function (it isn't used anywhere but in commands.c, and only for sorting): compare_set -> compare_set_qsort - New wrapper functions: sway_binding_cmp_qsort (for sway_binding_cmp) sway_mouse_binding_cmp_qsort (for sway_mouse_binding_cmp)
2015-12-22fix backtrace detection in CMakerobotanarchy-3/+9
works on arch (glibc) and void linux (tested with musl libc) now
2015-12-21Trigger ipc_event_workspace in all casesMikkel Oscar Lyderik-14/+30
This makes sure that the workspace IPC event is triggered when needed. Fixes #382 while making sure that the IPC event is only triggered once.
2015-12-21add -fPIC flag (position independent code) like in wlcrobotanarchy-0/+1
Linking fails otherwise: Linking C executable ../bin/sway /usr/bin/ld: CMakeFiles/sway.dir/commands.c.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC CMakeFiles/sway.dir/commands.c.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status sway/CMakeFiles/sway.dir/build.make:442: recipe for target 'bin/sway' failed
2015-12-21use CMake's FindBacktrace for backtrace feature detectionrobotanarchy-1/+13
2015-12-21remove unused execinfo.h include from debug_log.crobotanarchy-1/+0
2015-12-21Merge pull request #390 from mikkeloscar/workspace-ipc-eventDrew DeVault-1/+3
Don't skip all clients on ipc_workspace_event.
2015-12-21Merge pull request #389 from mikkeloscar/bar-commandsDrew DeVault-62/+92
Implement ipc_event_barconfig_update
2015-12-21Don't skip all clients on ipc_workspace_event.Mikkel Oscar Lyderik-1/+3
Only clients not subcriped to the workspace event should be skipped.
2015-12-21Trigger event on bar mode|hidden_state commandsMikkel Oscar Lyderik-2/+3
2015-12-21Implement `barconfig_update` IPC eventMikkel Oscar Lyderik-60/+89
2015-12-21Merge pull request #388 from mikkeloscar/bar-commandsDrew DeVault-26/+127
Handle bar commands outside config file
2015-12-21Handle bar commands outside config fileMikkel Oscar Lyderik-26/+127
Our initial implementation of `bar { }` assumed that the commands could only be used in the config. This is not true for two commands: * bar mode * bar hidden_state This patch makes it possible to issue these commands outside a bar block, for instance through swaymsg $ swaymsg bar mode hide bar-0 This does not implement the `barconfig_update` IPC event which should be trigged from these commands. I have added TODO's where this should be added once implemented.
2015-12-21Merge pull request #387 from mikkeloscar/handle-term-signalDrew DeVault-8/+22
swaybar: Correct handling of SIGTERM.
2015-12-21swaybar: Correct handling of SIGTERM.Mikkel Oscar Lyderik-8/+22
Swaybar did not correctly handle the SIGTERM sent from sway when exiting, ultimately leaving the child status_command behind. This should correctly handle the SIGTERM signal and terminate the status_command. Fix #386
2015-12-21Fix default swaybar fontDrew DeVault-1/+1
2015-12-20Merge pull request #381 from sce/fix_gapsDrew DeVault-3/+12
Fix gaps
2015-12-20layout: Fix `edge_gaps off` with top/left panels.S. Christoffer Eliesen-2/+2
Since x/y won't be zero when there's a top or left panel in place, we need to take those coordinates into account too.
2015-12-20container: Fix inner gaps against screen edge.S. Christoffer Eliesen-1/+10
2015-12-20Merge pull request #380 from mikkeloscar/bar-font-supportDrew DeVault-0/+13
swaybar: Add font support
2015-12-20swaybar: Add font supportMikkel Oscar Lyderik-0/+13
2015-12-20Merge pull request #373 from sce/per_panel_configDrew DeVault-15/+34
Per panel config
2015-12-20Merge pull request #378 from mikkeloscar/bar-pixel-perfectDrew DeVault-18/+21
swaybar: pixel perfect layout
2015-12-20Merge pull request #377 from progandy/optional-pixbufDrew DeVault-13/+62
make gdk-pixbuf dependency really optional
2015-12-20swaybar: pixel perfect layoutMikkel Oscar Lyderik-18/+21
This should make the bar workspace button layout identical to the layout used in i3.
2015-12-20make gdk-pixbuf dependency really optionalprogandy-13/+62
2015-12-20Update README screenshotDrew DeVault-1/+1
The new one has the top cut off, I didn't notice.