Jean Privat [Thu, 1 Aug 2013 19:30:23 +0000 (15:30 -0400)]
tests: update ni-merge related tests
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 1 Aug 2013 18:11:16 +0000 (14:11 -0400)]
make: build and document bin/nitx
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 1 Aug 2013 18:09:06 +0000 (14:09 -0400)]
ni_nitdoc: do not crash if intro does not have a node in the AST
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 1 Aug 2013 18:08:24 +0000 (14:08 -0400)]
nitx&ni_nitdoc: adapt to the phased modelbuild
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 1 Aug 2013 18:07:40 +0000 (14:07 -0400)]
nitx: really rename the module from ni to nitx
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 1 Aug 2013 17:36:53 +0000 (13:36 -0400)]
Merge remote-tracking branch 'alexandre/ni-merge' into HEAD
Conflicts:
src/nitmetrics.nit
Alexandre Terrasa [Tue, 30 Jul 2013 18:06:17 +0000 (14:06 -0400)]
ni_nitdoc: better memory management
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 30 Jul 2013 15:27:48 +0000 (11:27 -0400)]
nitx: renamed ni.nit in nitx.nit
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 30 Jul 2013 15:26:38 +0000 (11:26 -0400)]
ni: added help message
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Tue, 30 Jul 2013 00:59:44 +0000 (20:59 -0400)]
version: v0.6.1-git
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 30 Jul 2013 00:58:11 +0000 (20:58 -0400)]
version: v0.6
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Mon, 29 Jul 2013 22:34:34 +0000 (18:34 -0400)]
ni: use command ":q" to quit, blank line do nothing
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 21:54:05 +0000 (17:54 -0400)]
ni: fixed display of multiple search results
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 21:38:15 +0000 (17:38 -0400)]
ni: better display of mproperties
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 21:35:23 +0000 (17:35 -0400)]
ni: better mclass page display
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 20:17:22 +0000 (16:17 -0400)]
ni: better display of module documentation
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Mon, 29 Jul 2013 20:03:58 +0000 (16:03 -0400)]
nitdoc: disable an `assert` broken by recent merges
Possibly commit
eb136d42d4850b491f65db9ac4b98591a21d7baf is the one
that broke the assert.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 29 Jul 2013 19:42:49 +0000 (15:42 -0400)]
Merge remote-tracking branch 'alexis/raspberry-pi'
Jean Privat [Mon, 29 Jul 2013 19:11:17 +0000 (15:11 -0400)]
misc: add highlight syntax file
highlight is used by gitweb.
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Mon, 29 Jul 2013 17:10:57 +0000 (13:10 -0400)]
ni: better display of welcome screen
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 16:28:38 +0000 (12:28 -0400)]
ni_nitdoc: replaced inheritance from ToolContext with agratation
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 16:22:18 +0000 (12:22 -0400)]
ni_nitdoc: removed abstract_compiler importation from ni_nitdoc module
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 16:17:26 +0000 (12:17 -0400)]
ni: fixed crash on empty class comment
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 16:16:00 +0000 (12:16 -0400)]
ni: no more use of ANode for signature and visibility display
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 15:16:58 +0000 (11:16 -0400)]
ni: replaced Comparable sorters with specific sorters introduced in model_utils
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 15:01:05 +0000 (11:01 -0400)]
ni: documented class NitIndex
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 14:55:17 +0000 (10:55 -0400)]
ni: fixed namespace display with no public_owner modules
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 14:54:49 +0000 (10:54 -0400)]
ni: Pager now use a Buffer for better gc on strings
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 14:49:48 +0000 (10:49 -0400)]
ni_nitdoc: remove useless full_propdef_semantic_analysis call
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 14:40:59 +0000 (10:40 -0400)]
ni_nitdoc: added module documentation
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 14:30:57 +0000 (10:30 -0400)]
ni: moved comment and short_comment services in ADoc
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Mon, 29 Jul 2013 14:30:17 +0000 (10:30 -0400)]
ni: added general comment for module ni
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Sat, 27 Jul 2013 01:13:57 +0000 (21:13 -0400)]
Merge branch 'bench'
Jean Privat [Sat, 27 Jul 2013 01:09:45 +0000 (21:09 -0400)]
Merge branch 'annotations'
Alexandre Terrasa [Sat, 27 Jul 2013 00:09:25 +0000 (20:09 -0400)]
ni_nitdoc: removed useless redef in ANodes
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 27 Jul 2013 00:07:31 +0000 (20:07 -0400)]
ni_nitdoc: better msignature display
also fixed signature display for auto init
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 23:23:46 +0000 (19:23 -0400)]
ni_nitdoc: display intro comment on redef mpropdefs
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 23:18:21 +0000 (19:18 -0400)]
ni_nitdoc: cleaned model_utils
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 22:48:24 +0000 (18:48 -0400)]
ni_nitdoc: cleaned visibility in model redef
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 22:41:38 +0000 (18:41 -0400)]
ni_nitdoc: nested modules are not displayed with public option
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 22:38:23 +0000 (18:38 -0400)]
ni_nitdoc: namespace style
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 22:35:46 +0000 (18:35 -0400)]
ni_nitdoc: fixed dot graphs with mmodules
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 21:37:36 +0000 (17:37 -0400)]
ni_nitdoc: filtered imported init
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 21:27:33 +0000 (17:27 -0400)]
ni_nitdoc: limited number of used buffers for better performances
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 19:48:11 +0000 (15:48 -0400)]
ni_nitdoc: NitdocContext inherits from TooContext
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 19:25:47 +0000 (15:25 -0400)]
ni_nitdoc: cleaned visibility context and pages
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 19:19:21 +0000 (15:19 -0400)]
ni_nitdoc: linearize mclasses in superclasses and subclasses blocks
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 18:33:08 +0000 (14:33 -0400)]
ni_nitdoc: renamed NItdoc into NitdocContext
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 26 Jul 2013 18:16:26 +0000 (14:16 -0400)]
ni_nitdoc: added --private option
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Fri, 26 Jul 2013 16:36:50 +0000 (12:36 -0400)]
bench: enable HTML generation
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 16:22:30 +0000 (12:22 -0400)]
bench: do not use replot
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 16:10:22 +0000 (12:10 -0400)]
bench: disable --phand-typing on nitg-e (seems broken)
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 16:09:36 +0000 (12:09 -0400)]
modelbuilder: get the management of opt_only_metamodel and opt_only_parse
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 15:58:47 +0000 (11:58 -0400)]
nitg: makefile do not set -I in CFLAGS
This avoided the use of specific CFLAGS with --make-flags
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 15:46:58 +0000 (11:46 -0400)]
bench: add NOALL to bench_nitg-*_options
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 13:38:32 +0000 (09:38 -0400)]
bench: add some nitg-s bench
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 13:14:17 +0000 (09:14 -0400)]
bench: rename `nitg` to `nitg-g`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 13:04:02 +0000 (09:04 -0400)]
bench: remove bench of option --generic-resolution-tree
Jean Privat [Fri, 26 Jul 2013 02:13:39 +0000 (22:13 -0400)]
rta: ASuperExpr use linearized polymorphic super-call
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 01:32:24 +0000 (21:32 -0400)]
remove some depreciated FIXME
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 26 Jul 2013 01:25:23 +0000 (21:25 -0400)]
src: move collections from model to a new module
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 20:13:38 +0000 (16:13 -0400)]
bench: skip pep8analysis if not present
Jean Privat [Thu, 25 Jul 2013 20:13:14 +0000 (16:13 -0400)]
benchs: use NIT_GC_OPTION instead of -DNOBOEHM
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 20:09:04 +0000 (16:09 -0400)]
nitg: add more info (for -v)
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 17:39:04 +0000 (13:39 -0400)]
phase: add new module cached.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 17:55:00 +0000 (13:55 -0400)]
modelbuilder: generalize mpropdef to APropdef
and create a virtual type MPROPDEF to link AST and model hierarchies
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 17:31:53 +0000 (13:31 -0400)]
parser_util: add `ANode#collect_annotations_by_name`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 17:26:57 +0000 (13:26 -0400)]
phase: add `Phase#process_annotated_node`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 17:35:38 +0000 (13:35 -0400)]
Merge branch 'annotations'
Conflicts:
src/parser/lexer.nit
src/parser/tables_nit.c
Jean Privat [Tue, 16 Jul 2013 19:52:24 +0000 (15:52 -0400)]
tests: add syntax_annotations
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 16 Jul 2013 19:51:56 +0000 (15:51 -0400)]
rta: do not enter in annotations
Jean Privat [Tue, 16 Jul 2013 19:51:34 +0000 (15:51 -0400)]
nitc: globally skip annotation nodes
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 16 Jul 2013 19:50:31 +0000 (15:50 -0400)]
parser: extends grammar to support annotations
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 15:43:15 +0000 (11:43 -0400)]
Merge branch 'triple_quoted_strings'
Jean Privat [Thu, 25 Jul 2013 14:55:46 +0000 (10:55 -0400)]
tests: add test_string_triple.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 14:55:06 +0000 (10:55 -0400)]
nitg: handle triple-quoted strings
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 14:54:48 +0000 (10:54 -0400)]
nitc: handle triple-quoted strings
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 25 Jul 2013 14:54:23 +0000 (10:54 -0400)]
parser: accept triple quoted strings
Jean Privat [Wed, 24 Jul 2013 14:34:51 +0000 (10:34 -0400)]
src: new module parser_util.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Tue, 23 Jul 2013 20:33:37 +0000 (16:33 -0400)]
ni_nitdoc: added show code option
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Tue, 23 Jul 2013 19:59:48 +0000 (15:59 -0400)]
parser: enable Token#text= to override the text of tokens
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Tue, 23 Jul 2013 19:49:46 +0000 (15:49 -0400)]
ni_nitdoc: added custom title, footer, overview and menu options
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Tue, 23 Jul 2013 17:35:10 +0000 (13:35 -0400)]
parser: suppr `noinit`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 23 Jul 2013 16:51:19 +0000 (12:51 -0400)]
Merge branch 'poset_metrics'
Jean Privat [Tue, 23 Jul 2013 16:11:08 +0000 (12:11 -0400)]
nitg-s: avoid `flatten_class_hierarchy` on intern method static call
just do the lookup on the realmainmodule to avoid flatten on various
mmodules. since the method is intern, the result is the same anyway.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 23 Jul 2013 15:59:40 +0000 (11:59 -0400)]
metrics: remove useless `all` variable local
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 23 Jul 2013 15:58:20 +0000 (11:58 -0400)]
metrics: add poset_metrics
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 23 Jul 2013 15:41:55 +0000 (11:41 -0400)]
metrics: add POSet#print_metrics
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 23 Jul 2013 15:33:30 +0000 (11:33 -0400)]
metrics: add Counter#print_summary
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 23 Jul 2013 15:09:53 +0000 (11:09 -0400)]
metrics: make Counter a genuine Map
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 23 Jul 2013 15:01:13 +0000 (11:01 -0400)]
metrics: move counter to its own module
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Tue, 23 Jul 2013 04:35:11 +0000 (00:35 -0400)]
ni_nitdoc: allow nultiple module documentation
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 23 Jul 2013 02:14:02 +0000 (22:14 -0400)]
ni_nitdoc: filtered Object properties from toplevel properties
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sun, 21 Jul 2013 05:22:52 +0000 (01:22 -0400)]
ni_nitdoc: fixed broken search with special caracters in JS
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sun, 21 Jul 2013 03:27:32 +0000 (23:27 -0400)]
ni_nitdoc: fixed sinature links
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sun, 21 Jul 2013 02:44:00 +0000 (22:44 -0400)]
ni_nitdoc: fixed display for attributes in class page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sun, 21 Jul 2013 01:24:11 +0000 (21:24 -0400)]
ni_nitdoc: modified CSS for better readability
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sun, 21 Jul 2013 00:56:48 +0000 (20:56 -0400)]
ni_nitdoc: quicksearch now contains modules
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sun, 21 Jul 2013 00:06:36 +0000 (20:06 -0400)]
ni_nitdoc: better link handling
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 20 Jul 2013 23:26:47 +0000 (19:26 -0400)]
ni_nitdoc: full index page
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>