[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Tue, 16 Mar 2010 11:27:27 +0000 (UTC)

changeset: 478:f06cf47790f2
tag: tip
parent: 476:4fd1ec8bf3f9
parent: 475:794685bfb957
user: Jacob Todd <jaketodd422_AT_gmail.com>
date: Tue Mar 16 07:27:22 2010 -0400
files: surf.suckless.org/index.md
description:
Fix a typo


diff -r 4fd1ec8bf3f9 -r f06cf47790f2 dwm.suckless.org/patches/dwm-uselessgap-5.8.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/dwm-uselessgap-5.8.diff Tue Mar 16 07:27:22 2010 -0400
_AT_@ -0,0 +1,49 @@
+diff -r 72e52c5333ef config.def.h
+--- a/config.def.h Wed Nov 25 13:56:17 2009 +0000
++++ b/config.def.h Thu Mar 11 16:32:24 2010 +0100
+_AT_@ -9,6 +9,7 @@
+ static const char selbgcolor[] = "#0066ff";
+ static const char selfgcolor[] = "#ffffff";
+ static const unsigned int borderpx = 1; /* border pixel of windows */
++static const unsigned int gappx = 6; /* gap pixel between windows */
+ static const unsigned int snap = 32; /* snap pixel */
+ static const Bool showbar = True; /* False means no bar */
+ static const Bool topbar = True; /* False means bottom bar */
+diff -r 72e52c5333ef dwm.c
+--- a/dwm.c Wed Nov 25 13:56:17 2009 +0000
++++ b/dwm.c Thu Mar 11 16:32:24 2010 +0100
+_AT_@ -269,6 +269,7 @@
+ static DC dc;
+ static Monitor *mons = NULL, *selmon = NULL;
+ static Window root;
++static int globalborder ;
+
+ /* configuration, allows nested code to access above variables */
+ #include "config.h"
+_AT_@ -1299,16 +1300,21 @@
+ resize(Client *c, int x, int y, int w, int h, Bool interact) {
+ XWindowChanges wc;
+
++ if(c->isfloating) { globalborder = 0 ; }
++ else {
++ if (selmon->lt[selmon->sellt]->arrange == monocle) { globalborder = 0 - borderpx ; }
++ else { globalborder = gappx ; }
++ }
+ if(applysizehints(c, &x, &y, &w, &h, interact)) {
+- c->x = wc.x = x;
+- c->y = wc.y = y;
+- c->w = wc.width = w;
+- c->h = wc.height = h;
++ c->x = wc.x = x + globalborder;
++ c->y = wc.y = y + globalborder;
++ c->w = wc.width = w - 2 * globalborder ;
++ c->h = wc.height = h - 2 * globalborder ;
+ wc.border_width = c->bw;
+ XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
+ configure(c);
+ XSync(dpy, False);
+- }
++ }
+ }
+
+ void
diff -r 4fd1ec8bf3f9 -r f06cf47790f2 dwm.suckless.org/patches/pertag.md
--- a/dwm.suckless.org/patches/pertag.md Sat Mar 13 21:41:16 2010 -0500
+++ b/dwm.suckless.org/patches/pertag.md Tue Mar 16 07:27:22 2010 -0400
_AT_@ -24,7 +24,7 @@
 
 [1]: http://www.e-jc.de/dwm/4.6/current/dwm-4.6-pertag.diff
 [2]: http://www.e-jc.de/dwm/4.6/current/dwm-4.6-pertag_nmaster.diff
-[3]: /dwm/patches/taglayouts.html
+[3]: historical/taglayouts
 [4]: http://www.e-jc.de/dwm/5.0/current/dwm-5.0-pertag.diff
 [5]: http://v4hn.de/patches/dwm-5.1-pertag.diff
 [6]: http://dwm.suckless.org/patches/historical/dwm-5.2-pertag.diff
diff -r 4fd1ec8bf3f9 -r f06cf47790f2 dwm.suckless.org/patches/uselessgap.md
--- a/dwm.suckless.org/patches/uselessgap.md Sat Mar 13 21:41:16 2010 -0500
+++ b/dwm.suckless.org/patches/uselessgap.md Tue Mar 16 07:27:22 2010 -0400
_AT_@ -2,8 +2,7 @@
 
 ## Description
 
-This patch adds useless gap between windows, for aesthetic purpose.
-I happen to find it easier on the eyes ...
+This patch adds useless gap between windows and removes everything (gap and border) in monocle mode for aesthetic purpose.
 The size of the gap is configured in config.def.h.
 
 ## Example
_AT_@ -34,6 +33,10 @@
 
 ## Download
 
+ * [dwm-uselessgap-5.8.diff](dwm-uselessgap-5.8.diff) (0.7K) (20100308)
+
+ Fix floating clients bug and remove all borders in monocle mode.
+
  * [dwm-gap-5.7.2.diff](dwm-gap-5.7.2.diff) (0.7K) (20091215)
 
 ## Author
diff -r 4fd1ec8bf3f9 -r f06cf47790f2 suckless.org/index.md
--- a/suckless.org/index.md Sat Mar 13 21:41:16 2010 -0500
+++ b/suckless.org/index.md Tue Mar 16 07:27:22 2010 -0400
_AT_@ -3,6 +3,10 @@
 
 Read more about our [philosophy](/common/) and join us on the [mailing list](common/community).
 
+2010-03-07
+----------
+We are going to apply as a mentoring organisation for GSoC 2010. See our [project ideas for GSoC 2010](/project_ideas) page for further details.
+
 2010-02-13
 ----------
 Some of us will visit [CLT2010](http://chemnitzer.linux-tage.de/2010/). Anselm will give a [talk](http://chemnitzer.linux-tage.de/2010/vortraege/detail.html?idx=308) about [stali](http://sta.li) on the second day of CLT2010 at 5pm.
diff -r 4fd1ec8bf3f9 -r f06cf47790f2 suckless.org/project_ideas.md
--- a/suckless.org/project_ideas.md Sat Mar 13 21:41:16 2010 -0500
+++ b/suckless.org/project_ideas.md Tue Mar 16 07:27:22 2010 -0400
_AT_@ -1,6 +1,7 @@
-PROJECT IDEAS FOR FUTURE GSOCs
-==============================
-We applied as a mentoring organization for [Google Summer of Code 2009](http://code.google.com/soc/), but were rejected this time. Perhaps we will apply in 2010 again.
+PROJECT IDEAS FOR GSOC 2010
+===========================
+We are applying as a mentoring organization for
+[Google Summer of Code 2010](http://socghop.appspot.com/).
 
 Please read our [philosophy](/manifest) for background information.
 
_AT_@ -15,19 +16,19 @@
 
 General ideas
 -------------
-Our project ideas in general intended to focus on:
+Our project ideas in general intend to focus on our innovative development
+environment, including graphical user interfaces and development tools.
 
-* Graphical user interfaces for expert users (such as more advanced
+* Graphical user interfaces for developers (such as more advanced
   concepts for mail clients, messaging clients, music players, text editors)
-* Web applications for expert users following our GUI concepts
-* Mobile applications for expert users following our GUI concepts
+* Web applications for developers following our GUI concepts (issue and bug
+ tracking)
+* Mobile applications for developers that integrate well into our general
+ development environment
 * General userland enhancements to Unix-like operating systems, in particular
   GNU/Linux
-* Audio applications
-* Image/Streaming/Gallery desktop and web applications
 * Foundations of a new windowing system for Unix-like operating systems
- (based on xorg drivers, but no X11- or XServer-dependency)
-* Improvements of our existing software projects
+* Improvements to our existing software projects
 
 Concrete ideas
 --------------
_AT_@ -35,130 +36,72 @@
 Unix-like operating systems. The difficulty ranges from medium to high.
 An academic background in computer science is desirable but not essential.
 
-### Unix utilities
+### Port [stali](http://sta.li) to use bionic
 
-Projects like [dmenu](http://tools.suckless.org/dmenu) prove that it's possible
-to bring the Unix philosophy onto the desktop and into the land of graphical
-applications. We believe that there is big potential for doing similar things
-for other purposes such as managing contacts, bookmarks, browsing
-files/directories, reading/managing mails, organizing/viewing images/videos and
-listening to music, all in a very elegant and Unix-like way. We believe that such
-tools should have a GUI but communicate via standard I/O and be very flexible in
-the combination of their purposes.
+So far [static linux](http://sta.li) requires [uclibc](http://www.uclibc.org) for most userland
+tools and glibc for some exceptions. We'd like to replace the uclibc dependency
+with bionic from android.
 
-***Requirements:*** Good knowledge of the Unix userland, C and of the Xlib is essential.
+This project can be achieved on a tool by tool basis because it will require
+some code patching.
 
-### Port dwm to different platforms
+***Requirements:*** Good C/Unix knowledge is necessary.
 
-Many dwm users who have to use Microsoft Windows regularly have requested a
-port of dwm to Microsoft Windows. There are several tiling window managers, but
-unfortunately the majority are proprietary software and can't keep up with dwm.
+### Port [9base](http://tools.suckless.org/9base) to use bionic
 
-Similarly we believe that porting dwm to Mac OS X, or onto mobile devices (with
-certain constraints) might create a new paradigm of future window management
-concepts in mainstream software.
+So far 9base uses the hosts C library. We'd like to replace the host libc
+dependency with bionic from android.
 
-There might also be the opportunity to make dwm itself more friendly with
-well-established desktop environments, to integrate well with Gnome or KDE in
-order to prove that dynamic and tiled window management should be the default
-in future window management concepts.
+This project can be extended to do the same in
+[plan9port](http://swtch.com/plan9port/) by Russ Cox, if the progress is fast
+in achieving this.
 
-***Requirements:*** Good knowledge of the Xlib and C is desirable. Also good
-knowledge of the specific target platform, such as Cocoa/Quartz on Max OS X,
- resp. Win32 API on Windows would be desirable.
+***Requirements:*** Good C/Unix knowledge is essential.
 
-### ddm
+### Write ld wrapper or replacement for static linking
 
-There is no suckless display manager for X11 at the moment, thus a new
-dynamic display manager (ddm) should be designed and implemented.
+The GNU autotools such as automake and autoconf are completely unusable in
+non-chroot'ed cross-compile environments and often completely fail to produce
+statically linked libraries or executables. Also they are
+extremely slow and bloated.
 
-***Requirements:*** Good knowledge of the Xlib and C is desirable.
+The stali build system is not using autotools for good reason, however many
+Unix/Linux open source packages do. To create statically linked libraries out
+of the ld arguments we need an ld wrapper or re-implementation that creates
+static libraries or executables. This would enable us to build static libraries
+and executables out of any automake generated makefiles without the need to
+write make replacements or patching the build system of a particular package.
 
-### stm
+The ld wrapper needs to be extended to also link against uclibc first and if
+that fails to fallback to glibc, in order to produce smaller executables in the
+general case.
 
-There seems to be a need for a suckless ticket management system, as this
-is a common task in today's daily activity in business and private time
-management. This task includes the design and implementation of a suckless
-system that solves the problems of TTS (Trouble Ticket System), ARS (Action
-Request System) and IRS (Incident Response System) all together.
+***Requirements:*** Good C/Unix knowledge is essential, knowledge about linking/linker internals are desirable..
 
-***Requirements:*** Good knowledge of web technologies are essential, good knowledge of C is desirable.
+### goblin
 
-### Lightweight volume manager alternative
+Write the most useful unix userland commands in the new [Go
+language](http://golang.org) created by Google to form a robust base for future
+Unix-like userlands that do not suffer from the vulnerabilities that are common
+in C or C++ code. The minimum of commands that need to be implemented in Go are
+those found in [9base](http://tools.suckless.org/9base), with the exception of
+rc and awk which could be separated into a second project for another student.
 
-We'd like to see a lightweight and simple alternative to gnome-volume-manager
-and similar programs.
+Having goblin would allow to migrate decent web frameworks like
+[werc](http://werc.cat-v.org) on a proper foundation.
 
-There's one such project already available at <http://tools.suckless.org/skvm>.
+***Requirements:*** Good C/Unix and Go knowledge is essential.
 
-***Requirements:*** Good C knowledge and knowledge of DBUS and similar techniques are essential.
+### Write a decent bug and issue tracking system
 
-### Yet another less sucking editor
+We a need a decent ticket management system, as this is a common task in
+today's daily activity in business and private time management. This task
+includes the design and implementation of a suckless system that solves the
+problems of TTS (Trouble Ticket System), ARS (Action Request System) and IRS
+(Incident Response System) all together. It also must be usable as a bug
+tracking system.
 
-Although vi(m) does its job, it has become a monster over the years. We
-believe there is a gap between [ed](http://man.cat-v.org/plan_9/1/ed), [sam](http://sam.cat-v.org), [acme](http://acme.cat-v.org) and vim which must be filled with
-a completely new, less-sucking editor.
-
-It has been [suggested](http://lists.suckless.org/dev/0911/2255.html) that "...a curses interface for the sam protocol would be interesting and perhaps even useful..."
-
-***Requirements:*** Good C knowledge and knowledge of I/O APIs is essential.
-
-### Less sucking C99 subset spec
-
-Although sufficient, C99 is not a perfect programming language. It suffers from
-legacy syntax and semantics and lacks features that make designing libraries
-and developing abstractions much easier. To address these shortcomings the
-student should survey the problems of C, evaluate possible solutions and
-enhance the language as a subset of C99.
-
-***Requirements:*** Very good C knowledge is essential.
-
-### Modern libc
-
-The standard libc is full of awkward and legacy concepts. We believe that
-recent approaches such as Google's bionic libc are a step into the right
-direction, though not radical enough. We think there is a great opportunity to
-implement a completely new libc which abstracts a very nice standard
-environment which can be implemented on modern OS platforms in a straightforward manner.
-Our goal would be to realize an initial proposal on Linux.
-
-***Requirements:*** Very good C knowledge is essential.
-
-### Improve tcc
-
-We'd like to see [tcc](http://bellard.org/tcc/) being continued and improved. gcc is too slow and too
-focused on language-agnostics and particularly focused on its C++ support. We
-have the impression that most open source software is written in C and makes no
-use of C++, so we desire an improved tcc.
-
-We are also concerned about recent attempts to implement the C front-end of gcc
-in C++. We believe that is a bad decision in general (due to demanding C++ as
-bootstrapping environment) and would like to get rid of the gcc dependency
-for these reasons.
-
-We'd like the improved tcc to be able to build all suckless projects
-and perhaps the modern libc replacement.
-
-***Requirements:*** Very good C knowledge is essential as well as knowledge of x86 assembler and executable formats.
-
-### Comprehensive code audit
-
-All software hosted at suckless.org should undergo a comprehensive
-code audit. This includes search for vulnerabilities, verification of
-all algorithms, proof-reading of the documentation and possibly a code
-clean-up. The result has to be a report on all found errors and maybe some
-advice for the project maintainers. This task requires experience in this
-field.
-
-***Requirements:*** Good C knowledge is essential.
-
-### Improve sltar
-
-[sltar](http://s01.de/~gottox/index.cgi/proj_sltar) is a simplified tar
-implementation which lacks gzip and bzip2 integration. The task requires to
-extend sltar with these and to also write a test suite for it.
-
-***Requirements:*** Good C knowledge would be desirable.
+***Requirements:*** Good C/Shell/web technology/HTML5 knowledge would be desirable, knowledge of bug tracking and issue tracking in practice is essential.
 
 ### Write a decent mailing list Web archive system
 
_AT_@ -171,6 +114,28 @@
 
 ***Requirements:*** Good C/Shell/HTML5 knowledge would be desirable.
 
+### Yet another less sucking editor
+
+Although vi(m) does its job, it has become a monster over the years. We
+believe there is a gap between [ed](http://man.cat-v.org/plan_9/1/ed),
+[sam](http://sam.cat-v.org), [acme](http://acme.cat-v.org) and vim which must
+be filled with a completely new, less-sucking editor.
+
+It has been [suggested](http://lists.suckless.org/dev/0911/2255.html) that
+"...a curses interface for the sam protocol would be interesting and perhaps
+even useful..."
+
+***Requirements:*** Good C knowledge and knowledge of I/O APIs is essential.
+
+### Improve sltar
+
+[sltar](http://s01.de/~gottox/index.cgi/proj_sltar) is a simplified tar
+implementation which lacks gzip and bzip2 integration. The task requires
+extending sltar with support for these compression applications and writing a
+test suite for it.
+
+***Requirements:*** Good C knowledge would be desirable.
+
 ### Extend werc with a repository browser
 
 This task requires to extend [werc](http://werc.cat-v.org) with a source
_AT_@ -181,3 +146,17 @@
 ***Requirements:*** Good knowledge of the [rc](http://en.wikipedia.org/wiki/Rc) shell
 and the [Plan 9 userland for Unix](http://plan9.us) is essential. Good C
 knowledge for the helper tools would be desirable.
+
+### Write cookie handler for surf
+
+The biggest disadvantage of [surf](http://surf.suckless.org) is sloppy
+cookie handling. libwebkit and libsoup (which are used for HTTP) were never
+designed to run in multiple processes simultaneously.
+
+This task requires writing a new cookie handler in surf which:
+
+* creates a nice human-readable cookie file
+* is able to run in multiple concurrent processes
+
+***Requirements:*** Good knowledge of C and POSIX file locking. Basic knowledge
+of GTK and its other evil friends.
diff -r 4fd1ec8bf3f9 -r f06cf47790f2 surf.suckless.org/index.md
--- a/surf.suckless.org/index.md Sat Mar 13 21:41:16 2010 -0500
+++ b/surf.suckless.org/index.md Tue Mar 16 07:27:22 2010 -0400
_AT_@ -17,7 +17,7 @@
 * [Google Code](http://code.google.com)
 * [Google Docs](http://docs.google.com)
 * [Google Mail](http://mail.google.com)
-* [Google Maps[(http://maps.google.com)
+* [Google Maps](http://maps.google.com)
 * [Google Reader](http://reader.google.com)
 * [Google Translate](http://translate.google.com)
 * [Facebook](http://facebook.com)
diff -r 4fd1ec8bf3f9 -r f06cf47790f2 tools.suckless.org/ii.md
--- a/tools.suckless.org/ii.md Sat Mar 13 21:41:16 2010 -0500
+++ b/tools.suckless.org/ii.md Tue Mar 16 07:27:22 2010 -0400
_AT_@ -85,10 +85,15 @@
 
 If you want some kind of automatic reconnects in ii you can make a something like this in a shell script:
 
- while true ; do
- ( sleep 5 && echo "/j #ii" > ~/irc/irc.oftc.net/in ) &
+ while true; do
         ii -s irc.oftc.net -n iifoo -f "John Doe"
- done
+ iipid=$!
+ sleep 5
+ echo "/j #ii" > ~/irc/irc.oftc.net/in
+ while [[ -e /proc/$iipid ]]; do
+ sleep 30
+ done
+ done
 
 IPv6
 ----
Received on Tue Mar 16 2010 - 12:27:27 CET

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:31:11 CEST