about summary refs log tree commit diff stats
Commit message (Expand)AuthorAgeFilesLines
...
* implemented new color scheme accordingly to Sanders proposalAnselm R. Garbe2007-01-145-12/+11
* removed mode label stuffAnselm R. Garbe2007-01-146-16/+6
* removed client title barAnselm R. Garbe2007-01-146-73/+10
* added missing spaceAnselm R. Garbe2007-01-121-1/+1
* nah the last change feels badAnselm R. Garbe2007-01-121-2/+2
* changed incnmaster shortcuts in config.arg.hAnselm R. Garbe2007-01-122-3/+3
* Added tag 3.0 for changeset 76b58d21ea98Anselm R. Garbe2007-01-121-0/+1
* removing to allow nmaster=0 3.0Anselm R. Garbe2007-01-121-11/+4
* this looks better now ;)Anselm R. Garbe2007-01-111-7/+7
* switching to arabic tagsAnselm R. Garbe2007-01-111-3/+19
* small fix of initial numlockmask valueAnselm R. Garbe2007-01-111-0/+1
* allowing nmaster=0 (I think that's a straight idea)Anselm R. Garbe2007-01-111-5/+12
* added Button{4,5} description to dwm.1Anselm R. Garbe2007-01-101-0/+6
* added comment to %u in config.default.h, added Button{4.5} support on mode labelAnselm R. Garbe2007-01-102-4/+16
* reorganizedAnselm R. Garbe2007-01-083-6/+10
* implemented nmaster appearance in mode label (using %u)Anselm R. Garbe2007-01-087-8/+18
* Added tag 2.9 for changeset 3a5910fac3ccAnselm R. Garbe2007-01-081-0/+1
* I received Sander's complain just in time ;) 2.9Anselm R. Garbe2007-01-081-4/+4
* changed status fgAnselm R. Garbe2007-01-081-1/+1
* fofofoAnselm R. Garbe2007-01-081-4/+4
* extended default tags to 1-9Anselm R. Garbe2007-01-081-1/+17
* small grammar fix of dwm.1Anselm R. Garbe2007-01-071-2/+2
* changed a term in dwm.1Anselm R. Garbe2007-01-071-1/+1
* using shorter tags, using mon instead of certAnselm R. Garbe2007-01-051-2/+2
* roman numerals suck badly, revertingAnselm R. Garbe2007-01-051-9/+1
* switching to roman tags, I need more tagsAnselm R. Garbe2007-01-051-1/+13
* I inc/decrease on the fly, feels betterAnselm R. Garbe2007-01-051-1/+1
* allowing swap() for first master clientAnselm R. Garbe2007-01-051-10/+10
* prevent pop() if first sel == nexttiled(clients)Anselm R. Garbe2007-01-052-3/+3
* removed swap(), implemented pop for everythingAnselm R. Garbe2007-01-051-61/+8
* preserving c1->snext and c2->snext in swap() as well.Anselm R. Garbe2007-01-051-0/+4
* fixing some minor issuesAnselm R. Garbe2007-01-052-13/+14
* removed the term clients from dwm.1Anselm R. Garbe2007-01-051-3/+3
* adding some prevention that master clients get smaller than bhAnselm R. Garbe2007-01-051-1/+2
* changed shortcuts to M-i and M-dAnselm R. Garbe2007-01-053-6/+6
* allowing zoom within master area as wellAnselm R. Garbe2007-01-051-3/+4
* changed plus key to MODKEY-Shift-plus (US-layout restrictions ;)Anselm R. Garbe2007-01-053-3/+3
* I prefer two master windows by defaultAnselm R. Garbe2007-01-052-3/+3
* added MODKEY-{plus,minus} shortcuts (increasing/decreasing master clients)Anselm R. Garbe2007-01-054-15/+62
* experimental version which allows master clients being increased/decreasedAnselm R. Garbe2007-01-056-25/+45
* fixed comment of drawclient()Anselm R. Garbe2007-01-041-1/+1
* switching bakc to my previous color favoritAnselm R. Garbe2007-01-041-3/+3
* renamed drawtitle into drawclientAnselm R. Garbe2007-01-044-7/+7
* using more thinkpad compliant colorsarg@mig292007-01-021-1/+1
* changed arg's color schemearg@mig292007-01-022-6/+6
* correctionsarg@mig292007-01-0210-12/+12
* next version will contain updated copyright noticearg@mig292007-01-0213-15/+15
* Added tag 2.8 for changeset 107719a9ce3bd0c79f9f1f626596eb338a276561arg@mig292007-01-021-0/+1
* fixed cleanup, using clients instead of sel 2.8arg@mig292007-01-021-3/+3
* changed comment of updatesizehintsarg@mig292007-01-021-1/+1
pan class="o">= getenv("MAPPED_URI_HOST"); if (!scheme || !host) DIE("Scheme or host expected"); username = getenv("MAPPED_URI_USERNAME"); password = getenv("MAPPED_URI_PASSWORD"); port = getenv("MAPPED_URI_PORT"); if (port) iport = atoi(port); else if (!strcmp(scheme, "http")) iport = 80; else if (!strcmp(scheme, "https")) iport = 443; docbuf[0] = '\0'; path = getenv("MAPPED_URI_PATH"); strlcat(docbuf, path && *path ? path : "/", sizeof(docbuf)); has_file_ext = hasext(docbuf); query = getenv("MAPPED_URI_QUERY"); if (query && *query) { strlcat(docbuf, "?", sizeof(docbuf)); strlcat(docbuf, query, sizeof(docbuf)); } u = fetchMakeURL(scheme, host, iport, docbuf, username, password); if (!u) DIE("Failed to create URL"); content_type = getenv("CONTENT_TYPE"); np = getenv("REQUEST_HEADERS"); while (np) { p = np; np = strstr(p, "\r\n"); if (!strncasecmp(p, "User-Agent: ", strlen("User-Agent: "))) { p += strlen("User-Agent: "); len = np ? np - p : strlen(p); if (len >= sizeof(buf)) DIE("User agent string too long"); memcpy(&buf[0], p, len); buf[len] = '\0'; setenv("HTTP_USER_AGENT", buf, 1); } else if (!strncasecmp(p, "Accept: ", strlen("Accept: "))) { p += strlen("Accept: "); len = np ? np - p : strlen(p); if (len >= sizeof(buf)) DIE("Accept string too long"); memcpy(&buf[0], p, len); buf[len] = '\0'; setenv("HTTP_ACCEPT", buf, 1); } if (np) np += 2; /* skip CRLF */ } if (!isatty(STDIN_FILENO)) { read_len = inbuf_len - 1 - prev_inbuf_len; while ((n = fread(&inbuf[prev_inbuf_len], 1, read_len, stdin) == read_len)) { if (inbuf_len >= ((size_t)-1) / 2) DIE("out of address space"); prev_inbuf_len = inbuf_len; inbuf_len *= 2; inbuf = realloc(inbuf, inbuf_len); if (!inbuf) DIE("out of memory"); read_len = inbuf_len - 1 - prev_inbuf_len; } } else { n = 0; } inbuf[n] = '\0'; f = fetchReqHTTP(u, method, "", content_type, inbuf); if (!f) FDIE("Failed to open request"); /* Hack: print a HTML content type if there is no file extension. * If there is one, just let the buffer take care of detecting it. */ puts(has_file_ext ? "\n" : "Content-Type: text/html\n\n"); while ((n = fread(buf, 1, sizeof(buf), f))) fwrite(buf, 1, n, stdout); }