Commit Graph

5065 Commits

Author SHA1 Message Date
Charles Blake
2cc5bc0db3 Merge ../Nim into devel 2015-02-12 05:18:10 -05:00
Andreas Rumpf
4f00ae5a5a Merge pull request #2108 from oderwat/patch-1
Fixing dylib name for OSX
2015-02-12 10:02:53 +01:00
Andreas Rumpf
f7195becac Merge pull request #2053 from reactormonk/message-for-koch-temp
report how to create a compiler stacktrace #1280
2015-02-12 09:40:31 +01:00
Hans Raaf
ceffdebebb Corrected warnings about deprecated names
I got warning about deprecated names here. I also know that other names probably need to change (T/P prefixes) but I am unsure about the exact rules. I may do that later if you like.
2015-02-11 21:38:55 +01:00
Hans Raaf
743ad639d4 Fixing dylib name for OSX
I don't know if the (15|16...) is supposed to work on OSX. I have "libmysqlclient.18.dylib" in my lib directory and get "could not load: libmysqlclient.(15|16|17[18).dylib" on execution. After removing the pattern I can run my little example program and it works as "libmysqlclient.dylib" is a softlink to the current version anyway.
2015-02-11 21:38:55 +01:00
Charles Blake
92607dc474 Merge ../Nim into devel 2015-02-11 13:25:35 -05:00
Andreas Rumpf
a508055687 Merge pull request #2078 from c-blake/devel
Add hcode.  Re-factor rawGet.  Fix infinite loop.
2015-02-11 17:44:13 +01:00
Araq
4ce3c77031 increase limit for 64bit systems 2015-02-10 22:23:38 +01:00
Charles Blake
7a64bb1232 Merge ../Nim into devel 2015-02-10 14:40:46 -05:00
Araq
0284e8d11c fixes #2070 2015-02-10 20:19:48 +01:00
Araq
c2da0e9b3d cleanup index generation 2015-02-10 20:19:48 +01:00
Araq
eec18896b7 cleaned up GC tests; fixes object variant re-assign bug 2015-02-10 20:19:47 +01:00
Araq
865d341b32 unsigned array indexes work better; minor cleanups 2015-02-10 20:19:46 +01:00
Araq
e371bb3e26 fixes #1131 2015-02-10 20:19:46 +01:00
Araq
247af96b00 cleaned up some tests 2015-02-10 20:19:45 +01:00
Araq
3a8f7d505b temptyseqs works again 2015-02-10 20:19:45 +01:00
Araq
683b82a2ec fixes #2070 2015-02-10 20:19:44 +01:00
Charles Blake
cc8dffb559 Merge /home/cb/pkg/nim/Nim into devel 2015-02-10 10:18:02 -05:00
Dominik Picheta
03019849fc Async await try statement fixes. 2015-02-09 23:00:07 +00:00
Araq
703633bf0c stop after first failing C compilation for --parallelBuild:1 2015-02-09 22:29:20 +01:00
Charles Blake
41794ccd5b Merge Nim into devel 2015-02-09 09:57:39 -05:00
Andreas Rumpf
629bbf5ebd Merge pull request #2087 from flaviut/patch-1
Clean up build icons
2015-02-09 15:18:45 +01:00
Varriount
af23312f79 Merge pull request #2059 from def-/getch
Getch
2015-02-09 02:37:36 -05:00
Araq
ecd0dea091 tables work in 'const' sections; echo supports 'nil' strings; minor cleanups 2015-02-09 00:08:55 +01:00
Andreas Rumpf
9431b734b4 Merge pull request #2093 from reactormonk/json-test-fix
apparently the json spacing changed
2015-02-08 21:08:08 +01:00
Simon Hafner
6f1152c66b apparently the json spacing changed 2015-02-08 11:01:09 -06:00
Araq
008b0f19bb 'nimsuggest' compiles again 2015-02-08 15:47:55 +01:00
Araq
34b4e9fc96 fixes #2004 2015-02-08 15:43:50 +01:00
Araq
ada0f14711 fixes #2073 2015-02-08 14:15:02 +01:00
Araq
c91ca82a43 fixes #2073; language spec change: arrow like operators are not right associative anymore 2015-02-08 13:38:06 +01:00
Araq
52e297c4e1 fixes #1956 2015-02-08 13:38:05 +01:00
Araq
736a04c66b better error message 2015-02-08 13:38:04 +01:00
Araq
f7f87a7709 merged #2083 manually 2015-02-08 13:38:04 +01:00
Flaviu Tamas
52d3a82396 Clean up build icons 2015-02-07 16:06:50 -05:00
reactormonk
5f54ccf0bd Merge pull request #2085 from flaviut/clarify-message
Clarify "instantiation from here"
2015-02-08 00:05:36 +05:00
Flaviu Tamas
7ca3353616 Clarify "instantiation from here"
After ~1 year of Nim, I finally realized it doesn't refer to dynamic memory
2015-02-07 13:14:53 -05:00
Charles Blake
1f3ce26421 Address Andreas' complaint about code duplication. 2015-02-07 13:13:03 -05:00
Charles Blake
11e7c4960e Merge /home/cb/pkg/nim/Nim into devel
pull from master
2015-02-07 13:11:27 -05:00
Andreas Rumpf
b25346719d Merge pull request #1869 from def-/json-stuff
Json stuff
2015-02-07 18:34:35 +01:00
Andreas Rumpf
28af09a446 Merge pull request #2062 from flaviut/expose-exception-parent
Expose exception parent
2015-02-07 18:21:13 +01:00
Andreas Rumpf
5f2382d093 Merge pull request #2060 from def-/rdstdin-pass
Rdstdin pass
2015-02-07 18:20:39 +01:00
Andreas Rumpf
31074e0015 Merge pull request #2058 from def-/nimrod-cfgs
Rename *.nimrod.cfg to *.nim.cfg
2015-02-07 18:11:00 +01:00
Charles Blake
42f8f1cd1f Fix unnecessarily slow set building from openArray.
The estimation of the initialSize as simply array len + 10 was too small for
for all but the smallest sets.  It would not elide/skip one final enlarge().
That last one is actually always the most expensive enlarge().  Indeed, in a
series where one to start from tiny and build up the table..that last one is
about 50% of all the enlarging time in general.  So, this simple and reasonable
optimization (compared to just starting at 64) was only helping about half as
much as it could.

Introduce a rightSize() proc to be the inverse to mustRehash().  Export it
to clients since pre-sizing is externally useful in set construction and the
current mustRehash rules are opaque and beyond the control of clients.

Also add test module logic to check that rightSize() and mustRehash() are
inverses in the appropriate sense..not really in a block/assertion throwing
unit test since this is a peformance nice-to-have issue rather than about
basic correctness.  (Also, fix a too vs. two typo in doc comment.)
2015-02-07 09:37:17 -05:00
Charles Blake
8e685585a6 Merge /home/cb/pkg/nim/Nim into devel 2015-02-07 09:32:27 -05:00
Araq
dc85c2498b nimsuggest knows how to deal with files not belonging to the project 2015-02-07 13:15:30 +01:00
Araq
0b5c42f405 configuration system supports %= to access environment variables 2015-02-07 12:55:23 +01:00
Araq
1314e91ef5 fixes c++ codegen regression 2015-02-07 10:48:09 +01:00
Araq
d933fde40d yet another C++ bugfix 2015-02-07 10:48:08 +01:00
Araq
74c6c8c903 compiler distinguishes between 2 different 'var' types for C++ interop; code cleanups 2015-02-07 10:48:07 +01:00
Araq
e84834db79 lots of C++ codegen improvements 2015-02-07 10:48:07 +01:00