Commit graph

24 commits

Author SHA1 Message Date
Dominik Picheta
c4d294ca9b Fixes #319. 2017-01-29 20:47:47 +01:00
Dominik Picheta
dda0c39e34 Fixes #304. 2017-01-03 19:25:36 +00:00
Dominik Picheta
4d7b3081a8 Fixes tests. 2017-01-03 18:02:55 +00:00
Dominik Picheta
2f45eab060 Fixes #301. 2017-01-03 17:43:59 +00:00
Dominik Picheta
53856db8ff Fixes tests. 2016-12-27 13:54:54 +00:00
Dominik Picheta
432c91b938 Renamed myVersion to version and version to specialVersion. 2016-12-27 13:27:08 +00:00
Dominik Picheta
d192de6511 Fixes version conflicts when building between special&non-special.
Refs #289. Aporia still cannot be installed. In addition,
the myVersion vs. version should be refactored into version vs.
specialVersion.
2016-12-27 00:42:05 +00:00
Dominik Picheta
f29a25a10d Implements #144. Warnings are now issued for incorrect namespacing. 2016-12-26 18:09:19 +00:00
Dominik Picheta
1d0f28e321 Preserve special versions in package installations. Ref #88. 2016-12-23 19:09:54 +01:00
Dominik Picheta
36e7bfba19 Use the cli module everywhere. 2016-12-22 17:12:45 +01:00
Dominik Picheta
8f34336e91 Add hints for NimbleErrors which help the user fix them. 2016-12-22 16:49:24 +01:00
Dominik Picheta
9be27cd665 Display suppressed messages tip only when an error occurred. 2016-12-21 22:18:11 +01:00
Dominik Picheta
17ddbc3214 Add colons to non-verb categories in cli.display. 2016-12-21 22:11:47 +01:00
Dominik Picheta
5fe69b389f Improvements to existing CLI messages. 2016-12-21 00:17:56 +01:00
Dominik Picheta
c16c0b8864 Use CLI in packageparser. 2016-12-20 23:25:56 +01:00
Araq
ee3ad4353e fixes a 'break search loop' bug; got rid of most compiler warnings 2016-11-06 23:06:37 +01:00
Dominik Picheta
2eec391732 Fixes getInstalledPkgs returning minimal package information.
This was introduced in commit 2cf03313fd.
2016-10-26 20:10:17 +02:00
Dominik Picheta
65dbd97269 Moves nimbleVersion to common.nim and uses it in .nimble file. 2016-10-09 15:19:42 +02:00
Yuriy Glukhov
36d09de320 Fixed FD leak. 2016-04-06 15:21:55 +03:00
Dominik Picheta
ac1714ffef Fixes infinite loop. Ref @zielmicha/reactor.nim#1. 2016-01-10 00:36:02 +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
9bc08236fb Turn new validation errors in warnings. 2015-12-29 15:59:42 +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