Oscar Nihlgård
9b9cfa7306
Stricter signature for countdown/countup ( #8549 )
2018-08-07 09:24:54 +02:00
andri lim
c3d5ec8ead
fixes #8421 , fixes #7968 , Nim compiler compiles with MSVC C89 version ( #8556 )
2018-08-07 09:07:18 +02:00
Emery Hemingway
be4816f509
Iterator over heap instances ( #8548 )
...
Provide "dumpHeapInstances" for iterating over type statistics
of heaps. This can be used to present structured heap information
as an alternative to "dumpNumberOfInstances".
2018-08-07 08:48:52 +02:00
Andreas Rumpf
39b3b94008
OSX: make tioslectors test green
2018-08-06 15:27:17 +02:00
Timothee Cour
8ad59e6857
remove redundant test for nil before add ( #8460 )
2018-08-06 11:50:42 +02:00
andri lim
6e3d1dced5
fixes #5617 , 'copyLineInfo' addition ( #8523 )
2018-08-05 23:38:21 +02:00
Dominik Picheta
6fffadb7fd
Merge pull request #8364 from timotheecour/pr_expandTilde
...
ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSep
2018-08-05 16:30:17 +01:00
Araq
7ac6462cbd
make at least bootstrapping work
2018-08-05 14:17:24 +02:00
Andreas Rumpf
c57e320c94
fixes 7833 ( #8533 )
...
* fixes #7833 ; still to-do: fix setLen
* make tests green again
* also fixes setLen and string concats; refs #7833
* change formating to avoid a compiler warning
* emit the write barrier also for addChar
* fixes yet another regression
* make setLengthStr compile for the old version
* make growobjcrash complete earlier
2018-08-05 11:42:38 +02:00
Christopher Dunn
cc1fd50b27
Try to let memTracker compile ( #8502 )
2018-08-05 09:53:10 +02:00
Andreas Rumpf
abe0725ab1
WIP: nothing works
2018-08-05 09:38:14 +02:00
Araq
c9f2c16da1
make setLengthStr compile for the old version
2018-08-04 23:23:10 +02:00
Araq
a18e40fa5f
Merge branch 'devel' into araq-fixes-7833
2018-08-04 20:11:25 +02:00
Araq
25b4d26e22
fixes yet another regression
2018-08-04 18:50:44 +02:00
Araq
e6738ba9d9
make 'echo' threadsafe on Windows; fixes #8511
2018-08-04 18:11:03 +02:00
Araq
9235f7a3b3
Merge branch 'devel' into araq-fixes-7833
2018-08-04 15:52:34 +02:00
Araq
1c80619ac5
WIP: avoid using the old growObj in order to fix the newly introduced seq leaks
2018-08-03 18:30:45 +02:00
andri lim
78c0ac5407
fixes #7827 , bindSym enhancement ( #8499 )
...
* bindSym power up, working prototype
* update bindSym doc
* add bindSym test
* fix some typo
* fix bindSym doc
* get rid of specialops field from vm
* add experimental: dynamicBindSym
2018-08-02 12:56:44 +02:00
jcosborn
8f4c5a8955
fixed #7894 ( #8496 )
...
make system tests run properly
2018-08-01 10:57:35 +02:00
Timothee Cour
818d9be311
lineInfoObj (and check, expect) now return absolute paths (#8466 )
2018-07-31 23:02:04 +02:00
Araq
53566f7165
fixes #7833 ; still to-do: fix setLen
2018-07-30 23:27:01 +02:00
Euan T
e11d52a4e8
Update example code for UDP sockets
2018-07-30 13:39:32 +01:00
andri lim
2e6d073be1
fixes #8468 , stdlib.encodings.convert not crash anymore on windows ( #8470 )
2018-07-30 12:04:49 +02:00
Yuriy Glukhov
6b40114f21
Added c_abort to ansi_c ( #8449 )
2018-07-30 11:10:51 +02:00
Quelklef
a4c244aef0
Add checks for random.rand() ( #8431 )
2018-07-30 10:19:11 +02:00
Yuriy Glukhov
57c3b807d0
Fixed typo introduced in #8428 that leads to InvalidIdent assertion failure ( #8464 )
2018-07-30 08:54:52 +02:00
Timothee Cour
d07d148597
fixes #7492 excessiveStackTrace:on shows non-absolute file in stacktrace ( #8469 )
2018-07-30 07:39:58 +02:00
Hugo Locurcio
3838e2a8d7
Fix links to manual.html in the system module documentation ( #8467 )
...
The HTML anchor IDs were changed, which made those links not link
to the appropriate section anymore.
2018-07-28 12:13:37 -04:00
Andreas Rumpf
ef4b755183
allows a destructor to be attached to a tyString/tySequence
2018-07-27 18:20:13 +02:00
Andreas Rumpf
4ec91a30c4
allocators: add deallocAll proc pointer
2018-07-27 18:19:18 +02:00
Yuriy Glukhov
34f398d010
Allow async stdin
2018-07-25 09:07:50 +03:00
Timothee Cour
13df807576
fix issue #8349 FileSystemCaseSensitive should be false on OSX ( #8411 )
2018-07-23 19:26:49 -05:00
Timothee Cour
9249276db0
addresses issue #8391 show runtime context on some failed operations ( #8393 )
2018-07-23 22:58:03 +02:00
Oscar Nihlgård
503dc22236
Use enum string values in times.nim ( #8413 )
2018-07-23 22:40:39 +02:00
Zachary Carter
9379f9353a
Add application/wasm to mimetypes.nim ( #8389 )
...
```
To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.
```
http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
2018-07-21 21:42:07 +02:00
skilchen
8fe8bed9c3
add sets.pop procedure (analogue to python) ( #8383 )
2018-07-21 19:51:14 +02:00
skilchen
57f4a5d429
sequtils: remove some aligning spaces around == to silence warnings
2018-07-21 19:16:05 +02:00
Andreas Rumpf
f485ebe162
--gc:destructors: next steps; WIP
2018-07-21 13:16:53 +02:00
Dominik Picheta
5ea3b4d581
Implements alloc/dealloc counters for better leak debugging. ( #8384 )
2018-07-21 01:43:13 +02:00
andri lim
9c3336dcff
fixes #8371 , macros.hasCustomPragma doesn't crash anymore ( #8378 )
...
* fixes #8371 , macros.hasCustomPragma doesn't crash anymore
* fix macros.hasCustomPragma
2018-07-20 19:48:12 +02:00
Ray Imber
060871e64a
Better doc search ( #8260 )
...
* Modified the doc generation to produce a custom data attribute to allow for better search functionality
* Implemented fuzzy matching for the Nim Doc search instead of the simple regex match.
* Fix to the WordBoundry state transition from code review with @Varriount. Also removed silly testing template that is no longer used.
* Update fuzzysearch.nim
* Update fuzzysearch.nim
* Update fuzzysearch.nim
* Update dochack.nim
* Update dochack.nim
2018-07-20 04:58:42 -05:00
andri lim
f92d61b1f4
fixes #8037 , json.to support object with distinct types ( #8086 )
...
* add distinct types to json 'to' macro
* fix json 'to' macro and add more test
2018-07-19 16:38:40 +01:00
Timothee Cour
20591845df
ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSep
2018-07-18 17:56:01 -07:00
Andreas Rumpf
4389409e26
fix merge conflict
2018-07-18 09:46:30 +02:00
Andreas Rumpf
ae09879b3a
fixes #8223
2018-07-17 18:21:09 +02:00
Andreas Rumpf
59a5c0462f
fixes #8338
2018-07-17 15:49:55 +02:00
Andreas Rumpf
32afdc09c6
WIP: strings/seqs based on destructors
2018-07-17 13:19:42 +02:00
John Novak
692d1da95d
Fix setCursorPos and setCursorXPos on POSIX ( #8310 )
2018-07-17 11:35:26 +02:00
Jeff Ciesielski
f8723cd1e3
Add extended baud rates to posix/termios ( #8322 )
...
115200 is really common. I'd like to get support in nimserial, but
I'm guessing it would help to have support in the stdlib first.
2018-07-16 15:15:47 -04:00
Timothee Cour
2ac22b4cf0
fix #8273 times format regression, and fix inconsistent ordering in 1 format overload ( #8290 )
...
* Fix issue #8273 [regression] [times.format] Error: attempting to call
undeclared routine: 'format'
* rename format to f for consistency with other overloads and avoid
similar bugs as #8273
* breaking change since PR 8094: changed format*(f: TimeFormat, dt: DateTime) to format*(dt: DateTime, f: TimeFormat) for consistency w other overloads
* use consistent ordering for times.parse procs
2018-07-16 21:15:17 +02:00