Commit graph

358 commits

Author SHA1 Message Date
Dominik Picheta
21c8457a8c Merge pull request #223 from yglukhov/fd-leak
Fixed FD leak.
2016-04-06 14:40:08 +01:00
Yuriy Glukhov
08496341b7 BONUS: Fixed tests because of dom's breaking changes ;) 2016-04-06 15:54:08 +03:00
Yuriy Glukhov
36d09de320 Fixed FD leak. 2016-04-06 15:21:55 +03:00
Dominik Picheta
cdc81f3371 Merge pull request #218 from yglukhov/cygwin-stub-fix
Fixed cygwin stub
2016-03-18 17:53:51 +00:00
Yuriy Glukhov
5aa4752b15 Fixed cygwin stub 2016-03-18 13:48:38 +02:00
Dominik Picheta
ccb52359f0 Merge pull request #214 from Jeff-Ciesielski/bugfix/github_trailing_slash_204
Fix for Issue 204
2016-03-17 21:49:58 +00:00
Dominik Picheta
ed4b9aa6f5 Merge pull request #216 from def-/master
Documentation: Build release binary of nimble
2016-03-17 21:48:37 +00:00
def
3bbf51bc77 Documentation: Build release binary of nimble
This speeds up the building process by a factor of 2 because afterwards
nimble builds itself again, but using -d:release.
2016-03-06 23:25:57 +01:00
Jeff Ciesielski
8ed8b98c61 Switch to only checking for 'github.com' in url
Avoids dealing with http:// v https:// v git:// urls
2016-02-26 13:57:47 -05:00
Jeff Ciesielski
e51d1679c5 Fix for Issue 204
Github + https + trailing slash in URL causes failed checkouts / remote
tag fetches.  The issue appears to be indemic to github.com, not git itself
2016-02-25 18:57:08 -05:00
Dominik Picheta
5bc945df5f Merge pull request #208 from SSPkrolik/permission-fix
Fixed permission issue when installing package
2016-02-17 11:05:33 +00:00
Rostyslav Dzinko
296499435e Fixed permission issue when installing package 2016-02-17 10:26:35 +02:00
Dominik Picheta
7b47ebc8a2 Merge pull request #207 from yglukhov/symlink-issue
Fixes symlink installation issue
2016-02-15 12:11:13 +00:00
Yuriy Glukhov
2fdc267ba7 Added test for #206 2016-02-15 11:57:50 +02:00
Yuriy Glukhov
2de92a8230 Fixes symlink installation issue 2016-02-14 21:13:02 +02:00
Dominik Picheta
83b1292d23 Version 0.7.2. v0.7.2 2016-02-11 16:24:13 +00:00
Dominik Picheta
670bcec61d Update installation instructions for Unix users who install Nim. 2016-01-19 01:00:45 +00:00
Dominik Picheta
aa3ee0942e Merge pull request #196 from oderwat/SmartUninstallCompletion
Smarter uninstall Bash completion.
2016-01-13 11:14:58 +00:00
Dominik Picheta
08b58c78b9 Merge pull request #195 from oderwat/OSX-BashCompletion
Fix for the Bash completion on OSX.
2016-01-13 11:14:01 +00:00
Dominik Picheta
2485ab6746 Replaced 'auto' with explicit types in sort anon proc. 2016-01-12 20:08:13 +00:00
Hans Raaf
14e0ca9a3b This change sorts the list of the installed modules by name.
It also adds some files to .gitignore to make checkins easier.
2016-01-11 02:37:44 +01:00
Hans Raaf
c6d8742807 Smarter uninstall Bash completion.
Instead of offering just the base names of the packages the uninstall
parameter completion now lists all installed versions. This makes it
easy to uninstall whats not needed anymore and helps remembering the
syntax for this task.

Example:

```
$ nimble uninstall nake[TAB]@1.[TAB]
nake@1.4  nake@1.6  nake@1.8
$ nimble uninstall nake@1.4
```
2016-01-11 01:54:46 +01:00
Hans Raaf
2b5d2a9073 Fix for the Bash completion on OSX. 2016-01-11 01:44:30 +01:00
Dominik Picheta
ac1714ffef Fixes infinite loop. Ref @zielmicha/reactor.nim#1. 2016-01-10 00:36:02 +00:00
Dominik Picheta
80a418e680 Nimble now requires at least Nim 0.12.1 to compile. Updates to readme. v0.7.0 2015-12-31 00:30:31 +00:00
Dominik Picheta
9b4b2579ae Added changelog for 0.6.4 and 0.7.0. 2015-12-30 22:39:33 +00:00
Dominik Picheta
1fa209a689 Fix tests. Add test for hooks. 2015-12-30 20:20:04 +00:00
Dominik Picheta
42ef358459 Various optimisations to PackageInfo reading and bug fixes.
* PackageInfo objects are now cached because NimScript evaluation is expensive.
* before/after hooks now return `true` by default.
* Bugfix: when hooks weren't found Nimble would still think that a hook told it
  to skip an action.
* PackageInfo now includes info about which hooks are defined to prevent
  unnecessary execution of those hooks.
* Probably more.
2015-12-30 19:43:20 +00:00
Dominik Picheta
5d55a5f7a2 Fix NimScriptApi builtins. Implement before/after hooks for NimS. 2015-12-30 18:14:32 +00:00
Dominik Picheta
c4639fc145 Convert old nimble.nimble to nimscript nimble.nimble. 2015-12-30 13:31:03 +00:00
Dominik Picheta
ff81c34b5e `cd out of the tests` dir in travis. 2015-12-30 01:36:24 +00:00
Dominik Picheta
8576776de7 Finishing touches for travis build to succeed. 2015-12-30 01:32:00 +00:00
Dominik Picheta
c53350cc61 Add .travis.yml file. 2015-12-30 01:22:22 +00:00
Dominik Picheta
3f6ef3ae55 Fixed reverse deps issues + some tests. Fixes #113. Fixes #168. 2015-12-29 17:30:32 +00:00
Dominik Picheta
2674cacd16 Fixes #86. 2015-12-29 16:28:01 +00:00
Dominik Picheta
9bc08236fb Turn new validation errors in warnings. 2015-12-29 15:59:42 +00:00
Dominik Picheta
50d2637b04 Implement proxy support (configurable). Ref #86. 2015-12-29 15:31:22 +00:00
Dominik Picheta
2f57dd1b2a git:// now replaced with https:// (configurable). Ref #86. 2015-12-29 14:37:10 +00:00
Dominik Picheta
afd03df8af Document package list config in readme. 2015-12-29 14:21:49 +00:00
Dominik Picheta
496282c593 Add warning about git version to readme. Fixes #105. 2015-12-29 14:16:49 +00:00
Dominik Picheta
d90b179f1f Update installation instructions. 2015-12-29 14:12:00 +00:00
Dominik Picheta
ec96ee7709 Remove -d:ssl build flag. Fixes #99. 2015-12-29 13:45:37 +00:00
Dominik Picheta
835157ce34 Implements configurable package list URLs. Implements #75. 2015-12-29 13:43:05 +00:00
Dominik Picheta
8d4c6446d1 Fixes #171 2015-12-28 16:40:21 +00:00
Dominik Picheta
01bca203a8 Added reasoning for convention for hybrid packages in readme. 2015-12-28 16:36:01 +00:00
Dominik Picheta
ca99ad7d21 Moved Nimble-specific Nimscript definitions to nimscriptapi module.
* Moved package info reading procedures to a packageparser module. This is to prevent recu
rsive dependencies between nimscriptsupport and packageinfo modules.
* Passed the Options object to all procedures which read package info (necessary for nimscriptsupport module, to find the path of the nimscriptapi module)
* Introduced an ``isInstalled`` field to the ``PackageInfo`` type. This is a bug fix for g
etRealDir: it no longer uses the ``src`` field in the path it returns for installed packag
es' PackageInfo objects.
* Improved error reporting from NimScript evaluator.
* Renamed compiler/options import to ``compiler_options`` in ``nimscriptsupport`` module.
* Backward compatibility for .babel packages in getNameVersion proc.
* Introduced a getInstalledPkgsMin procedure which does not read package info, but only pr
ovides minimal info instead.
2015-12-28 16:33:34 +00:00
Dominik Picheta
84f371982b Implemented flags and arguments for NimScript's setCommand. 2015-12-25 16:32:46 +00:00
Dominik Picheta
5eaee85825 Refactored command line parsing further. 2015-12-25 15:04:55 +00:00
Dominik Picheta
186f2836e9 Refactor Options type and related procs into an options module. 2015-12-25 00:31:30 +00:00
Dominik Picheta
e5573f0096 Make ValidationError for inconsistent nimble project names a warning. 2015-12-24 20:20:19 +00:00