From fe5df368c18c79ee76fb63cb64121e1f9c3946bc Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 11 Jul 2011 21:07:31 +0200 Subject: [PATCH] 0.8.12 bugfix: some files not in download package --- compiler/c2nim/cparse.nim | 2 +- compiler/nimrod.ini | 1 + doc/theindex.txt | 38 +++++++++++++++++++------------------- install.sh | 15 +++++++++++++++ install.txt | 22 +++++++++++++++++++--- web/index.txt | 3 --- web/news.txt | 21 ++++++++++++++++++++- 7 files changed, 75 insertions(+), 27 deletions(-) diff --git a/compiler/c2nim/cparse.nim b/compiler/c2nim/cparse.nim index 64dd340cf8..438d3755f2 100755 --- a/compiler/c2nim/cparse.nim +++ b/compiler/c2nim/cparse.nim @@ -275,7 +275,7 @@ proc mangleRules(s: string, p: TParser): string = block prefixes: for prefix in items(p.options.prefixes): if s.startsWith(prefix): - result = s.copy(prefix.len) + result = s.substr(prefix.len) break prefixes result = s block suffixes: diff --git a/compiler/nimrod.ini b/compiler/nimrod.ini index 3cca80b51a..4717901117 100755 --- a/compiler/nimrod.ini +++ b/compiler/nimrod.ini @@ -61,6 +61,7 @@ Files: "lib/*.cfg" Files: "lib/system/*.nim" Files: "lib/core/*.nim" Files: "lib/pure/*.nim" +Files: "lib/pure/collections/*.nim" Files: "lib/impure/*.nim" Files: "lib/wrappers/*.nim" diff --git a/doc/theindex.txt b/doc/theindex.txt index 85c5da5cf1..9a5dde744d 100755 --- a/doc/theindex.txt +++ b/doc/theindex.txt @@ -309,9 +309,7 @@ Index `pegs.html#114 `_ `[]`:idx: - * `typeinfo.html#111 `_ - * `typeinfo.html#119 `_ - * `typeinfo.html#120 `_ + `ropes.html#115 `_ `[]`:idx: * `tables.html#106 `_ @@ -319,7 +317,7 @@ Index * `tables.html#131 `_ `[]`:idx: - `macros.html#112 `_ + `xmltree.html#114 `_ `[]`:idx: * `graphics.html#116 `_ @@ -332,6 +330,9 @@ Index * `json.html#130 `_ * `json.html#131 `_ + `[]`:idx: + `macros.html#112 `_ + `[]`:idx: * `system.html#579 `_ * `system.html#581 `_ @@ -339,25 +340,27 @@ Index * `system.html#585 `_ `[]`:idx: - `xmltree.html#114 `_ - - `[]`:idx: - `ropes.html#115 `_ + * `typeinfo.html#111 `_ + * `typeinfo.html#119 `_ + * `typeinfo.html#120 `_ `[]=`:idx: `json.html#135 `_ `[]=`:idx: - `strtabs.html#109 `_ + * `typeinfo.html#112 `_ + * `typeinfo.html#118 `_ + * `typeinfo.html#121 `_ `[]=`:idx: * `graphics.html#118 `_ * `graphics.html#119 `_ `[]=`:idx: - * `typeinfo.html#112 `_ - * `typeinfo.html#118 `_ - * `typeinfo.html#121 `_ + * `system.html#580 `_ + * `system.html#582 `_ + * `system.html#584 `_ + * `system.html#586 `_ `[]=`:idx: * `tables.html#108 `_ @@ -368,10 +371,7 @@ Index `macros.html#113 `_ `[]=`:idx: - * `system.html#580 `_ - * `system.html#582 `_ - * `system.html#584 `_ - * `system.html#586 `_ + `strtabs.html#109 `_ `[ESC]`:idx: `manual.html#134 `_ @@ -1428,12 +1428,12 @@ Index * `system.html#396 `_ * `system.html#397 `_ - `CompileTime`:idx: - `system.html#387 `_ - `compileTime`:idx: `manual.html#244 `_ + `CompileTime`:idx: + `system.html#387 `_ + `complex statements`:idx: `manual.html#191 `_ diff --git a/install.sh b/install.sh index 6cf55dc08a..1fa9a16975 100755 --- a/install.sh +++ b/install.sh @@ -54,6 +54,7 @@ if [ $# -eq 1 ] ; then mkdir -p $libdir/system || exit 1 mkdir -p $libdir/core || exit 1 mkdir -p $libdir/pure || exit 1 + mkdir -p $libdir/pure/collections || exit 1 mkdir -p $libdir/impure || exit 1 mkdir -p $libdir/wrappers || exit 1 mkdir -p $libdir/wrappers/cairo || exit 1 @@ -157,6 +158,8 @@ if [ $# -eq 1 ] ; then chmod 644 $docdir/encodings.html cp doc/endb.html $docdir/endb.html || exit 1 chmod 644 $docdir/endb.html + cp doc/filters.html $docdir/filters.html || exit 1 + chmod 644 $docdir/filters.html cp doc/graphics.html $docdir/graphics.html || exit 1 chmod 644 $docdir/graphics.html cp doc/hashes.html $docdir/hashes.html || exit 1 @@ -217,6 +220,8 @@ if [ $# -eq 1 ] ; then chmod 644 $docdir/queues.html cp doc/rdstdin.html $docdir/rdstdin.html || exit 1 chmod 644 $docdir/rdstdin.html + cp doc/re.html $docdir/re.html || exit 1 + chmod 644 $docdir/re.html cp doc/redis.html $docdir/redis.html || exit 1 chmod 644 $docdir/redis.html cp doc/ropes.html $docdir/ropes.html || exit 1 @@ -451,6 +456,16 @@ if [ $# -eq 1 ] ; then chmod 644 $libdir/pure/xmlparser.nim cp lib/pure/xmltree.nim $libdir/pure/xmltree.nim || exit 1 chmod 644 $libdir/pure/xmltree.nim + cp lib/pure/collections/intsets.nim $libdir/pure/collections/intsets.nim || exit 1 + chmod 644 $libdir/pure/collections/intsets.nim + cp lib/pure/collections/lists.nim $libdir/pure/collections/lists.nim || exit 1 + chmod 644 $libdir/pure/collections/lists.nim + cp lib/pure/collections/queues.nim $libdir/pure/collections/queues.nim || exit 1 + chmod 644 $libdir/pure/collections/queues.nim + cp lib/pure/collections/sets.nim $libdir/pure/collections/sets.nim || exit 1 + chmod 644 $libdir/pure/collections/sets.nim + cp lib/pure/collections/tables.nim $libdir/pure/collections/tables.nim || exit 1 + chmod 644 $libdir/pure/collections/tables.nim cp lib/impure/db_mysql.nim $libdir/impure/db_mysql.nim || exit 1 chmod 644 $libdir/impure/db_mysql.nim cp lib/impure/db_postgres.nim $libdir/impure/db_postgres.nim || exit 1 diff --git a/install.txt b/install.txt index 345a6846c6..09dd5ae78a 100755 --- a/install.txt +++ b/install.txt @@ -13,12 +13,28 @@ To get the source code you need either of these: * git: ``git clone git://github.com/Araq/Nimrod.git`` After downloading the source (and extracting it), you need to -extract ``build/csources.zip`` and then you can bootstrap with: +extract ``build/csources.zip``: -* ``./build.sh`` or ``build.bat`` (Windows) -* ``nimrod c koch`` +* ``cd build`` +* ``unzip csources.zip`` +* ``cd ..`` + +and then you can bootstrap with: + +On Windows +~~~~~~~~~~ + +* ``build.bat`` +* ``bin\nimrod c koch`` * ``koch boot -d:release`` +On UNIX +~~~~~~~ + +* ``./build.sh`` +* ``bin/nimrod c koch`` +* ``./koch boot -d:release`` + Installation on Linux/UNIX -------------------------- diff --git a/web/index.txt b/web/index.txt index 8f1209f525..9e39f5dd31 100755 --- a/web/index.txt +++ b/web/index.txt @@ -102,9 +102,6 @@ Nimrod plays nice with others Roadmap to 1.0 ============== -Version 0.8.x - * threading - Version 0.9.0 * closures and anonymous procs * recursive iterators/coroutines diff --git a/web/news.txt b/web/news.txt index 95a209151b..062b171a15 100755 --- a/web/news.txt +++ b/web/news.txt @@ -2,11 +2,30 @@ News ==== +2011-XX-XX Version 0.X.XX released +================================== + +Version 0.X.XX has been released! Get it `here `_. + +Bugfixes +-------- + +Changes affecting backwards compatibility +----------------------------------------- + +Language Additions +------------------ + +Compiler Additions +------------------ + +Library Additions +----------------- + 2011-07-10 Version 0.8.12 released ================================== -Version 0.8.12 has been released! Get it `here `_. Bugfixes --------