]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Mon, 22 Mar 2010 20:42:35 +0000 (21:42 +0100)]
use constant instead of magic number
Michael Stapelberg [Mon, 22 Mar 2010 20:37:44 +0000 (21:37 +0100)]
Get rid of _bytelength, use encode_utf8 and length instead. Correctly check for scalar
Michael Stapelberg [Mon, 22 Mar 2010 20:37:33 +0000 (21:37 +0100)]
Bugfix: Handle message_type == 0
Michael Stapelberg [Fri, 19 Mar 2010 21:35:19 +0000 (22:35 +0100)]
Add new constants
Michael Stapelberg [Sat, 13 Mar 2010 17:30:46 +0000 (18:30 +0100)]
update MANIFEST correctly (use MANIFEST.SKIP instead of ignore.txt)
Michael Stapelberg [Sat, 13 Mar 2010 17:27:32 +0000 (18:27 +0100)]
Update MANIFEST
Michael Stapelberg [Sat, 13 Mar 2010 17:17:12 +0000 (18:17 +0100)]
Provide constants for message types
Michael Stapelberg [Sat, 13 Mar 2010 16:38:59 +0000 (17:38 +0100)]
Expand testcase for the get_workspaces message (needs i3 to be running)
Michael Stapelberg [Sat, 13 Mar 2010 16:38:32 +0000 (17:38 +0100)]
Return connection status in condvar in $i3->connect
Michael Stapelberg [Sat, 13 Mar 2010 16:21:52 +0000 (17:21 +0100)]
kill boilerplate
Michael Stapelberg [Sat, 13 Mar 2010 16:19:38 +0000 (17:19 +0100)]
prefix internal subs with _
Michael Stapelberg [Sat, 13 Mar 2010 16:11:09 +0000 (17:11 +0100)]
Initial commit
Michael Stapelberg [Sat, 19 Aug 2017 15:44:35 +0000 (17:44 +0200)]
t/171-config-migrate: escape braces for newer Perl versions
Michael Stapelberg [Sat, 19 Aug 2017 15:29:31 +0000 (17:29 +0200)]
Prevent accidentally introduced fall-through
This was added in commit https://github.com/i3/i3/commit/
e82e26a24d22e2f92cd90d9547c213493e94ea63
Ingo Bürk [Mon, 31 Jul 2017 09:48:10 +0000 (11:48 +0200)]
Merge pull request #2847 from tmerr/next
Document missing case of workspace event
Trevor Merrifield [Sun, 30 Jul 2017 04:47:40 +0000 (00:47 -0400)]
Document missing case of workspace event
The docs are missing the "move" workspace event emitted from
workspace.c's workspace_move_to_output function.
Trevor Merrifield [Sun, 30 Jul 2017 04:42:11 +0000 (00:42 -0400)]
Add missing newline to end of file
Ingo Bürk [Thu, 13 Jul 2017 04:55:22 +0000 (06:55 +0200)]
Merge pull request #2836 from acrisci/bug/sysconfdir-to-makefile
Move SYSCONFDIR definition to makefile
Ingo Bürk [Thu, 13 Jul 2017 04:50:05 +0000 (06:50 +0200)]
Merge pull request #2838 from acrisci/bug/colors-only-hex
Ensure colors are in hex
Tony Crisci [Wed, 12 Jul 2017 21:50:19 +0000 (17:50 -0400)]
libi3: Add basic validation to hex color conversion
Make sure a given hex color is the expected length and begins with a hash in
draw_util_hex_to_color() to avoid memory errors.
fixes #2829
Tony Crisci [Wed, 12 Jul 2017 21:50:10 +0000 (17:50 -0400)]
i3bar: change error block color to hex
Named colors are not supported by the i3bar protocol so give the error block
color in hex.
Tony Crisci [Wed, 12 Jul 2017 14:57:23 +0000 (10:57 -0400)]
Move SYSCONFDIR definition to makefile
Official autoconf docs contraindicate the use of the $sysconfdir
variable in configure.ac. For reference:
https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html
The macro SYSCONFDIR (ordinarilly set to "/etc") is required to find
a system configuration file installed with i3. In some build setups,
this may not be defined properly in when the configure script is
compiled.
Instead, define this variable in AM_CPPFLAGS as the documentation
indicates.
fixes #2832
Ingo Bürk [Tue, 11 Jul 2017 14:06:45 +0000 (16:06 +0200)]
Merge pull request #2831 from dvejmz/next
Add KDE konsole terminal fallback to i3-sensible-terminal
David Jimenez Sequero [Mon, 10 Jul 2017 10:59:37 +0000 (11:59 +0100)]
Add KDE konsole terminal fallback to i3-sensible-terminal
Ingo Bürk [Sun, 9 Jul 2017 11:23:42 +0000 (13:23 +0200)]
Merge pull request #2827 from akash-akya/next
Fix 'Mouse binding don't work'
akash akya [Thu, 6 Jul 2017 19:33:36 +0000 (01:03 +0530)]
Fix 'Mouse binding don't work'
Ingo Bürk [Fri, 23 Jun 2017 06:31:08 +0000 (08:31 +0200)]
Merge pull request #2820 from hwangcc23/fix-2804
i3-msg: Return an exit code upon missing -t arg
hwangcc23 [Thu, 22 Jun 2017 14:53:08 +0000 (22:53 +0800)]
i3-msg: Return an exit code upon missing -t arg
If getopt() returns '?' (option with a missing argument), exit the program with an error code rather than continuing the execution.
Fix the issue #2804 (https://github.com/i3/i3/issues/2804).
Ingo Bürk [Tue, 13 Jun 2017 13:15:49 +0000 (15:15 +0200)]
Merge pull request #2808 from hwangcc23/fix-2802
Fix 'rename workspace to tosomething'
hwangcc23 [Sun, 11 Jun 2017 15:48:55 +0000 (23:48 +0800)]
Fix 'rename workspace to tosomething'
This patch fixes the issue #2802 (https://github.com/i3/i3/issues/2802).
1). Revise the state machine for the 'rename workspace' command.
These scenarios are considered:
a). 'rename workspace to to bla'
state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO -> RENAME_WORKSPACE_LIKELY_TO_NEW_NAME
b). 'rename workspace to tosomething'
state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO
c). 'rename workspace to to'
state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO
d). 'rename workspace to bla'
state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO
e). 'rename workspace bla to foo'
state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_TO -> RENAME_WORKSPACE_TO_NEW_NAME
2). Add a test case in 117-workspace.t for the scenario b.
Ingo Bürk [Mon, 12 Jun 2017 09:01:58 +0000 (11:01 +0200)]
Merge pull request #2795 from Adaephon-GH/doc-config-load-order
Fix manpage on configuration lookup order
Ingo Bürk [Mon, 12 Jun 2017 09:00:28 +0000 (11:00 +0200)]
Merge pull request #2799 from hwangcc23/add_compilation_inst
Add compilation instructions to the hacking howto
hwangcc23 [Fri, 2 Jun 2017 14:26:09 +0000 (22:26 +0800)]
Add compilation instructions to the hacking howto
Ingo Bürk [Wed, 31 May 2017 18:33:39 +0000 (20:33 +0200)]
Merge pull request #2796 from Armael/next
Add a link to the ocaml-i3ipc library
Armaël Guéneau [Wed, 31 May 2017 14:52:17 +0000 (16:52 +0200)]
Add a link to the ocaml-i3ipc library
Adaephon-GH [Wed, 31 May 2017 09:26:07 +0000 (11:26 +0200)]
Fix manpage on configuration lookup order
The lookup order stated in the i3 manpage was is contratiction to the
actual lookup order, which was introduced with commit
https://github.com/i3/i3/commit/
bfa12a581915d6a3de182fa6025fce108cac8eab .
Since that commit (6.5 years ago) the "traditional" paths took precedence
over XDG_CONFIG paths.
Ingo Bürk [Mon, 29 May 2017 06:37:44 +0000 (08:37 +0200)]
Merge pull request #2772 from loungecube/patch-1
prevent multiple menu items per .desktop entry
Ingo Bürk [Wed, 24 May 2017 19:43:33 +0000 (21:43 +0200)]
Merge pull request #2784 from stapelberg/numrelease
compare modifiers for equality, not subset
Michael Stapelberg [Wed, 24 May 2017 18:42:27 +0000 (20:42 +0200)]
compare modifiers for equality, not subset (+test)
Subset comparison was introduced with the rather large commit
bf3cd41b5ddf1e757515ab5fbf811be56e5f69cc , but I now think we should use
equality.
In other words, the following key binding:
bindsym Mod4+x nop Mod4+x
previously would have been triggered when pressing Mod3+Mod4+x.
Strictly speaking, this is a change of behavior, but it breaks none of our
tests, and using equality instead of subset comparison enables more use-cases.
fixes #2002
Michael Stapelberg [Wed, 24 May 2017 18:41:55 +0000 (20:41 +0200)]
no-op change: store |button| in the correct data type
Michael Stapelberg [Wed, 24 May 2017 18:41:17 +0000 (20:41 +0200)]
no-op change: move bind->release check into loop
We don’t have to negate the check anymore, making it more readable.
Michael Stapelberg [Wed, 24 May 2017 18:40:17 +0000 (20:40 +0200)]
no-op change: don’t compare keycode for every modifier
Chih-Chyuan Hwang [Tue, 23 May 2017 06:47:11 +0000 (14:47 +0800)]
Fix the i3 crash caused by mark + restart commands (#2779)
This patch fixes the issue #2511(https://github.com/i3/i3/issues/2511).
1). Memorize the marks, but only call con_mark once the container has finished parsing. (Credit: This is @Airblader's patch.)
2). Add a test case 267-regress-mark-restart.t for regression test to check if mark and restart command crash i3.
Ingo Bürk [Tue, 23 May 2017 06:40:05 +0000 (08:40 +0200)]
Merge pull request #2782 from stapelberg/release-bindings
Fix --release bindings broken by previous commit
Michael Stapelberg [Tue, 23 May 2017 06:28:56 +0000 (08:28 +0200)]
Fix --release bindings broken by previous commit
fixes #2559
Michael Stapelberg [Mon, 22 May 2017 19:32:05 +0000 (21:32 +0200)]
Apply numlock fallback to bindcode where necessary (#2781)
This was broken with commit
d77d40173aae250d2e5ba86a8bce7a6e857cbc67
fixes #2559
Ingo Bürk [Mon, 22 May 2017 06:50:58 +0000 (08:50 +0200)]
Merge pull request #2777 from hwangcc23/update-testsuite-doc
Update testsuite docs
hwangcc23 [Sun, 21 May 2017 15:08:27 +0000 (23:08 +0800)]
Update testsuite docs
After moved to autotools, the method to run the i3 testsuite is changed.
Update the testsuite document to reflect the change.
Ingo Bürk [Thu, 18 May 2017 07:51:45 +0000 (09:51 +0200)]
Merge pull request #2773 from lasers/next
docs/ipc: Fix typo
lasers [Wed, 17 May 2017 23:48:56 +0000 (18:48 -0500)]
docs/ipc: Fix typo
Ingo Bürk [Wed, 17 May 2017 08:39:42 +0000 (10:39 +0200)]
Merge pull request #2761 from mdirkse/next
[WIP] Change golang ipc lib reference to one that is maintained.
Ingo Bürk [Tue, 16 May 2017 16:39:37 +0000 (18:39 +0200)]
Merge pull request #2771 from hwangcc23/fix-2764
Support to get the primary output
hwangcc23 [Sun, 14 May 2017 08:05:29 +0000 (16:05 +0800)]
Support to get the primary output
This makes `primary` output available for assign or move commands.
Fix the issue #2764(https://github.com/i3/i3/issues/2764).
Michael Stapelberg [Mon, 15 May 2017 19:35:10 +0000 (21:35 +0200)]
Merge pull request #2496 from Airblader/feature-917
Implement 'swap' command.
Ingo Bürk [Fri, 26 Feb 2016 21:39:44 +0000 (22:39 +0100)]
Implement 'swap' command.
This patch introduces a new command 'swap' that swaps two containers so
that they assume each other's position and geometry.
fixes #917
loungecube [Mon, 15 May 2017 03:02:09 +0000 (05:02 +0200)]
prevent multiple menu items per .desktop entry
If a .desktop entry is being added to the list of Menu items by its "Name" field, it should not be added again by its command or filename.
If it is being added by its command, it should not be added again by its filename.
Ingo Bürk [Fri, 12 May 2017 17:26:35 +0000 (19:26 +0200)]
Force container to be redrawn upon moving to another container. (#2769)
This is necessary as otherwise urgent containers can be broken
after moving them.
Ingo Bürk [Fri, 12 May 2017 13:39:40 +0000 (15:39 +0200)]
Merge pull request #2766 from MachFour/nagbar-shell-exec
i3-nagbar: add button flag to execute action with /bin/sh directly
Max Fisher [Sun, 7 May 2017 13:40:19 +0000 (23:40 +1000)]
i3-nagbar: add button flag to execute action with /bin/sh directly.
Fixes #2765.
Nathan Schulte [Fri, 7 Apr 2017 14:59:24 +0000 (09:59 -0500)]
add error check and log for xcb_create_window
Ingo Bürk [Thu, 4 May 2017 21:08:51 +0000 (23:08 +0200)]
Added a hint about the required config v4 version hint. (#2759)
fixes #2751
Ingo Bürk [Thu, 4 May 2017 13:23:15 +0000 (15:23 +0200)]
Merge pull request #2762 from mdirkse/valid_json
Fix invalid JSON
Maarten Dirkse [Wed, 3 May 2017 22:36:44 +0000 (00:36 +0200)]
Fix invalid JSON
Maarten Dirkse [Tue, 2 May 2017 11:12:25 +0000 (13:12 +0200)]
Change golang ipc lib reference to one that is maintained.
Ingo Bürk [Tue, 2 May 2017 08:06:00 +0000 (10:06 +0200)]
Merge pull request #2757 from Jereq/next
Fix i3-dmenu-desktop quoted command name
Ingo Bürk [Tue, 2 May 2017 07:11:35 +0000 (09:11 +0200)]
Query workspaces again in i3bar when an output change occured. (#2760)
As of
2f0f8b1 , i3bar will properly clean up on output change events.
However, this requires us to query the workspaces again to avoid a
display error in i3bar.
fixes #2740
fixes #2743
Ingo Bürk [Tue, 2 May 2017 07:08:42 +0000 (09:08 +0200)]
Introduce --exclude-titlebar flag for mouse bindings. (#2703)
This introduces the flag --exclude-titlebar for mouse bindings which
allows bindings like
bindsym --whole-window --border --exclude-titlebar button3 focus
fixes #2347
Sebastian Larsson [Sun, 30 Apr 2017 12:40:04 +0000 (14:40 +0200)]
Fix i3-dmenu-desktop quoted command name
According to the Desktop Entry Specification
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables
the executable name or path of the executable may be quoted. This is not
properly respected when i3-dmenu-desktop extracts the command name from
the Exec entry.
Examples of values that fail and what they currently result in:
- "bar" -> "bar"
- "foo/bar" -> bar"
- "foo foobar/bar" -> "foo
- "foo\sbar" -> "foo\sbar"
- foo\sbar -> foo\sbar
- "foo\\\\bar" -> "foo\\\\bar"
Ingo Bürk [Fri, 28 Apr 2017 15:34:21 +0000 (17:34 +0200)]
Merge pull request #2752 from mihaicmn/bug-2464
Fix changing of root workspace layout from stacked/tabbed
Mihai Coman [Thu, 27 Apr 2017 14:50:55 +0000 (17:50 +0300)]
Fix changing of root workspace layout from stacked/tabbed
Ingo Bürk [Tue, 11 Apr 2017 09:32:08 +0000 (11:32 +0200)]
Merge pull request #2731 from nmschulte/check-create-window
Check X11 create window call
Nathan Schulte [Fri, 7 Apr 2017 14:59:24 +0000 (09:59 -0500)]
add error check and log for xcb_create_window
Ingo Bürk [Fri, 7 Apr 2017 06:54:06 +0000 (08:54 +0200)]
Merge pull request #2725 from nmschulte/feature/output-primary
Feature/output primary
Nathan Schulte [Mon, 3 Apr 2017 00:26:55 +0000 (19:26 -0500)]
format i3bar src/outputs.c w/ clang-format
Ingo Bürk [Thu, 30 Mar 2017 13:19:50 +0000 (15:19 +0200)]
Merge pull request #2720 from Arlon1/next
Adding new terminals to i3-sensible-terminal
Franz König [Sun, 26 Mar 2017 14:05:56 +0000 (16:05 +0200)]
Adding new terminals to i3-sensible-terminal
lebenlechzer [Sun, 12 Mar 2017 20:17:12 +0000 (21:17 +0100)]
i3bar: accept 'primary' for output config option
Ingo Bürk [Mon, 6 Mar 2017 06:50:49 +0000 (07:50 +0100)]
Merge pull request #2698 from tmerr/next
docs/ipc: Document the 'primary' flag
Trevor Merrifield [Mon, 6 Mar 2017 06:20:47 +0000 (01:20 -0500)]
docs/ipc: Document the 'primary' flag
Resolves #2697
Ingo Bürk [Fri, 24 Feb 2017 07:36:31 +0000 (08:36 +0100)]
Fixes a small mixup in the assertion description. (#2692)
relates to PR #2649
Ingo Bürk [Thu, 23 Feb 2017 23:58:19 +0000 (00:58 +0100)]
Merge pull request #2649 from s3rb31/next
layout toggle: take any combination of layouts as arguments (continuation of #2476)
s3rb31 [Thu, 19 Jan 2017 19:49:56 +0000 (20:49 +0100)]
layout toggle: take any combination of layouts as arguments (#2649)
With this PR the 'layout toggle' command can be passed any
combination of valid layout keywords as arguments. They will
be activated one after another each time you issue the command,
advancing from left to right always selecting the layout after
the currently active layout or the leftmost layout if the active
layout is not in the argument list.
This PR also incorporates the feature request from #2476.
s3rb31 [Tue, 21 Feb 2017 01:12:39 +0000 (02:12 +0100)]
Implement mapping from string to layout as extra function
Michael Stapelberg [Mon, 20 Feb 2017 17:06:57 +0000 (09:06 -0800)]
Merge pull request #2680 from Airblader/feature-2677
[#2677] Allow using left/right scrolling like up/down scrolling.
Ingo Bürk [Fri, 17 Feb 2017 08:06:40 +0000 (09:06 +0100)]
Copy the entire window content on Expose events. (#2685)
With commit
d58dbc3 we started ignoring Expose events in a sequence
except for the last one. Since we only copied the affected part of
the window in the Expose event handler, this caused incorrectly
rendered window decorations.
Instead of reverting to the old behavior, we now copy the entire window
content on this single, last event with the following rationale:
- It's cheaper to copy a larger chunk once than multiple smaller
chunks doing one server roundtrip each.
- That's how we do it when rendering out decoration on decoration
changes as well.
fixes #2683
Ingo Bürk [Sun, 12 Feb 2017 19:48:44 +0000 (20:48 +0100)]
Allow using left/right scrolling like up/down scrolling.
This commit makes left/right scrolling synonyms for up/down scrolling for
* scrolling on window decoration
* scrolling on i3bar workspaces
fixes #2677
Ingo BÃ\83 ¼rk [Sun, 12 Feb 2017 19:36:42 +0000 (20:36 +0100)]
Introduce named aliases for mouse buttons.
This increases readability and allows us to cover up the fact that
XCB doesn't define constants for left/right scrolling.
Ingo Bürk [Sun, 12 Feb 2017 19:24:35 +0000 (20:24 +0100)]
Add troubleshooting for title attributes during layout restoring. (#2679)
Michael Stapelberg [Mon, 6 Feb 2017 18:10:41 +0000 (10:10 -0800)]
document our project governance model (#2675)
Stefan Hagen [Sun, 5 Feb 2017 17:57:44 +0000 (18:57 +0100)]
Explaing the workspace number "1: www" behavior (#2674)
The documentation did not explain how workspace number `"1: www"` is working.
Related to #2663
Rephrase to cover the creation case
Manuel Mendez [Sun, 5 Feb 2017 09:07:21 +0000 (04:07 -0500)]
docs: focus_follow_mouse only happens at window border crossings (#2669)
see #2666
Johannes Lange [Sun, 5 Feb 2017 09:04:35 +0000 (10:04 +0100)]
restart bar status command on config reload (#2668)
Closes #2651
mihaicmn [Wed, 25 Jan 2017 07:18:13 +0000 (09:18 +0200)]
migrate i3-config-wizard to draw_util (#2654)
Tobias Hänel [Tue, 24 Jan 2017 16:40:32 +0000 (17:40 +0100)]
Added missing cases for workspace event (#2656)
The possible values "rename", "reload" and "restored" of the property
'change' from the workspace event were missing. Because no events of
those types contain an old workspace, this was trivial.
Tony Crisci [Mon, 23 Jan 2017 07:40:08 +0000 (02:40 -0500)]
Testcases: Check for required binaries (#2655)
Fail fast in case test binaries are not built and provide instructions
on how to build them.
Tony Crisci [Sun, 22 Jan 2017 22:08:32 +0000 (17:08 -0500)]
Add the ipc shutdown event (#2652)
This event is triggered when the connection to the ipc is about to
shutdown because of a user action such as with a `restart` or `exit`
command. The `change` field indicates why the ipc is shutting down. It
can be either "restart" or "exit".
fixes #2318
mihaicmn [Sat, 21 Jan 2017 15:53:09 +0000 (17:53 +0200)]
migrate placeholder windows to draw_util (#2646)
mihaicmn [Sat, 21 Jan 2017 15:30:31 +0000 (17:30 +0200)]
migrate i3-input to draw_util (#2645)
mihaicmn [Sat, 21 Jan 2017 15:25:21 +0000 (17:25 +0200)]
migrate i3-nagbar to draw_util (#2644)
fred777 [Sat, 21 Jan 2017 12:21:32 +0000 (13:21 +0100)]
Update userguide (#2647)
key identifier Esc is invalid, use Escape instead