summary refs log tree commit diff stats
path: root/readme.md
Commit message (Collapse)AuthorAgeFilesLines
* remove deprecated and broken nimweb tools (#20442)ringabout2022-09-281-1/+1
| | | | | * remove deprecated and broken nimweb tools * readme
* Show beatutiful html instead of ugly markdown preview (#20196)ringabout2022-08-111-1/+1
|
* fixes links in the readme (#20167)ringabout2022-08-071-2/+2
|
* Two broken links found (#20121)Sojin2022-08-041-2/+2
| | | Updated the two broken internal links: rebuilding the compiler, reproducible builds
* The internal link to koch.rst docs was broken (#20113)Sojin2022-07-311-1/+1
| | | | | Broken Link found for koch.rst docs The Current internal link was broken. Updated with a new link to the same path
* Recommend gcc 5.x or newer (#19910)tersec2022-06-201-2/+2
|
* Improve consistency (#19490)Roj2022-02-071-2/+2
|
* update copyright year (#19381)flywind2022-01-131-1/+1
|
* Update readme.md: matrix links (#19109)Zoom2021-11-081-0/+4
| | | | Added links to the main #nim-lang room on Matrix and to the Nim matrix space. Added Matrix badge.
* remove the mention of travis from readme (#19093)flywind2021-11-021-2/+1
|
* Document how to compile a reproducible build (#18953)quantimnot2021-10-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | * Make compiler build more reproducible Removed the compile time from the version output. Added Git commit's author's datetime in UTC timezone. Fixes #18508 See https://reproducible-builds.org/docs/timestamps/ See https://reproducible-builds.org/docs/source-date-epoch/ * Revert "Make compiler build more reproducible" This reverts commit 2f9359ae89622c2d95ef243d13251a310e94a199. Documented how to use compile reproducible builds with the `SOURCE_DATE_EPOCH` environment variable. * Corrected `readme.md` formatting Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* add Apple Silicon to supporting platforms (#18772)flywind2021-08-311-1/+1
| | | | | | | | | * add Apple Silicon to supporting platforms * Update readme.md Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Switch IRC links to Libera Chat (#18370)Federico Ceratto2021-06-271-2/+2
|
* refactor all code that builds csources (#17815)Timothee Cour2021-04-231-2/+3
| | | | | | | | | | | | | | | * refactor all code that builds csources * fixup * nim_csourcesDir_v0 + nim_csourcesDir * remove deprecated, unused scripts from ci/ * reuse nimCsourcesHash in ci * simplify CI pipelines by reusing nimBuildCsourcesIfNeeded * simplify ci_docs.yml by reusing nimBuildCsourcesIfNeeded * cleanup * use csources_v1 as destination dir * fixup * remove pushCsources * address comment: remove build.sh support for now * fixup
* Windows: separate DLLs are not required anymoreAndreas Rumpf2021-04-221-4/+0
|
* happy new year 2021 (#16537)flywind2021-01-011-1/+1
|
* Copy editing (#15733)Yanis Zafirópulos2020-10-261-10/+10
| | | | | | | | | * Minor fixes * Minor fixes * Minor fixes * Minor fixes
* Change discord's badge color to be consistent with other badgesDanil Yarantsev2020-10-191-1/+1
|
* Add discord to the README (#15634)Danil Yarantsev2020-10-191-1/+6
|
* Improvements to Windows install instructions (#15099)Ray Imber2020-07-281-0/+9
|
* Update readme.md (#14953)kwgchi2020-07-101-2/+2
|
* Fix link to "rebuilding the compiler" (#14567)lbartoletti2020-06-061-1/+1
|
* make it easier to figure out how to debug issues (#14477)Timothee Cour2020-05-281-0/+2
|
* [ci skip] clean-up CI badgesnarimiran2020-04-301-7/+1
|
* Remove travis ci badge (#14062)Tristram Oaten2020-04-291-2/+0
|
* add CI badges for CI github actions ssl+docsTimothee Cour2020-04-241-1/+8
|
* add CI badges for azure-pipelines for devel, 1.0, 1.2 branches (#14101)Timothee Cour2020-04-241-1/+3
|
* #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.
* Update LICENSE (#13421)Nな人(N na hito)2020-02-171-1/+1
|
* Fixes stackoverflow links in readme (#12963) [backport]King Eca2019-12-271-2/+2
|
* #12103 - CI for FreeBSD (#12179)Euan2019-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * Ref #12103 - adds FreeBSD CI * Fix getApplFreebsd - length of the string includes the null terminator byte, so minus 1 for result length * Show last commit in setup task. * Remove .git from repository URL * Don't include noisy details showing last commit. * Add FreeBSD build status badge * Fix #12182 - disable tconsole on FreeBSD * Disable tgetaddrinfo on FreebSD as getaddrinfo doesn't support the ICMP protocol. * Install boehm-gc-threaded * Use libgc-threaded.so on FreeBSD rather than libgc.so. * Simplify build failure handling. Update alt text for CI badge. * Disable test on FreeBSD * Simplify build config - use GNU make to build csources - set PATH variable using the environment key - remove modification of config to set CC as this is already set * Install git which seems to be missing from current freebsd images * Revert change to how path is set * Add a comment explaining why the length is truncated * Fix tconsole.
* Easier build instructions for windows - just run `build_all.bat`. (#12276)treeform2019-10-081-16/+7
| | | | | | | | * Easier build instructions for windows. * title letter * Update build_all.bat to be like build_all.sh
* Fix typo (#12210) [ci skip]Vitor Oliveira2019-09-181-6/+6
|
* Add packaging guide #5182 (#10384)Federico Ceratto2019-01-231-0/+6
|
* Most important date change ever (#10323)tweenietomatoes2019-01-161-1/+1
|
* complete removal of web folder, fixes #9304 (#9310)Miran2018-10-121-1/+0
| | | | | | * complete removal of web folder, fixes #9304 * remove `buildJS`
* make contributing.rst more up to date; reference it in readme.md to make it ↵Timothee Cour2018-10-111-1/+2
| | | | more discoverable (#9302)
* add link to https://nim-lang.github.io/Nim/ in readme.mdTimothee Cour2018-10-031-1/+1
|
* add build_all.sh to allow 1-liner to build development version of the ↵Timothee Cour2018-08-081-8/+17
| | | | compiler (#8546)
* Years were updated.data-man2018-05-311-1/+1
|
* Added Telegram channel to readme.data-man2018-05-311-0/+3
|
* Some more fixes to the readme.Dominik Picheta2018-04-011-1/+1
|
* Improve compilation instructions in readmeDominik Picheta2018-04-011-4/+7
|
* Add CodeTriage badge to nim-lang/nimcodetriage-readme-bot2018-02-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a badge showing the number of people helping this repo on CodeTriage. [![Open Source Helpers](https://www.codetriage.com/nim-lang/nim/badges/users.svg)](https://www.codetriage.com/nim-lang/nim) ## What is CodeTriage? CodeTriage is an Open Source app that is designed to make contributing to Open Source projects easier. It works by sending subscribers a few open issues in their inbox. If subscribers get busy, there is an algorithm that backs off issue load so they do not get overwhelmed [Read more about the CodeTriage project](https://www.codetriage.com/what). ## Why am I getting this PR? Your project was picked by the human, @schneems. They selected it from the projects submitted to https://www.codetriage.com and hand edited the PR. How did your project get added to [CodeTriage](https://www.codetriage.com/what)? Roughly 4 months ago, [@milan15](https://github.com/milan15) added this project to CodeTriage in order to start contributing. Since then, 4 people have subscribed to help this repo. ## What does adding a badge accomplish? Adding a badge invites people to help contribute to your project. It also lets developers know that others are invested in the longterm success and maintainability of the project. You can see an example of a CodeTriage badge on these popular OSS READMEs: - [![](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails) https://github.com/rails/rails - [![](https://www.codetriage.com/crystal-lang/crystal/badges/users.svg)](https://www.codetriage.com/crystal-lang/crystal) https://github.com/crystal-lang/crystal ## Have a question or comment? While I am a bot, this PR was manually reviewed and monitored by a human - @schneems. My job is writing commit messages and handling PR logistics. If you have any questions, you can reply back to this PR and they will be answered by @schneems. If you do not want a badge right now, no worries, close the PR, you will not hear from me again. Thanks for making your project Open Source! Any feedback is greatly appreciated.
* Gratipay is deadJuan Francisco Cantero Hurtado2018-01-231-4/+1
| | | https://gratipay.news/the-end-cbfba8f50981
* Add comments on "untestable" tests directoryFederico Ceratto2017-11-031-0/+1
|
* Felt this paragraph was a little grammatically awkward.Aaron Salvo2017-10-261-4/+4
|
* Add a link to the github wikiwizzardx2017-10-251-0/+2
|
* improved wording style (#6527)Kobi Lurie2017-10-181-1/+1
|
* remove stupid shell dollar signs that make copypasta hard (#6354)Tristan B. Kildaire2017-09-111-8/+8
|
n> result.add '\t' result.addInt a[10].getNum elif a.len >= 10: result.add '\t' result.add a[9].getStr result.add '\L' proc doReport(filename, answer, resp: string; report: var string) = if resp != answer and not smartCompare(resp, answer): report.add "\nTest failed: " & filename var hasDiff = false for i in 0..min(resp.len-1, answer.len-1): if resp[i] != answer[i]: report.add "\n Expected:\n" & resp report.add "\n But got:\n" & answer hasDiff = true break if not hasDiff: report.add "\n Expected: " & resp report.add "\n But got: " & answer proc skipDisabledTest(test: Test): bool = if test.disabled: echo "disabled: " & test.filename result = test.disabled proc runEpcTest(filename: string): int = let s = parseTest(filename, true) if s.skipDisabledTest: return 0 for req, _ in items(s.script): if req.startsWith("highlight"): echo "disabled epc: " & s.filename return 0 for cmd in s.startup: if not runCmd(cmd, s.dest): quit "invalid command: " & cmd let epccmd = if s.cmd.contains("--v3"): s.cmd.replace("--tester", "--epc --log") else: s.cmd.replace("--tester", "--epc --v2 --log") let cl = parseCmdLine(epccmd) var p = startProcess(command=cl[0], args=cl[1 .. ^1], options={poStdErrToStdOut, poUsePath, poInteractive, poDaemon}) let outp = p.outputStream var report = "" var socket = newSocket() try: # read the port number: when defined(posix): var a = newStringOfCap(120) discard outp.readLine(a) else: var i = 0 while not osproc.hasData(p) and i < 100: os.sleep(50) inc i let a = outp.readAll().strip() let port = parseInt(a) socket.connect("localhost", Port(port)) for req, resp in items(s.script): if not runCmd(req, s.dest): socket.sendEpcStr(req) let sx = parseSexp(socket.recvEpc()) if not req.startsWith("mod "): let answer = if sx[2].kind == SNil: "" else: sexpToAnswer(sx) doReport(filename, answer, resp, report) socket.sendEpcStr "return arg" # bugfix: this was in `finally` block, causing the original error to be # potentially masked by another one in case `socket.sendEpcStr` raises # (e.g. if socket couldn't connect in the 1st place) finally: close(p) if report.len > 0: echo "==== EPC ========================================" echo report result = report.len proc runTest(filename: string): int = let s = parseTest filename if s.skipDisabledTest: return 0 for cmd in s.startup: if not runCmd(cmd, s.dest): quit "invalid command: " & cmd let cl = parseCmdLine(s.cmd) var p = startProcess(command=cl[0], args=cl[1 .. ^1], options={poStdErrToStdOut, poUsePath, poInteractive, poDaemon}) let outp = p.outputStream let inp = p.inputStream var report = "" var a = newStringOfCap(120) try: # read and ignore anything nimsuggest says at startup: while outp.readLine(a): if a == DummyEof: break for req, resp in items(s.script): if not runCmd(req, s.dest): inp.writeLine(req) inp.flush() var answer = "" while outp.readLine(a): if a == DummyEof: break answer.add a answer.add '\L' doReport(filename, answer, resp, report) finally: try: inp.writeLine("quit") inp.flush() except IOError, OSError: # assume it's SIGPIPE, ie, the child already died discard close(p) if report.len > 0: echo "==== STDIN ======================================" echo report result = report.len proc main() = var failures = 0 if os.paramCount() > 0: let x = os.paramStr(1) let xx = expandFilename x # run only stdio when running single test failures += runTest(xx) else: let files = toSeq(walkFiles(tpath / "t*.nim")) for i, x in files: echo "$#/$# test: $#" % [$i, $files.len, x] when defined(i386): if x == "nimsuggest/tests/tmacro_highlight.nim": echo "skipping" # workaround bug #17945 continue let xx = expandFilename x when not defined(windows): # XXX Windows IO redirection seems bonkers: failures += runTest(xx) failures += runEpcTest(xx) if failures > 0: quit 1 main()