Michael Stapelberg
b8057392c4
update release.sh for the next version
2015-03-29 17:45:46 +02:00
Michael Stapelberg
909eefb868
travis: remove FORTIFY_SOURCE, causes trouble with clang
2015-03-29 17:20:11 +02:00
Michael Stapelberg
6b04f28b48
fix remaining warnings
2015-03-29 17:12:20 +02:00
Michael Stapelberg
ba89fe0a93
travis: enable more warnings, add -Werror
...
This will ensure that our code stays free of warnings, at least for the
warnings that we have enabled. (Using _FORTIFY_SOURCE > 0 leads to more
warnings, some of them are harder to address.)
2015-03-29 17:11:21 +02:00
Michael Stapelberg
93adcf8bdc
Merge pull request #1575 from hwangcc23/next
...
Fix warnings
2015-03-29 16:53:14 +02:00
hwangcc
42515308e7
Add a safe wrapper for write and fix some warnings
...
1. Add a function writeall and make swrite wrap that function. Use either writeall or swrite, depending on whether we want to exit on errors or not.
2. Fix warnings when compiling with a higher optimisation level.
(CFLAGS ?= -pipe -O3 -march=native -mtune=native -freorder-blocks-and-partition)
Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
2015-03-29 10:22:34 +08:00
Michael Stapelberg
0391ac2e69
Merge pull request #1596 from Deiz/wizard-add-up-down
...
Switch the wizard's modifier choice when up or down are pressed
2015-03-28 18:16:27 +01:00
Deiz
95fa121c56
Switch the wizard's modifier choice when up or down are pressed
2015-03-28 13:00:19 -04:00
Michael Stapelberg
af71d3a2f1
Merge pull request #1590 from acrisci/bug/i3bar-no-markup-default
...
i3bar: don't parse markup on statusline by default
2015-03-28 10:08:41 +01:00
Tony Crisci
beaf904943
i3bar: don't parse markup on statusline by default
...
fixes #1565
2015-03-27 19:00:32 -04:00
Michael Stapelberg
856e1f9772
Merge pull request #1591 from Airblader/feature-child-cleanup
...
Return in child parsing as soon as the match was made.
2015-03-27 09:51:00 +01:00
Michael Stapelberg
fb0573e183
Merge pull request #1582 from shdown/allow-escaping-backslashes
...
Allow escaping backslashes
2015-03-27 09:40:09 +01:00
Michael Stapelberg
00e86c4de4
Merge pull request #1580 from Airblader/feature-nop
...
Allow nop command without argument
2015-03-27 09:39:28 +01:00
Ingo Bürk
e0332b6f07
Allow nop command without argument
...
fixes #1318
2015-03-27 09:29:16 +01:00
Ingo Bürk
6adc7e8bfb
Return in child parsing as soon as the match was made.
...
As soon as we found the current key for which the value should be handled we can return
from the function to save some string comparisons.
2015-03-27 09:26:29 +01:00
Michael Stapelberg
773f9f52e9
Merge pull request #1454 from acrisci/feature/i3bar-update-strut-partial-reload
...
reconfigure dock clients on strut partial change
2015-03-27 09:02:05 +01:00
shdown
4e871c75f9
Add tests for backslash unescaping
2015-03-26 17:18:17 +03:00
Michael Stapelberg
ad31b13cb6
update default fonts for i3-{input,config-wizard,nagbar}
...
We’ve done this a while ago in i3.config itself, but the tools in
question aren’t hooked up to that setting, so we need to do it here as
well.
2015-03-26 10:03:30 +01:00
Michael Stapelberg
7d49f55c55
make i3-input work properly on hi-dpi displays
2015-03-26 10:03:14 +01:00
Michael Stapelberg
414290df56
make i3-config-wizard work properly on hi-dpi displays
2015-03-26 10:00:13 +01:00
Michael Stapelberg
d91bf5d491
make i3-nagbar work properly on hi-dpi displays
2015-03-26 09:44:46 +01:00
Michael Stapelberg
d97aeffcd4
i3-sensible-terminal: launch i3-nagbar when no terminal is found
...
fixes #1587
2015-03-26 09:21:40 +01:00
Michael Stapelberg
ebf5941456
debian: promote suggests to recommends to install a terminal emulator
...
fixes #1587
2015-03-26 09:19:50 +01:00
Tony Crisci
49510427b9
Handle strut partial changes for dock clients
...
Handle changes to the property _NET_WM_STRUT_PARTIAL by reallocating
screen space in the dock area when the dock client requests a new
position.
This will allow changes to the bar config directive `position` to be
effective on the `reload` command.
fixes #1294
2015-03-25 19:45:42 -04:00
Tony Crisci
3f3b2d9a3f
i3bar: reconfigure strut partial on reload
...
Strut partial tells i3 where to reserve space for i3bar. It is affected
by the `position` bar config directive.
2015-03-25 19:17:06 -04:00
Michael Stapelberg
037cb317cb
Merge pull request #1578 from Airblader/feature-custom-separator
...
Add support for a custom separator symbol
2015-03-25 22:49:09 +01:00
Michael Stapelberg
fa93f275bb
Don’t focus placeholder windows.
2015-03-25 22:47:23 +01:00
Ingo Bürk
80da100ac8
Add support for a custom separator symbol
...
This introduces a "separator_symbol" property for the i3bar configuration.
If set, the specified string will be used as a separator instead of a vertical line. Since it is an optional configuration, complete backwards compatibility is given.
fixes #1472
2015-03-25 21:38:55 +01:00
Michael Stapelberg
26237508ea
Bugfix: skip restart_mode swallow specifications
...
Otherwise, placeholder windows would accumulate these over restarts. The
worst part is that they don’t get dumped properly, meaning an empty
swallows specification ends up in the state, which matches any window,
so other random windows would be matched into the placeholder (e.g.
i3bar).
fixes #1502
2015-03-25 20:50:25 +01:00
Michael Stapelberg
f790fedce3
Restore placeholder windows after restarting (Thanks Airblader).
...
fixes #1502
2015-03-25 20:50:25 +01:00
Michael Stapelberg
bbb035d975
Merge pull request #1583 from shdown/next
...
i3bar: spelling fixes (2)
2015-03-25 20:16:00 +01:00
shdown
6d8891894e
Allow escaping backslashes
...
Fixes #1577 .
2015-03-25 21:32:46 +03:00
shdown
6922a820a6
i3bar: spelling fixes (2)
2015-03-24 15:41:16 +03:00
Michael Stapelberg
c0a0b99d86
Merge pull request #1574 from acrisci/bug/bar-text-null-check
...
i3bar: check block text for NULL
2015-03-24 11:08:57 +01:00
Tony Crisci
177c03debd
i3bar: check `short_text` for NULL on dump
...
Check `short_text` for NULL on statusline dump, since this value can be
NULL when not given. Fixes a segfault in that case.
2015-03-24 06:00:26 -04:00
Tony Crisci
0962c7f011
i3bar: check block text for NULL
...
Add a null check to `full_text` and `short_text` for a block before
setting the markup property to avoid a segfault.
2015-03-24 05:45:20 -04:00
Michael Stapelberg
822cd3bf1b
Revert "Workspace command number selection"
...
This reverts commit cbd51ce664
.
If you’ve started using this feature, I’m very sorry, but I think it’s
better to revert it entirely, as it will only cause more problems in the
future as more and more people upgrade and get bitten by this if we
didn’t revert it…
fixes #1536
2015-03-24 09:28:30 +01:00
Michael Stapelberg
f2b728ac5e
Merge pull request #1564 from acrisci/feature/i3bar-markup-per-block
...
i3bar: set markup per block
2015-03-24 08:57:36 +01:00
Tony Crisci
e681f34ec1
i3bar: set markup per block
...
Add `markup` to the i3bar protocol as a block member.
This is a string that determines how the block should be parsed as
markup. "pango" indicates the block should be parsed as Pango markup.
"none" indicates the block should not be parsed as markup.
2015-03-24 02:27:38 -04:00
Michael Stapelberg
ff62a68c1e
Merge pull request #1570 from shdown/next
...
i3bar: spelling fixes
2015-03-23 22:10:17 +01:00
shdown
e8704bb33b
i3bar: spelling fixes
2015-03-23 22:56:49 +03:00
Michael Stapelberg
d3b8b3cac0
Merge pull request #1562 from Airblader/feature-short-text
...
Add support for the short_text property
2015-03-23 20:29:40 +01:00
Michael Stapelberg
3702b5895e
Merge pull request #1568 from acrisci/feature/valgrind-no-verbose
...
testcases: dont run valgrind verbose
2015-03-23 20:27:35 +01:00
Tony Crisci
e5317fc4e9
testcases: dont run valgrind verbose
2015-03-23 13:03:57 -04:00
Ingo Bürk
c9019ada4e
Add support for short_text
...
When the statusline is too long, try to use the short_text property of each status block before falling back to truncating it.
fixes #1092
2015-03-23 11:24:30 +01:00
Ingo Bürk
8272924117
Introduce a function to copy i3strings
2015-03-23 11:03:45 +01:00
Ingo Bürk
dd488818a9
Introduce the short_text property on blocks and parse it according to the documentation.
2015-03-23 11:03:45 +01:00
Michael Stapelberg
8d0fb482d9
clang-format and rearrange comments in i3bar/src/xcb.c
2015-03-23 09:23:01 +01:00
Michael Stapelberg
658d106fce
fix travis config with regards to clang-format
2015-03-23 09:21:06 +01:00
Michael Stapelberg
33fa3284db
Merge pull request #1560 from shdown/refactoring
...
i3bar: refactoring
2015-03-22 21:29:03 +01:00