summary refs log tree commit diff stats
path: root/doc/manual.txt
Commit message (Collapse)AuthorAgeFilesLines
* Expandeded part about different proc call syntaxes.ReneSac2014-02-031-2/+72
|
* Mentions {.exportc.} limits. Refs #826.Grzegorz Adam Hankiewicz2014-02-021-3/+3
|
* cleaned up command expressionsAraq2014-02-021-5/+13
|
* merge issue #707 by handAraq2014-02-021-0/+4
|
* documented new symbol binding rules for templatesAraq2014-02-011-72/+59
|
* closure iterators workAraq2014-01-231-1/+15
|
* next steps for closure iteratorsAraq2014-01-221-11/+14
|
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-1/+1
|
* References TRune, links unicode modules where mentioned.Grzegorz Adam Hankiewicz2014-01-151-4/+7
| | | | Amends 0f3941b0013ea5d390586719f930fcf02b929f4d.
* Adds note about conflicts with using as a statement.Grzegorz Adam Hankiewicz2014-01-151-0/+18
|
* Duplicates string literal table for character literals.Grzegorz Adam Hankiewicz2014-01-151-4/+27
| | | | Hopefully the index spamming will lead more people here.
* Adds using statement to the one and only true index.Grzegorz Adam Hankiewicz2014-01-151-6/+6
|
* Merge branch 'upstream' into develZahary Karadjov2013-12-291-0/+54
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: compiler/ccgutils.nim compiler/msgs.nim compiler/sem.nim compiler/semexprs.nim compiler/seminst.nim compiler/semmagic.nim compiler/semstmts.nim compiler/semtypes.nim compiler/semtypinst.nim compiler/sigmatch.nim compiler/types.nim compiler/vmgen.nim lib/core/macros.nim lib/system.nim tests/reject/tenummix.nim web/news.txt
| * documented static paramsZahary Karadjov2013-12-251-0/+54
| |
* | case consistency part 1Araq2013-12-271-0/+2
| |
* | templates can access hidden fieldsAraq2013-12-251-15/+25
| |
* | Merge pull request #739 from gradha/pr_adds_to_quit_docsGrzegorz Adam Hankiewicz2013-12-171-1/+5
|\ \ | | | | | | Adds to quit docs
| * | Adds example to fatal pragma.Grzegorz Adam Hankiewicz2013-12-121-1/+5
| |/
* / implemented 'injectStmt'; more debug supportAraq2013-12-161-0/+12
|/
* simple unit test and better documentation for the user defined type classesZahary Karadjov2013-11-171-11/+20
|
* Added some information on sequences.Clay Sweetser2013-10-211-5/+6
|
* Fixed regression on ARM caused by the changed behaviour of noStackFrame in ↵Dominik Picheta2013-10-191-2/+3
| | | | commit ac474a28120.
* 'noStackFrame' implies 'naked' in the generated C codeAraq2013-10-061-2/+4
|
* support for multiple modules of the same name; niminst supports 'platforms'; ↵Araq2013-09-241-18/+44
| | | | minor bugfixes
* cn2im: basic C++ supportAraq2013-09-101-1/+1
|
* resolved the conflictAraq2013-09-031-4/+124
|\
| * partially documented the new featuresZahary Karadjov2013-09-031-4/+126
| |
* | better support for GNU's assemblerAraq2013-09-031-0/+27
|/
* implemented and documented the new typedesc binding rulesZahary Karadjov2013-08-231-7/+26
|
* fixed and documented computedGoto pragmaAraq2013-08-221-0/+45
|
* implements nicer floating point literalsAraq2013-06-271-1/+1
|
* Merge pull request #473 from gradha/pr_doc_improvementsAraq2013-06-091-2/+2
|\ | | | | Doc improvements
| * Adds distinct and borrow to the one and only true index.Grzegorz Adam Hankiewicz2013-06-091-2/+2
| |
* | implemented large parts of the 'not nil' checkingAraq2013-06-091-29/+47
|/
* new scoping rules for 'if' now activeAraq2013-06-041-2/+0
|
* fixed typos in the manual; kept trimcc tool up to dateAraq2013-05-211-4/+4
|
* GC'ed wide strings for windowsAraq2013-05-201-4/+4
|
* 'from' statement documentedAraq2013-05-191-0/+19
|
* Merge branch 'master' of github.com:Araq/Nimrod into upstreamZahary Karadjov2013-05-121-3/+4
|\
| * new effect system should be sound nowAraq2013-05-111-3/+4
| |
* | documented the ``noforward`` pragmaZahary Karadjov2013-05-121-0/+45
|/
* better effects handling for callbacksAraq2013-05-091-4/+26
|
* revert new scope for 'if'Araq2013-05-021-1/+3
|
* tester should work again; documented (;)Araq2013-04-301-0/+28
|
* new parsing scheme is documentedAraq2013-04-211-218/+82
|
* documented restricted destructorsAraq2013-04-081-0/+34
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* documented object constrs; endb works againAraq2013-03-091-15/+39
|
* EcmaScript => JS. Fixes #330Simon Hafner2013-02-151-1/+1
| | | | No one calls it EcmaScript anymore.
* open arrays documented in the manualAraq2013-02-101-1/+15
|
"> dc.drawable, dc.gc, &r, 1); } } /* extern */ void drawall() { Client *c; for(c = clients; c; c = getnext(c->next)) drawtitle(c); drawstatus(); } void drawstatus() { int i, x; dc.x = dc.y = 0; for(i = 0; i < ntags; i++) { dc.w = textw(tags[i]); if(seltag[i]) drawtext(tags[i], dc.sel, sel && sel->tags[i]); else drawtext(tags[i], dc.norm, sel && sel->tags[i]); dc.x += dc.w; } dc.w = bmw; drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False); x = dc.x + dc.w; dc.w = textw(stext); dc.x = bx + bw - dc.w; if(dc.x < x) { dc.x = x; dc.w = bw - x; } drawtext(stext, dc.status, False); if((dc.w = dc.x - x) > bh) { dc.x = x; if(sel) drawtext(sel->name, dc.sel, False); else drawtext(NULL, dc.norm, False); } XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0); XSync(dpy, False); } void drawtitle(Client *c) { if(c == sel && issel) { drawstatus(); XUnmapWindow(dpy, c->twin); XSetWindowBorder(dpy, c->win, dc.sel[ColBG]); return; } XSetWindowBorder(dpy, c->win, dc.norm[ColBG]); XMapWindow(dpy, c->twin); dc.x = dc.y = 0; dc.w = c->tw; drawtext(c->name, dc.norm, False); XCopyArea(dpy, dc.drawable, c->twin, dc.gc, 0, 0, c->tw, c->th, 0, 0); XSync(dpy, False); } unsigned long getcolor(const char *colstr) { Colormap cmap = DefaultColormap(dpy, screen); XColor color; XAllocNamedColor(dpy, cmap, colstr, &color, &color); return color.pixel; } void setfont(const char *fontstr) { char **missing, *def; int i, n; missing = NULL; setlocale(LC_ALL, ""); if(dc.font.set) XFreeFontSet(dpy, dc.font.set); dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); if(missing) { while(n--) fprintf(stderr, "missing fontset: %s\n", missing[n]); XFreeStringList(missing); if(dc.font.set) { XFreeFontSet(dpy, dc.font.set); dc.font.set = NULL; } } if(dc.font.set) { XFontSetExtents *font_extents; XFontStruct **xfonts; char **font_names; dc.font.ascent = dc.font.descent = 0; font_extents = XExtentsOfFontSet(dc.font.set); n = XFontsOfFontSet(dc.font.set, &xfonts, &font_names); for(i = 0, dc.font.ascent = 0, dc.font.descent = 0; i < n; i++) { if(dc.font.ascent < (*xfonts)->ascent) dc.font.ascent = (*xfonts)->ascent; if(dc.font.descent < (*xfonts)->descent) dc.font.descent = (*xfonts)->descent; xfonts++; } } else { if(dc.font.xfont) XFreeFont(dpy, dc.font.xfont); dc.font.xfont = NULL; dc.font.xfont = XLoadQueryFont(dpy, fontstr); if (!dc.font.xfont) dc.font.xfont = XLoadQueryFont(dpy, "fixed"); if (!dc.font.xfont) eprint("error, cannot init 'fixed' font\n"); dc.font.ascent = dc.font.xfont->ascent; dc.font.descent = dc.font.xfont->descent; } dc.font.height = dc.font.ascent + dc.font.descent; } unsigned int textw(const char *text) { return textnw(text, strlen(text)) + dc.font.height; }