]> git.sur5r.net Git - i3/i3.github.io/blobdiff - docs/hacking-howto.html
add the 4.8 release
[i3/i3.github.io] / docs / hacking-howto.html
index 20fe064ff16f4f1929150dbef779f92c5d58b220..755c732dfa984acabec8eae5a1bdc2e20cd8f846 100644 (file)
@@ -4,13 +4,13 @@
 <head>\r
 <link rel="icon" type="image/png" href="/favicon.png">\r
 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 8.6.7" />\r
+<meta name="generator" content="AsciiDoc 8.6.9" />\r
 <title>i3: Hacking i3: How To</title>\r
 <link rel="stylesheet" href="/css/style.css" type="text/css" />\r
 <link rel="stylesheet" href="/css/xhtml11.css" type="text/css" />\r
 <script type="text/javascript">\r
 /*<![CDATA[*/\r
-window.onload = function(){asciidoc.footnotes(); asciidoc.toc(2);}\r
+document.addEventListener("DOMContentLoaded", function(){asciidoc.footnotes(); asciidoc.toc(2);}, false);\r
 /*]]>*/\r
 </script>\r
 <script type="text/javascript" src="/js/asciidoc-xhtml11.js"></script>\r
@@ -192,19 +192,12 @@ picture, either browse all header files or use doxygen if you prefer that).
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
-src/cfgparse.l\r
+src/config_parser.c\r
 </dt>\r
 <dd>\r
 <p>\r
-Contains the lexer for i3’s configuration file, written for <tt>flex(1)</tt>.\r
-</p>\r
-</dd>\r
-<dt class="hdlist1">\r
-src/cfgparse.y\r
-</dt>\r
-<dd>\r
-<p>\r
-Contains the parser for i3’s configuration file, written for <tt>bison(1)</tt>.\r
+Contains a custom configuration parser. See src/command_parser.c for rationale\r
+ on why we use a custom parser.\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
@@ -217,19 +210,13 @@ clicks initiate resizing and thus are relatively complex).
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
-src/cmdparse.l\r
-</dt>\r
-<dd>\r
-<p>\r
-Contains the lexer for i3 commands, written for <tt>flex(1)</tt>.\r
-</p>\r
-</dd>\r
-<dt class="hdlist1">\r
-src/cmdparse.y\r
+src/command_parser.c\r
 </dt>\r
 <dd>\r
 <p>\r
-Contains the parser for i3 commands, written for <tt>bison(1)</tt>.\r
+Contains a hand-written parser to parse commands (commands are what\r
+you bind on keys and what you can send to i3 using the IPC interface, like\r
+<em>move left</em> or <em>workspace 4</em>).\r
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
@@ -380,6 +367,15 @@ Contains the functions to resize containers.
 </p>\r
 </dd>\r
 <dt class="hdlist1">\r
+src/restore_layout.c\r
+</dt>\r
+<dd>\r
+<p>\r
+Everything for restored containers that is not pure state parsing (which can be\r
+found in load_layout.c).\r
+</p>\r
+</dd>\r
+<dt class="hdlist1">\r
 src/sighandler.c\r
 </dt>\r
 <dd>\r