Commit Graph

1561 Commits

Author SHA1 Message Date
Mykyta Holubakha
394a5d36cb Documented floating_scroll 2016-05-08 10:21:20 +03:00
Mykyta Holubakha
0423c41a0f Implemented configurable floating scroll behavior 2016-05-07 20:49:51 +03:00
Drew DeVault
6abdc07559 Merge pull request #638 from neosilky/memleak
sway/main.c: simplify free'ing by switching to the helper method
2016-05-05 18:01:44 -07:00
Drew DeVault
db651a41f3 Merge pull request #639 from neosilky/freefix
sway/config.c: fix double free issue as we need to store path in list
2016-05-05 18:01:19 -07:00
Daniel Lockyer
b41097c085 sway/config.c: fix double free issue as we need to store path in list 2016-05-05 23:50:12 +01:00
Daniel Lockyer
c9d634414a sway/main.c: simplify free'ing by switching to the helper method 2016-05-05 23:30:28 +01:00
Drew DeVault
93743e0d5f Merge pull request #632 from 1ace/refactor/log
Refactor preprocessor logic out of _sway_log()
2016-05-02 13:50:08 -04:00
Eric Engestrom
cc9d1cacbb common: refactor sway_log()
This removes most preprocessor logic, leaving it only it the header.
2016-05-02 18:30:04 +01:00
Drew DeVault
8a6b64e471 Merge pull request #634 from 1ace/fix/log-double-close
Fix double-close in error_handler()
2016-05-02 13:09:28 -04:00
Eric Engestrom
f53ddbe800 common: fix double-close in error_handler() 2016-05-02 15:58:32 +01:00
Drew DeVault
70ca8b6041 Merge pull request #633 from 1ace/fix/readme-link
Remove empty params from url in README.md
2016-05-02 10:43:40 -04:00
Eric Engestrom
81a8a1f2df README: remove empty params from url 2016-05-02 15:33:15 +01:00
Drew DeVault
0cefde87e4 Merge pull request #628 from 1ace/fix/ipc-path
Always terminate ipc path
2016-05-02 08:14:01 -04:00
Drew DeVault
7f8d596bb5 Merge pull request #629 from cyberhuman/master
fix a typo (horiziontal -> horizontal)
2016-05-02 08:13:29 -04:00
Drew DeVault
0d51a082e7 Merge pull request #630 from 1ace/fix/obob
Fix off-by-one bug in log functions
2016-05-02 08:13:21 -04:00
Raman Varabets
a9123c38b2 fix a typo (horiziontal -> horizontal) 2016-05-02 19:18:33 +08:00
Eric Engestrom
a1bb58017b Fix off-by-one bug in log functions 2016-05-02 12:04:14 +01:00
Eric Engestrom
3d6a3413b8 sway: always terminate ipc path 2016-05-02 11:26:27 +01:00
Drew DeVault
d3f3619c3a Merge pull request #627 from mikkeloscar/update-title-when-tabbed
Update view title of tabbed/stacked windows
2016-05-01 16:30:43 -04:00
Mikkel Oscar Lyderik
ae5164f1d4 Update view title of tabbed/stacked windows
Requires Cloudef/wlc@80bf003

Fix #623
2016-05-01 22:08:46 +02:00
Drew DeVault
4915f97618 Merge pull request #625 from 1ace/fix/buffer-overflow
Fix a couple potential buffer overflows
2016-05-01 09:04:12 -04:00
Eric Engestrom
e53ba08626 sway: fix potential buffer overflow 2016-05-01 13:57:23 +01:00
Eric Engestrom
aece36cd22 common: fix potential buffer overflow 2016-05-01 13:57:23 +01:00
Drew DeVault
f7869d815a Merge pull request #624 from tajjada/add-input-accel-profile
Add input cmd for setting pointer accel profile.
2016-05-01 07:15:17 -04:00
Jasen Borisov
de007c9b58 Add input cmd for setting pointer accel profile. 2016-05-01 11:02:44 +01:00
Drew DeVault
68f0baf3ec Merge pull request #619 from mikkeloscar/fix-workspace-pr
Remove premature break in workspace_next_name
2016-04-30 07:47:02 -04:00
Mikkel Oscar Lyderik
1f8b6b86dd Remove premature break 2016-04-30 11:17:53 +02:00
Mikkel Oscar Lyderik
95d5c1e5ed Merge pull request #620 from xerpi/fix-registry-memleak
wayland/registry.c: free() registry at registry_teardown
2016-04-30 11:15:35 +02:00
Sergi Granell
6063fed8b7 wayland/registry.c: free() registry at registry_teardown 2016-04-30 11:10:46 +02:00
Drew DeVault
be6c18df94 Merge pull request #618 from neosilky/uninit
sway/config.c: Initialise struct value
2016-04-29 21:39:22 -04:00
Daniel Lockyer
682efbb7dd sway/config.c: Initialise struct value 2016-04-30 01:12:41 +01:00
Mikkel Oscar Lyderik
75aa3b1be4 Merge pull request #616 from neosilky/memleak
sway/workspace.c: Cleanup some un-free'd memory
2016-04-30 00:50:42 +02:00
Daniel Lockyer
0ece17c717 sway/workspace.c: Cleanup some un-free'd memory 2016-04-29 23:27:59 +01:00
Drew DeVault
ed8c67e290 Merge pull request #615 from neosilky/memleak
Cleaned up some un-free'd memory
2016-04-29 14:08:43 -04:00
Daniel Lockyer
e1fa51a152 sway/config.c: Move the wordfree call before the if statement so it is always called 2016-04-29 18:36:29 +01:00
Daniel Lockyer
06986e58b8 sway/config.c: Change to the useful free_cmd_results helper method 2016-04-29 18:31:21 +01:00
Daniel Lockyer
01c2b5f2d6 sway/config.c: move free call to after sway_log 2016-04-29 18:27:49 +01:00
Daniel Lockyer
b8722ecd5f sway/config.c: Leading on from cdf017c, we need to free path 2016-04-29 18:09:56 +01:00
Daniel Lockyer
e077ebdc72 sway/config.c: res->input is a malloc'ed section which wasn't freed 2016-04-29 18:08:28 +01:00
Daniel Lockyer
cdf017ceea sway/config.c: wordexp has a corresponding wordfree which was never used
I had to change the assignment to path to be wrapped by strdup as we
pass the data out of the method.
2016-04-29 18:07:38 +01:00
Daniel Lockyer
c225bcacee sway/config.c: config_home is the result of a malloc but was never freed 2016-04-29 18:06:21 +01:00
Daniel Lockyer
235cfd93b2 common/stringop.c: a premature decrement meant an element of argv was never released 2016-04-29 18:00:21 +01:00
Drew DeVault
fb41371444 Merge pull request #614 from neosilky/memleak
sway/commands.c: add some free calls to release allocated memory
2016-04-29 11:25:26 -04:00
Daniel Lockyer
5a7099eee0 sway/commands.c: add some free calls to release allocated memory 2016-04-29 16:16:47 +01:00
Drew DeVault
c55ae9956b Fix another -Wunused-result 2016-04-29 11:04:21 -04:00
Drew DeVault
3be3867474 Fix oversight in ebdce71 2016-04-29 11:01:49 -04:00
Drew DeVault
ebdce719b4 Fix -Wunused-result problems 2016-04-29 10:59:43 -04:00
Drew DeVault
3fa8df7b05 Add -Werror to C flags 2016-04-29 10:38:03 -04:00
Drew DeVault
0dd1dc05c3 Merge pull request #613 from mikkeloscar/init-y
Fix uninitialized variable
2016-04-29 10:37:12 -04:00
Mikkel Oscar Lyderik
b53b15b477 Fix uninitialized variable 2016-04-29 16:30:02 +02:00