diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/assets/index.js | 20 | ||||
-rw-r--r-- | web/assets/style.css | 99 | ||||
-rw-r--r-- | web/assets/zeo/banner.jpg | bin | 0 -> 233810 bytes | |||
-rw-r--r-- | web/community.txt | 29 | ||||
-rw-r--r-- | web/documentation.txt | 10 | ||||
-rw-r--r-- | web/download.txt | 10 | ||||
-rw-r--r-- | web/index.txt | 2 | ||||
-rw-r--r-- | web/learn.txt | 6 | ||||
-rw-r--r-- | web/news.txt | 403 | ||||
-rw-r--r-- | web/question.txt | 31 | ||||
-rw-r--r-- | web/snippets/snippet1.nim | 4 | ||||
-rw-r--r-- | web/support.txt | 2 | ||||
-rw-r--r-- | web/ticker.txt | 15 | ||||
-rw-r--r-- | web/website.ini | 34 |
14 files changed, 552 insertions, 113 deletions
diff --git a/web/assets/index.js b/web/assets/index.js index f10dc603d..376e606c5 100644 --- a/web/assets/index.js +++ b/web/assets/index.js @@ -4,12 +4,22 @@ var timer; var prevIndex = 0; var slideCount = 2; +function modifyActive(el, add) { + var element = document.getElementById(el); + if (add) { + element.className = element.className + " active"; + } + else { + element.className = element.className.replace("active", ""); + } +} + function setSlideShow(index, short) { if (index >= slideCount) index = 0; - document.getElementById("slide"+prevIndex).className = ""; - document.getElementById("slide"+index).className = "active"; - document.getElementById("slideControl"+prevIndex).className = ""; - document.getElementById("slideControl"+index).className = "active"; + modifyActive("slide" + prevIndex, false); + modifyActive("slide" + index, true); + modifyActive("slideControl" + prevIndex, false); + modifyActive("slideControl" + index, true); prevIndex = index; startTimer(short ? 8000 : 32000); } @@ -31,4 +41,4 @@ window.onload = function() { slideshow.onmouseleave = slideshow_exit; slideCount = slideshow.children.length; startTimer(8000); -}; \ No newline at end of file +}; diff --git a/web/assets/style.css b/web/assets/style.css index 17541a118..15886ae2e 100644 --- a/web/assets/style.css +++ b/web/assets/style.css @@ -8,7 +8,7 @@ body { min-width:1030px; margin:0; font:13pt "arial"; - background:#152534 url("images/bg.png") no-repeat center top; + background:#152534 url("images/bg.png") no-repeat center top; color:rgba(0,0,0,.8); } pre { @@ -48,7 +48,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #head { height:100px; background:url("images/head.png") repeat-x bottom; } #head.docs { margin-left:280px; background:rgba(0,0,0,.25) url("images/head-fade.png") no-repeat right top; } #head > div { position:relative } - + #head-logo { position:absolute; left:-390px; @@ -59,7 +59,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } background:url("images/logo.png") no-repeat; } #head.docs #head-logo { left:-381px; position:fixed; } #head.forum #head-logo { left:-370px; } - + #head-logo-link { position:absolute; display:block; @@ -69,7 +69,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } height:85px; } #head.docs #head-logo-link { left:-260px; } #head.forum #head-logo-link { left:30px; } - + #head-links { position:absolute; right:0; bottom:13px; } #head.docs #head-links, #head.forum #head-links { right:20px; } @@ -96,7 +96,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #neck { z-index:0; height:40px; } #neck.home { height:370px; } #neck > div { position:relative } - + #glow-arrow { position:absolute; top:-9px; @@ -105,7 +105,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } height:48px; background:url("images/glow-arrow.png") no-repeat right; } #glow-arrow.docs { left:280px; } - + #glow-line-vert { position:fixed; top:100px; @@ -113,7 +113,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } width:3px; height:844px; background:url("images/glow-line-vert.png") no-repeat; } - + #slideshow { position:absolute; top:10px; left:10px; width:700px; height: 1000px; } #slideshow > div { position:absolute; @@ -129,22 +129,27 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #slideshow-nav > div { display:inline-block; margin:5px 0; width:23px; height:23px; background:url("images/slideshow-nav.png") no-repeat; } #slideshow-nav > div:hover { background-image:url("images/slideshow-nav_active.png"); opacity:0.5; } #slideshow-nav > div.active { background-image:url("images/slideshow-nav_active.png"); opacity:1; } - - #slide0 { float:left; width:680px; font:10pt monospace; } - #slide0 > div:first-child { margin:0 40px 0 0; } - #slide0 h2 { margin:0 0 5px 0; color:rgba(162,198,223,.78); } - #slide0 .desc { margin:0 0 5px 0; color:rgba(162,198,223,.78); font:13pt "arial"; } - - #slide1 > div { float:left; width:320px; font:10pt monospace; } - #slide1 > div:first-child { margin:0 40px 0 0; } - #slide1 h2 { margin:0 0 5px 0; color:rgba(162,198,223,.78); } - - #slide2 > div { float:left; width:320px; font:10pt monospace; } - #slide2 > div:first-child { margin:0 40px 0 0; } - #slide2 h2 { margin:0 0 5px 0; color:rgba(162,198,223,.78); } - - #slide2 .desc { margin:0 0 5px 0; color:rgba(162,198,223,.78); font:13pt "arial"; } - + + .zeoslide img { + box-shadow: 1px 2px 16px rgba(28, 180, 236, 0.4); + width: 705px; + } + + .codeslide1 { float:left; width:680px; font:10pt monospace; } + .codeslide1 > div:first-child { margin:0 40px 0 0; } + .codeslide1 h2 { margin:0 0 5px 0; color:rgba(162,198,223,.78); } + .codeslide1 .desc { margin:0 0 5px 0; color:rgba(162,198,223,.78); font:13pt "arial"; } + + .codeslide2 > div { float:left; width:320px; font:10pt monospace; } + .codeslide2 > div:first-child { margin:0 40px 0 0; } + .codeslide2 h2 { margin:0 0 5px 0; color:rgba(162,198,223,.78); } + + .codeslide3 > div { float:left; width:320px; font:10pt monospace; } + .codeslide3 > div:first-child { margin:0 40px 0 0; } + .codeslide3 h2 { margin:0 0 5px 0; color:rgba(162,198,223,.78); } + + .codeslide3 .desc { margin:0 0 5px 0; color:rgba(162,198,223,.78); font:13pt "arial"; } + /* back when slide1 was the quote: #slide1 { margin-top:50px; } #slide1 > p { @@ -198,13 +203,13 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #sidebar-news > a:hover { color:rgba(255,255,255,1); } #sidebar-news > a.blue { color:rgba(28,180,236,.5); font-weight:bold; } #sidebar-news > a.blue:hover { color:#fff; } - + #link_forum { background:url("images/more-links_forum.png") no-repeat left center; } #link_github { background:url("images/more-links_github.png") no-repeat left center; } #link_editors { background:url("images/more-links_editors.png") no-repeat left center; } #link_aporia { background:url("images/more-links_editors.png") no-repeat left center; } #link_nimbuild { background:url("images/more-links_nimbuild.png") no-repeat left center; } - + #overview-bg { position:fixed; top:0; @@ -257,7 +262,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #body { z-index:1; position:relative; background:rgba(220,231,248,0.8); } #body.docs { margin:0 40px 20px 320px; } #body.forum { margin:0 40px 20px 40px; } - + #body-border { position:absolute; top:-25px; @@ -265,7 +270,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } right:0; height:35px; background:rgba(0,0,0,.25); } - + #body-border-left { position:absolute; left:-25px; @@ -273,7 +278,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } bottom:-25px; width:35px; background:rgba(0,0,0,.25); } - + #body-border-right { position:absolute; right:-25px; @@ -281,7 +286,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } bottom:-25px; width:35px; background:rgba(0,0,0,.25); } - + #body-border-bottom { position:absolute; left:10px; @@ -289,10 +294,10 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } bottom:-25px; height:35px; background:rgba(0,0,0,.25); } - + #body.docs #body-border, #body.forum #body-border { left:10px; right:10px; } - + #glow-line { position:absolute; top:-27px; @@ -307,7 +312,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } right:100px; height:3px; background:url("images/glow-line2.png") no-repeat right; } - + #content { padding:40px 0; line-height:150%; } #content.page { width:680px; min-height:800px; padding-left:20px; } #content h1 { font-size:20pt; letter-spacing:1px; color:rgba(0,0,0,.75); } @@ -317,7 +322,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #content a:hover { text-decoration:underline; } #content ul { padding-left:20px; } #content li { margin-bottom:10px; text-align:justify; } - + #body.docs #content > div { margin-top:40px; padding-top:40px; border-top:1px dashed rgba(0,0,0,.25); } #body.docs #content > div:first-child { margin-top:0; padding-top:0; border:none; } #body.docs #content > div > h3 { @@ -348,16 +353,16 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #body.docs #content > #iters-wrap > div > div.overload-tail { margin-top:0; border-top:1px dashed rgba(255,134,53,.5); } #body.docs #content > #iters-wrap > div > div.overload { margin-top:0; margin-bottom:0; border-top:1px dashed rgba(255,134,53,.5); } #body.docs #content > div > div > p { margin:20px 10px 10px 10px; } - + #body.docs #content > div > div > div > div { float:left; } #body.docs #content > div > div > div > div.head { width:60%; } #body.docs #content > div > div > div > div.data { width:40%; } - + #body.docs #content > h1 > .symbol { padding:0 8px; border-radius:5px; background:rgba(206,218,233,.4); } - + #body.docs #content > div > div > div > div.head > .sign { margin:0 10px 5px 10px; padding:10px 10px 0 10px; @@ -378,7 +383,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } padding:0 5px; border-radius:3px; background:rgba(255,134,53,.3); } - + #body.docs #content > div > div > div > div.data > div { margin:0 20px 5px 10px; padding:10px 0 0 10px; @@ -390,7 +395,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #body.docs #content > div > div > div > div.data > ul .symbol { padding:0 5px; border-radius:3px; background:rgba(23,192,23,.25); } #body.docs #content > div > div > div > div.data > ul.pragmas .symbol { background:rgba(106,50,145,.25); } #body.docs #content > div > div > div > div.data > ul > li { margin:0; padding:0 10px; list-style:none; } - + #body.docs #content pre { overflow:auto; margin:10px 0; @@ -400,7 +405,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } line-height:14pt; background:rgba(0,0,0,.75); border-left:8px solid rgba(0,0,0,.3); } - + #docs-sort { float:right; font-size:75%; } #docs-sort > a { cursor:default; @@ -412,7 +417,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } box-shadow:inset 0 1px 8px rgba(0,0,0,.4); } #docs-sort > a:hover, #docs-sort > a.active { color:#000; background:rgba(0,0,0,.2); } - + #talk-heads { overflow:auto; margin:0 8px 0 8px; } #talk-heads > div { float:left; font-size:120%; font-weight:bold; } #talk-heads > .topic { width:55%; } @@ -422,7 +427,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #talk-heads > div > div { margin:0 10px 10px 10px; padding:0 10px 10px 10px; border-bottom:1px dashed rgba(0,0,0,0.4); } #talk-heads > .topic > div { margin-left:0; } #talk-heads > .author > div { margin-right:0; } - + #talk-thread > div, #talk-threads > div { position:relative; @@ -462,7 +467,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #talk-threads > div > .detail > div { width:50%; } #talk-threads > div > .detail > div:first-child > div { background:url("images/forum-views.png") no-repeat left; } #talk-threads > div > .detail > div:last-child > div { background:url("images/forum-posts.png") no-repeat left; } - + #talk-thread > div { margin:20px 0; min-height:150px; box-shadow:1px 3px 12px rgba(0,0,0,.4) } #talk-thread > div > .author > div > .avatar { margin-top:20px; } #talk-thread > div > .author > div > .avatar > img { box-shadow:0 0 12px #1cb3ec; } @@ -477,7 +482,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } line-height:14pt; background:rgba(0,0,0,.75); border-left:8px solid rgba(0,0,0,.3); } - + #talk-head, #talk-info { overflow:auto; @@ -501,10 +506,10 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #talk-head > .detail > div > div { padding-left:22px; } #talk-head > .detail > div:first-child > div { background:url("images/forum-views.png") no-repeat left; } #talk-head > .detail > div:last-child > div { background:url("images/forum-posts.png") no-repeat left; } - + #talk-nav { margin:20px 8px 0 8px; padding-top:10px; border-top:1px dashed rgba(0,0,0,0.4); text-align:center; } #talk-nav > a.active { text-decoration:underline !important; } - + .standout { padding:5px 30px; margin-bottom:20px; @@ -527,7 +532,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } .standout li:first-child { padding-top:0; border-top:none; } .standout li p { margin:0 0 10px 0 !important; line-height:130%; } .standout li p > a { font-weight:bold; } - + .forum-user-info, .forum-user-info * { cursor:help } @@ -539,7 +544,7 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } #foot.home > div { width:960px; } #foot h4 { font-size:11pt; color:rgba(255,255,255,.4); margin:40px 0 6px 0; } #foot a:hover { color:#fff; } - + #foot-links { float:left; } #foot-links > div { float:left; padding:0 40px 0 0; line-height:120%; } #foot-links a { display:block; font-size:10pt; color:rgba(255,255,255,.3); text-decoration:none; } diff --git a/web/assets/zeo/banner.jpg b/web/assets/zeo/banner.jpg new file mode 100644 index 000000000..f09b000de --- /dev/null +++ b/web/assets/zeo/banner.jpg Binary files differdiff --git a/web/community.txt b/web/community.txt index 5d9343c98..b8a6c7372 100644 --- a/web/community.txt +++ b/web/community.txt @@ -6,7 +6,7 @@ Nim's Community Forum ----- - The `Nim forum <http://forum.nim-lang.org/>`_ is the place where most + The `Nim forum <http://forum.nim-lang.org/>`_ is the place where most discussions related to the language happen. It not only includes discussions relating to the design of Nim but also allows for beginners to ask questions relating to Nim. @@ -41,17 +41,17 @@ Nim's Community .. container:: standout - Github + GitHub ------ - Nim's `source code <http://github.com/Araq/Nim>`_ is hosted on Github. - Together with the `wiki <http://github.com/Araq/Nim/wiki>`_ and - `issue tracker <http://github.com/Araq/Nim/issues>`_. + Nim's `source code <http://github.com/nim-lang/Nim>`_ is hosted on GitHub. + Together with the `wiki <http://github.com/nim-lang/Nim/wiki>`_ and + `issue tracker <http://github.com/nim-lang/Nim/issues>`_. - Github also hosts other projects relating to Nim. These projects are a part + GitHub also hosts other projects relating to Nim. These projects are a part of the `nim-lang organisation <http://github.com/nim-lang>`_. This includes the `Nimble package manager <https://github.com/nim-lang/nimble>`_ - and its `package repository <http://github.com/nim-lang/packages>`_. + and its `package repository <http://github.com/nim-lang/packages>`_. .. container:: standout @@ -76,17 +76,24 @@ Nim's Community ------------- When asking a question relating to Nim, be sure to use the - `Nim <http://stackoverflow.com/questions/tagged/nim>`_ tag in your + `Nim <http://stackoverflow.com/questions/tagged/nim>`_ tag in your question. .. container:: standout + Google+ + ------- + + The `G+ Nim community <https://plus.google.com/u/0/communities/106921341535068810587>`_ is another place where discussions related to the language happen. Read and follow various articles, posts and interesting links about Nim. + +.. container:: standout + How to help ----------- There are always many things to be done in the main - `Nim repository <https://github.com/Araq/Nim>`_, check out the - `issues <https://github.com/Araq/Nim/issues>`_ for + `Nim repository <https://github.com/nim-lang/Nim>`_, check out the + `issues <https://github.com/nim-lang/Nim/issues>`_ for things to do; pull requests are always welcome. You can also contribute to the many other projects hosted by the `nim-lang <https://github.com/nim-lang>`_ organisation on github. If you @@ -107,7 +114,7 @@ Nim's Community .. raw:: html <iframe style="border: 0; margin: 0; padding: 0;" - src="https://www.gittip.com/Araq/widget.html" + src="https://www.gittip.com/nim-lang/widget.html" width="64pt" height="22pt"></iframe> Paypal diff --git a/web/documentation.txt b/web/documentation.txt index 67f8b4070..65aba0660 100644 --- a/web/documentation.txt +++ b/web/documentation.txt @@ -14,10 +14,20 @@ Nim's Documentation - | `Language Manual <docs/manual.html>`_ | The Nim manual is a draft that will evolve into a proper specification. + - | `Nim Style Guide <docs/nep1.html>`_ + | The stylistic conventions that Nim's official projects adhere to. + - | `Compiler User Guide <docs/nimc.html>`_ | The user guide lists command line arguments, special features of the compiler, etc. + - | `NimScript <docs/nims.html>`_ + | NimScript is the upcoming new way to configure Nim. + + - | `Nim Backend Integration <docs/backends.html>`_ + | The Backend Integeration guide gives further information of how Nim can + interact with C, C++, Objective C and JavaScript. + .. container:: standout diff --git a/web/download.txt b/web/download.txt index 6acc80b53..6ffb0775f 100644 --- a/web/download.txt +++ b/web/download.txt @@ -13,8 +13,8 @@ Binaries -------- Unfortunately for now we only provide builds for Windows. -* 32 bit: `nim-0.11.2_x32.exe <download/nim-0.11.2_x32.exe>`_ -* 64 bit: `nim-0.11.2_x64.exe <download/nim-0.11.2_x64.exe>`_ +* 32 bit: `nim-0.12.0_x32.exe <download/nim-0.12.0_x32.exe>`_ +* 64 bit: `nim-0.12.0_x64.exe <download/nim-0.12.0_x64.exe>`_ Installation based on generated C code @@ -26,8 +26,8 @@ like systems. Binary packages may be provided later. Download one of these: -* `nim-0.11.2.zip (28 MB) <download/nim-0.11.2.zip>`_ -* `nim-0.11.2.tar.xz (2.6MB) <download/nim-0.11.2.tar.xz>`_ +* `nim-0.12.0.zip (28 MB) <download/nim-0.12.0.zip>`_ +* `nim-0.12.0.tar.xz (2.6MB) <download/nim-0.12.0.tar.xz>`_ Extract the file and follow these instructions: @@ -44,7 +44,7 @@ Installation from github Use the following commands to build the compiler from source. Change the branch to suit your needs:: - git clone -b master git://github.com/Araq/Nim.git + git clone -b master git://github.com/nim-lang/Nim.git cd Nim git clone -b master --depth 1 git://github.com/nim-lang/csources cd csources && sh build.sh diff --git a/web/index.txt b/web/index.txt index 95cac9316..506453423 100644 --- a/web/index.txt +++ b/web/index.txt @@ -85,5 +85,5 @@ Roadmap to 1.0 ============== Please have a look at -this `wiki page <https://github.com/Araq/Nim/wiki/Roadmap>`_ for +this `wiki page <https://github.com/nim-lang/Nim/wiki/Roadmap>`_ for an up-to-date overview. diff --git a/web/learn.txt b/web/learn.txt index bf0cc43ef..987666f8e 100644 --- a/web/learn.txt +++ b/web/learn.txt @@ -28,7 +28,7 @@ Learning Nim - | `Nim on Rosetta Code <http://rosettacode.org/wiki/Category:Nimrod>`_ | Many different Nim code examples comparable to other languages for reference. - - | `Nim for C/C++ Programmers <https://github.com/Araq/Nim/wiki/Nim-for-C-programmers>`_ + - | `Nim for C/C++ Programmers <https://github.com/nim-lang/Nim/wiki/Nim-for-C-programmers>`_ | A useful cheat-sheet for those most familiar with C/C++ languages. @@ -40,8 +40,8 @@ Learning Nim .. container:: articles - `How I Start: Nim <http://howistart.org/posts/nim/1>`_ - - `Getting Started With Nim <https://akehrer.github.io/nim/2015/01/05/getting-started-with-nim.html>`_ - - `Getting Started With Nim - Part 2 <https://akehrer.github.io/nim/2015/01/14/getting-started-with-nim-pt2.html>`_ + - `Getting Started With Nim <https://akehrer.github.io/posts/getting-started-with-nim>`_ + - `Getting Started With Nim - Part 2 <https://akehrer.github.io/posts/getting-started-with-nim-2>`_ - `What is special about Nim? <http://hookrace.net/blog/what-is-special-about-nim>`_ - `What makes Nim practical? <http://hookrace.net/blog/what-makes-nim-practical>`_ - `Learn Nim in minutes <http://learnxinyminutes.com/docs/nim>`_ diff --git a/web/news.txt b/web/news.txt index 9719fb8d7..b417892b9 100644 --- a/web/news.txt +++ b/web/news.txt @@ -2,20 +2,402 @@ News ==== -.. - 2015-05-05 Version 0.11.2 released - ================================== +2015-10-27 Version 0.12.0 released +================================== + +The Nim community of developers is proud to announce the new version of the +Nim compiler. This has been a long time coming as the last release has been +made over 5 months ago! + +This release includes some changes which affect backwards compatibility, +one major change is that now the hash table ``[]`` operators now raise a +``KeyError`` exception when the key does not exist. + +Some of the more exciting new features include: the ability to unpack tuples +in any assignment context, the introduction of `NimScript <docs/nims.html>`_, +and improvements to the type inference of lambdas. + +There are of course many many many bug fixes included with this release. +We are getting closer and closer to a 1.0 release and are hoping that only +a few 0.x releases will be necessary before we are happy to release version 1.0. + +As always you can download the latest version of Nim from the +`downloads <downloads.html>`_ page. + +For a more detailed list of changes look below. Some of the upcoming breaking +changes are also documented in this forum +`thread <http://forum.nim-lang.org/t/1708>`_. + +Changes affecting backwards compatibility +----------------------------------------- +- ``tables.[]``, ``strtabs.[]``, ``critbits.[]`` **now raise** + the ``KeyError`` **exception when the key does not exist**! Use the + new ``getOrDefault`` instead to get the old behaviour. Compile all your + code with ``-d:nimTableGet`` to get a listing of where your code + uses ``[]``! +- The ``rawsockets`` module has been renamed to ``nativesockets`` to avoid + confusion with TCP/IP raw sockets, so ``newNativeSocket`` should be used + instead of ``newRawSocket``. +- The ``miliseconds`` property of ``times.TimeInterval`` is now ``milliseconds``. + Code accessing that property is deprecated and code using ``miliseconds`` + during object initialization or as a named parameter of ``initInterval()`` + will need to be updated. +- ``std.logging`` functions no longer do formatting and semantically treat + their arguments just like ``echo`` does. Affected functions: ``log``, + ``debug``, ``info``, ``warn``, ``error``, ``fatal``. Custom subtypes of + ``Logger`` also need to be adjusted accordingly. +- Floating point numbers can now look like ``2d`` (float64) + and ``2f`` (float32) which means imports like ``import scene/2d/sprite`` + do not work anymore. Instead quotes have to be + used: ``import "scene/2d/sprite"``. The former code never was valid Nim. +- The Windows API wrapper (``windows.nim``) is now not part of the official + distribution anymore. Instead use the ``oldwinapi`` Nimble package. +- There is now a clear distinction between ``--os:standalone`` + and ``--gc:none``. So if you use ``--os:standalone`` ensure you also use + ``--gc:none``. ``--os:standalone`` without ``--gc:none`` is now a version + that doesn't depend on any OS but includes the GC. However this version + is currently untested! +- All procedures which construct a ``Socket``/``AsyncSocket`` now need to + specify the socket domain, type and protocol. The param name + ``typ: SockType`` (in ``newSocket``/``newAsyncSocket`` procs) was also + renamed to ``sockType``. The param ``af`` in the ``connect`` procs was + removed. This affects ``asyncnet``, ``asyncdispatch``, ``net``, and + ``rawsockets``. +- ``varargs[typed]`` and ``varargs[untyped]`` have been refined and now work + as expected. However ``varargs[untyped]`` is not an alias anymore for + ``varargs[expr]``. So if your code breaks for ``varargs[untyped]``, use + ``varargs[expr]`` instead. The same applies to ``varargs[typed]`` vs + ``varargs[stmt]``. +- ``sequtils.delete`` doesn't take confusing default arguments anymore. +- ``system.free`` was an error-prone alias to ``system.dealloc`` and has + been removed. +- ``macros.high`` never worked and the manual says ``high`` cannot be + overloaded, so we removed it with no deprecation cycle. +- To use the ``parallel`` statement you now have to + use the ``--experimental`` mode. +- Toplevel procs of calling convention ``closure`` never worked reliably + and are now deprecated and will be removed from the language. Instead you + have to insert type conversions + like ``(proc (a, b: int) {.closure.})(myToplevelProc)`` if necessary. +- The modules ``libffi``, ``sdl``, ``windows``, ``zipfiles``, ``libzip``, + ``zlib``, ``zzip``, ``dialogs``, ``expat``, ``graphics``, ``libcurl``, + ``sphinx`` have been moved out of the stdlib and are Nimble packages now. +- The constant fights between 32 and 64 bit DLLs on Windows have been put to + an end: The standard distribution now ships with 32 and 64 bit versions + of all the DLLs the standard library needs. This means that the following + DLLs are now split into 32 and 64 versions: + + * ``pcre.dll``: Split into ``pcre32.dll`` and ``pcre64.dll``. + * ``pdcurses.dll``: Split into ``pdcurses32.dll`` and ``pdcurses64.dll``. + * ``sqlite3.dll``: Split into ``sqlite3_32.dll`` and ``sqlite3_64.dll``. + * ``ssleay32.dll``: Split into ``ssleay32.dll`` and ``ssleay64.dll``. + * ``libeay32.dll``: Split into ``libeay32.dll`` and ``libeay64.dll``. + + Compile with ``-d:nimOldDLLs`` to make the stdlib use the old DLL names. +- Nim VM now treats objects as ``nkObjConstr`` nodes, and not ``nkPar`` nodes + as it was previously. Macros that generate ``nkPar`` nodes when object is + expected are likely to break. Macros that expect ``nkPar`` nodes to which + objects are passed are likely to break as well. +- Base methods now need to be annotated with the ``base`` pragma. This makes + multi methods less error-prone to use with the effect system. +- Nim's parser directive ``#!`` is now ``#?`` in order to produce no conflicts + with Unix's ``#!``. +- An implicit return type for an iterator is now deprecated. Use ``auto`` if + you want more type inference. +- The type ``auto`` is now a "multi-bind" metatype, so the following compiles: + + .. code-block:: nim + proc f(x, y: auto): auto = + result = $x & y + + echo f(0, "abc") +- The ``ftpclient`` module is now deprecated in favour of the + ``asyncftpclient`` module. +- In sequtils.nim renamed ``repeat`` function to ``cycle`` (concatenating + a sequence by itself the given times), and also introduced ``repeat``, + which repeats an element the given times. +- The function ``map`` is moved to sequtils.nim. The inplace ``map`` version + is renamed to ``apply``. +- The template ``mapIt`` now doesn't require the result's type parameter. + Also the inplace ``mapIt`` is renamed to ``apply``. + +Library Additions +----------------- + +- The nre module has been added, providing a better interface to PCRE than re. +- The ``expandSymlink`` proc has been added to the ``os`` module. +- The ``tailDir`` proc has been added to the ``os`` module. +- Define ``nimPinToCpu`` to make the ``threadpool`` use explicit thread + affinities. This can speed up or slow down the thread pool; it's up to you + to benchmark it. +- ``strutils.formatFloat`` and ``formatBiggestFloat`` do not depend on the C + locale anymore and now take an optional ``decimalSep = '.'`` parameter. +- Added ``unicode.lastRune``, ``unicode.graphemeLen``. + + +Compiler Additions +------------------ + +- The compiler now supports a new configuration system based on + `NimScript <docs/nims.html>`_. +- The compiler finally considers symbol binding rules in templates and + generics for overloaded ``[]``, ``[]=``, ``{}``, ``{}=`` operators + (issue `#2599 <https://github.com/nim-lang/Nim/issues/2599>`_). +- The compiler now supports a `bitsize pragma <docs/manual.html#pragmas-bitsize-pragma>`_ + for constructing bitfields. +- Added a new ``--reportConceptFailures`` switch for better debugging of + concept related type mismatches. This can also be used to debug + ``system.compiles`` failures. + + +Language Additions +------------------ + +- ``system.unsafeAddr`` can be used to access the address of a ``let`` + variable or parameter for C interoperability. Since technically this + makes parameters and ``let`` variables mutable, it is considered even more + unsafe than the ordinary ``addr`` builtin. +- Added ``macros.getImpl`` that can be used to access the implementation of + a routine or a constant. This allows for example for user-defined inlining + of function calls. +- Tuple unpacking finally works in a non-var/let context: ``(x, y) = f()`` + is allowed. Note that this doesn't declare ``x`` and ``y`` variables, for + this ``let (x, y) = f()`` still needs to be used. +- ``when nimvm`` can now be used for compiletime versions of some code + sections. Click `here <docs/manual.html#when-nimvm-statement>`_ for details. +- Usage of the type ``NimNode`` in a proc now implicitly annotates the proc + with ``.compileTime``. This means generics work much better for ``NimNode``. + + +Bugfixes +-------- +- Fixed "Compiler internal error on iterator it(T: typedesc[Base]) called with it(Child), where Child = object of Base" + (`#2662 <https://github.com/Araq/Nim/issues/2662>`_) +- Fixed "repr() misses base object field in 2nd level derived object" + (`#2749 <https://github.com/Araq/Nim/issues/2749>`_) +- Fixed "nimsuggest doesn't work more than once on the non-main file" + (`#2694 <https://github.com/Araq/Nim/issues/2694>`_) +- Fixed "JS Codegen. Passing arguments by var in certain cases leads to invalid JS." + (`#2798 <https://github.com/Araq/Nim/issues/2798>`_) +- Fixed ""check" proc in unittest.nim prevents the propagation of changes to var parameters." + (`#964 <https://github.com/Araq/Nim/issues/964>`_) +- Fixed "Excessive letters in integer literals are not an error" + (`#2523 <https://github.com/Araq/Nim/issues/2523>`_) +- Fixed "Unicode dashes as "lisp'ish" alternative to hump and snake notation" + (`#2811 <https://github.com/Araq/Nim/issues/2811>`_) +- Fixed "Bad error message when trying to construct an object incorrectly" + (`#2584 <https://github.com/Araq/Nim/issues/2584>`_) +- Fixed "Determination of GC safety of globals is broken " + (`#2854 <https://github.com/Araq/Nim/issues/2854>`_) +- Fixed "v2 gc crashes compiler" + (`#2687 <https://github.com/Araq/Nim/issues/2687>`_) +- Fixed "Compile error using object in const array" + (`#2774 <https://github.com/Araq/Nim/issues/2774>`_) +- Fixed "httpclient async requests with method httpPOST isn't sending Content-Length header" + (`#2884 <https://github.com/Araq/Nim/issues/2884>`_) +- Fixed "Streams module not working with JS backend" + (`#2148 <https://github.com/Araq/Nim/issues/2148>`_) +- Fixed "Sign of certain short constants is wrong" + (`#1179 <https://github.com/Araq/Nim/issues/1179>`_) +- Fixed "Symlinks to directories reported as symlinks to files" + (`#1985 <https://github.com/Araq/Nim/issues/1985>`_) +- Fixed "64-bit literals broken on x86" + (`#2909 <https://github.com/Araq/Nim/issues/2909>`_) +- Fixed "import broken for certain names" + (`#2904 <https://github.com/Araq/Nim/issues/2904>`_) +- Fixed "Invalid UTF-8 strings in JavaScript" + (`#2917 <https://github.com/Araq/Nim/issues/2917>`_) +- Fixed "[JS][Codegen] Initialising object doesn't create unmentioned fields." + + (`#2617 <https://github.com/Araq/Nim/issues/2617>`_) +- Fixed "Table returned from proc computed at compile time is missing keys:" + (`#2297 <https://github.com/Araq/Nim/issues/2297>`_) +- Fixed "Clarify copyright status for some files" + (`#2949 <https://github.com/Araq/Nim/issues/2949>`_) +- Fixed "math.nim: trigonometry: radians to degrees conversion" + (`#2881 <https://github.com/Araq/Nim/issues/2881>`_) +- Fixed "xoring unsigned integers yields RangeError in certain conditions" + (`#2979 <https://github.com/Araq/Nim/issues/2979>`_) +- Fixed "Directly checking equality between procs" + (`#2985 <https://github.com/Araq/Nim/issues/2985>`_) +- Fixed "Compiler crashed, but there have to be meaningful error message" + (`#2974 <https://github.com/Araq/Nim/issues/2974>`_) +- Fixed "repr is broken" + (`#2992 <https://github.com/Araq/Nim/issues/2992>`_) +- Fixed "Ipv6 devel - add IPv6 support for asyncsockets, make AF_INET6 a default" + (`#2976 <https://github.com/Araq/Nim/issues/2976>`_) +- Fixed "Compilation broken on windows" + (`#2996 <https://github.com/Araq/Nim/issues/2996>`_) +- Fixed "'u64 literal conversion compiler error" + (`#2731 <https://github.com/Araq/Nim/issues/2731>`_) +- Fixed "Importing 'impure' libraries while using threads causes segfaults" + (`#2672 <https://github.com/Araq/Nim/issues/2672>`_) +- Fixed "Uncatched exception in async procedure on raise statement" + (`#3014 <https://github.com/Araq/Nim/issues/3014>`_) +- Fixed "nim doc2 fails in Mac OS X due to system.nim (possibly related to #1898)" + (`#3005 <https://github.com/Araq/Nim/issues/3005>`_) +- Fixed "IndexError when rebuilding Nim on iteration 2" + (`#3018 <https://github.com/Araq/Nim/issues/3018>`_) +- Fixed "Assigning large const set to variable looses some information" + (`#2880 <https://github.com/Araq/Nim/issues/2880>`_) +- Fixed "Inconsistent generics behavior" + (`#3022 <https://github.com/Araq/Nim/issues/3022>`_) +- Fixed "Compiler breaks on float64 division" + (`#3028 <https://github.com/Araq/Nim/issues/3028>`_) +- Fixed "Confusing error message comparing string to nil " + (`#2935 <https://github.com/Araq/Nim/issues/2935>`_) +- Fixed "convert 64bit number to float on 32bit" + (`#1463 <https://github.com/Araq/Nim/issues/1463>`_) +- Fixed "Type redefinition and construction will break nim check" + (`#3032 <https://github.com/Araq/Nim/issues/3032>`_) +- Fixed "XmlParser fails on very large XML files without new lines" + (`#2429 <https://github.com/Araq/Nim/issues/2429>`_) +- Fixed "Error parsing arguments with whitespaces" + (`#2874 <https://github.com/Araq/Nim/issues/2874>`_) +- Fixed "Crash when missing one arg and used a named arg" + (`#2993 <https://github.com/Araq/Nim/issues/2993>`_) +- Fixed "Wrong number of arguments in assert will break nim check" + (`#3044 <https://github.com/Araq/Nim/issues/3044>`_) +- Fixed "Wrong const definition will break nim check" + (`#3041 <https://github.com/Araq/Nim/issues/3041>`_) +- Fixed "Wrong set declaration will break nim check" + (`#3040 <https://github.com/Araq/Nim/issues/3040>`_) +- Fixed "Compiler segfault (type section)" + (`#2540 <https://github.com/Araq/Nim/issues/2540>`_) +- Fixed "Segmentation fault when compiling this code" + (`#3038 <https://github.com/Araq/Nim/issues/3038>`_) +- Fixed "Kill nim i" + (`#2633 <https://github.com/Araq/Nim/issues/2633>`_) +- Fixed "Nim check will break on wrong array declaration" + (`#3048 <https://github.com/Araq/Nim/issues/3048>`_) +- Fixed "boolVal seems to be broken" + (`#3046 <https://github.com/Araq/Nim/issues/3046>`_) +- Fixed "Nim check crashes on wrong set/array declaration inside ref object" + (`#3062 <https://github.com/Araq/Nim/issues/3062>`_) +- Fixed "Nim check crashes on incorrect generic arg definition" + (`#3051 <https://github.com/Araq/Nim/issues/3051>`_) +- Fixed "Nim check crashes on iterating nonexistent var" + (`#3053 <https://github.com/Araq/Nim/issues/3053>`_) +- Fixed "Nim check crashes on wrong param set declaration + iteration" + (`#3054 <https://github.com/Araq/Nim/issues/3054>`_) +- Fixed "Wrong sharing of static_t instantations" + (`#3112 <https://github.com/Araq/Nim/issues/3112>`_) +- Fixed "Automatically generated proc conflicts with user-defined proc when .exportc.'ed" + (`#3134 <https://github.com/Araq/Nim/issues/3134>`_) +- Fixed "getTypeInfo call crashes nim" + (`#3099 <https://github.com/Araq/Nim/issues/3099>`_) +- Fixed "Array ptr dereference" + (`#2963 <https://github.com/Araq/Nim/issues/2963>`_) +- Fixed "Internal error when `repr`-ing a type directly" + (`#3079 <https://github.com/Araq/Nim/issues/3079>`_) +- Fixed "unknown type name 'TNimType' after importing typeinfo module" + (`#2841 <https://github.com/Araq/Nim/issues/2841>`_) +- Fixed "Can export a template twice and from inside a block" + (`#1738 <https://github.com/Araq/Nim/issues/1738>`_) +- Fixed "C Codegen: C Types are defined after their usage in certain cases" + (`#2823 <https://github.com/Araq/Nim/issues/2823>`_) +- Fixed "s.high refers to the current seq instead of the old one" + (`#1832 <https://github.com/Araq/Nim/issues/1832>`_) +- Fixed "Error while unmarshaling null values" + (`#3149 <https://github.com/Araq/Nim/issues/3149>`_) +- Fixed "Inference of `static[T]` in sequences" + (`#3144 <https://github.com/Araq/Nim/issues/3144>`_) +- Fixed "Argument named "closure" to proc inside template interfere with closure pragma" + (`#3171 <https://github.com/Araq/Nim/issues/3171>`_) +- Fixed "Internal error with aliasing inside template" + (`#3158 <https://github.com/Araq/Nim/issues/3158>`_) +- Fixed "Cardinality of sets prints unexpected value" + (`#3135 <https://github.com/Araq/Nim/issues/3135>`_) +- Fixed "Nim crashes on const assignment from function returning var ref object" + (`#3103 <https://github.com/Araq/Nim/issues/3103>`_) +- Fixed "`repr` cstring" + (`#3080 <https://github.com/Araq/Nim/issues/3080>`_) +- Fixed "Nim check crashes on wrong enum declaration" + (`#3052 <https://github.com/Araq/Nim/issues/3052>`_) +- Fixed "Compiler assertion when evaluating template with static[T]" + (`#1858 <https://github.com/Araq/Nim/issues/1858>`_) +- Fixed "Erroneous overflow in iterators when compiler built with overflowChecks enabled" + (`#3140 <https://github.com/Araq/Nim/issues/3140>`_) +- Fixed "Unicode dashes as "lisp'ish" alternative to hump and snake notation" + (`#2811 <https://github.com/Araq/Nim/issues/2811>`_) +- Fixed "Calling discardable proc from a defer is an error." + (`#3185 <https://github.com/Araq/Nim/issues/3185>`_) +- Fixed "Defer statement at the end of a block produces ICE" + (`#3186 <https://github.com/Araq/Nim/issues/3186>`_) +- Fixed "Call to `createU` fails to compile" + (`#3193 <https://github.com/Araq/Nim/issues/3193>`_) +- Fixed "VM crash when accessing array's element" + (`#3192 <https://github.com/Araq/Nim/issues/3192>`_) +- Fixed "Unexpected proc invoked when different modules add procs to a type from a 3rd module" + (`#2664 <https://github.com/Araq/Nim/issues/2664>`_) +- Fixed "Nim crashes on conditional declaration inside a template" + (`#2670 <https://github.com/Araq/Nim/issues/2670>`_) +- Fixed "Iterator names conflict within different scopes" + (`#2752 <https://github.com/Araq/Nim/issues/2752>`_) +- Fixed "VM: Cannot assign int value to ref variable" + (`#1329 <https://github.com/Araq/Nim/issues/1329>`_) +- Fixed "Incorrect code generated for tagged unions with enums not starting at zero" + (`#3096 <https://github.com/Araq/Nim/issues/3096>`_) +- Fixed "Compile time procs using forward declarations are silently ignored" + (`#3066 <https://github.com/Araq/Nim/issues/3066>`_) +- Fixed "re binding error in generic" + (`#1965 <https://github.com/Araq/Nim/issues/1965>`_) +- Fixed "os.getCreationTime is incorrect/impossible on Posix systems" + (`#1058 <https://github.com/Araq/Nim/issues/1058>`_) +- Fixed "Improve error message for osproc.startProcess when command does not exist" + (`#2183 <https://github.com/Araq/Nim/issues/2183>`_) +- Fixed "gctest segfaults with --gc:markandsweep on x86_64" + (`#2305 <https://github.com/Araq/Nim/issues/2305>`_) +- Fixed "Coroutine changes break compilation on unsupported architectures" + (`#3245 <https://github.com/Araq/Nim/issues/3245>`_) +- Fixed "Bugfix: Windows 32bit TinyCC support issue fixed" + (`#3237 <https://github.com/Araq/Nim/issues/3237>`_) +- Fixed "db_mysql getValue() followed by exec() causing error" + (`#3220 <https://github.com/Araq/Nim/issues/3220>`_) +- Fixed "xmltree.newEntity creates xnCData instead of xnEntity" + (`#3282 <https://github.com/Araq/Nim/issues/3282>`_) +- Fixed "Methods and modules don't work together" + (`#2590 <https://github.com/Araq/Nim/issues/2590>`_) +- Fixed "String slicing not working in the vm" + (`#3300 <https://github.com/Araq/Nim/issues/3300>`_) +- Fixed "internal error: evalOp(mTypeOf)" + (`#3230 <https://github.com/Araq/Nim/issues/3230>`_) +- Fixed "#! source code prefix collides with Unix Shebang" + (`#2559 <https://github.com/Araq/Nim/issues/2559>`_) +- Fixed "wrong codegen for constant object" + (`#3195 <https://github.com/Araq/Nim/issues/3195>`_) +- Fixed "Doc comments inside procs with implicit returns don't work" + (`#1528 <https://github.com/Araq/Nim/issues/1528>`_) + + +2015-10-16 First Nim conference +=============================== + +.. raw::html + + <img src="assets/zeo/banner.jpg" alt="First Nim conference in Ukraine!" width="682"/> + +This Autumn you have the unique opportunity to take part in the first Nim event +held in Kyiv and to meet the creator of the Nim programming language - +Andreas Rumpf. The event is hosted by Zeo Alliance and is taking place between +14-15 November 2015 in Kyiv, Ukraine. + +During the workshop you will learn: + +- The basics of the language including its safe and unsafe subsets. +- How to use Nim to develop web applications. +- How Nim's meta programming capabilities make Nim the ultimate glue language, + excellent at interoperability with C++, JavaScript, Java and others. +- Games in Nim and the ability to rapidly prototype without sacrificing speed. + +Registration is free, but the number of places is limited. More details +can be found `here <https://nimworkshop.splashthat.com/>`_. + - Changes affecting backwards compatibility - ----------------------------------------- - Language Additions - ------------------ - Bugfixes - -------- 2015-05-04 Version 0.11.2 released @@ -223,6 +605,7 @@ Library additions space between ``.. <`` and ``.. ^`` is not necessary anymore. - Added ``system.xlen`` for strings and sequences to get back the old ``len`` operation that doesn't check for ``nil`` for efficiency. +- Added sexp.nim to parse and generate sexp. Bugfixes @@ -479,7 +862,7 @@ is the installation of packages containing libraries and/or applications written in Nim. Even though Nimble is still very young it already is very functional. It can install packages by name, it does so by accessing a -packages repository which is hosted on a Github repo. Packages can also be +packages repository which is hosted on a GitHub repo. Packages can also be installed via a Git repo URL or Mercurial repo URL. The package repository is searchable through Nimble. Anyone is free to add their own packages to the package repository by forking the diff --git a/web/question.txt b/web/question.txt index c4d997922..2c3191b9b 100644 --- a/web/question.txt +++ b/web/question.txt @@ -23,6 +23,27 @@ General FAQ shared memory heap is also provided for the increased efficiency that results from that model. +.. + + .. container:: standout + + Why should I use Nim? + --------------------- + + It's a conservative language in a sense that we stick to features that have + proven themselves for larger scale programming. But it's revolutionary by + the features which have been laid on top. + + One of Nim's goals is to increase developer productivity without sacrificing + the produced software's stability. The way that this is done is by providing + + Depending on your use case. + + Nim is one of the few programming languages in the world which allows you to + + + The language inventor describes it as the ultimate programming language + with features which make it perfect for just about any problem. .. container:: standout @@ -94,9 +115,9 @@ General FAQ What about JVM/CLR backends? ---------------------------- - A JVM backend is almost impossible. The JVM is not expressive enough. It has - never been designed as a general purpose VM anyway. A CLR backend is possible - but would require much work. + JVM/CLR support is not in the nearest plans. However, since these VMs support FFI to C + it should be possible to create native Nim bridges, that transparenlty generate all the + glue code thanks to powerful metaprogramming capabilities of Nim. .. container:: standout @@ -113,6 +134,7 @@ General FAQ - TextMate: Available in bundle installer (`Repository <https://github.com/textmate/nim.tmbundle>`_) - Sublime Text: Available via Package Control (`Repository <https://github.com/Varriount/NimLime>`_) - LiClipse: http://www.liclipse.com/ (Eclipse based plugin) + - Howl: Included .. container:: standout @@ -123,7 +145,8 @@ General FAQ *Procedure* used to be the common term as opposed to a *function* which is a mathematical entity that has no side effects. It is planned to have ``func`` as syntactic sugar for ``proc {.noSideEffect.}`` and ``func`` is already a - keyword. + keyword. Naming it ``def`` would not make sense because Nim also provides a + ``iterator`` and ``method`` keywords, whereas ``def`` stands for ``define``. Compilation FAQ diff --git a/web/snippets/snippet1.nim b/web/snippets/snippet1.nim index 85cb98142..b0895e0c0 100644 --- a/web/snippets/snippet1.nim +++ b/web/snippets/snippet1.nim @@ -1,4 +1,4 @@ import strutils -echo "Give a list of integers (separated by spaces): ", +echo "Give a list of integers (separated by spaces): ", stdin.readLine.split.each(parseInt).max, - " is the maximum!" + " is the maximum!" diff --git a/web/support.txt b/web/support.txt index f8375b6aa..c0ffafcbc 100644 --- a/web/support.txt +++ b/web/support.txt @@ -29,7 +29,7 @@ Commercial support includes: implementation and is open to negotiation. -All interested parties should email ``support@nim-lang.org``. +All interested parties should email ``support@nim-lang.org``. The bid for contracting work is a commercial offer provided by: | **Andreas Rumpf** diff --git a/web/ticker.txt b/web/ticker.txt index 4840e4039..106f8f008 100644 --- a/web/ticker.txt +++ b/web/ticker.txt @@ -1,3 +1,13 @@ +<a class="news" href="news.html#Z2015-10-27-version-0-12-0-released"> + <h4>October 27, 2015</h4> + <p>Nim version 0.12.0 has been released!</p> +</a> + +<a class="news" href="news.html#Z2015-10-16-first-nim-conference"> + <h4>October 16, 2015</h4> + <p>First official Nim conference will be in Kyiv!</p> +</a> + <a class="news" href="news.html#Z2015-05-04-version-0-11-2-released"> <h4>May 4, 2015</h4> <p>Nim version 0.11.2 has been released!</p> @@ -8,9 +18,4 @@ <p>Nim version 0.10.2 has been released!</p> </a> -<a class="news" href="news.html#Z2014-02-11-nimrod-featured-in-dr-dobb-s-journal"> - <h4>Feb 11, 2014</h4> - <p>Nimrod featured in Dr. Dobb's Journal</p> -</a> - <a href="news.html" class="blue">See All News...</a> diff --git a/web/website.ini b/web/website.ini index bb9f1b204..298fbcd65 100644 --- a/web/website.ini +++ b/web/website.ini @@ -9,7 +9,7 @@ Authors: "Andreas Rumpf and contributors" # Everything after ; is the ID Community: "community.html;link_forum" Aporia_IDE: "https://github.com/nim-lang/Aporia;link_aporia" -Github_Repo: "http://github.com/Araq/Nim;link_github" +GitHub_Repo: "http://github.com/Araq/Nim;link_github" [Tabs] @@ -31,11 +31,11 @@ file: ticker.txt [Documentation] doc: "endb;intern;apis;lib;manual.txt;tut1;tut2;nimc;overview;filters" doc: "tools;niminst;nimgrep;gc;estp;idetools;docgen;koch;backends.txt" -doc: "nimfix.txt;nimsuggest.txt" +doc: "nimfix.txt;nimsuggest.txt;nep1.txt;nims.txt" pdf: "manual.txt;lib;tut1;tut2;nimc;niminst;gc" -srcdoc2: "system.nim" -srcdoc2: "core/macros;pure/marshal;core/typeinfo;core/unsigned" -srcdoc2: "impure/re;pure/sockets;pure/typetraits" +srcdoc2: "system.nim;system/nimscript;pure/ospaths" +srcdoc2: "core/macros;pure/marshal;core/typeinfo" +srcdoc2: "impure/re;pure/typetraits" srcdoc2: "pure/concurrency/threadpool.nim;pure/concurrency/cpuinfo.nim" srcdoc: "system/threads.nim;system/channels.nim;js/dom" srcdoc2: "pure/os;pure/strutils;pure/math;pure/matchers;pure/algorithm" @@ -43,23 +43,23 @@ srcdoc2: "pure/complex;pure/times;pure/osproc;pure/pegs;pure/dynlib" srcdoc2: "pure/parseopt;pure/parseopt2;pure/hashes;pure/strtabs;pure/lexbase" srcdoc2: "pure/parsecfg;pure/parsexml;pure/parsecsv;pure/parsesql" srcdoc2: "pure/streams;pure/terminal;pure/cgi;pure/unicode" -srcdoc2: "impure/zipfiles;pure/htmlgen;pure/parseutils;pure/browsers" +srcdoc2: "pure/htmlgen;pure/parseutils;pure/browsers" srcdoc2: "impure/db_postgres;impure/db_mysql;impure/db_sqlite" srcdoc2: "pure/httpserver;pure/httpclient;pure/smtp;impure/ssl;pure/fsmonitor" srcdoc2: "pure/ropes;pure/unidecode/unidecode;pure/xmldom;pure/xmldomparser" srcdoc2: "pure/xmlparser;pure/htmlparser;pure/xmltree;pure/colors;pure/mimetypes" -srcdoc2: "pure/json;pure/base64;pure/scgi;pure/redis;impure/graphics" -srcdoc2: "impure/rdstdin;impure/dialogs" +srcdoc2: "pure/json;pure/base64;pure/scgi" srcdoc2: "pure/collections/tables;pure/collections/sets;pure/collections/lists" srcdoc2: "pure/collections/intsets;pure/collections/queues;pure/encodings" srcdoc2: "pure/events;pure/collections/sequtils;pure/cookies" -srcdoc2: "pure/ftpclient;pure/memfiles;pure/subexes;pure/collections/critbits" -srcdoc2: "pure/asyncio;pure/actors;core/locks;pure/oids;pure/endians;pure/uri" +srcdoc2: "pure/memfiles;pure/subexes;pure/collections/critbits" +srcdoc2: "deprecated/pure/asyncio;deprecated/pure/actors;core/locks;pure/oids;pure/endians;pure/uri" srcdoc2: "pure/nimprof;pure/unittest;packages/docutils/highlite" srcdoc2: "packages/docutils/rst;packages/docutils/rstast" srcdoc2: "packages/docutils/rstgen;pure/logging;pure/asyncdispatch;pure/asyncnet" -srcdoc2: "pure/rawsockets;pure/asynchttpserver;pure/net;pure/selectors;pure/future" -srcdoc2: "pure/asyncfile" +srcdoc2: "deprecated/pure/rawsockets;pure/asynchttpserver;pure/net;pure/selectors;pure/future" +srcdoc2: "deprecated/pure/ftpclient" +srcdoc2: "pure/asyncfile;pure/asyncftpclient" srcdoc2: "pure/md5;pure/rationals" srcdoc2: "posix/posix" srcdoc2: "pure/fenv" @@ -68,17 +68,13 @@ srcdoc2: "pure/basic2d;pure/basic3d" ; Note: everything under 'webdoc' doesn't get listed in the index, so wrappers ; should live here -webdoc: "wrappers/mysql;wrappers/iup;wrappers/sphinx" +webdoc: "wrappers/mysql;wrappers/iup" webdoc: "wrappers/sqlite3;wrappers/postgres;wrappers/tinyc;wrappers/odbcsql" -webdoc: "wrappers/expat;wrappers/pcre" -webdoc: "wrappers/tre;wrappers/openssl" +webdoc: "wrappers/pcre" +webdoc: "wrappers/openssl" webdoc: "wrappers/libuv;wrappers/joyent_http_parser" webdoc: "posix/posix;wrappers/odbcsql" -webdoc: "wrappers/zip/zlib;wrappers/zip/libzip" webdoc: "wrappers/libsvm.nim" -webdoc: "windows" -webdoc: "wrappers/readline/readline;wrappers/readline/history" -webdoc: "wrappers/readline/rltypedefs" |