summary refs log tree commit diff stats
path: root/tests/concepts/t3330.nim
Commit message (Collapse)AuthorAgeFilesLines
* defaults to ORC (#19972)ringabout2022-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * defaults to Orc * bootstrap using refc * use gc * init orc defines * unregister orc * fix gc * fix commands * add prepareMutation for orc * enable deepcopy for orc * prepareMutation * more fixes * some cases * bug #20081 * partial fixes * partial fixes * fixes command line * more fixes * build Nim with refc * use gc * more fixes * rstore * orc doesn't support threadpool * more shallowCopy * more fixes * fixes unsafeNew * workarounds * small * more fixes * fixes some megatest * tcodegenbugs1 refc * fxies megatest * build nimble with refc * workaround tensordsl tests * replace shallowCopy with move * fixes action * workaround * add todo * fixes important packages * unpublic unregisterArcOrc * fixes cpp * enable windows Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* Clean out Deprecated proc (#14797)Juan Carlos2020-06-291-15/+6
| | | | * Remove and/or clean out Deprecated 'add' proc for floats * Update a test
* fix #14217 (#14218)cooldome2020-05-051-2/+2
| | | | | * fix #14217 Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix #13538 sigmatch errors are now sorted (#13701)Timothee Cour2020-03-201-17/+17
| | | | | | | * fix #13538 sigmatch now sorted and has reliable order * re-enable tests that were disabled because of that bug * fix remaining tests and un-disable 2 other tests that were affected by this bug
* remove deprecated procs (#12535)Andreas Rumpf2019-11-051-10/+10
|
* ungeneric unsigned ops (#12230)Jasper Jenkins2019-10-111-7/+7
| | | | | | | | | | * ungenericise unsigned ops, remove nimNewShiftOps * fix/remove tests * update t6448 * fix line info * disable on 32bit * fix different line info * add changelog entry
* fixes #11807 (#11900)Andreas Rumpf2019-08-071-6/+6
| | | | | * fixes #11807 * make tests green again
* address commentsTimothee Cour2019-07-081-2/+2
|
* make tests/concepts/t3330.nim disabled again: the order of candidates is ↵Timothee Cour2019-07-081-5/+5
| | | | machine dependent
* fix testsTimothee Cour2019-07-081-14/+28
|
* make tests green againAndreas Rumpf2018-10-241-0/+1
|
* compiler: show name of instantiating context in error traces (#6763) (#9207)xzfc2018-10-111-2/+2
|
* fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-071-6/+6
|
* make concepts tests green againAndreas Rumpf2018-07-061-9/+9
|
* better error messages: use <T1, T2> instead of (T1, T2) in order to prevent ↵Araq2018-02-101-23/+23
| | | | confusions with tuple types
* improve the error messages regarding type mismatches in overloading resolutionAndreas Rumpf2018-02-041-7/+30
|
* make tests green againAraq2018-01-151-1/+1
|
* Improved collection-to-string behavior (#6825)Fabian Keller2017-12-141-1/+1
|
* make tests green againAndreas Rumpf2017-08-311-4/+4
|
* close #3330Zahary Karadjov2017-03-241-0/+41
i].clpattern) { reg = emallocz(sizeof(regex_t)); if(regcomp(reg, rule[i].clpattern, 0)) free(reg); else rreg[i].clregex = reg; } if(rule[i].tpattern) { reg = emallocz(sizeof(regex_t)); if(regcomp(reg, rule[i].tpattern, 0)) free(reg); else rreg[i].tregex = reg; } } } void settags(Client *c) { char prop[512]; unsigned int i, j; regmatch_t tmp; Bool matched = False; XClassHint ch; if(XGetClassHint(dpy, c->win, &ch)) { snprintf(prop, sizeof(prop), "%s:%s:%s", ch.res_class ? ch.res_class : "", ch.res_name ? ch.res_name : "", c->name); for(i = 0; !matched && i < len; i++) if(rreg[i].clregex && !regexec(rreg[i].clregex, prop, 1, &tmp, 0)) { c->isfloat = rule[i].isfloat; for(j = 0; rreg[i].tregex && j < ntags; j++) { if(!regexec(rreg[i].tregex, tags[j], 1, &tmp, 0)) { matched = True; c->tags[j] = True; } } } if(ch.res_class) XFree(ch.res_class); if(ch.res_name) XFree(ch.res_name); } if(!matched) for(i = 0; i < ntags; i++) c->tags[i] = seltag[i]; for(i = 0; i < ntags && !c->tags[i]; i++); c->weight = i; } void tag(Arg *arg) { unsigned int i; if(!sel) return; for(i = 0; i < ntags; i++) sel->tags[i] = False; sel->tags[arg->i] = True; arrange(NULL); } void toggletag(Arg *arg) { unsigned int i; if(!sel) return; sel->tags[arg->i] = !sel->tags[arg->i]; for(i = 0; i < ntags && !sel->tags[i]; i++); if(i == ntags) sel->tags[arg->i] = True; arrange(NULL); }