summary refs log tree commit diff stats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* restyle RST option lists (#17637)Andrey Makarov2021-04-101-1/+10
| | | | | | | | | | | | | * WIP: restyle RST option lists * apply similar style to Latex * fix tests * minor visual tweaks * update tests * remove leftover comments
* Genode platform fixes (#17521)Emery Hemingway2021-04-091-24/+1
| | | | | | | | | | | | | | | | | | | * Genode: move dyncall failures to runtime Do not use the "error" pragma to warn that dynamic library loading is not implemented, print a message at runtime and exit. * Genode: use stricter dataspace type in page allocator * Genode: remove compiler configuration from nim.cfg Self-hosting Nim is not supported on Genode and defining the cross-compilation environment can be done externally. * Genode: use new mutex API * Genode: call nim_component_construct as a C procedure * Genode: implement echo for NimStringV2
* remove deprecated config (#17269)flywind2021-03-051-2/+0
|
* RST heading improvements (fix #17091) (#17195)Andrey Makarov2021-03-022-2/+2
|
* add -d:nimStrictMode in CI to keep code from regressing; fixes ↵Timothee Cour2021-02-171-0/+12
| | | | ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
* remove all uses of condsyms symbols defined prior to bootstrap nim 0.20.0 ↵Timothee Cour2021-02-172-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#16918) * nimNoArrayToCstringConversion deadcode * nimbabel deadcode * nimHasalignOf deadcode * nimvarargstyped deadcode * nimhygiene deadcode * nimNewTypedesc deadcode * nimlocks deadcode * nimHasCppDefine deadcode * nimHasRunnableExamples deadcode * nimHasNilChecks deadcode * nimSymKind deadcode * minor macros refactoring * nimVmEqIdent deadcode * nimNoNil deadcode * nimNoZeroTerminator deadcode * nimHasSymOwnerInMacro deadcode * nimVmExportFixed deadcode * nimNewRuntime deadcode * nimAshr deadcode * nimUncheckedArrayTyp deadcode * nimHasTypeof deadcode * nimErrorProcCanHaveBody deadcode * nimHasHotCodeReloading deadcode * nimHasSignatureHashInMacro deadcode * nimHasDefault deadcode * nimMacrosSizealignof deadcode
* RST: implement footnotes and citations (#16960)Andrey Makarov2021-02-151-1/+2
| | | | | | | | | * RST: implement footnotes and citations * manual fixup of nimdoc.out.css * remove unused code * shorter printing code * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix #9102 docgen: sidebar now shows proc signatures instead of encoding (#16857)Timothee Cour2021-01-291-2/+6
|
* fix #16752: threadvar now works with importcpp types; osx now uses native ↵Timothee Cour2021-01-271-3/+5
| | | | | | | | | | | TLS (`--tlsEmulation:off`), which can be orders of magnitude faster (#16750) * osx now uses native TLS, which can be orders of magnitude faster * add {.cppNonPod.} * improve test * changelog, docs, disable part of windows test
* fix config/nim.cfg: `@if not bsd or haiku:` was buggy (#16748)Timothee Cour2021-01-191-10/+8
|
* RST: implement internal targets (#16614)Andrey Makarov2021-01-111-1/+2
|
* RST: implement admonitions (#16438)Andrey Makarov2020-12-271-0/+9
|
* doc/rst2html: some few fixes for enumerated and bullet lists (#16295)Andrey Makarov2020-12-141-0/+1
| | | | | | | | | | | | * fix bullet/enumarated lists with many blank lines * fix enumerated list parsing * fix parse failure when next line after list empty * implement arbitrary start of enumerator * check that enumerators are in order * remove redundant start=x if x=1 or a * add some doc on implemented features * update start in rst_examples.rst * allow upper-case letters + more docs
* nimdoc: Initialize theme switch and pragma dots on DOMContentLoaded (#16247)Sebastian Reinhard2020-12-061-1/+3
| | | | | | | | | The default HTML template for nimdoc currently initializes the dark mode switch and pragma dots when the onload event is fired. But since the onload event does not fire until all external resources (images, stylesheets, fonts, etc.) have been loaded, the light theme is shown for a brief moment before the document is fully loaded, and it switches to the dark theme. This is quite jarring, especially on slower internet connections. So let's instead initialize these things on the DOMContentLoaded event, which is fired right after the document has been parsed and the initial DOM structure is ready. This means that we now display the dark mode immediately, without having to wait for external resources to load first. For reference, see: - https://developer.mozilla.org/en-US/docs/Web/API/Window/load_event - https://developer.mozilla.org/en-US/docs/Web/API/Window/DOMContentLoaded_event I have updated the snapshot tests in `nimdoc/`, and done some manual testing of both the theme switch and the pragma dots, to confirm that this does not break anything. Please let me know if I've missed anything.
* followup #15642: make source + edit also work with stdlib (which uses ↵Timothee Cour2020-10-221-1/+2
| | | | -d:boot) (#15684)
* [backport: 1.4] Better linebreaks (#15658)Miran2020-10-221-2/+2
|
* add Source+Edit links on top of every docgend file (#15642)Timothee Cour2020-10-221-1/+2
|
* change case in nimdoc [ci skip]narimiran2020-10-141-2/+2
|
* reference fusion docs (#15562)Timothee Cour2020-10-141-1/+4
|
* group procs of the same name in TOC (#15487)Miran2020-10-051-0/+14
| | | | | | | | | | | * group procs of the same name in TOC * correctly show `sink` parameters in TOC * no need to reinvent the wheel - `mgetorPut` exists * better setting of text color [ci skip] * fix CSS for better alignment
* close #6071, remove the mentions of deprecated `docSeeSrcUrl` (#15350)Miran2020-09-171-2/+2
|
* Change clibdir and cincludes for NetBSD (#15102)Euan2020-07-281-1/+9
|
* Fix theme switch load from local storage (#14897)Manuel Bojato2020-07-101-14/+5
| | | | | | | * fix theme switch load from local storage * Fix tests Co-authored-by: Clyybber <darkmine956@gmail.com>
* Limit number of error messages from gcc/clang backend (#14852)Tomohiro2020-07-071-7/+9
| | | | | | | * Limit number of error messages from backend * Avoid duplication of -fmax-errors * make tests/misc/trunner.nim success
* Clean out oldast (#14837)Juan Carlos2020-06-301-1/+0
| | | | * Clean out old Deprecated CLI switch * Update to remove --oldast CLI option
* Set cincludes and clibdir for FreeBSD, OpenBSD and NetBSD. (#14680)Euan2020-06-161-0/+3
|
* walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + ↵Timothee Cour2020-06-011-42/+13
| | | | | | | | | | | various other fixes (#14501) * update doc CI filter to include the files mostly likely to require doc rebuild * remove code duplication in ./config/nimdoc.cfg; show link to compiler docs, various fixes * walkDirRecFilter, factor nativeToUnixPath workaround * glob for getRst2html * docslocal: 40s to build all docs * revert code dedup in github actions which did not work alas... * fixups
* fix #6583, fix #14376, index+search now generated for all projects, many bug ↵Timothee Cour2020-05-251-3/+6
| | | | | | | | | fixes with nim doc (#14324) * refs #6583 fix nim doc output * changelog * change default for outDir when unspecified * cleanups * --project implies --index
* vcc fix (#14222)cooldome2020-05-041-4/+4
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* Add LTO support for most compilers and do some VCC fixes (#14013)Keithcat12020-04-221-3/+33
| | | | | | | | | * Added LTO in nim.cfg, added /link in extccomp.nim and other fixes * Fix line endings * Fix line endings, for real this time. Almost certainly. Like, 95% certain. * Removed /MD from extccom.nim VCC comiler
* #12103 - CI for OpenBSD (#12105)Euan2020-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Working on OpenBSD CI * Condense steps into 2 steps to make output easier to follow. * Move up one directory after csources build. * Remove FreeBSD build manifest and add OpenBSD test ignores for coroutines and hot code reloading. * If runCI fails, run the test results script. * Add email trigger for build failure * Remove .git from repository URL * Disable SFML test on OpenBSD * Disable tgetaddrinfo on OpenBSD as only UDP and TCP protocols are supported. * Remove getFilePermissions as it causes CI test failures with NimScript. * Set clang as cc in nim.cfg and use gmake to build csources. * Add getCurrentDir to nimscript. * Remove duplicate getCurrentDir and check for not weirdTarget. * Add CI badge for OpenBSD. * Disable tests which allocate lots of memory for OpenBSD. * Use `CORO_BACKEND_SETJMP` on OpenBSD rather than ucontext. * Simplify building of koch * Disable t8657 on OpenBSD. See issue #13760. * Fix #12142 - tarray_of_channels fails on OpenBSD * Disable thhtpclient_ssl and tosprocterminate on OpenBSD. These tests can be enabled at a later date after fixing them. * Install libffi. * Set path to libc for openbsd. * Disable tevalffi for now. * Remove tevalffi.nim. * Use ncpuonline sysctl rather than ncpu. * Disable tacceptcloserace and tasynchttpserver on OpenBSD. * Enable tacceptcloserace and tasynchttpserver. * Fix #13775 as suggested by @alaviss - use /bin/cat on OpenBSD rather than /bin/sh. * Enable test on OpenBSD. * Disable tflowvar on OpenBSD.
* use nimEmulateOverflowChecks for ARM/ARM64Araq2020-03-241-0/+4
|
* [backport] -d:danger should imply -d:release (#13336)Miran2020-02-051-0/+1
|
* Fix #10717, fix #13284 (#13307)genotrance2020-02-041-4/+17
|
* Fix docs for subdirs too (#13180)Clyybber2020-01-171-1/+1
| | | | | * Fix doc subdirs * Extract to helper proc, and fix on windows
* Fix docs (#13176)Clyybber2020-01-161-1/+1
|
* fixes #12998 nim doc regression (#13117)Timothee Cour2020-01-161-1/+1
|
* feature dracula themed doc (#12816)Andreas Rumpf2019-12-101-767/+54
| | | | | | | | | | * Implement gorgeous Dracula themed Nim documentation * Add color for escape sequences * fixes the test cases * the big CSS cleanup
* Removing the mention of using `discard` for block comments (#12837) [backport]Elliot Waite2019-12-081-0/+1
| | | | | | * Remove mention of using `discard` for block comments * Add a 32x32 alternate favicon
* Substitute $nimbleDir in --path flags (#12750)genotrance2019-11-281-1/+1
|
* Add /nologo option when nim call cl.exe (#12524)Tomohiro2019-10-271-2/+3
|
* Fix vcc linker option name (#12422)Tomohiro2019-10-181-1/+2
|
* Add no-ident for GCC when -d:release (#12454)Juan Carlos2019-10-181-4/+4
|
* fixes #12040Araq2019-08-271-0/+1
|
* Implement some custom formatting for input fields in the documentation (#11632)Hugo Locurcio2019-07-031-0/+17
| | | | | | | | | | * Implement some custom formatting for input fields in the documentation Aside of resulting in more consistent appearance across browsers, this also fixes input form rendering when using Firefox with a dark system theme on Linux. * change the expected html in the tests
* nim.cfg: disable excessiveStackTrace on release (#11575)alaviss2019-06-251-0/+1
|
* [bugfix] rename Nimrod to Nim, fix #11460 (#11462)Miran2019-06-101-1/+1
|
* make fullpaths the default in error messages and stack traces for mor… ↵Andreas Rumpf2019-06-051-7/+16
| | | | | | | | | | | | (#11385) * make fullpaths the default in error messages and stack traces for more convenient development * split up -d:release into -d:release and -d:danger flags * workaround a Nim config parser bug * fixes an old nim config parser bug * make megatest green again * make nimpretty tests work again * make nimsuggest green
* Genode compiler configuration for arm64 and riscv64 (#11389)ehmry2019-06-031-1/+8
| | | Add compiler for arm64 and riscv64, remove path to compiler binaries.
* Render deprecated pragmas (#8886)LemonBoy2019-06-031-0/+10
| | | | | | | | | * Render deprecated pragmas * fix the expected html * clean up the documentation regarding deprecations * fix typo * fix system.nim * fix random