Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #14911 (#14922) [backport] | Clyybber | 2020-07-07 | 1 | -1/+8 |
| | | | | | | | * Fix #14911 * Add testcase * Fix test | ||||
* | Add testcase for #14472 (#14921) | Clyybber | 2020-07-06 | 1 | -0/+23 |
| | |||||
* | tables.nim: Add named fields in `smallest` and `largest` (#14919) | ee7 | 2020-07-06 | 1 | -0/+14 |
|
|
|
|
|
/*
* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
#define TAGS \
const char *tags[] = { "work", "net", "fnord", NULL };
#define DEFMODE dotile /* dofloat */
#define DEFTAG 0 /* index */
#define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
#define BGCOLOR "#666699"
#define FGCOLOR "#eeeeee"
#define BORDERCOLOR "#9999CC"
#define MODKEY Mod1Mask
#define NUMLOCKMASK Mod2Mask
#define MASTERW 60 /* percent */
#define KEYS \
static Key key[] = { \
/* modifier key function arguments */ \
{ MODKEY, XK_1, view, { .i = 0 } }, \
{ MODKEY, XK_2, view, { .i = 1 } }, \
{ MODKEY, XK_3, view, { .i = 2 } }, \
{ MODKEY, XK_h, viewprev, { 0 } }, \
{ MODKEY, XK_j, focusnext, { 0 } }, \
{ MODKEY, XK_k, focusprev, { 0 } }, \
{ MODKEY, XK_l, viewnext, { 0 } }, \
{ MODKEY, XK_m, togglemax, { 0 } }, \
{ MODKEY, XK_p, spawn, \
{ .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \
"awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \
{ MODKEY, XK_space, togglemode, { 0 } }, \
{ MODKEY, XK_Return, zoom, { 0 } }, \
{ MODKEY|ControlMask, XK_1, appendtag, { .i = 0 } }, \
{ MODKEY|ControlMask, XK_2, appendtag, { .i = 1 } }, \
{ MODKEY|ControlMask, XK_3, appendtag, { .i = 2 } }, \
{ MODKEY|ShiftMask, XK_1, replacetag, { .i = 0 } }, \
{ MODKEY|ShiftMask, XK_2, replacetag, { .i = 1 } }, \
{ MODKEY|ShiftMask, XK_3, replacetag, { .i = 2 } }, \
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
{ MODKEY|ShiftMask, XK_q, quit, { 0 } }, \
{ MODKEY|ShiftMask, XK_Return, spawn, \
{ .cmd = "exec uxterm -bg '#dddddd' -fg '#000000' -cr '#000000' +sb " \
"-fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \
};
#define RULES \
static Rule rule[] = { \
/* class:instance regex tags regex isfloat */ \
{ "Firefox.*", "net", False }, \
{ "Gimp.*", NULL, True}, \
{ "MPlayer.*", NULL, True}, \
{ "Acroread.*", NULL, True}, \
};
|
* add debug format string * remove try except * add changelog | ||||
* | CI openbsd: 3x batching via NIM_TESTAMENT_BATCH ; overall CI finishes in 21m ↵ | Timothee Cour | 2020-06-30 | 1 | -0/+1 |
| | | | | | | | | | instead of 34m (#14851) * CI openbsd: 2x batching via NIM_TESTAMENT_BATCH * auto-generate .builds/openbsd_x.yml to avoid code duplication * 3x batching | ||||
* | fix #13432 typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] (#14799) | Timothee Cour | 2020-06-29 | 1 | -0/+31 |
| | | | | | * typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] * changelog | ||||
* | Clean out Deprecated proc (#14797) | Juan Carlos | 2020-06-29 | 2 | -17/+8 |
| | | | | * Remove and/or clean out Deprecated 'add' proc for floats * Update a test | ||||
* | Make unreachable code a warning instead of an error (#14816) | Clyybber | 2020-06-29 | 1 | -3/+3 |
| | | | | | | | * Make unreachable code a warning * Adapt test * Trigger CI | ||||
* | Fix #14647 (#14776) | Clyybber | 2020-06-28 | 1 | -1/+7 |
| | | | | | | | | | * Fix #14647 * Correct fix * Typo and add test * For real now :p | ||||
* | Update link to parseSpec proc | Clyybber | 2020-06-28 | 1 | -1/+1 |
| | |||||
* | testament: generic N-fold batching: windows CI 37mn=>16m (#14823) | Timothee Cour | 2020-06-27 | 9 | -174/+106 |
| | | | | | | | | | * testament: run CI faster thanks to batching * move ta_in, tstdin into existing tosproc * move ta_out,tafalse,texitcode,tstderr into existing tosproc * joinable osproc * move tstdout into existing tosproc * spec: batchable; fix tests * fixup | ||||
* | Add testcase for #4796 (#14784) | Clyybber | 2020-06-25 | 2 | -0/+13 |
| | | | | | * Add testcase for #4796 * Fix test | ||||
* | expr => untyped; stmt => typed (#14804) | Timothee Cour | 2020-06-25 | 1 | -0/+6 |
| | | | | | * expr => untyped; stmt => typed * changelog + comment | ||||
* | fix #14802 (#14803) | Timothee Cour | 2020-06-25 | 1 | -0/+7 |
| | |||||
* | Add test-cases to some fixed issues to close them (#14795) | Danil Yarantsev | 2020-06-24 | 4 | -0/+35 |
| | |||||
* | Reject casts to builtin typeclasses (#14788) | Danil Yarantsev | 2020-06-24 | 1 | -1/+8 |
| | | | | | * Closes #14231, closes #14452 * Merge test to tcast.nim | ||||
* | add typetraits.elementType (#14780) | Timothee Cour | 2020-06-24 | 1 | -0/+20 |
| | | | | | * add typetraits.elementType * add a test for 0-sized seq | ||||
* | fromJson: support object variants (#14694) | Timothee Cour | 2020-06-24 | 1 | -0/+53 |
| | |||||
* | fix #10343 (#14789) | Timothee Cour | 2020-06-24 | 1 | -2/+3 |
| | |||||
* | Add testcase for #14440 (#14771) | Clyybber | 2020-06-23 | 1 | -1/+15 |
| | |||||
* | init checks and 'out' parameters (#14521) | Andreas Rumpf | 2020-06-23 | 3 | -4/+33 |
| | | | | | | | | | | | * I don't care about observable stores * enforce explicit initializations * cleaner code for the stdlib * stdlib: use explicit initializations * make tests green * algorithm.nim: set result explicitly * remove out parameters and bring the PR into a mergable state * updated the changelog | ||||
* | misc testament cleanups (#14764) | Timothee Cour | 2020-06-23 | 2 | -10/+6 |
| | | | | | * misc testament cleanups extracted cleanups from #14530 * make sure all CI failures can be searched with `FAIL: ` including megatest failures | ||||
* | Deprecate and/or remove ospaths (#14767) | Juan Carlos | 2020-06-23 | 2 | -2/+2 |
| | |||||
* | fix bug in semgnrc: runnableExamples should not semcheck, even with > 1 arg ↵ | Timothee Cour | 2020-06-23 | 1 | -0/+10 |
| | | | | (#14768) | ||||
* | sizeof for empty objects/tuples should be 1; fixes #14690 (#14751) | Andreas Rumpf | 2020-06-21 | 1 | -1/+9 |
| | |||||
* | fix #13899 defer now works with async (#14723) | Timothee Cour | 2020-06-19 | 1 | -7/+18 |
| | |||||
* | Add testcases for #11811 and #14315 (#14726) | Clyybber | 2020-06-19 | 2 | -1/+22 |
| | | | | | * Add testcase for #11811 * Add testcase for #14315 | ||||
* | fix #14685 tests/async/t7758.nim flaky (#14721) | Timothee Cour | 2020-06-19 | 1 | -2/+7 |
| | | | | | | | * fix #14685 tests/async/t7758.nim flaky * address comment * address comment | ||||
* | add legacy workaround; improve test so that it actually tests for the bugfix | Timothee Cour | 2020-06-19 | 1 | -31/+7 |
| | |||||
* | Update tuple newLit | solo989 | 2020-06-19 | 1 | -0/+32 |
| | |||||
* | [cleanups] doassert => doAssert; mark deadcode (#14711) | Timothee Cour | 2020-06-17 | 3 | -14/+14 |
| | |||||
* | Remove deprecated stuff from stdlib (#14699) | Miran | 2020-06-17 | 20 | -78/+139 |
| | | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff | ||||
* | use check to investigate #14685 flaky tests/async/t7758.nim (#14689) | Timothee Cour | 2020-06-16 | 1 | -2/+3 |
| | |||||
* | cleanup tests/test_nimscript.nims (#14686) | Timothee Cour | 2020-06-16 | 1 | -9/+1 |
| | |||||
* | Close#5586 (#14682) | Dylan Modesitt | 2020-06-16 | 2 | -3/+0 |
| | | | | | * re-enable macos and bsd on some coro tests * re-enable macos and bsd on some coro tests | ||||
* | Set cincludes and clibdir for FreeBSD, OpenBSD and NetBSD. (#14680) | Euan | 2020-06-16 | 1 | -3/+0 |
| | |||||
* | `addQuitProc` now works with closures, and c, js(node/browser) backend; fix ↵ | Timothee Cour | 2020-06-16 | 2 | -1/+22 |
| | | | | | | | | | | | | | | | some bugs in testament (#14342) * make addQuitProc great again * fix bugs in testament * fix test * change 2016 => 2020 * addQuitProc => addExitProc + locks * move to std/exitprocs | ||||
* | fix #14179, fix #14142, make CI 1.4x faster (2x faster locally) (#14658) | Timothee Cour | 2020-06-16 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | * fix #14142: no more clash with: import os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims * remove a comment * Revert "fixes the regression #12860 caused; hotfix" This reverts commit 3d2459bdc0b6d6236a2cd9209ed81c965ee411a5. * Revert "Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860)" This reverts commit d38853c504d89d6e361f064a17391afaf42d74b8. * noNimScript => noWeirdTarget + noNimJs | ||||
* | make tests/stdlib tests joinable (#14626) | Timothee Cour | 2020-06-15 | 8 | -7/+44 |
| | | | | | * make tests/stdlib tests joinable * fixup | ||||
* | make `fromJson/toJson` work with `array[range, typ]`, + 1 bugfix (#14669) | Timothee Cour | 2020-06-15 | 1 | -0/+26 |
| | | | | | * make toJson more robust * properly handle array | ||||
* | normalizeExe (#14668) | Timothee Cour | 2020-06-15 | 1 | -0/+10 |
| | |||||
* | fix codegen bug due to changing existing symbol declaration in template (#14666) | jcosborn | 2020-06-15 | 1 | -0/+106 |
| |