]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Sun, 29 Mar 2015 18:57:20 +0000 (20:57 +0200)]
initialize variables to NULL to avoid invalid free() on error
Michael Stapelberg [Sun, 29 Mar 2015 18:56:07 +0000 (20:56 +0200)]
Merge pull request #1600 from Deiz/libi3
Move resolve_tilde and get_config_path into libi3
Deiz [Sat, 28 Mar 2015 18:30:35 +0000 (14:30 -0400)]
Move resolve_tilde and get_config_path into libi3
Michael Stapelberg [Sun, 29 Mar 2015 17:54:32 +0000 (19:54 +0200)]
Merge pull request #1593 from Airblader/feature-nagbar-primary-output
Display i3-nagbar on primary output
Michael Stapelberg [Sun, 29 Mar 2015 17:50:03 +0000 (19:50 +0200)]
Merge pull request #1597 from Airblader/bug-1187
Move urgency hint when moving container to another workspace
Michael Stapelberg [Sun, 29 Mar 2015 17:34:33 +0000 (19:34 +0200)]
release.sh: add release announcement email to avoid mistakes
Michael Stapelberg [Sun, 29 Mar 2015 17:22:29 +0000 (19:22 +0200)]
release.sh: set up git remotes appropriately
Michael Stapelberg [Sun, 29 Mar 2015 17:10:41 +0000 (19:10 +0200)]
update debian/changelog
Michael Stapelberg [Sun, 29 Mar 2015 17:07:24 +0000 (19:07 +0200)]
Merge branch 'release-4.10.1'
Michael Stapelberg [Sun, 29 Mar 2015 17:07:03 +0000 (19:07 +0200)]
release i3 4.10.1
Michael Stapelberg [Sun, 29 Mar 2015 16:51:04 +0000 (18:51 +0200)]
prepare release.sh for 4.10.1
Michael Stapelberg [Sun, 29 Mar 2015 16:50:00 +0000 (18:50 +0200)]
release from “next”
Michael Stapelberg [Sun, 29 Mar 2015 16:53:31 +0000 (18:53 +0200)]
Merge pull request #1592 from Deiz/xdg-wizard-font
Make wizard window size and click coordinates dependent on font
Michael Stapelberg [Sun, 29 Mar 2015 16:08:59 +0000 (18:08 +0200)]
Update debian/changelog
Michael Stapelberg [Sun, 29 Mar 2015 15:46:37 +0000 (17:46 +0200)]
Merge branch 'master' into next
Michael Stapelberg [Sun, 29 Mar 2015 15:46:37 +0000 (17:46 +0200)]
Merge branch 'release-4.10'
Michael Stapelberg [Sun, 29 Mar 2015 15:46:16 +0000 (17:46 +0200)]
release i3 4.10
Michael Stapelberg [Sun, 29 Mar 2015 15:45:46 +0000 (17:45 +0200)]
update release.sh for the next version
Michael Stapelberg [Sun, 29 Mar 2015 15:20:11 +0000 (17:20 +0200)]
travis: remove FORTIFY_SOURCE, causes trouble with clang
Michael Stapelberg [Sun, 29 Mar 2015 15:12:20 +0000 (17:12 +0200)]
fix remaining warnings
Michael Stapelberg [Sun, 29 Mar 2015 15:11:21 +0000 (17:11 +0200)]
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.)
Michael Stapelberg [Sun, 29 Mar 2015 14:53:14 +0000 (16:53 +0200)]
Merge pull request #1575 from hwangcc23/next
Fix warnings
hwangcc [Tue, 24 Mar 2015 12:57:06 +0000 (20:57 +0800)]
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>
Deiz [Thu, 26 Mar 2015 19:34:37 +0000 (15:34 -0400)]
Make wizard window size and click coordinates dependent on font
This guarantees the whole visible area of the pixmap is reinitialized,
and ensures that the click bounding boxes are properly aligned with
the displayed text.
Ingo Bürk [Fri, 27 Mar 2015 08:20:03 +0000 (09:20 +0100)]
Open i3-nagbar on the primary screen
If a primary screen is set and the CRTC information can be retrieved,
i3-nagbar will now open on the primary screen. Otherwise, the old (fixed)
position will be used as a fallback.
fixes #1405
Ingo Bürk [Sat, 28 Mar 2015 18:23:59 +0000 (19:23 +0100)]
Added a regression test for #1187
Ingo Bürk [Sat, 28 Mar 2015 17:29:34 +0000 (18:29 +0100)]
Move urgency hint when moving container
When an urgent container is moved to another workspace, the urgency hint
1) is unset on the source workspace and
2) set on the target workspace
fixes #1187
Michael Stapelberg [Sat, 28 Mar 2015 17:16:27 +0000 (18:16 +0100)]
Merge pull request #1596 from Deiz/wizard-add-up-down
Switch the wizard's modifier choice when up or down are pressed
Deiz [Sat, 28 Mar 2015 16:56:36 +0000 (12:56 -0400)]
Switch the wizard's modifier choice when up or down are pressed
Michael Stapelberg [Sat, 28 Mar 2015 09:08:41 +0000 (10:08 +0100)]
Merge pull request #1590 from acrisci/bug/i3bar-no-markup-default
i3bar: don't parse markup on statusline by default
Tony Crisci [Fri, 27 Mar 2015 23:00:32 +0000 (19:00 -0400)]
i3bar: don't parse markup on statusline by default
fixes #1565
Michael Stapelberg [Fri, 27 Mar 2015 08:51:00 +0000 (09:51 +0100)]
Merge pull request #1591 from Airblader/feature-child-cleanup
Return in child parsing as soon as the match was made.
Michael Stapelberg [Fri, 27 Mar 2015 08:40:09 +0000 (09:40 +0100)]
Merge pull request #1582 from shdown/allow-escaping-backslashes
Allow escaping backslashes
Michael Stapelberg [Fri, 27 Mar 2015 08:39:28 +0000 (09:39 +0100)]
Merge pull request #1580 from Airblader/feature-nop
Allow nop command without argument
Ingo Bürk [Wed, 25 Mar 2015 16:50:06 +0000 (17:50 +0100)]
Allow nop command without argument
fixes #1318
Ingo Bürk [Thu, 26 Mar 2015 18:27:28 +0000 (19:27 +0100)]
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.
Michael Stapelberg [Fri, 27 Mar 2015 08:02:05 +0000 (09:02 +0100)]
Merge pull request #1454 from acrisci/feature/i3bar-update-strut-partial-reload
reconfigure dock clients on strut partial change
Ingo Bürk [Fri, 27 Mar 2015 07:44:00 +0000 (08:44 +0100)]
Compile xcb-randr support into i3-nagbar
shdown [Wed, 25 Mar 2015 19:55:26 +0000 (22:55 +0300)]
Add tests for backslash unescaping
Michael Stapelberg [Thu, 26 Mar 2015 09:03:30 +0000 (10:03 +0100)]
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.
Michael Stapelberg [Thu, 26 Mar 2015 09:03:14 +0000 (10:03 +0100)]
make i3-input work properly on hi-dpi displays
Michael Stapelberg [Thu, 26 Mar 2015 08:58:10 +0000 (09:58 +0100)]
make i3-config-wizard work properly on hi-dpi displays
Michael Stapelberg [Thu, 26 Mar 2015 08:44:46 +0000 (09:44 +0100)]
make i3-nagbar work properly on hi-dpi displays
Michael Stapelberg [Thu, 26 Mar 2015 08:21:40 +0000 (09:21 +0100)]
i3-sensible-terminal: launch i3-nagbar when no terminal is found
fixes #1587
Michael Stapelberg [Thu, 26 Mar 2015 08:19:15 +0000 (09:19 +0100)]
debian: promote suggests to recommends to install a terminal emulator
fixes #1587
Tony Crisci [Wed, 25 Mar 2015 23:45:42 +0000 (19:45 -0400)]
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
Tony Crisci [Wed, 25 Mar 2015 23:17:06 +0000 (19:17 -0400)]
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.
Michael Stapelberg [Wed, 25 Mar 2015 21:49:09 +0000 (22:49 +0100)]
Merge pull request #1578 from Airblader/feature-custom-separator
Add support for a custom separator symbol
Michael Stapelberg [Wed, 25 Mar 2015 21:47:23 +0000 (22:47 +0100)]
Don’t focus placeholder windows.
Ingo Bürk [Tue, 24 Mar 2015 22:07:25 +0000 (23:07 +0100)]
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
Michael Stapelberg [Wed, 25 Mar 2015 19:49:19 +0000 (20:49 +0100)]
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
Michael Stapelberg [Wed, 25 Mar 2015 19:48:51 +0000 (20:48 +0100)]
Restore placeholder windows after restarting (Thanks Airblader).
fixes #1502
Michael Stapelberg [Wed, 25 Mar 2015 19:16:00 +0000 (20:16 +0100)]
Merge pull request #1583 from shdown/next
i3bar: spelling fixes (2)
shdown [Wed, 25 Mar 2015 18:30:38 +0000 (21:30 +0300)]
Allow escaping backslashes
Fixes #1577.
shdown [Tue, 24 Mar 2015 12:41:16 +0000 (15:41 +0300)]
i3bar: spelling fixes (2)
Michael Stapelberg [Tue, 24 Mar 2015 10:08:57 +0000 (11:08 +0100)]
Merge pull request #1574 from acrisci/bug/bar-text-null-check
i3bar: check block text for NULL
Tony Crisci [Tue, 24 Mar 2015 10:00:26 +0000 (06:00 -0400)]
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.
Tony Crisci [Tue, 24 Mar 2015 09:45:20 +0000 (05:45 -0400)]
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.
Michael Stapelberg [Tue, 24 Mar 2015 08:27:42 +0000 (09:27 +0100)]
Revert "Workspace command number selection"
This reverts commit
cbd51ce6642be4e1163a64dce8ec20a454f1bf05 .
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
Michael Stapelberg [Tue, 24 Mar 2015 07:57:36 +0000 (08:57 +0100)]
Merge pull request #1564 from acrisci/feature/i3bar-markup-per-block
i3bar: set markup per block
Tony Crisci [Tue, 24 Mar 2015 06:27:38 +0000 (02:27 -0400)]
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.
Michael Stapelberg [Mon, 23 Mar 2015 21:10:17 +0000 (22:10 +0100)]
Merge pull request #1570 from shdown/next
i3bar: spelling fixes
shdown [Mon, 23 Mar 2015 19:56:49 +0000 (22:56 +0300)]
i3bar: spelling fixes
Michael Stapelberg [Mon, 23 Mar 2015 19:29:40 +0000 (20:29 +0100)]
Merge pull request #1562 from Airblader/feature-short-text
Add support for the short_text property
Michael Stapelberg [Mon, 23 Mar 2015 19:27:35 +0000 (20:27 +0100)]
Merge pull request #1568 from acrisci/feature/valgrind-no-verbose
testcases: dont run valgrind verbose
Tony Crisci [Mon, 23 Mar 2015 17:03:57 +0000 (13:03 -0400)]
testcases: dont run valgrind verbose
Ingo Bürk [Sat, 21 Mar 2015 20:36:15 +0000 (21:36 +0100)]
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
Ingo Bürk [Sat, 21 Mar 2015 20:33:53 +0000 (21:33 +0100)]
Introduce a function to copy i3strings
Ingo Bürk [Sat, 21 Mar 2015 20:33:38 +0000 (21:33 +0100)]
Introduce the short_text property on blocks and parse it according to the documentation.
Michael Stapelberg [Mon, 23 Mar 2015 08:23:01 +0000 (09:23 +0100)]
clang-format and rearrange comments in i3bar/src/xcb.c
Michael Stapelberg [Mon, 23 Mar 2015 08:21:06 +0000 (09:21 +0100)]
fix travis config with regards to clang-format
Michael Stapelberg [Sun, 22 Mar 2015 20:29:03 +0000 (21:29 +0100)]
Merge pull request #1560 from shdown/refactoring
i3bar: refactoring
Michael Stapelberg [Sun, 22 Mar 2015 13:32:36 +0000 (14:32 +0100)]
Merge pull request #1557 from acrisci/bug/fix-validation-segfault
Bugfix: validation segfault
shdown [Sun, 22 Mar 2015 10:08:31 +0000 (13:08 +0300)]
i3bar: introduce get_tray_width() function to reduce duplication
shdown [Sat, 21 Mar 2015 17:46:36 +0000 (20:46 +0300)]
i3bar: refactor magic numbers to *_px constants
Tony Crisci [Sun, 22 Mar 2015 09:46:52 +0000 (05:46 -0400)]
Bugfix: validation segfault
When `new_window` is given in the config, config validation with `i3 -C`
would segfault.
Add a NULL check in logical_px() to check for the case when the config
is being validated without an X server to prevent this.
Michael Stapelberg [Sat, 21 Mar 2015 22:02:35 +0000 (23:02 +0100)]
Don’t overwrite border width when already set (placeholders).
fixes #1501
Michael Stapelberg [Sat, 21 Mar 2015 21:50:48 +0000 (22:50 +0100)]
i3bar: set correct initial position when reconfiguring
fixes #1542
Michael Stapelberg [Sat, 21 Mar 2015 21:37:42 +0000 (22:37 +0100)]
Merge pull request #1556 from Airblader/feature-i3-save-tree-by-number
Allow referencing the workspace by number.
Michael Stapelberg [Sat, 21 Mar 2015 21:22:37 +0000 (22:22 +0100)]
increase timeouts for travis
See https://travis-ci.org/i3/i3/jobs/
55319961 (line 4064) for a job
where the window could not be mapped within 2 seconds.
Michael Stapelberg [Sat, 21 Mar 2015 21:08:58 +0000 (22:08 +0100)]
Merge pull request #1561 from Airblader/feature-append-layout-docs
Added a troubleshooting section to the restoring layout docs
Ingo Bürk [Sat, 21 Mar 2015 18:32:40 +0000 (19:32 +0100)]
Added a troubleshooting section to the restoring layout docs and described solution for vertically split containers
Michael Stapelberg [Sat, 21 Mar 2015 17:44:02 +0000 (18:44 +0100)]
Merge pull request #1559 from shdown/next
various i3bar bugfixes
shdown [Sat, 21 Mar 2015 16:41:38 +0000 (19:41 +0300)]
i3bar: fix click events for workspace buttons with long statusline
This combines detecting of current and clicked workspaces into one cycle
and then checks if the x coordinate of the clicked point is greater than
the workspace buttons width.
shdown [Sat, 21 Mar 2015 16:22:31 +0000 (19:22 +0300)]
i3bar: fix spelling is messages
shdown [Sat, 21 Mar 2015 16:17:05 +0000 (19:17 +0300)]
i3bar: rename a variable
Give it a more meaningful name.
shdown [Sat, 21 Mar 2015 16:12:29 +0000 (19:12 +0300)]
i3bar: add binding indicator width to workspace buttons width
Just to prevent the indicator from being overlapped by the statusline.
Ingo Bürk [Sat, 21 Mar 2015 16:10:20 +0000 (17:10 +0100)]
Allow referencing the workspace by number.
This allows "--workspace 3" for numbered workspaces, e.g., if the name is actually
"3:foo". This introduces the same functionality the IPC already offers in many places.
shdown [Sat, 21 Mar 2015 16:08:40 +0000 (19:08 +0300)]
i3bar: cut long statuslines from the left
This draws the statusline after drawing (and calculating width of) the
workspace buttons and fixes calculation of its maximum visible width.
This (hopefully) guarantees that these two will never overlap.
shdown [Sat, 21 Mar 2015 16:00:11 +0000 (19:00 +0300)]
i3bar: fix clearing of the statusline pixmap
This fixes the bug when statusline pixmap wasn't entirely cleared that
caused random artifacts to appear when the statusline width is greater
than the screen width.
Michael Stapelberg [Sat, 21 Mar 2015 15:38:46 +0000 (16:38 +0100)]
Merge pull request #1555 from Airblader/feature-i3-save-tree-current-ws
Make the --workspace optional by defaulting to the focused workspace.
Michael Stapelberg [Sat, 21 Mar 2015 15:32:19 +0000 (16:32 +0100)]
Merge pull request #1549 from shdown/y-offset-fix
Fix incorrect y-offset for text in i3bar (2)
Ingo Bürk [Thu, 19 Mar 2015 17:59:25 +0000 (18:59 +0100)]
adapted usage text
Ingo Bürk [Wed, 18 Mar 2015 20:37:37 +0000 (21:37 +0100)]
Make the --workspace optional by defaulting to the focused workspace.
If no option is given, i3-save-tree should default to the currently focused workspace.
Specifying both --workspace and --output will still yield an error.
Michael Stapelberg [Mon, 16 Mar 2015 21:49:38 +0000 (22:49 +0100)]
Merge pull request #1551 from acrisci/bug/rename-workspace-mismatch
bugfix: workspace rename focus mismatch
Michael Stapelberg [Mon, 16 Mar 2015 21:40:25 +0000 (22:40 +0100)]
Merge pull request #1553 from Airblader/feature-remove-output-assignment
Remove the A_TO_OUTPUT option
Michael Stapelberg [Mon, 16 Mar 2015 21:38:39 +0000 (22:38 +0100)]
fix warnings when CONTINUOUS_INTEGRATION env var is unset
Michael Stapelberg [Mon, 16 Mar 2015 21:37:45 +0000 (22:37 +0100)]
relax timings of t/200-urgency-timer.t to reduce flakiness
Ingo Bürk [Mon, 16 Mar 2015 19:18:03 +0000 (20:18 +0100)]
Remove the A_TO_OUTPUT option as it is not needed anymore and will not be implemented in favor of normal assignments.
Tony Crisci [Mon, 16 Mar 2015 03:30:00 +0000 (23:30 -0400)]
bugfix: workspace rename focus mismatch
When renaming a workspace on another output that moves the workspace to
the current output, the renamed workspace would be shown even though it
does not contain the focused container.
Explicitly show the focused workspace after the move. This is necessary
because `workspace_move_to_output` will show the workspace that is
moved.