Commit graph

1,091 commits

Author SHA1 Message Date
Andreas Rumpf
e2d02d5943 Merge pull request #691 from rbehrends/fix-shallow-pragma
Fixes shallow pragma for objects and tuples.
2014-04-09 00:05:59 +02:00
Araq
2ecff76aac master compiler compiles with devel 2014-01-23 16:45:17 +01:00
Araq
1e4c4d62e4 bugfix: doc generation for actors.nim works again 2014-01-13 01:08:57 +01:00
Grzegorz Adam Hankiewicz
fc68a7d880 Removes generated .dot file uploaded by mistake. 2013-12-30 17:58:05 +01:00
Dominik Picheta
f622504b5b Fixes #594
This was already partially fixed, ``expandTilde`` was the missing piece
from perfection.
2013-12-28 12:25:01 +00:00
Dominik Picheta
8c1ea5cb3f Added --noBabelPath override. 2013-12-25 22:38:53 +00:00
Satish BD
033938a53a Correct the spelling of the word 'implicitly' 2013-12-23 04:29:50 +02:00
Andreas Rumpf
eae275c114 Merge pull request #742 from onionhammer/master
Added jsondoc compiler switch
2013-12-20 13:28:18 -08:00
Grzegorz Adam Hankiewicz
c0e2cb2919 Allows passing absolute paths for output. Refs #738.
Previous to this the project base dir was added always, preventing user
specified absolute paths to work.
2013-12-20 13:33:43 +01:00
Grzegorz Adam Hankiewicz
3b38ceac2e Runs user specified outFile if available. Refs #738. 2013-12-20 13:13:09 +01:00
Araq
4b0e391bb8 no stack tracing for the system module; fixes stack bottom detection 2013-12-20 00:02:04 +01:00
Araq
d46380e718 Merge branch 'master' of github.com:Araq/Nimrod 2013-12-16 22:26:34 +01:00
Araq
132b6b3efe implemented 'injectStmt'; more debug support 2013-12-16 22:26:17 +01:00
Erik O'Leary
aaf49947e9 Added jsondoc compiler switch
Outputs top-level exported information in JSON
2013-12-12 10:59:30 -06:00
Michał Zieliński
39cabcdd27 Use quoteShell in stdlib, where appropriate. 2013-12-11 22:27:39 +01:00
Zahary Karadjov
7120491d05 in successful compilations with verbosity:0, all output is suppressed (useful for combing with --run) 2013-12-10 01:49:30 +02:00
Zahary Karadjov
14dd3113a2 fix computed dynlib names; fixes #718 2013-12-09 23:06:11 +02:00
Zahary Karadjov
95a6e01ea8 Merge branch 'master' of github.com:Araq/Nimrod into upstream 2013-12-09 00:26:04 +02:00
Zahary Karadjov
de3b7cd413 progress towards adding negative type classes
[unittest bugfixes]
the block form of check now allows comments
errors when inspecting the arguments of var-accepting procs
2013-12-09 00:09:03 +02:00
Zahary Karadjov
208924b929 fixes #708
It's unclear to me why for variables were treated as globals.
This is likely to cause many problems, but in this particular case
it was breaking the unittest/insepectArgs recursive function (the
for loop variable has a different value in each stack frame)
2013-12-07 21:23:22 +02:00
Zahary Karadjov
1e26047c3b adding some provisions for writing lower-level unit tests targeting specific sub-systems of the compiler
see sigmatch as an example.
tests are compiled only when the compiler is compiled with -d:selftest
to execute them, just run the resulting binary without arguments
2013-12-07 20:30:44 +02:00
Andreas Rumpf
2264875237 Merge pull request #698 from fowlmouth/smallstdlib
removed x11
2013-12-04 07:52:22 -08:00
Araq
32d2327be0 don't use memset for temps unless necessary 2013-12-03 13:30:58 +01:00
fowlmouth
4f0eeaa55e fixes compiler.lists.bringToFront 2013-12-02 23:47:56 -06:00
Araq
5cb60ffbe0 Merge branch 'master' of github.com:Araq/Nimrod 2013-12-03 01:59:59 +01:00
Araq
fe983b1309 fixes a regression where memset was used without including <string.h> 2013-12-03 01:59:38 +01:00
onionhammer
b5ac234771 Renamed nimrod.cfg to nimrod.nimrod.cfg 2013-12-02 23:57:47 +01:00
Erik O'Leary
e145231a1d Updated cfg file processing
No longer look at deprecated file.cfg, compiler will only look at
file.nimrod.cfg
2013-12-02 23:57:47 +01:00
Reimer Behrends
68b7779bc7 Fixes various issues with shallow copying.
* The {.shallow.} pragma is now properly respected for objects and
  tuples that are not handled by genGenericAsgn(). Mirroring the
  decision in generic assignments, whether an assignment is shallow
  depends on the destination of the assignment, but not the source.
* String literals and complex inline constants are now properly assigned
  a location kind of locData.
* Assignments from a locData source will now force deep copying to
  occur, even if shallowCopy or {.shallow.} is being used. This
  avoids potential crashes from `shallowCopy s, "xxx"` or from
  `shallowCopy t, ("a", "b")`.
2013-12-01 19:15:43 +01:00
Araq
5dcfa97fb9 fixes #696 2013-12-01 17:02:56 +01:00
Araq
b3d759ca6d fixes #681 2013-11-30 03:15:14 +01:00
Araq
2dcbc6493a fixes #686 2013-11-29 20:42:12 +01:00
Araq
d0f7db0828 always call the linker; fixes #660 2013-11-19 15:41:20 +01:00
Araq
cd1f96d421 fixes #663 2013-11-19 15:11:44 +01:00
Andreas Rumpf
fb810e25c4 Merge pull request #680 from Varriount/core/fix-generic-crashes
Prevent lambdas from crashing if given implicit generic parameters.
2013-11-19 02:34:22 -08:00
Clay Sweetser
f279d465d0 Prevent lambdas from crashing if given implicit generic parameters.
Fixes issues #599 and #641 (and possibly other generic-related issues)
2013-11-18 17:26:53 -05:00
Zahary Karadjov
a068aaed3c simple unit test and better documentation for the user defined type classes 2013-11-17 22:50:26 +02:00
Zahary Karadjov
4cea15d274 improvements for the is operator; implemented the type lifting rule in user-defined type classes 2013-11-17 16:28:42 +02:00
Zahary Karadjov
31dd66acbf support for multiple test variables and var qualifiers in user-defined type classes 2013-11-13 02:24:08 +02:00
Andreas Rumpf
528f972d17 Merge pull request #631 from mflamer/master
LockFree Hash Table 0.1
2013-10-31 13:43:19 -07:00
Mark Flamer
f8206cb357 better better fix for Issue #629 Recursive generic types not working 2013-10-30 16:09:00 -07:00
Mark Flamer
4330c986db better fix for Issue #629 Recursive generic types not working 2013-10-29 20:48:40 -07:00
Mark Flamer
9df232911c fix for Issue #629 Recursive generic types not working 2013-10-25 19:04:14 -07:00
Simon Hafner
a352109ade Merge pull request #630 from mflamer/master
remove whitespace
2013-10-22 07:24:35 -07:00
Mark Flamer
b27aae4bf9 more whitespace removal 2013-10-21 21:36:53 -07:00
Mark Flamer
129e72de70 remove extra white space 2013-10-21 21:33:34 -07:00
Andreas Rumpf
a74a93d885 Merge pull request #628 from mflamer/master
fix for Issue #626 - Distinct and generics not working together
2013-10-21 15:37:45 -07:00
Mark Flamer
01e43fbe83 fix for Issue #626 - Distinct and generics not working together 2013-10-21 11:43:41 -07:00
Araq
98defd5a56 fixes #616 2013-10-10 00:55:54 +02:00
Araq
f9861e1fab cooler quote for c2nim 2013-10-10 00:45:15 +02:00