]>
git.sur5r.net Git - i3/i3/log
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.
shdown [Sun, 15 Mar 2015 07:32:17 +0000 (10:32 +0300)]
Fix incorrect y-offset for text in i3bar (2)
014aa7ff7441a8a2bb53bd0956aff61faaf6f37f fixed incorrect align of small
symbols, but also introduced a problem with texts with mixed large and
normal symbols. Fix it by centering the text vertically only if its
height is smaller that the saved font height.
Fixes #1543.
Michael Stapelberg [Sat, 14 Mar 2015 21:32:03 +0000 (22:32 +0100)]
travis: verify code was formatted using clang-format
Michael Stapelberg [Sat, 14 Mar 2015 21:31:58 +0000 (22:31 +0100)]
clang-format src/commands.c
Michael Stapelberg [Sat, 14 Mar 2015 11:56:19 +0000 (04:56 -0700)]
Merge pull request #1539 from mh21/wsrename-1527
Rename workspaces in startup sequences
Michael Stapelberg [Sat, 14 Mar 2015 11:35:01 +0000 (12:35 +0100)]
travis: cat complete-run.log on failures
Michael Stapelberg [Sat, 14 Mar 2015 11:34:34 +0000 (12:34 +0100)]
tests: exit with status 1 when tests fail
Michael Stapelberg [Sat, 14 Mar 2015 11:33:54 +0000 (12:33 +0100)]
tests: don’t print interactive status when running on travis
(or without a tty)
Michael Stapelberg [Fri, 13 Mar 2015 22:38:56 +0000 (23:38 +0100)]
travis: run tests serialized, install latest AnyEvent::I3
Michael Stapelberg [Fri, 13 Mar 2015 22:38:33 +0000 (23:38 +0100)]
travis: install as many perl pkgs as possible via apt instead of cpanm
Michael Stapelberg [Fri, 13 Mar 2015 22:38:13 +0000 (23:38 +0100)]
travis: fix pinning setup (newlines and YAML are complicated)
Michael Stapelberg [Fri, 13 Mar 2015 20:04:03 +0000 (21:04 +0100)]
travis: escape strings for YAML
Michael Stapelberg [Fri, 13 Mar 2015 19:52:53 +0000 (20:52 +0100)]
travis: install more perl dependencies, pull in trusty packages
Michael Stapelberg [Fri, 13 Mar 2015 12:24:02 +0000 (13:24 +0100)]
travis: also cat cpanm build logs after failure
Michael Stapelberg [Fri, 13 Mar 2015 10:39:59 +0000 (11:39 +0100)]
travis: cpanm: set -v so that we get error messages in the travis output
Michael Hofmann [Fri, 6 Mar 2015 23:13:54 +0000 (00:13 +0100)]
Rename workspaces in startup sequences.
When renaming workspaces, any workspace names in pending startup
sequences also need to be renamed.
Michael Hofmann [Fri, 6 Mar 2015 23:14:47 +0000 (00:14 +0100)]
Test: startup workspaces updating on rename.
Michael Stapelberg [Fri, 13 Mar 2015 09:21:02 +0000 (10:21 +0100)]
travis: directly use cpanm -n to skip tests
X11::XCB currently fails its tests
Michael Stapelberg [Fri, 13 Mar 2015 09:12:00 +0000 (10:12 +0100)]
travis runs on ubuntu 12.04, so use libinline-perl
Michael Stapelberg [Fri, 13 Mar 2015 09:09:21 +0000 (10:09 +0100)]
travis: mk-build-deps needs equivs
Michael Stapelberg [Fri, 13 Mar 2015 09:06:57 +0000 (10:06 +0100)]
add configuration for travis-ci.com
Michael Stapelberg [Fri, 13 Mar 2015 07:54:52 +0000 (00:54 -0700)]
Merge pull request #1521 from Airblader/feature-use-refactored-function
Use the already existing function to get rid of some code duplication
Michael Stapelberg [Fri, 13 Mar 2015 07:52:52 +0000 (00:52 -0700)]
Merge pull request #1513 from Airblader/defect-1473
Move workspace to assigned output when renaming it
Michael Stapelberg [Fri, 13 Mar 2015 07:46:16 +0000 (00:46 -0700)]
Merge pull request #1512 from mdtipton/unclutter_scroll
Fix scrolling in window decoration with hidden cursor.
Michael Stapelberg [Fri, 13 Mar 2015 07:36:29 +0000 (00:36 -0700)]
Merge pull request #1546 from rosetree/next
Fix comment box
Micha Rosenbaum [Thu, 12 Mar 2015 10:18:12 +0000 (11:18 +0100)]
Fix comment box
Michael Stapelberg [Thu, 12 Mar 2015 07:38:35 +0000 (00:38 -0700)]
Merge pull request #1545 from garbados/gendered-terms-in-docs
degendered terms
Diana Thayer [Thu, 12 Mar 2015 04:41:43 +0000 (21:41 -0700)]
degendered terms
Michael Stapelberg [Sat, 7 Mar 2015 19:37:34 +0000 (20:37 +0100)]
add release.sh, a script to prepare a new i3 release
Michael Stapelberg [Sat, 7 Mar 2015 19:31:38 +0000 (20:31 +0100)]
update debian/changelog for the new release
Michael Stapelberg [Sat, 7 Mar 2015 19:26:29 +0000 (20:26 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 7 Mar 2015 19:26:29 +0000 (20:26 +0100)]
Merge branch 'release-4.9.1'
Michael Stapelberg [Sat, 7 Mar 2015 19:26:09 +0000 (20:26 +0100)]
release i3 4.9.1
Michael Stapelberg [Sat, 7 Mar 2015 14:57:41 +0000 (15:57 +0100)]
Merge branch 'master' into next
Conflicts:
src/commands.c
Michael Stapelberg [Sat, 7 Mar 2015 14:57:13 +0000 (15:57 +0100)]
Merge branch 'fix-restore-errormsg'
Ingo Bürk [Wed, 4 Mar 2015 21:45:39 +0000 (22:45 +0100)]
Properly error out when the layout file cannot be read.
This will result in an actual error message for the user.
fixes #1499
Ingo Bürk [Sat, 28 Feb 2015 23:13:37 +0000 (00:13 +0100)]
Glob filepath when calling append_layout
fixes #1500
Ingo Bürk [Wed, 4 Mar 2015 13:01:42 +0000 (14:01 +0100)]
Improve error messages on failing commands
Michael Stapelberg [Sat, 7 Mar 2015 14:40:59 +0000 (15:40 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 7 Mar 2015 14:40:59 +0000 (15:40 +0100)]
Merge branch 'dont-match-placeholders'
Michael Stapelberg [Sat, 7 Mar 2015 14:38:10 +0000 (15:38 +0100)]
Bugfix: insert id-based match at HEAD, not TAIL.
Before this commit, placeholder windows had any matches that were
defined in the JSON file, _followed_ by an i3-internal match that
ensures the placeholder X11 window gets swallowed into the placeholder
i3 container.
The problem was that the first successful match was deleted, and if
users specified a criterion (title=IPython) that matched the placeholder
window itself (name=IPython), then that match is deleted and the
i3-internal match is kept. This results in the actual window the user
wants to match not being swallowed, and the placeholder window not
displaying any criteria.
fixes #1526
Michael Stapelberg [Sat, 7 Mar 2015 13:52:39 +0000 (14:52 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 7 Mar 2015 13:52:39 +0000 (14:52 +0100)]
Merge branch 'fix-mode-switch'
Michael Stapelberg [Sat, 7 Mar 2015 13:51:24 +0000 (14:51 +0100)]
Fix bindings using Mode_switch
fixes #1518
Michael Stapelberg [Sat, 7 Mar 2015 10:47:59 +0000 (11:47 +0100)]
Merge branch 'master' into next
Michael Stapelberg [Sat, 7 Mar 2015 10:47:59 +0000 (11:47 +0100)]
Merge branch 'revert-iconic'
Michael Stapelberg [Sat, 7 Mar 2015 10:46:43 +0000 (11:46 +0100)]
Revert "Handle WM_CHANGE_STATE requests for iconic state"
This reverts commit
136b3e345bfde637d3270eafaa2d8aa3555cc3d5 .
fixes #1516
Ingo Bürk [Thu, 5 Mar 2015 13:00:24 +0000 (14:00 +0100)]
Use the already existing function to get rid of some code duplication
Michael Stapelberg [Wed, 4 Mar 2015 18:20:21 +0000 (10:20 -0800)]
Merge pull request #1515 from Airblader/feature-commands-error-messages
Improve error messages on failing commands
Ingo Bürk [Wed, 4 Mar 2015 13:01:42 +0000 (14:01 +0100)]
Improve error messages on failing commands
Ingo Bürk [Wed, 4 Mar 2015 08:45:47 +0000 (09:45 +0100)]
Added tests for #1473
Ingo Bürk [Wed, 4 Mar 2015 08:22:25 +0000 (09:22 +0100)]
Refactor functions for easy reuse
Ingo Bürk [Wed, 4 Mar 2015 08:06:44 +0000 (09:06 +0100)]
When renaming a workspace, look for assignments and move the renamed workspace to the appropriate output.
Michael Stapelberg [Tue, 3 Mar 2015 08:46:16 +0000 (09:46 +0100)]
Fix keyboard layout change detection
…by listening to XKB_NEW_KEYBOARD events and re-allocating the keysym
map on both XKB_NEW_KEYBOARD and XKB_MAP_NOTIFY.
fixes #1302
Michael Stapelberg [Tue, 3 Mar 2015 08:46:39 +0000 (09:46 +0100)]
Merge branch 'fix-keyboard-layout'
Michael Stapelberg [Tue, 3 Mar 2015 08:46:16 +0000 (09:46 +0100)]
Fix keyboard layout change detection
…by listening to XKB_NEW_KEYBOARD events and re-allocating the keysym
map on both XKB_NEW_KEYBOARD and XKB_MAP_NOTIFY.
fixes #1302
Michael Tipton [Tue, 3 Mar 2015 07:44:28 +0000 (23:44 -0800)]
Fix scrolling in window decoration with hidden cursor.
If the mouse cursor is hidden (by unclutter, for example), then scrolling
in the window decoration creates an event with a child
(i.e. event->child != XCB_NONE). This causes route_click() to be called
with dest=CLICK_INSIDE, which prevents scrolling through a stacked layout.
To fix this, check if a click is in the window decoration _before_
checking if the event has a child.
Michael Stapelberg [Sun, 1 Mar 2015 16:25:09 +0000 (08:25 -0800)]
Merge pull request #1503 from Airblader/defect-layout-globbing
Glob filepath when calling append_layout
Michael Stapelberg [Sun, 1 Mar 2015 16:21:27 +0000 (17:21 +0100)]
Merge branch 'Airblader-defect-1480' into next
Michael Stapelberg [Sun, 1 Mar 2015 16:19:42 +0000 (17:19 +0100)]
clang-format
Michael Stapelberg [Sun, 1 Mar 2015 16:19:22 +0000 (17:19 +0100)]
Merge branch 'defect-1480' of https://github.com/Airblader/i3-original into Airblader-defect-1480
Michael Stapelberg [Sun, 1 Mar 2015 16:16:03 +0000 (17:16 +0100)]
run clang-format (3.5.0)
Not quite sure why there are so many differences. Perhaps we’ve gotten
out of the habit of running clang-format after every change.
I guess it’d be best to have a travis hook that runs clang-format for us
and reports any problems on pull requests.