summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes new atomics for C + vcc (#10267)Jörg Wollenschläger2019-01-111-21/+21
|
* revert moving `oids` and `smtp` to graveyardnarimiran2019-01-116-2/+361
|
* fix #10261 unittest now returns 1 on error instead of buggy behavior (#10264)Timothee Cour2019-01-111-2/+2
|
* [RFC] Better atomics (#8620)Jörg Wollenschläger2019-01-101-0/+378
| | | | | * Initial version of C++11 style atomics * Make Atomic[T] always concrete
* Added 'Limitations' section to nimscript manual listing the restrictions of ↵Ico Doornekamp2019-01-101-3/+22
| | | | the VM (#10209)
* fixes #10030 bootstrap is insulated from user config (#10244)Timothee Cour2019-01-102-3/+12
|
* add unsetControlCHook to remove a Ctrl-C hook after it was set (#7267)Vindaar2019-01-103-0/+10
| | | | | | | | | * add unsetControlCHook to remove a Ctrl-C hook after it was set Adds the inverse proc to setControlCHook in order to lift a Ctrl-C hook after it has been set. * remove check for noSignalHandler in system/excpt.nim
* void object fields are now ignored by codegen and fields/fieldPairs iterator ↵Neelesh Chandola2019-01-105-0/+25
| | | | | | | | | (#10144) * Codegen now ignores object fields of type void * Fix `$` bug for objects/tuples where it does not add a comma * fields/fieldPairs iterators now ignore void types * Use `isEmptyType` instead of checking for `tyVoid` directly
* Merge pull request #10248 from narimiran/graveyardMiran2019-01-1010-1073/+27
|\ | | | | Move four modules to graveyard
| * update changelognarimiran2019-01-101-3/+20
| |
| * remove `oids`narimiran2019-01-103-100/+0
| |
| * remove `smtp`narimiran2019-01-104-258/+0
| |
| * remove `scgi`narimiran2019-01-104-301/+7
| |
| * remove `subexes`narimiran2019-01-104-411/+0
| |
* | Times cosmetic changes (#10237)Oscar Nihlgård2019-01-102-330/+385
| | | | | | | | | | | | | | | | | | | | * Add more Date wrappers to jscore * Times cosmetic changes - Improved docs - Code wrapped at 80 chars - Formatting fixes using nimpretty - Remove some old deprecated procs
* | fixes #10039 : CI now runs buildTools (eg, nimfind wasn't being compiled ↵Timothee Cour2019-01-102-28/+34
| | | | | | | | before); refactoring (#10242)
* | Fix exception tracking for system.open (#10253)Oscar Nihlgård2019-01-101-3/+4
| |
* | fixes #10251 (#10255)Arne Döring2019-01-101-1/+1
| |
* | destructors: lift type bound operations for case and distinct objects (#10238)cooldome2019-01-102-26/+91
|/
* ValueError now inherits from CatchableError (#10246)Oscar Nihlgård2019-01-102-2/+4
|
* make Stream.{read,peek} procs public (#9806)Notkea2019-01-091-2/+2
| | | Those are useful in generic code, and `proc write*[T](s: Stream, x: T)` was already public.
* epoll selector starts with reasonable fd set size (1024) and increases in ↵Ico Doornekamp2019-01-092-3/+22
| | | | powers of two when needed. This prevents the selector to allocate large amounts of memory at startup on systems with a high RLIMIT_NOFILE setting (#10194)
* add `alignTable`, `parseTableCells` to align/format a tab(etc) delimited ↵Timothee Cour2019-01-095-0/+291
| | | | | | | | table (#10182) * add compiler/unittest_light.nim for easy diffing: assertEquals and mismatch * fixup * add alignTable, parseTableCells
* remove float128 from the manual, fixes #10213 [ci skip]narimiran2019-01-091-1/+0
|
* Merge pull request #10239 from timotheecour/pr_fix_comment_9766genotrance2019-01-081-7/+5
|\ | | | | fix leftover comment from #9766
| * fix leftover comment from #9766Timothee Cour2019-01-081-7/+5
| |
* | Merge pull request #10236 from treeform/passSSLPathgenotrance2019-01-081-1/+1
|\ \ | | | | | | Fix libssl order. Newest one is 1.1
| * | Fix libssl order. Newest one is 1.1Andre von Houck2019-01-081-1/+1
| | |
* | | add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵Timothee Cour2019-01-0814-23/+113
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work
* | [error messages, stacktraces] fix #8794 #9270 #9767 #9768 (#9766)Timothee Cour2019-01-089-31/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes #8794 : `Error: undeclared field: 'foo'` should show type (+ where type is defined) (hard to guess in generic code) * fixes #9270: `--listFullPaths` not honored by `declared in foo.nim` messages * fixes #9767: VM stacktrace doesn't honor --excessiveStackTrace:on * fixes #9768: VM stacktrace misses column info, can lead to ambiguous or harder to read stacktraces * refactors some col+1 code to col + ColOffset (self documents code) * make getProcHeader show declared info location also for types and all routine kinds (including macros,templates) instead of just (rather arbitrarily) for iterator,proc,func,method * --listFullPaths now is honored in more places * fix typo system/except.nim => lib/system/excpt.nim * remove substr(foo, 0) hack in compiler/vm.nim which seems old and not applicable anymore
* | {.deprecated: msg.} now works for vars and lets (#10234)Neelesh Chandola2019-01-084-10/+16
|/
* update issue templates [ci skip]narimiran2019-01-082-16/+25
|
* [CI] fixes #10041 move bulk of `travis` and `appveyor` logic to koch.nim ↵Timothee Cour2019-01-084-38/+53
| | | | (#10183)
* os.execShellCmd: fixes #10231 (#10232)alaviss2019-01-082-1/+16
| | | | | | | Darwin has long deprecated the wait union, but their macros still assume it unless you define _POSIX_C_SOURCE. This trips up C++ compilers. This commit duplicates the behavior of WEXITSTATUS when _POSIX_C_SOURCE is defined.
* [nimpretty] fix #10211; fix #10199 (#10212)Timothee Cour2019-01-082-8/+18
| | | | | | * [nimpretty] fix #10211; fix #10199 * address comments * un-document --backup and set its default to false
* Don't use deprecated pragma syntax (#10187)Clyybber2019-01-081-1/+1
| | | | | | * Don't use deprecated pragma syntax * Remove pure pragma, since it's a noop now
* Better LibSSL search order. (#10230)treeform2019-01-081-1/+1
|
* system/strmantle: avoid leaking docs to system.nim [ci skip] (#10233)alaviss2019-01-081-1/+1
| | | thanks @timotheecour for spotting this
* Fix for sizeof bitsize combination (#10227)Arne Döring2019-01-072-3/+20
| | | | | | | | * fix #10082 * added test
* Show error when trying to export individual enum field (#10109)Neelesh Chandola2019-01-071-1/+3
|
* add custom pragma support for var and let symbols (#9582)jcosborn2019-01-079-20/+77
| | | | | | * add custom pragma support for var and let symbols * updated changelog for custom pragmas on var and let symbols * add oldast switch for backwards compatibility
* os.execShellCmd: use WEXITSTATUS to retrieve exit code (#10222)alaviss2019-01-071-1/+1
| | | | | | | According to POSIX, system() shall returns the termination status in the format specified by waitpid(), which means WEXITSTATUS should be used to retrieve the exit code portably. This fixes execShellCmd on Haiku.
* Fix #10073 (#10218)zah2019-01-072-1/+24
|
* remove deprecated modules (#10215)Miran2019-01-0719-1194/+5
| | | | | | | | | | | | | | | | | | * removed from `compiler`: * lists (deprecated 2 years ago) * removed from `lib` (all deprecated 3 years ago): * ssl * matchers * httpserver * removed from `lib/deprecated`: * unsigned * actors (and three accompanying tests) * parseurl * moved to `lib/deprecated`: * securehash (the reason for not directly removing - it was deprecated (only) one year ago)
* Added examples to strtabs module (#10160)Ico Doornekamp2019-01-071-0/+31
|
* Fix defer not not-working at top level (#10191)Neelesh Chandola2019-01-074-13/+4
|
* Add changelog for the isNil JavaScript change (#10184)Alexander Ivanov2019-01-071-0/+2
| | | Forgot to add an item, breaking change
* Fix ODBC SQL Error string decoding (#10207) [backport]Leonardo Cecchi2019-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | ODBC Errors were presented to the users as a sequence of characters. I.e.: >test_oracle.exe Error: ['H', 'Y', '0', '0', '0', '\x00', '\x00', ...] test_oracle.nim(15) test_oracle test_oracle.nim(8) test_oracle db_odbc.nim(534) open db_odbc.nim(168) dbError Error: unhandled exception: ODBC Error [DbError] This patch fix the string decoding, creating a real string: >test_oracle.exe Error: HY000 [Oracle][ODBC][Ora]ORA-12541: TNS:no listener test_oracle.nim(15) test_oracle test_oracle.nim(8) test_oracle db_odbc.nim(534) open db_odbc.nim(168) dbError Error: unhandled exception: ODBC Error [DbError]
* Remove totally unneeded import of hashes. (#10221)c-blake2019-01-073-3/+3
|
* Fix getAddrInfo, add IPPROTO_ICMPV6 Closes #10198Federico Ceratto2019-01-065-2/+44
|