summary refs log tree commit diff stats
path: root/tests/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Fix #13093 C++ Atomics: operator= is implicitly deleted because the ↵ringabout2023-01-272-44/+0
| | | | | | | default definition would be ill-formed " (#21307) Revert "Fix #13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed (#21169)" This reverts commit a7bae919adb952362cb53206140872d2b7424b47.
* Fix #13093 C++ Atomics: operator= is implicitly deleted because the default ↵Bung2023-01-272-0/+44
| | | | | | | | | | | | | definition would be ill-formed (#21169) * add test * fix #17982 Invalid C++ code generation when returning discardable var T * fix #13093 * cpp atomic good example * clearify the condition
* add the cpp target (#21164)ringabout2022-12-231-0/+4
| | | The issue is related to cpp codegen, the previous test doesn't test cpp backend, which will join into the megatest.
* fix #12946 Bad C++ codegen on distinct generics C++ types (#21157)Bung2022-12-231-0/+4
|
* ship a modern nimble with lock files support (#21061)ringabout2022-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * change `include genode/env` to an import ref https://github.com/nim-lang/Nim/commit/0b262e9496387d5e8adc0c5f6020b3f3300e8f79#diff-8718bd20d8f61d6638d3d64b19efc31bcd40a6d5be8215b2a1f0b75ed93e8d56 * fixes comments * ship a modern nimble with lock files support * not sure whether the latest nimble has a regression now I'm trying 0.14.0 * change `pkgs` to `pkgs2` (#21073) * overwrite problematic packages * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review
* closes #4678; add testcase (#20634)ringabout2022-10-241-0/+16
|
* moderate system cleanup & refactor (#20355)metagn2022-09-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * system refactor, move out 600 lines * compilation, slice, backwardsindex, misc_num moved out of system * some procs/types moved into arithmetics, basic_types * system no longer depends on syncio * some procs moved around to fit with their surroundings * make exceptions an import, old ops to misc_num * move instantiationInfo back * move back nim version, fix windows echo * include compilation * better docs for imported modules, fix unsigned ops also remove ze, ze64, toU8, toU16, toU32 with nimPreviewSlimSystem * fix terminal * workaround IC test & weird csize bug, changelog * move NimMajor etc back to compilation, rebase for CI * try ic fix * form single `indices`, slim out TaintedString, try fix IC * fix CI, update changelog, addQuitProc * fix CI * try fix CI * actually fix CI finally hopefully * Update lib/system/compilation.nim Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com> * update kochdocs * hopefully fix csize uses for slimsystem * fix tquit Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
* fix #17351; switch to c++17 and remove hacks (#20407)ringabout2022-09-231-1/+11
| | | | | * fix #17351; switch to c++17 * remove workaround
* remove deprecated type pragma syntax, fix bugs that required it (#20199)metagn2022-09-033-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * remove deprecated pragma syntax from 0.20.0 closes #4651, closes #16653 with a cheap fix for now due to how early `tfFinal` is set * remove type pragma between name and generics * undo removal, try removing bind expression (0.8.14) * fix test, unremove bind expr * remove again * Update changelog.md Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * dependencies @ HEAD & weave test dependencies * try fix package ci Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* move io out of system (#19442)flywind2022-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * move io out of system * fix tests * fix tests * next step * rename to syncio * rename * fix nimscript * comma * fix * fix parts of errors * good for now * fix test
* style usages part one (openarray => openArray) (#19321)flywind2022-01-041-4/+4
| | | | | * style usages (openArray) * revert doc changes
* fix #18410 (Errors initializing an object of RootObj with the C++ backend) ↵flywind2021-10-311-0/+15
| | | | | | | | | | | | | [backport] (#18836) * fix #18410 * one line comment * typo * typo * cover cpp
* refs #18011 disable some newly failing tests on cpp windows; refs #17946 ↵Timothee Cour2021-05-142-2/+6
| | | | increase timeout for tchannels (#18012)
* system.nim cleanup some exported constants which should never have be… ↵Andreas Rumpf2021-05-011-1/+1
| | | | | | (#17909) * system.nim cleanup some exported constants which should never have been exported
* `--nilseqs` is now a deprecated noop (#17211)Timothee Cour2021-03-011-1/+1
| | | | | * --nilseqs is now a deprecated noop * fix tests; fix: future => sugar
* remove tests/deps/ (#17132)Timothee Cour2021-02-231-1/+1
| | | | | | | | | * remove tests/deps/ * fix tests * fix tests/manyloc/keineschweine/lib/zlib_helpers.nim * fixup
* close #4834 add testcase (#16649)flywind2021-01-091-0/+17
|
* improve examples in manual (#16497)flywind2020-12-291-1/+1
| | | | | | | | | | | | | * improve examples in manual * Update doc/manual.rst Co-authored-by: Clyybber <darkmine956@gmail.com> * Update tests/cpp/ttemplatetype.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* testament: error instead of silently ignore invalid targets; remove ↵Timothee Cour2020-12-141-1/+1
| | | | | | | | | | | pointless alias target vs targets; document matrix; DRY (#16343) * testament: error instead of silently ignore invalid targets * s/target/targets/ * fix test; refs #16344 * address comments * Update testament/specs.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* typeinfo minor improvement (#16083)flywind2020-11-231-0/+0
| | | | | | | | | * typeinfo minor improvement * minor * Update lib/core/typeinfo.nim * rename typeinfo
* fix typos and deprecation warnings for tconvariancerules.nim (#13772)Arne Döring2020-03-271-21/+20
|
* Attempt to finish off araq cpp exceptions (#13695)cooldome2020-03-192-2/+3
| | | | | | | | | | | | | | | * config update * disable a questionable test * remove c++ exception handling IDs, new impl doesn't require it anymore * C++ based exceptions finally work * fixes bootstrapping problem in C++ mode * teach GCC it's 2020 now * more bugfixes for C++ based exception handling * apply cooldome's patch * another attempt to enable C++11 * bug fix Co-authored-by: Araq <rumpf_a@web.de> Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix sets of scoped imported enums (#13666)Jasper Jenkins2020-03-172-0/+12
|
* test suite: rename tests containing 'fail' for easier search in logsAraq2019-11-261-0/+0
|
* introduce csize_t instead of fixing csize (#12497)Arne Döring2019-10-312-4/+4
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* no commas for empty importcpp splat params (#12183)Jasper Jenkins2019-09-121-2/+9
|
* exportc now mangles same as importc, fixes #10578 (#12144)Timothee Cour2019-09-062-0/+31
| | | | | | | * fixes #10578 * add tests * add changelog * add {.exportcpp.}
* fixes #11118Andrii Riabushenko2019-04-301-0/+24
|
* fixes #10765 (#10993) [backport]cooldome2019-04-111-0/+9
|
* fixes #10948 (#10949)cooldome2019-04-031-0/+39
|
* fixes #8202 (#10888)Andreas Rumpf2019-03-231-0/+18
| | | | | | * fixes #8202 * make tests green
* Properly wrap discarded statements (#10322)LemonBoy2019-01-171-0/+19
| | | | | | Failing to do so lead the codegen to emit invalid code sometimes, especially when C++ references were involved. Fixes #10241
* fixes #10148 (#10149)cooldome2018-12-311-0/+29
| | | | | * fixes #10148 * fix a typo
* join simple testArne Döring2018-11-231-1/+10
|
* activated more tests, allow input in test specArne Döring2018-11-231-0/+1
|
* updated tests to be executedArne Döring2018-11-231-0/+1
|
* Fixes discard bug in cpp codegen (#9747) [backport]cooldome2018-11-191-1/+11
| | | Fixes discard bug in cpp codegen
* fixes #5549Araq2018-10-301-0/+10
|
* Closes #6986narimiran2018-10-281-0/+16
|
* fixes #9222 (#9224)cooldome2018-10-092-0/+26
|
* Fix linking issue in cpp codegenLemonBoy2018-09-191-0/+9
| | | | | | | Declare the root symbol only once and have the other modules depending on it emit an `extern` declaration. Fixes #9013
* disable Nimble dependencies for appveyorAraq2018-09-141-1/+1
|
* make tests green againAraq2018-08-131-0/+1
|
* Generate dynlib strings as a single rope (#8247)LemonBoy2018-07-081-0/+7
| | | | | | In order not to trip the optimization in genInfixCall we have to do so. The same trick is also used in setExternName. Fixes #8241
* fix #7653Zahary Karadjov2018-06-101-0/+16
|
* make tests green againAndreas Rumpf2018-04-221-11/+5
|
* Static[T] fixes (#7333)zah2018-03-242-2/+2
| | | | | | | | | | | * fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests
* Fixes #6837 (#7271)cooldome2018-03-021-1/+15
|
* genTryCpp codegen. Fixes #7232. Fixes #7239 (#7240)cooldome2018-02-221-1/+21
|