Stefan Lage [Fri, 28 Jun 2013 19:45:22 +0000 (15:45 -0400)]
ni_nitdoc: Adds header/body in class pages
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Fri, 28 Jun 2013 19:42:23 +0000 (15:42 -0400)]
ni_nitdoc: Generate each class's pages included in a program
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Wed, 3 Jul 2013 19:46:26 +0000 (15:46 -0400)]
ni_nitdoc: Introduced Classes page
Adding new class to generate each MClass HTML pages
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Fri, 28 Jun 2013 19:13:09 +0000 (15:13 -0400)]
ni_nitdoc: Properties list in modules page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Fri, 28 Jun 2013 18:29:51 +0000 (14:29 -0400)]
ni_nitdoc: Get all methods contained in a class
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Fri, 28 Jun 2013 18:20:24 +0000 (14:20 -0400)]
model_utils: All modules concerned in a class
Creating a function to all modules an submodules concerned in a class
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Fri, 28 Jun 2013 18:16:58 +0000 (14:16 -0400)]
model_utils: All modules contain in a class
Added a function to get all modules concerned in a class
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Fri, 28 Jun 2013 19:12:25 +0000 (15:12 -0400)]
ni_nitdoc: Adding menu in modules page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Fri, 28 Jun 2013 19:15:02 +0000 (15:15 -0400)]
ni_nitdoc: Adding classes column in modules page
Generate classes column for each modules page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Fri, 28 Jun 2013 14:51:28 +0000 (10:51 -0400)]
ni_nitdoc: Get all classes of a module
Addign a function to regroup all classes of a module and it associate
their state like introduced or refined
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 23:49:12 +0000 (19:49 -0400)]
ni_nitdoc: Adding module comment in module page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 23:30:18 +0000 (19:30 -0400)]
ni_nitdoc: Adding header/body for modules page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 23:25:05 +0000 (19:25 -0400)]
ni_nitdoc: Adding function to generate each modules page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Wed, 3 Jul 2013 19:41:38 +0000 (15:41 -0400)]
ni_nitdoc: class to generate modules page
Adding a class to be the module page template
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 23:16:41 +0000 (19:16 -0400)]
ni_nitdoc: Adding properties column in full-index
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 23:15:07 +0000 (19:15 -0400)]
ni_nitdoc: Define access to local class from Mproperty
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 23:12:32 +0000 (19:12 -0400)]
ni_nitdoc: extracted model facilities in their own module
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 22:54:24 +0000 (18:54 -0400)]
ni_nitdoc: Added Classes column
Create a function to list all classes contained in all modules
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 22:49:57 +0000 (18:49 -0400)]
ni_nitdoc: Adding to generate Module column
Adding a function to generate a column which contain all mmodules
included/concerns in a program
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 22:45:17 +0000 (18:45 -0400)]
ni_nitdoc: Content to Full-Index page
Adding a function to insert the content of the ful-index page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 22:40:06 +0000 (18:40 -0400)]
ni_nitdoc: Adding a header to full-index page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 22:29:00 +0000 (18:29 -0400)]
ni_nitdoc: Added function to generate full-index page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Wed, 3 Jul 2013 19:37:40 +0000 (15:37 -0400)]
ni_nitdoc: Introduced Full Index page
Create a subclass of HTMLPage to generate the full index page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 21:12:44 +0000 (17:12 -0400)]
ni_nitdoc: Generate dot file in overview page
Created a function to generate the graph of MModules tree in a program
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 21:07:20 +0000 (17:07 -0400)]
ni_nitdoc: Introduced function to generate dot file
Adding a function in HTMLPage to generate dot file
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 20:46:42 +0000 (16:46 -0400)]
ni_nitdoc: Display all modules in Overview
Adding a function to insert in overview page all modules concerns in the
program
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 20:43:21 +0000 (16:43 -0400)]
ni_nitdoc: Adding some functions in AModule class
Adding a function to get the comment of Amodule object and another to
get the short comment of it
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 20:38:28 +0000 (16:38 -0400)]
ni_nitdoc: Added overview body
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 20:33:08 +0000 (16:33 -0400)]
ni_nitdoc: Adding the header content to Overview page
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 20:50:11 +0000 (16:50 -0400)]
ni_nitdoc: Add function to generate Overview Page
Create a function to generate the overview page during nitdoc process
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Wed, 3 Jul 2013 19:34:46 +0000 (15:34 -0400)]
ni_nitdoc: Create class to generate Overview page
Adding a subclass of HTMLPage to generate the nitdoc overview
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 20:17:53 +0000 (16:17 -0400)]
ni_nitdoc: Creted subclass of HTMLPage
Adding a subclass of HTMLPage named 'NitdocPage' to get a general Header for each subclass
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 20:00:16 +0000 (16:00 -0400)]
ni_nitdoc: Adding start function
Adding a function to start the process to generate the nitdoc.
Actually it create the nitdoc directory if it does not exist
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 19:52:19 +0000 (15:52 -0400)]
ni_nitdoc: Introduced the nitdoc to the new MetaModel
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 27 Jun 2013 19:34:14 +0000 (15:34 -0400)]
Merge branch 'ni' of github.com:Morriar/nit into ni
Alexandre Terrasa [Sun, 23 Jun 2013 20:12:04 +0000 (16:12 -0400)]
ni: moved comment faccilities to APropdef
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sun, 23 Jun 2013 20:07:59 +0000 (16:07 -0400)]
ni: cleaned options context
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 22 Jun 2013 01:48:09 +0000 (21:48 -0400)]
nitmetrics: set private visibility to internal services
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 22 Jun 2013 01:30:45 +0000 (21:30 -0400)]
nitmetrics: display all metrics by default
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 22 Jun 2013 01:22:51 +0000 (21:22 -0400)]
nitmetrics: now use model_utils
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 22 Jun 2013 01:14:24 +0000 (21:14 -0400)]
model_utils: add mclass children accessors
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 22 Jun 2013 01:14:06 +0000 (21:14 -0400)]
ni: group properties by classes instead of modules
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 22 Jun 2013 00:30:13 +0000 (20:30 -0400)]
ni: can now search properties by their param or return types
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 23:48:30 +0000 (19:48 -0400)]
ni: sort lists by alphabetic order
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 23:27:04 +0000 (19:27 -0400)]
ni: fix imported classes list in module view
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 23:19:54 +0000 (19:19 -0400)]
ni: now displaying attributes
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 23:19:28 +0000 (19:19 -0400)]
ni: fix display
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 21:47:10 +0000 (17:47 -0400)]
ni: display known clients for modules
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 20:25:32 +0000 (16:25 -0400)]
ni: standardize namespaces
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 20:11:20 +0000 (16:11 -0400)]
ni: can now search for virtual types
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 19:40:41 +0000 (15:40 -0400)]
ni: is now able to display several mmodules and mclasses with the same name
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 19:30:11 +0000 (15:30 -0400)]
ni: better display of refined classes and properties
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 19:29:12 +0000 (15:29 -0400)]
ni: now search for properties by their name
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 18:48:32 +0000 (14:48 -0400)]
ni: standardize doc method signatures
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 06:33:38 +0000 (02:33 -0400)]
ni: now display FT and VT on class doc
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 06:01:45 +0000 (02:01 -0400)]
ni: extracted model facilities in their own module
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 21 Jun 2013 05:51:53 +0000 (01:51 -0400)]
ni: Big cleaning
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 19 Jun 2013 18:28:45 +0000 (14:28 -0400)]
ni: First introduction
ni is now able to display index for modules and classes
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 14 Jun 2013 14:48:39 +0000 (10:48 -0400)]
lib: HTML clear children before each render to avoid duplicates
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 13 Jun 2013 11:49:58 +0000 (13:49 +0200)]
tests: save html.res and html_page.res
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Sat, 8 Jun 2013 04:53:55 +0000 (00:53 -0400)]
examples: html lib example
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 11 Jun 2013 21:45:39 +0000 (17:45 -0400)]
lib: Introduced new html lib
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Tue, 11 Jun 2013 02:36:17 +0000 (04:36 +0200)]
lib: add for_abuse.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Stefan Lage [Thu, 6 Jun 2013 21:30:15 +0000 (17:30 -0400)]
nitdoc: Fixing bug to succeed W3C validator
Place "commit" form after the footer
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Jean Privat [Thu, 6 Jun 2013 18:38:59 +0000 (14:38 -0400)]
lib: fix string comparaison
commit
27602007 broke the implementation of < when comparing strings
of different lengths.
Signed-off-by: Jean Privat <privat@ciara.pryen.org>
Jean Privat [Thu, 6 Jun 2013 02:37:31 +0000 (22:37 -0400)]
Merge branch 'nitg-fixes' into next
Jean Privat [Thu, 6 Jun 2013 02:29:30 +0000 (22:29 -0400)]
src: add ngall.sh to bootstrap nitg
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 6 Jun 2013 02:28:02 +0000 (22:28 -0400)]
nitg: create .nit_compile before creating file inside
This solves the crash if missing .nit_compile problem.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 28 May 2013 22:42:37 +0000 (18:42 -0400)]
Merge remote-tracking branch 'stefan/nitdoc' into next
Stefan Lage [Tue, 28 May 2013 20:43:59 +0000 (16:43 -0400)]
nitdoc: Fix bug: problem when getting function information
There was a 'bug' when we tried to commit, we didn't get the right
informations about the function which was editing, we get somes chars
which causes somes troubles in commit query. Because of the
adding of a tag in the last commit.
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Tue, 28 May 2013 20:40:25 +0000 (16:40 -0400)]
nitdoc: Inform if a comment was already modify
Adding a function in 'edit mode' which inform if the comment the
customer if the function which he is editing was already modify, it
allow to show this update to compare it with the original comment
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Tue, 28 May 2013 21:42:15 +0000 (17:42 -0400)]
nitdoc: Added function to resize textbox
Adding a function which resize a textbox in terms of its content
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Tue, 28 May 2013 22:12:01 +0000 (18:12 -0400)]
nitdoc: Added Signed-Off management
Adding a Signed-Off field in the 'Sign In' form which allow to
'generate' its own signed-off for commits.
Addign a checkbox in commit form to obliged the customer to sign his
commit
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Mon, 27 May 2013 02:51:21 +0000 (22:51 -0400)]
nitdoc: Set all data type to JSON in Ajax queries
Change data type to JSON because there was somes troubles in commit
process
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Tue, 28 May 2013 20:38:33 +0000 (16:38 -0400)]
nitdoc: Added some field to github form
Adding a title field to its form, and a field to inform about which
repository was selected when the user signed in.
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Tue, 28 May 2013 20:34:46 +0000 (16:34 -0400)]
nitdoc: Added best way to check authentification
Adding a function to check if credentials informed are correct, if they
are or not a message is displaying to inform us.
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Sun, 26 May 2013 22:31:44 +0000 (18:31 -0400)]
nitdoc: Correcting message box
Correcting error message displaying when we try to sing in without
informed user/password fields.
Adding a better way to center the message box in terms of the screen
size
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Jean Privat [Tue, 28 May 2013 15:15:23 +0000 (11:15 -0400)]
tests: add sav/json.res
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 28 May 2013 15:13:07 +0000 (11:13 -0400)]
Merge remote-tracking branch 'alexis/libs/json' into next
Conflicts:
tests/nitg-e.skip
tests/nitg-s.skip
tests/nitg.skip
tests/niti.skip
Alexis Laferrière [Tue, 28 May 2013 15:04:39 +0000 (11:04 -0400)]
lib/json: removes spaces in test for retro-compatibility
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 28 May 2013 14:52:22 +0000 (10:52 -0400)]
lib/json: fix const char* errors
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Mon, 27 May 2013 20:12:33 +0000 (16:12 -0400)]
parser: add a Package to the nit grammar
So the eclipse plugin will be happy.
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Mon, 27 May 2013 18:16:15 +0000 (14:16 -0400)]
lib/json: also check for null in Sequence
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Mon, 27 May 2013 17:49:02 +0000 (13:49 -0400)]
doc: be more clever to guess existing libraries
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 27 May 2013 17:26:48 +0000 (13:26 -0400)]
Merge remote-tracking branch 'alexis/libs/realtime' into next
Alexis Laferrière [Mon, 27 May 2013 17:07:54 +0000 (13:07 -0400)]
libs/json: duplicate null check for retro-compatibility
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Thu, 31 May 2012 00:09:36 +0000 (20:09 -0400)]
lib: adds the realtime module to keep time of real time flow
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Mon, 27 May 2013 16:30:01 +0000 (12:30 -0400)]
Merge remote-tracking branch 'alexis/ieee-example' into next
Alexis Laferrière [Mon, 27 May 2013 15:11:12 +0000 (11:11 -0400)]
examples: add the draw_operation example from the IEEE competition
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Sat, 25 May 2013 17:19:44 +0000 (13:19 -0400)]
Merge branch 'nitdoc' into next
Jean Privat [Sat, 25 May 2013 17:18:49 +0000 (13:18 -0400)]
doc: update Makefile to run nitdoc with extended options
add also a doc/newmodel/index.html rule
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 25 May 2013 15:11:07 +0000 (11:11 -0400)]
tests: add more tests of libs
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 25 May 2013 13:34:47 +0000 (09:34 -0400)]
tests: update sav/nitdoc
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 25 May 2013 09:46:24 +0000 (05:46 -0400)]
test: add testfull.sh
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Sat, 25 May 2013 09:05:41 +0000 (05:05 -0400)]
tests: remove # in args, this break TAP
Signed-off-by: Jean Privat <jean@pryen.org>
Stefan Lage [Thu, 23 May 2013 23:19:13 +0000 (19:19 -0400)]
nitdoc: Adding automatic commit message
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 23 May 2013 20:26:19 +0000 (16:26 -0400)]
nitdoc: Correcting cursor style hover a comment
When the cursor is hover a comment, it is update to a hand only on edit mode
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Fri, 24 May 2013 01:02:08 +0000 (21:02 -0400)]
nitdoc: Fix bug when signing in
Before creating the session, we check if the repository and the branch
informed are existing, whose causing some bugs when one of these do not
exist. If the repository does not exist then we stop the process. If
the branch does not exist we ask to the customer if he wants to create
it.
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Thu, 16 May 2013 14:25:54 +0000 (10:25 -0400)]
nitdoc: Fix bug : Generating the documentation.
One closure tag 'div' was in excess which caused the appearance of the
button 'Sign In' on the index page.
A missing part of tag 'div' closure causing a bug in the style on each
module pages.
Signed-off-by: Stefan Lage <lagestfan@gmail.com>
Stefan Lage [Wed, 8 May 2013 20:38:23 +0000 (16:38 -0400)]
nitdoc: Add a hover behavior to the mouse
When the cursor is hover a comment it display a 'hand' and disable it
when it is not hover.
signed-off by: Stefan Lage <lagestfan@gmail.com>