When cloning a Git repository, there is an option to limit the amount of history your clone will have. If you set the parameter to –depth 1, you get the least amount of history, and you create a shallow clone. The git clone man page says that you cannot push your commits if you have …
Tag: git
Permanent link to this article: https://blog.simos.info/git-clones-vs-shallow-git-clones/
Jan 07 2009
Playing with Git
Git is a version control system (VCS) software that is used for source code management (SCM). There are several examples of VCS software, such as CVS and SVN. What makes Git different is that it is a distributed VCS, that is, a DVCS. Being a DVCS, when you use Git you create fully capable local …
Permanent link to this article: https://blog.simos.info/playing-with-git/
Jun 20 2008
Converting between XKB and XML
I completed the stage that takes keyboard layout files from XKB (X.Org) and converts them to XML documents, based on a keyboard layout Relax NG schema. Then, these XML documents can also be converted back to keyboard layout files. Here is an imaginary example of a keyboard layout file. // Keyboard layout for the Zzurope …
Permanent link to this article: https://blog.simos.info/converting-between-xkb-and-xml/
Jun 11 2008
ANTLR grammar for XKB, and Relax NG schema (draft)
I completed the ANTLRv3 grammar for symbols/ configuration files of XKB. The grammar can parse and create the abstract syntax tree (AST) for all keyboard layouts in xkeyboard-config. ANTLRv3 helps you create parsers for domain specific languages (DSL), an example of which is the configuration files in XKB. Having the ANTLRv3 grammar for a configuration …
Permanent link to this article: https://blog.simos.info/antlr-grammar-for-xkb-and-relax-ng-schema-draft/
May 28 2008
Looking into the symbol files
In the previous post, we talked about the ANTLR grammar that parses the XKB layout files. The grammar is available at http://code.google.com/p/keyboardlayouteditor/source/browse. I’ll rather push to the freedesktop repository once the project is completed. Now it’s too easy for me, just doing svn commit -m something. Below you can see the relevant layout files for …
Permanent link to this article: https://blog.simos.info/looking-into-the-symbol-files/
Permanent link to this article: https://blog.simos.info/fosdem-08-summary-and-comments/
Recent Comments