Araq
1392049aea
Merge branch 'master' of github.com:Araq/Nimrod
2011-11-20 16:13:21 +01:00
Araq
72651de710
bugfix: 'when' sections in generic objects now work, so TThread[void] compiles
2011-11-20 16:13:03 +01:00
Dominik Picheta
9e06495261
Fixed test suite on windows
2011-11-19 22:44:02 +00:00
Araq
d0772feb08
fixed some tests
2011-11-19 12:23:03 +01:00
Araq
62aa8bed3b
tester: threading tests added
2011-11-19 02:05:16 +01:00
Araq
a497b4d1cf
bugfix: fixed memory leaks in osproc module
2011-11-18 22:14:32 +01:00
Araq
c9b67f724d
new osproc implementation may work with mac os x
2011-11-18 19:08:07 +01:00
Araq
ecd3c80e7e
tester compiles in taint mode again
2011-11-18 00:40:30 +01:00
Araq
61792dc7d6
cgen: no type canon for integral types; osproc use posix_spawn instead of fork&exec
2011-11-18 00:29:56 +01:00
Araq
b05418a431
Merge branch 'master' of github.com:Araq/Nimrod
2011-11-15 23:04:24 +01:00
Araq
7819b84475
bugfixes: objects still invalid for constants; fixed a typo concerning 'high' in eval context
2011-11-15 23:03:14 +01:00
dom96
0698a3cafa
Added new features to the ftpclient module.
2011-11-15 19:56:02 +00:00
Araq
5f018a5046
new FTPClient module compiles in taint mode
2011-11-15 01:17:30 +01:00
Araq
395b05f911
tester uses same layout as nimbuild
2011-11-12 12:17:44 +01:00
Araq
40fa4bb52d
better streams implemenation; fixes #63
2011-11-12 02:10:07 +01:00
Zahary Karadjov
da4076e0b7
when running unit tests, the tester will print only failures using colorless output (this should be better for nimbuild)
2011-11-10 04:39:46 +02:00
Zahary Karadjov
489340658e
Added system.program_results for controlling the exit code of the program under normal circumstances
...
Implemented operators like +=, -=, etc for ordinals, floats and string
Programs using the UnitTest module will now report the number of failed tests as the exit code of test runs (0 for successful run)
2011-11-10 04:10:03 +02:00
Araq
8c03d96c6a
bugfixes for the testsuite
2011-11-08 01:57:23 +01:00
Araq
25e813b5d0
bugfixes for the tester; the tester now supports running of single tests
2011-11-08 01:29:29 +01:00
Araq
0b4d5e45b9
tester checks exitcode; osproc additions; DLL fixes; taint mode fixes
2011-11-07 23:25:34 +01:00
Araq
0ce9d49601
better exception behavior for os.removeFile and os.removeDir
2011-11-06 01:59:13 +01:00
Araq
dc08a033d9
memfiles now uses winlean; changed the interface to raise EOS
2011-11-05 12:16:49 +01:00
Zahary Karadjov
4a436120bd
memory-mapped files for posix and windows
2011-11-04 03:49:55 +02:00
dom96
264de4537e
Added ftpclient module. Fixed docs in sockets module. Added dll tests to test suite.
2011-11-04 00:22:04 +00:00
Araq
d819350145
bugfix: new GCC version requires -ldl to come after object files
2011-11-03 20:17:46 +01:00
Araq
1f6725e59e
small bugfixes to make more tests green
2011-11-02 02:28:18 +01:00
dom96
e1a82987af
Fixed the tester. Some fixes and additions for the JS backend.
2011-10-31 15:39:01 +00:00
dom96
f5616bcb0b
Fixed issue with some functions in the sockets module not reporting the correct error message. Added more disconnection cases in the irc module, also added a message limiting system.
2011-10-30 18:25:33 +00:00
Araq
9fb36bd20c
compilation cache: mostly working; generics not yet
2011-10-25 15:26:36 +02:00
Araq
dce8d3d1ab
rod files: next trivial examples working
2011-10-22 22:49:51 +02:00
Araq
235bd1c474
preparations for proper memmap'ed files
2011-10-22 11:08:52 +02:00
Araq
c138cc36b4
new syntactic construct: a{i}
2011-10-08 02:14:42 +02:00
Araq
e956abbadd
slurp uses path; unidecode is improved and threadsafe
2011-10-08 01:17:06 +02:00
Zahary Karadjov
4a444bf6db
*Pimped up* the test runner with colorful output
...
Added: terminal.styledEcho macro
2011-10-07 17:10:04 +03:00
Zahary Karadjov
e3deb5b502
Cleaned up the circular dependecies and remaining issues
...
Changed: The []= operator for strings and sequences is now capable of splicing
2011-10-07 17:10:04 +03:00
Zahary Karadjov
22546c44d1
Basic unit testing facilities (suites, fixtures, cases)
...
Added: PNimrodNode.lineinfo for better error messages from macros
Added: seq.splice
For easier use from templates and macros, except stament now supports
the list of exception types to be supplied in nkBraket node (array literal).
2011-10-07 17:07:18 +03:00
Araq
42516c0086
code generator supports constant sequences; more consistent compile time evaluation
2011-10-07 09:02:08 +02:00
Araq
7c34357856
bugfix: $ escaping in interpolatedFragments
2011-09-26 07:45:33 +02:00
Araq
14968fba46
bugfix: internal error in evalFieldAccess; parseutils.interpolatedFragments optimized; tstringinterp.nim now works
2011-09-26 00:24:06 +02:00
Araq
0f37d0e1f2
sockets.recv optimizations; stdlib now supports taint mode
2011-09-24 20:22:53 +02:00
Araq
485c371942
renamed optional to discardable
2011-09-24 19:18:08 +02:00
Araq
98e5beb936
got rid of akPureObject
2011-09-24 10:57:35 +02:00
Araq
3824b6ea5f
Merge branch 'master' of git@github.com:Araq/Nimrod
2011-09-24 00:46:54 +02:00
Araq
6023e994fb
beginning of a taint mode; type system enhancements
2011-09-24 00:46:41 +02:00
dom96
6deda5a973
Fixed string concatenation and other bugs in the JS backend. Fixed a small bug in the IRC module.
2011-09-23 21:43:24 +01:00
Araq
2359b8b107
fixed some newly introduced bugs
2011-09-21 00:54:13 +02:00
Zahary Karadjov
9acfc43119
using statement (ala C#) implemented as macro (added as test).
...
simplified the usage of the interpolatedFragments iterator.
2011-09-20 14:13:45 +03:00
Zahary Karadjov
dbcca9b3b9
Moved the parseAST magics to evals.nim
...
Added string interpolation helper routines in parserutils
Added a proof-of-concept string interpolation user-land macros (currently, only as a test case):
the interpolated expression could either be transformed to
concat("literal string ", $(interpolated), " end") or
"literal string $1 end" % [$(interpolated)]
Added a very initial definition of Optional[T] generic type
A new overload of ParseIdent was added in hope to get around the fact that the
old one doesn't work correctly in macros, but the problem persists.
2011-09-20 14:13:45 +03:00
Zahary Karadjov
9b95ca407d
Some very small steps towards an uuid generation module.
...
I did some basic research on cross-platform UUID generation and didn't want to lose any information, so this code only represents what I learned (uuidMacTime should work tho).
2011-09-20 14:13:45 +03:00
Araq
daa2c8732d
Merge branch 'master' of github.com:Araq/Nimrod
2011-09-20 00:57:06 +02:00