Commit Graph

145 Commits (9571200baa387eb0b4b0e8afd9d540175a95adc5)

Author SHA1 Message Date
Michael Stapelberg 6a07e08320 makefiles: build subdirs (Thanks Kacper) 2011-07-25 00:31:35 +02:00
Michael Stapelberg 28a8df684f Exclude docs/*.svg from dist tarball 2011-07-23 22:07:19 +02:00
Michael Stapelberg 2eefb83b3b makefile: cleanup src/cfgparse.dot
Conflicts:

	Makefile
2011-07-23 22:06:50 +02:00
Michael Stapelberg 5ac7a52573 makefile: pre-generate docs/ 2011-07-23 22:05:33 +02:00
Michael Stapelberg 9c20e7f726 makefile: includue i3-wsbar in dist 2011-07-23 21:58:07 +02:00
Michael Stapelberg 7512f633a7 makefile: add i3-config-wizard to {dist,}clean, dist 2011-07-15 19:21:39 +02:00
Michael Stapelberg 12d3a349de makefile: add i3-migrate-config-to-v4.pl 2011-07-15 19:14:28 +02:00
Michael Stapelberg 2de5cb06c8 makefile: add i3-nagbar to {dist,}clean target, include i3-nagbar in dist 2011-07-15 19:08:21 +02:00
Michael Stapelberg 806ad77399 Makefile: use $(MAKE) instead of make 2011-07-13 13:29:39 +02:00
Michael Stapelberg 3749ed2fbe Makefile: respect and use LIBS (Thanks Kacper) 2011-07-13 13:28:31 +02:00
Michael Stapelberg 93f906308d makefiles: respect and use the CPPFLAGS variable (Thanks Kacper)
See also: http://stackoverflow.com/questions/2754966/cflags-vs-cppflags
2011-07-13 13:25:15 +02:00
Michael Stapelberg 868c804cb8 makefile: install i3-config-wizard 2011-07-11 19:45:22 +02:00
Michael Stapelberg 2897a761c8 makefile: bugfix: filter out auto-generated files 2011-07-11 19:30:26 +02:00
Michael Stapelberg 29e2e696ed makefile: install ${SYSCONFDIR}/i3/config.keycodes 2011-07-11 19:24:04 +02:00
Michael Stapelberg 05f7a50d44 makefile: use src/*.c again, we no longer have files which should not be compiled 2011-07-11 18:21:13 +02:00
Michael Stapelberg d0a3e673b8 Makefile: add i3-nagbar to install target 2011-07-10 14:41:00 +02:00
Michael Stapelberg cf124e18f9 Makefile: install i3-migrate-config-to-v4.pl 2011-07-06 20:51:49 +02:00
Michael Stapelberg e29891bdd4 makefile: include yajl-fallback in 'make dist' 2011-05-28 22:12:06 +02:00
Michael Stapelberg 5ae4620a24 Time Lord technology: for_window config directive to run arbitrary cmds
An example to set all XTerms floating:
    for_window [class="XTerm"] mode floating

To make all urxvts use a 1-pixel border:
    for_window [class="urxvt"] border 1pixel

A less useful, but rather funny example:
    for_window [title="x200: ~/work"] mode floating

The commands are not completely arbitrary. The commands above were tested,
others may need some fixing. Internally, windows are compared against your
criteria (class, title, …) when they are initially managed and whenever one of
the relevant values change. Then, the specified command is run *once* (per
window). It gets prefixed with a criteria to make it match only the specific
window that triggered it. So, if you configure "mode floating", i3 runs
something like '[id="8393923"] mode floating'.
2011-05-15 20:10:25 +02:00
Michael Stapelberg 7e587f3570 add coverage target to makefile to generate a coverage report 2011-05-08 20:08:46 +02:00
Fernando Tarlá Cardoso Lemos c0563af3e2 Bring back some more EWMH support. 2011-03-14 17:11:33 +01:00
Michael Stapelberg a9c549b43f properly clean all files in 'make clean' 2011-03-07 20:24:23 +01:00
Michael Stapelberg a92b9dca73 Bugfix: fix disabling RandR outputs 2011-02-21 01:43:39 +01:00
Michael Stapelberg 26a416e016 refactor tree_move() into src/move.c, change config (!), change testcase
Due to lots of cases which were added and added to tree_move(), the function
was not really easy to understand. For this refactoring, I wrote tree_move()
from scratch, thinking about (hopefully) all cases. The testsuite still passes.

The move command also has different parameters now. Instead of the hard to
understand 'before v' stuff, we use 'move [left|right|up|down]'.
2011-02-14 23:05:20 +01:00
Axel Wagner fb6d117c42 Port sighandler to tree-branch 2010-12-31 19:36:29 +01:00
Michael Stapelberg 87cffac03a remove i3-wsbar from 'make install', not supported at the moment 2010-12-06 13:20:37 +01:00
Michael Stapelberg edf4aa433f need more escaping for the version string when replacing in makefile 2010-12-06 13:14:14 +01:00
Michael Stapelberg ee45c92564 Implement resizing (still buggy)
Committing basic resizing functionality. We need testcases for the bugs and
then eliminate them.
2010-11-29 10:56:16 +01:00
Blekos EelVex Kostas fd79a3dd5b remove space for flex's -P flag 2010-11-28 13:05:06 +01:00
Fernando Tarlá Cardoso Lemos 69fc6449dc libXcursor support (themed cursors). 2010-11-28 13:01:45 +01:00
Michael Stapelberg a79d33fc7f Remove some dead code (to be re-implemented), rename nc.c to main.c 2010-07-11 22:12:25 +02:00
Michael Stapelberg bdb1065537 bugfix: only print the first match when looking for the loglevel
fixes problems with con.c, container.c, config.c
2010-06-02 22:34:31 +02:00
Michael Stapelberg 7f3a77ac6a loglevel bitmasks needs to be larger because we got more than 32 files 2010-04-17 17:46:11 +02:00
Michael Stapelberg 8d05039b04 move match_* to match.c 2010-04-16 22:51:25 +02:00
Michael Stapelberg 769501420d add first version of a new flex/bison based command parser 2010-04-14 20:26:56 +02:00
Michael Stapelberg fd8735a6fd correctly update/display window title/class 2010-04-13 17:22:34 +02:00
Michael Stapelberg c145f7e529 first step of the big refactoring ("tree" branch).
From here on, we can track changes. It made no sense to put the
development up to this point into git.
2010-04-13 13:17:39 +02:00
Michael Stapelberg 538d1b3c0f makefile: install i3-wsbar 2010-03-25 03:11:31 +01:00
Michael Stapelberg 1bce8f2104 makefiles: support PREFIX and SYSCONFDIR 2010-03-16 00:08:54 +01:00
Michael Stapelberg 29c4ac9395 makefile: install header file i3/ipc.h 2010-03-16 00:00:27 +01:00
Michael Stapelberg c9c068c36c Fix parallel compilation (sometimes it failed because of wrong order in lex/yacc) 2010-03-02 12:56:45 +01:00
Michael Stapelberg 01297af20a makefile: parser/lexer also depend on header files 2010-02-13 19:27:28 +01:00
Michael Stapelberg 75ac464c0d makefile: rather than a dependency for each source file, generate loglevels.h by recursion
This little hack runs make recursively to generate include/loglevels.h
before running any other target but skip an explicit dependency on
loglevels.h in each rule. Therefore, you do not need to rebuild
every source file when compiling.
2009-12-22 12:14:09 +01:00
Michael Stapelberg 4b3ff1795c Remove -e and -t from loglevels.h target to make it POSIX compliant (Thanks Mirko) 2009-12-20 23:43:49 +01:00
Michael Stapelberg 1776c12c0b makefile: properly document dependencies on each target to fix parallel make (Thanks Atsutane) 2009-12-20 12:58:45 +01:00
Michael Stapelberg e498b90e7a makefile: clean temporary files 2009-12-19 22:42:24 +01:00
Michael Stapelberg 5397e893b9 logging: new makefile target to generate loglevels at compile time
Using shell commands, a bitmask is generated for each file. Additionally,
a C header containing an array of loglevels and their files is created in
include/loglevels.h.
2009-12-19 22:40:23 +01:00
Michael Stapelberg 08ee194d59 Update regexp in make dist 2009-11-09 21:31:51 +01:00
Michael Stapelberg e593280dce Change makefile for the release of 3.d 2009-11-09 21:28:29 +01:00
Michael Stapelberg aa712fc63b Install welcome message, display it in default config 2009-11-06 17:46:34 +01:00
Michael Stapelberg aa02fda067 Explicitly call flex and bison instead of lex and yacc (Thanks mxf) 2009-09-26 12:47:23 +02:00
Michael Stapelberg ca9b52bfcc Add initial version of i3-input, an interactive tool for sending IPC commands 2009-09-20 15:44:14 +02:00
Michael Stapelberg 2986636e03 Fix some parsing problems, retab! 2009-09-13 18:40:35 +02:00
Michael Stapelberg 9dd975e974 Add first version of lexer/parser to git, update Makefile 2009-09-13 14:16:39 +02:00
Michael Stapelberg 74a6c7532d Update make dist 2009-08-19 14:37:46 +02:00
Michael Stapelberg e7bf93163d Make path configurable 2009-07-28 22:09:53 +02:00
Michael Stapelberg ec9b58ada9 Add i3-msg, a sample implementation and hopefully useful utility 2009-07-28 21:26:36 +02:00
Michael Stapelberg 553db28664 Switch to libev for the event loop to build a base for IPC stuff. Please test! 2009-06-01 20:59:40 +02:00
Michael Stapelberg 8f844fb9d5 Remove MAKE=make from makefile to ensure recursive invocations work (i.e. clean target)
See http://www.gnu.org/software/make/manual/make.html#MAKE-Variable
2009-05-27 00:48:32 +02:00
Michael Stapelberg ef14f26527 Makefile: Correctly create dist package 2009-05-03 17:16:12 +02:00
Michael Stapelberg 5a1eaba4d3 Bugfix: Correctly redirect output when checking for pkg-config 2009-05-02 21:03:54 +02:00
Michael Stapelberg e9c5643a8b Makefile: Add more checks: check if pkg-config and libxcb-keysyms are installed 2009-04-30 17:39:01 +02:00
Michael Stapelberg 751fb27b23 Add missing files to make dist, delete old RFC file 2009-04-19 22:31:49 +02:00
Michael Stapelberg 1b36c943e9 Add a .desktop-file containing xsession information for freedesktop compliant login managers 2009-04-19 22:29:04 +02:00
Michael Stapelberg 69c9db4016 Add conditional for the 0.3.3 → 0.3.4 API fix in libxcb-keysyms 2009-04-19 21:37:34 +02:00
Michael Stapelberg 982e453251 Don’t rely on libxcb-wm any longer, as it got removed in libxcb 0.3.4
See http://cgit.freedesktop.org/xcb/util/commit/?id=4c9a707f472e49bc3005354db265a0214071d46b
2009-04-19 20:44:34 +02:00
Michael Stapelberg 22e0ea5141 FreeBSD requires -liconv to link (Thanks Dennis Herrmann) 2009-04-19 14:04:33 +02:00
Michael Stapelberg 3548abd48a Make the makefile print out "INSTALL" when installing 2009-04-11 11:34:20 +02:00
Michael Stapelberg a8478efa34 Bugfix: Correctly filter out the numlock state bit (doesn’t get cleared for some reason)
This fixes ticket #14
2009-03-27 15:24:52 +01:00
Michael Stapelberg 6a8ea6c898 Fix makefile to replace git-versions so tarball works without git 2009-03-15 23:40:08 +01:00
Michael Stapelberg eb2ceb95bf Cleanup makefiles, add version to i3 -v and i3 startup 2009-03-15 23:15:16 +01:00
Michael Stapelberg 76effaf29a Bugfix: Fix rounding problems when positioning proportional windows 2009-03-15 17:35:16 +01:00
Michael Stapelberg e1252b51da Move i3lock in its own repository 2009-03-11 22:21:50 +01:00
Michael Stapelberg d8ac364749 Update config to use i3menu on Mod1+p, update Makefile to compile/install i3lock and i3menu 2009-03-11 19:09:17 +01:00
Michael Stapelberg 253ba10bfb Use -idirafter which is the same as -I but first looks at the standard system headers
As iconv(3) is in NetBSD’s libc but the GNU version can be installed to /usr/pkg, searching
/usr/pkg/include before /usr/include (standard behaviour with -I) is not a good idea.
2009-03-08 20:04:33 +01:00
Michael Stapelberg f85990b27a Fix warnings, update DEPENDS, update Makefile for NetBSD 2009-03-08 17:30:17 +01:00
Michael Stapelberg b372395a7d Don’t override /etc/i3/config if it already exists 2009-03-06 16:56:04 +01:00
Michael Stapelberg f45e706c48 Merge font.c into xcb.c 2009-03-04 14:52:04 +01:00
Michael Stapelberg f84ace1a10 Update default configuration file, install it to /etc/i3/config 2009-03-04 09:22:00 +01:00
Michael Stapelberg 94bbe02e7b More work on the debian package, don’t link against xcb-keysyms, not necessary at the moment 2009-02-25 01:38:02 +01:00
Michael Stapelberg 06bef32346 Website: s/beamer/video projector, s/computer geeks/advanced users and developers 2009-02-23 16:28:48 +01:00
Michael Stapelberg eca5d12b82 Add debian/ 2009-02-22 17:41:30 +01:00
Michael Stapelberg d88c49682f Linux needs -D_GNU_SOURCE for some functions, so enable it in Makefile 2009-02-16 03:35:16 +01:00
Michael Stapelberg 26944bea99 Use c99 2009-02-15 02:30:18 +01:00
Michael Stapelberg feaef42694 Makefile: Add DEBUG-flag (default =1), add dependency on include/*.h 2009-02-15 00:34:30 +01:00
Michael Stapelberg 82dd64ff24 Move stuff to include/ and src/ 2009-02-13 19:09:25 +01:00
Michael Stapelberg 7c0317c8a3 Cleanups, first strike. Move stuff to separate files, eliminate warnings 2009-02-13 19:04:45 +01:00
Michael Stapelberg af6aee4f4f First version of Xinerama support 2009-02-13 18:15:10 +01:00
Michael Stapelberg df9fa0dd8f Add XKB for getting correct state, add colspan test code 2009-02-10 05:50:35 +01:00
Michael Stapelberg 431c99effa Add correct environment-handling (pass LC_*, LANG, DISPLAY), add -rpath for NetBSD 2009-02-09 20:51:52 +01:00
Michael Stapelberg 979311deca Separate font stuff to font.c, beautify Makefile 2009-02-08 11:25:32 +01:00
Michael Stapelberg aaa697494c Make table dynamic 2009-02-08 04:04:35 +01:00
Michael Stapelberg 4de3a5059b Focus changes (up/down) implemented 2009-02-08 02:39:56 +01:00
Michael Stapelberg 968a999d3d Use containers 2009-02-07 21:08:30 +01:00
Michael Stapelberg 1e70aa2e89 Add Makefile and queue.h to repository 2009-02-07 04:27:22 +01:00