]> git.sur5r.net Git - i3/i3/log
i3/i3
12 years agoi3: Replace loglevels by a global debug logging
Quentin Glidic [Sat, 21 Jul 2012 22:16:52 +0000 (00:16 +0200)]
i3: Replace loglevels by a global debug logging

File-limited were not used nor really useful
Besides, they are painful to maintain in Makefile rules compared to the
benefit

12 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 16 Jul 2012 17:24:41 +0000 (19:24 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-yajl1-warnings'
Michael Stapelberg [Mon, 16 Jul 2012 17:24:33 +0000 (19:24 +0200)]
Merge branch 'fix-yajl1-warnings'

12 years agoi3bar: Fix warnings with libyajl1 (Thanks prg)
Michael Stapelberg [Mon, 16 Jul 2012 17:23:37 +0000 (19:23 +0200)]
i3bar: Fix warnings with libyajl1 (Thanks prg)

yajl1 has the status yajl_status_insufficient_data, which in our stream
parsing context basically means "ok". Therefore, in yajl1, we no longer
print an error in this case.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 11 Jul 2012 17:06:21 +0000 (19:06 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-empty-strings'
Michael Stapelberg [Wed, 11 Jul 2012 17:06:17 +0000 (19:06 +0200)]
Merge branch 'fix-empty-strings'

12 years agoDon't display empty strings from i3status in i3bar
Marcel Hellwig [Sun, 8 Jul 2012 19:31:34 +0000 (21:31 +0200)]
Don't display empty strings from i3status in i3bar

12 years agoMerge branch 'master' into next
Michael Stapelberg [Tue, 10 Jul 2012 20:53:39 +0000 (22:53 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'i3bar-tray'
Michael Stapelberg [Tue, 10 Jul 2012 20:53:36 +0000 (22:53 +0200)]
Merge branch 'i3bar-tray'

12 years agoi3bar: inform _all_ clients of new tray selection owner
Michael Stapelberg [Tue, 10 Jul 2012 20:52:14 +0000 (22:52 +0200)]
i3bar: inform _all_ clients of new tray selection owner

This fixes a problem with X-chat (and possibly others).

Fixes: #745
12 years agotests: t/504: ensure cursor position
Michael Stapelberg [Fri, 29 Jun 2012 21:21:32 +0000 (23:21 +0200)]
tests: t/504: ensure cursor position

Otherwise, the cursor might be at (1025, 0) due to previous testcases
and we wouldn’t start up on the correct workspace.

12 years agotests: t/166-assign.t: use wait_for_window
Michael Stapelberg [Fri, 29 Jun 2012 21:20:46 +0000 (23:20 +0200)]
tests: t/166-assign.t: use wait_for_window

While it’s generally intended that wait_for_window is not called within
this testcase, in the first test instruction it was a mistake. The
window in fact gets mapped and therefore we should call wait_for_window.

12 years agoExplicitly disconnect in the 'exit' command
Michael Stapelberg [Fri, 29 Jun 2012 21:13:25 +0000 (23:13 +0200)]
Explicitly disconnect in the 'exit' command

This fixes a race condition when running the tests. I think that the X11
server has more time to clean up the resources when we do an explicit
disconnect. The symptom I was seeing was that sometimes, i3 couldn’t
become the window manager on one of the Xdummy instances.

12 years agotests: make t/166-assign.t more robust
Michael Stapelberg [Fri, 29 Jun 2012 19:28:10 +0000 (21:28 +0200)]
tests: make t/166-assign.t more robust

…by using the new syntax which will not trigger i3-nagbar. Checking for
i3-nagbar is inherently prone to race conditions since i3-nagbar does
not communicate in any way that it’s there.

12 years agotests: make t/159-socketpath more robust
Michael Stapelberg [Fri, 29 Jun 2012 19:21:07 +0000 (21:21 +0200)]
tests: make t/159-socketpath more robust

…by getting the socket path from i3 and then checking that it conforms
to what we expect. Previously we monitored /tmp, which can go wrong in
various ways, especially since i3’s directory within /tmp is not
predictable (by design).

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 27 Jun 2012 15:49:36 +0000 (17:49 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-reload'
Michael Stapelberg [Wed, 27 Jun 2012 15:49:19 +0000 (17:49 +0200)]
Merge branch 'fix-reload'

12 years agoBugfix: fix reload crashes in rare cases (Thanks Tucos)
Michael Stapelberg [Wed, 27 Jun 2012 15:48:22 +0000 (17:48 +0200)]
Bugfix: fix reload crashes in rare cases (Thanks Tucos)

Depending on the memory layout, it could happen that bind->command was
exchanged with something else while the parser still accessed it.

Therefore, we now copy the command and let the parser use that copy.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 25 Jun 2012 19:44:20 +0000 (21:44 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-C'
Michael Stapelberg [Mon, 25 Jun 2012 19:44:07 +0000 (21:44 +0200)]
Merge branch 'fix-C'

12 years agowhen using i3 -C, don’t send remaining arguments via IPC (Thanks Somelauw)
Michael Stapelberg [Mon, 25 Jun 2012 19:43:41 +0000 (21:43 +0200)]
when using i3 -C, don’t send remaining arguments via IPC (Thanks Somelauw)

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 24 Jun 2012 19:22:44 +0000 (21:22 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'gitignore'
Michael Stapelberg [Sun, 24 Jun 2012 19:22:39 +0000 (21:22 +0200)]
Merge branch 'gitignore'

12 years agoFix up .gitignore
stfn [Sat, 23 Jun 2012 19:46:11 +0000 (21:46 +0200)]
Fix up .gitignore

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 24 Jun 2012 15:30:45 +0000 (17:30 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'userguide-containers'
Michael Stapelberg [Sun, 24 Jun 2012 15:30:39 +0000 (17:30 +0200)]
Merge branch 'userguide-containers'

12 years agoadd section about implicit containers to the userguide (Thanks mloskot)
Michael Stapelberg [Sun, 24 Jun 2012 15:30:18 +0000 (17:30 +0200)]
add section about implicit containers to the userguide (Thanks mloskot)

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 10 Jun 2012 19:30:36 +0000 (21:30 +0200)]
Merge branch 'master' into next

12 years agouserguide: make the default clear for focus_follows_mouse and new_window
Michael Stapelberg [Sun, 10 Jun 2012 19:30:14 +0000 (21:30 +0200)]
userguide: make the default clear for focus_follows_mouse and new_window

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 10 Jun 2012 19:05:58 +0000 (21:05 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'i3bar-handle-negative'
Michael Stapelberg [Sun, 10 Jun 2012 19:05:44 +0000 (21:05 +0200)]
Merge branch 'i3bar-handle-negative'

12 years agoi3bar: handle clicks with negative coordinates (Thanks Julian)
Michael Stapelberg [Sun, 10 Jun 2012 19:04:51 +0000 (21:04 +0200)]
i3bar: handle clicks with negative coordinates (Thanks Julian)

This can happen if you move your mouse pointer to the very left of the
screen and then click. For better usability, we handle this edge case
like a click on pixel 0.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 10 Jun 2012 16:31:54 +0000 (18:31 +0200)]
Merge branch 'master' into next

12 years agomakefile: don’t try to install i3.welcome
Michael Stapelberg [Sun, 10 Jun 2012 16:31:42 +0000 (18:31 +0200)]
makefile: don’t try to install i3.welcome

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 10 Jun 2012 16:25:14 +0000 (18:25 +0200)]
Merge branch 'master' into next

12 years agomanpages: don’t build i3-wsbar(1) from pod
Michael Stapelberg [Sun, 10 Jun 2012 16:24:44 +0000 (18:24 +0200)]
manpages: don’t build i3-wsbar(1) from pod

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 10 Jun 2012 16:23:26 +0000 (18:23 +0200)]
Merge branch 'master' into next

12 years agoalso don’t ship GOALS
Michael Stapelberg [Sun, 10 Jun 2012 16:23:20 +0000 (18:23 +0200)]
also don’t ship GOALS

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 10 Jun 2012 16:21:18 +0000 (18:21 +0200)]
Merge branch 'master' into next

12 years agodon’t ship i3.welcome and i3-wsbar in the tarballs anymore
Michael Stapelberg [Sun, 10 Jun 2012 16:21:06 +0000 (18:21 +0200)]
don’t ship i3.welcome and i3-wsbar in the tarballs anymore

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 10 Jun 2012 16:19:29 +0000 (18:19 +0200)]
Merge branch 'master' into next

12 years agoadd banner.svg to contrib/
Michael Stapelberg [Sun, 10 Jun 2012 16:19:17 +0000 (18:19 +0200)]
add banner.svg to contrib/

12 years agoadd sticker SVG to contrib/
Michael Stapelberg [Sun, 10 Jun 2012 16:18:58 +0000 (18:18 +0200)]
add sticker SVG to contrib/

12 years agoadd slides from 2012-03-16 (German)
Michael Stapelberg [Sun, 10 Jun 2012 16:17:02 +0000 (18:17 +0200)]
add slides from 2012-03-16 (German)

12 years agodelete unused/outdated i3.welcome
Michael Stapelberg [Sun, 10 Jun 2012 16:16:02 +0000 (18:16 +0200)]
delete unused/outdated i3.welcome

12 years agodelete GOALS, see website instead
Michael Stapelberg [Sun, 10 Jun 2012 16:14:39 +0000 (18:14 +0200)]
delete GOALS, see website instead

12 years agodelete render-tree (unfinished/unused)
Michael Stapelberg [Sun, 10 Jun 2012 16:12:05 +0000 (18:12 +0200)]
delete render-tree (unfinished/unused)

12 years agoIntroduce contrib/
Michael Stapelberg [Sun, 10 Jun 2012 16:10:37 +0000 (18:10 +0200)]
Introduce contrib/

contrib is a place for scripts which live in the i3 git repository
because they are closely related. However, they should not be shipped
with the distribution packages for example.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 10 Jun 2012 16:08:23 +0000 (18:08 +0200)]
Merge branch 'master' into next

12 years agodelete old release notes
Michael Stapelberg [Sun, 10 Jun 2012 16:08:14 +0000 (18:08 +0200)]
delete old release notes

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sun, 10 Jun 2012 15:57:25 +0000 (17:57 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-split-horiz'
Michael Stapelberg [Sun, 10 Jun 2012 15:57:06 +0000 (17:57 +0200)]
Merge branch 'fix-split-horiz'

12 years agoparser: reorder v/h/vertical/horizontal
Michael Stapelberg [Sun, 10 Jun 2012 15:56:28 +0000 (17:56 +0200)]
parser: reorder v/h/vertical/horizontal

This eliminates an error message upon split horizontal which did not
occur in older i3 versions. The command itself worked just fine.

12 years agoignore "current" when searching for named workspaces
Michael Stapelberg [Sun, 3 Jun 2012 17:44:42 +0000 (19:44 +0200)]
ignore "current" when searching for named workspaces

12 years agoAdd a new command 'move to workspace current'
Pavel Löbl [Wed, 9 May 2012 21:45:12 +0000 (23:45 +0200)]
Add a new command 'move to workspace current'

Added a new command 'move to workspace current' which can be used
with criteria to move a window to the current workspace.

12 years agoFix 'move to workspace' when used with criteria
Pavel Löbl [Wed, 9 May 2012 21:43:21 +0000 (23:43 +0200)]
Fix 'move to workspace' when used with criteria

When moving window from other (not current) workspace to another
workspace with criteria we should stay on current workspace.

And we should exit early when criteria was specified but didn't
match any window.

12 years agoFix a mistake in comment
Pavel Löbl [Wed, 9 May 2012 21:39:44 +0000 (23:39 +0200)]
Fix a mistake in comment

12 years agoupdate refcard (Thanks Moritz Bandemer)
Michael Stapelberg [Sun, 3 Jun 2012 15:17:11 +0000 (17:17 +0200)]
update refcard (Thanks Moritz Bandemer)

12 years agoRestrict "move to workspace" commands in fullscreen.
Fernando Tarlá Cardoso Lemos [Sun, 27 May 2012 01:13:16 +0000 (22:13 -0300)]
Restrict "move to workspace" commands in fullscreen.

12 years agoPrevent moving out of fullscreen containers.
Fernando Tarlá Cardoso Lemos [Sun, 27 May 2012 00:45:15 +0000 (21:45 -0300)]
Prevent moving out of fullscreen containers.

12 years agoRestrict directional focus in fullscreen.
Fernando Tarlá Cardoso Lemos [Sat, 26 May 2012 22:53:02 +0000 (19:53 -0300)]
Restrict directional focus in fullscreen.

This reuses the same fullscreen focus logic to ensure that focus
doesn't escape a fullscreen container.

12 years agoAllow focus child/parent when in fullscreen.
Fernando Tarlá Cardoso Lemos [Sat, 26 May 2012 21:36:25 +0000 (18:36 -0300)]
Allow focus child/parent when in fullscreen.

This is now restricted according to the already defined fullscreen
focus constraints. Test case 157 was removed, as we don't prevent
level up/down in fullscreen anymore. Those commands are properly
tested in fullscreen by test case 156.

Fixes: #612
12 years agoRefined the fullscreen focus constraints.
Fernando Tarlá Cardoso Lemos [Sat, 26 May 2012 20:37:45 +0000 (17:37 -0300)]
Refined the fullscreen focus constraints.

Basically, a focus change can't escape a fullscreen container. The
only exception is per-output fullscreen containers, as you should
be able to focus a container in a different workspace in this case.

This is an improvement on 4eab046e, now considering the difference
between global and per-output fullscreen and taking the tree
structure into account to determine what escaping the fullscreen
container means. It only affects targeted focus commands in the
form "for_window [...] focus", but it lays the foundation for
forthcoming fixes to all other focus commands.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 30 May 2012 15:27:22 +0000 (17:27 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'use-xkb-kc2ks'
Michael Stapelberg [Wed, 30 May 2012 15:27:18 +0000 (17:27 +0200)]
Merge branch 'use-xkb-kc2ks'

12 years agoReplace deprecated XKeycodeToKeysym() with XkbKeycodeToKeysym()
David Coppa [Wed, 30 May 2012 09:11:08 +0000 (11:11 +0200)]
Replace deprecated XKeycodeToKeysym() with XkbKeycodeToKeysym()

12 years agoMerge branch 'master' into next
Michael Stapelberg [Mon, 28 May 2012 21:37:26 +0000 (23:37 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'tests-focus-parent-child'
Michael Stapelberg [Mon, 28 May 2012 21:37:22 +0000 (23:37 +0200)]
Merge branch 'tests-focus-parent-child'

12 years agoGet rid of references to level up/down.
Fernando Tarlá Cardoso Lemos [Sun, 27 May 2012 04:44:29 +0000 (01:44 -0300)]
Get rid of references to level up/down.

In v4 syntax, that's focus parent/child.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Fri, 18 May 2012 07:14:38 +0000 (09:14 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-keycodes'
Michael Stapelberg [Fri, 18 May 2012 07:14:34 +0000 (09:14 +0200)]
Merge branch 'fix-keycodes'

12 years agoFix errors in i3.config.keycodes (bindsym -> bindcode)
David Coppa [Thu, 17 May 2012 10:31:36 +0000 (12:31 +0200)]
Fix errors in i3.config.keycodes (bindsym -> bindcode)

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 16 May 2012 04:24:53 +0000 (06:24 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-stray-ws-number'
Michael Stapelberg [Wed, 16 May 2012 04:24:50 +0000 (06:24 +0200)]
Merge branch 'fix-stray-ws-number'

12 years agoFix stray workspaces "number 1" being created when having workspace number 1 in your...
Michael Stapelberg [Wed, 16 May 2012 04:24:16 +0000 (06:24 +0200)]
Fix stray workspaces "number 1" being created when having workspace number 1 in your config

12 years agoMerge branch 'master' into next
Michael Stapelberg [Sat, 12 May 2012 06:24:20 +0000 (08:24 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'i3bar-fix-null'
Michael Stapelberg [Sat, 12 May 2012 06:24:09 +0000 (08:24 +0200)]
Merge branch 'i3bar-fix-null'

12 years agoi3bar: Don’t crash when full_text is missing or null in the JSON input (Thanks fernan...
Michael Stapelberg [Sat, 12 May 2012 06:23:37 +0000 (08:23 +0200)]
i3bar: Don’t crash when full_text is missing or null in the JSON input (Thanks fernandotcl)

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 9 May 2012 19:08:28 +0000 (21:08 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'focus-in-fullscreen'
Michael Stapelberg [Wed, 9 May 2012 19:08:25 +0000 (21:08 +0200)]
Merge branch 'focus-in-fullscreen'

12 years agoAllow focus w/ target when in fs in some cases.
Fernando Tarlá Cardoso Lemos [Sat, 21 Apr 2012 19:34:25 +0000 (16:34 -0300)]
Allow focus w/ target when in fs in some cases.

If the target is in a different workspace, there's no reason why
we wouldn't allow the user to focus it. We already allow this when
focusing a workspace, for example.

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 9 May 2012 18:39:26 +0000 (20:39 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-workspace-number'
Michael Stapelberg [Wed, 9 May 2012 18:39:23 +0000 (20:39 +0200)]
Merge branch 'fix-workspace-number'

12 years agomaybe_back_and_forth now sets render_tree
Ondrej Grover [Wed, 2 May 2012 20:27:41 +0000 (22:27 +0200)]
maybe_back_and_forth now sets render_tree

12 years agomake maybe_back_and_forth static
Michael Stapelberg [Wed, 9 May 2012 18:34:40 +0000 (20:34 +0200)]
make maybe_back_and_forth static

12 years agobugfix: less differentiation between named and numbered workspaces
Ondrej Grover [Wed, 2 May 2012 14:05:27 +0000 (16:05 +0200)]
bugfix: less differentiation between named and numbered workspaces

calling workspace by number now also checks for switching back and forth
and creates a new workspace if no workspace starting with that number is
found

also removed the obsolete tree_render() in favor of setting
cmd_output->needs_tree_render to true

12 years agotests: add test to verify workspace_auto_back_and_forth works with 'workspace number'
Michael Stapelberg [Wed, 9 May 2012 18:33:41 +0000 (20:33 +0200)]
tests: add test to verify workspace_auto_back_and_forth works with 'workspace number'

12 years agotests: Check that 'workspace number <number>' opens a new workspace
Michael Stapelberg [Wed, 9 May 2012 18:33:11 +0000 (20:33 +0200)]
tests: Check that 'workspace number <number>' opens a new workspace

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 9 May 2012 18:16:15 +0000 (20:16 +0200)]
Merge branch 'master' into next

12 years agodon’t wrap when changing workspaces by mouse wheel scrolling
TunnelWicht [Tue, 1 May 2012 11:35:34 +0000 (13:35 +0200)]
don’t wrap when changing workspaces by mouse wheel scrolling

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 9 May 2012 18:06:45 +0000 (20:06 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-static-analysis'
Michael Stapelberg [Wed, 9 May 2012 18:06:42 +0000 (20:06 +0200)]
Merge branch 'fix-static-analysis'

12 years agoremove dead code
Michael Stapelberg [Wed, 9 May 2012 18:00:46 +0000 (20:00 +0200)]
remove dead code

This was a left-over of commit 9d68d780e2ca45e231a3cb76063860c561e0453c

12 years agoremove unused variable
Michael Stapelberg [Wed, 9 May 2012 17:58:50 +0000 (19:58 +0200)]
remove unused variable

12 years agoRemove set but never read variable
Michael Stapelberg [Wed, 9 May 2012 17:56:21 +0000 (19:56 +0200)]
Remove set but never read variable

This was due to the changes in commit d25e77ce7597bf0736c610a04185c8c27694c890

12 years agoMerge branch 'master' into next
Michael Stapelberg [Wed, 9 May 2012 17:47:19 +0000 (19:47 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'fix-dump-log-errmsg'
Michael Stapelberg [Wed, 9 May 2012 17:47:10 +0000 (19:47 +0200)]
Merge branch 'fix-dump-log-errmsg'

12 years agoImprove the main error message of i3-dump-log
Michael Stapelberg [Wed, 9 May 2012 17:46:44 +0000 (19:46 +0200)]
Improve the main error message of i3-dump-log

12 years agoMove is_debug_build() to libi3/
Michael Stapelberg [Wed, 9 May 2012 17:12:20 +0000 (19:12 +0200)]
Move is_debug_build() to libi3/

12 years agoFix floating precision bug
Pavel Löbl [Sun, 6 May 2012 09:03:17 +0000 (11:03 +0200)]
Fix floating precision bug

When calculating coordinates we should multiply at first otherwise
we lose precision when i3 is compiled without sse2 support.

The following code prints "Res1: 348 Res2: 349" when compiled with
-O0 -mno-sse2 and "Res1: 349 Res2: 349" with -O0 -msee2.

Note that -msse2 is default flag on 64bit OSes.

int main() {
  double a = 349.0 / 768;
  double b = 349.0 * 768;
  int res1 = a * 768;
  int res2 = b / 768;
  printf("Res1: %d Res2: %d\n", res1, res2);
  return 0;
}

Thanks guys for helping me to hunt down this one.