summary refs log tree commit diff stats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* 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
* switch should be nimOldShiftRight with the nim prefixAraq2019-05-291-1/+1
|
* added a -d:nimv019 define for compiling 0.19 code with 0.20Araq2019-05-291-0/+7
|
* fixes #11306Araq2019-05-241-15/+1
|
* fixes #11153Araq2019-05-101-1/+4
|
* Review of vcc command line arguments (#11003)cooldome2019-04-161-36/+7
| | | | | | | | * fixes #11000 * trigger commit * Trigger build
* fixes #10857 invisible span had width (#10860)Anthon van der Neut2019-03-191-1/+5
|
* documentation style tweaks (#10790)Miran2019-03-081-3/+3
| | | | | | | * exports are the least important field in the docs: they are put in the last place (at the bottom) * indent text after proc/type declaration for an easier navigation (noticeable difference between declarations and examples) * quickfix invalid style in `asynchttpserver`
* Fixes #10387 (#10743)Tomohiro2019-03-041-8/+21
|
* add links to every document, fixes #5515narimiran2019-02-161-1/+14
|
* fix documentation CSSnarimiran2019-02-051-16/+28
| | | | | | - make documentation usable on small (narrow) screens - slightly smaller font size in tables - fix search input width
* update documentation CSS (#10543)Miran2019-02-041-677/+232
| | | | | * update documentation CSS * update the expected htmls
* Genode fixes (#10491)Emery Hemingway2019-01-291-1/+4
| | | Readline pasthru, add linker to config, do not pass -lm to linker.
* fix documentation cssnarimiran2019-01-281-5/+2
|
* config/nim.cfg: disable tlsEmulation on Haiku (#10092) [backport]alaviss2018-12-271-3/+0
| | | | As of hrev52662, TLS support in Haiku is usable again. This has since been backported to R1/Beta1, so we can flip the switch upstream.
* Add support for clang-cl (#9977)Neelesh Chandola2018-12-191-0/+5
|
* see what breaks with a global config.nimsAraq2018-12-161-0/+1
|
* Fix clang not producing debug info in cpp mode (#9976)Neelesh Chandola2018-12-161-0/+10
| | | | | | * Fix clang on windows to produce debug info * Fix clang not producing debug info in cpp mode
* resolve merge conflictsAraq2018-12-121-20/+29
|\
| * vcvarsallpath explaination no longer needed with vccdiscoverFredrik Høisæther Rasch2017-03-211-29/+0
| | | | | | | | This reverts commit 7c4911d
| * Added explanatory comments about vccexe and its path argument in nim.cfgFredrik Høisæther Rasch2017-03-211-0/+33
| |
| * Added missing VCC C++ options to nim.cfgFredrik Høisæther Rasch2017-03-211-0/+13
| |
* | Make Windows cross-compilation simpler (#9485)genotrance2018-10-241-0/+13
| |
* | Do not encode the anchors in docs (`id` attr in `a` tags) (#9261)Kaushal Modi2018-10-091-1/+1
| | | | | | | | | | Update the tests too. Fixes https://github.com/nim-lang/Nim/issues/9232.
* | Make "koch docs" copy the dochack.js to the right location tooKaushal Modi2018-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | - Fixes https://github.com/nim-lang/Nim/issues/9104. - Fixes https://github.com/nim-lang/Nim/issues/9095. Expect dochack.js to be fetched from the doc/html/ dir instead of from doc/. Also remove an unused and unexported proc pathPart.
* | Encode non-alphanum chars like %, + in URLs in the docsKaushal Modi2018-09-281-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Use $itemSymOrIDEnc instead of $itemSymOrID in the id and href attr in a tags. Fixes https://github.com/nim-lang/Nim/issues/9097. Thanks to @LemonBoy for helping with this commit. --- Update the tests too -- "nim c -r nimdoc/tester" passes.
* | Genode fixes (#8501)Emery Hemingway2018-08-161-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | * Genode fixes - wrap strings in "Genode::Cstring" when logging - define SIGABRT for Genode - disable GCC -fstack-protector - use log RPC for fatal messages - add --os:genode build to appveyor - define paramStr and paramCount * Select fixups for Genode POSIX
* | Haiku support for Nim (#8542)alaviss2018-08-141-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_other: Haiku now has spawn.h This is added per https://dev.haiku-os.org/ticket/13446 * posix_other: Add Haiku specific Dirent members * cpuinfo: Add an implementation for Haiku * distros: Add basic Haiku support * encodings: update Haiku support * fenv, math: Haiku now provides libm * times: Add Haiku struct members * ansi_c, osalloc: Add Haiku constants * threads: Add Haiku support * testament: Haiku uses LIBRARY_PATH * nim.cfg: Update Haiku support libnetwork should only be linked if network functions are used * threads: Haiku does not support -pthread switch * tworkingdir: Haiku's env is in /bin * posix_other: add SIGKILLTHR for Haiku * sockets: link with libnetwork on Haiku * coro: correct ucontext.h location http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html * coro: ucontext backend is not available on Haiku Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX * coro: fix setjmp backend The compiler does not allow statements after a noreturn function * nativesockets: Haiku doesn't support AI_V4MAPPED * system: hostOS can contains "haiku" * os: add support for Haiku's packagefs packagefs is read-only, but there are writable holes to the underlying file system as well * os: update constant for Haiku
* | fixes #8419 fixes #8420 ; workaround #6071 workaround nim-lang/website#98 ↵Timothee Cour2018-07-301-1/+3
| | | | | | | | | | (#8423) add --git.devel option to override doc generated "edit" links; add --nimCompiler option to nimweb