nit.git
10 years agoni_nitdoc: Cleaning nitdoc options
Stefan Lage [Fri, 28 Jun 2013 22:17:45 +0000 (18:17 -0400)]
ni_nitdoc: Cleaning nitdoc options

Delete useless options to get only the nitdoc options

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Generate the quicksearch file
Stefan Lage [Fri, 28 Jun 2013 22:15:24 +0000 (18:15 -0400)]
ni_nitdoc: Generate the quicksearch file

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Adding function to get the link of a class
Stefan Lage [Wed, 3 Jul 2013 23:36:58 +0000 (19:36 -0400)]
ni_nitdoc: Adding function to get the link of a class

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Adding inherited methods descriptions
Stefan Lage [Fri, 28 Jun 2013 22:11:49 +0000 (18:11 -0400)]
ni_nitdoc: Adding inherited methods descriptions

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Adding all methods descriptions
Stefan Lage [Fri, 28 Jun 2013 22:09:37 +0000 (18:09 -0400)]
ni_nitdoc: Adding all methods descriptions

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Get last element in Set
Stefan Lage [Fri, 28 Jun 2013 22:06:20 +0000 (18:06 -0400)]
ni_nitdoc: Get last element in Set

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Associate mpropdef to its mmethod before process each mclass
Stefan Lage [Fri, 28 Jun 2013 22:04:08 +0000 (18:04 -0400)]
ni_nitdoc: Associate mpropdef to its mmethod before process each mclass

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Associate a mpropdef to its mmethod
Stefan Lage [Fri, 28 Jun 2013 22:02:03 +0000 (18:02 -0400)]
ni_nitdoc: Associate a mpropdef to its mmethod

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Check if a mclass has a mmodule
Stefan Lage [Fri, 28 Jun 2013 22:00:31 +0000 (18:00 -0400)]
ni_nitdoc: Check if a mclass has a mmodule

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Get all inherited method in a class
Stefan Lage [Fri, 28 Jun 2013 21:58:52 +0000 (17:58 -0400)]
ni_nitdoc: Get all inherited method in a class

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Display class constructors in each class page
Stefan Lage [Fri, 28 Jun 2013 21:55:17 +0000 (17:55 -0400)]
ni_nitdoc: Display class constructors in each class page

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Describe forml/virtual types
Stefan Lage [Fri, 28 Jun 2013 21:52:27 +0000 (17:52 -0400)]
ni_nitdoc: Describe forml/virtual types

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: descibre a propertie
Stefan Lage [Fri, 28 Jun 2013 21:49:31 +0000 (17:49 -0400)]
ni_nitdoc: descibre a propertie

Adding a function to insert the description of a MProperty

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Namespace in mclassdef
Stefan Lage [Fri, 28 Jun 2013 21:46:45 +0000 (17:46 -0400)]
ni_nitdoc: Namespace in mclassdef

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Inform whoses modules are concerned in a class
Stefan Lage [Fri, 28 Jun 2013 21:39:37 +0000 (17:39 -0400)]
ni_nitdoc: Inform whoses modules are concerned in a class

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Linked the amodule to its module
Stefan Lage [Fri, 28 Jun 2013 21:38:42 +0000 (17:38 -0400)]
ni_nitdoc: Linked the amodule to its module

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: inform class name and namespace
Stefan Lage [Fri, 28 Jun 2013 21:19:02 +0000 (17:19 -0400)]
ni_nitdoc: inform class name and namespace

Insert first part of the content of a class page, its name and its
namespace

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Public owner in MClass
Stefan Lage [Fri, 28 Jun 2013 21:15:18 +0000 (17:15 -0400)]
ni_nitdoc: Public owner in MClass

Adding function to get the public owner of a class

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Standardize doc method signatures
Stefan Lage [Fri, 28 Jun 2013 21:09:01 +0000 (17:09 -0400)]
ni_nitdoc: Standardize doc method signatures

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Adding inheritance column in class page
Stefan Lage [Fri, 28 Jun 2013 21:02:12 +0000 (17:02 -0400)]
ni_nitdoc: Adding inheritance column in class page

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Adding properties column in class page
Stefan Lage [Fri, 28 Jun 2013 20:58:58 +0000 (16:58 -0400)]
ni_nitdoc: Adding properties column in class page

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Adds function to MProperty
Stefan Lage [Fri, 28 Jun 2013 19:48:38 +0000 (15:48 -0400)]
ni_nitdoc: Adds function to MProperty

Adding functions to get the local_class of a property, and another to
get the anchor link

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

10 years agoni_nitdoc: Adds header/body in class pages
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>

10 years agoni_nitdoc: Generate each class's pages included in a program
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>

10 years agoni_nitdoc: Introduced Classes page
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>

10 years agoni_nitdoc: Properties list in modules page
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>

10 years agoni_nitdoc: Get all methods contained in a class
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>

10 years agomodel_utils: All modules concerned in a class
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>

10 years agomodel_utils: All modules contain in a class
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>

10 years agoni_nitdoc: Adding menu in modules page
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>

10 years agoni_nitdoc: Adding classes column in modules page
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>

10 years agoni_nitdoc: Get all classes of a module
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>

10 years agoni_nitdoc: Adding module comment in module page
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>

10 years agoni_nitdoc: Adding header/body for modules page
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>

10 years agoni_nitdoc: Adding function to generate each modules page
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>

10 years agoni_nitdoc: class to generate modules page
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>

10 years agoni_nitdoc: Adding properties column in full-index
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>

10 years agoni_nitdoc: Define access to local class from Mproperty
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>

10 years agoni_nitdoc: extracted model facilities in their own module
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>

10 years agoni_nitdoc: Added Classes column
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>

10 years agoni_nitdoc: Adding to generate Module column
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>

10 years agoni_nitdoc: Content to Full-Index page
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>

10 years agoni_nitdoc: Adding a header to full-index page
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>

10 years agoni_nitdoc: Added function to generate full-index page
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>

10 years agoni_nitdoc: Introduced Full Index page
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>

10 years agoni_nitdoc: Generate dot file in overview page
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>

10 years agoni_nitdoc: Introduced function to generate dot file
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>

10 years agoni_nitdoc: Display all modules in Overview
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>

10 years agoni_nitdoc: Adding some functions in AModule class
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>

10 years agoni_nitdoc: Added overview body
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>

10 years agoni_nitdoc: Adding the header content to Overview page
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>

10 years agoni_nitdoc: Add function to generate Overview Page
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>

10 years agoni_nitdoc: Create class to generate Overview page
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>

10 years agoni_nitdoc: Creted subclass of HTMLPage
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>

10 years agoni_nitdoc: Adding start function
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>

10 years agoni_nitdoc: Introduced the nitdoc to the new MetaModel
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>

10 years agoMerge branch 'ni' of github.com:Morriar/nit into ni
Stefan Lage [Thu, 27 Jun 2013 19:34:14 +0000 (15:34 -0400)]
Merge branch 'ni' of github.com:Morriar/nit into ni

10 years agomodel_utils: add mclass children accessors
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>

10 years agoni: group properties by classes instead of modules
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>

10 years agoni: can now search properties by their param or return types
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>

10 years agoni: sort lists by alphabetic order
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>

10 years agoni: fix imported classes list in module view
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>

10 years agoni: now displaying attributes
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>

10 years agoni: fix display
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>

10 years agoni: display known clients for modules
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>

10 years agoni: standardize namespaces
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>

10 years agoni: can now search for virtual types
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>

10 years agoni: is now able to display several mmodules and mclasses with the same name
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>

10 years agoni: better display of refined classes and properties
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>

10 years agoni: now search for properties by their name
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>

10 years agoni: standardize doc method signatures
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>

10 years agoni: now display FT and VT on class doc
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>

10 years agoni: extracted model facilities in their own module
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>

10 years agoni: Big cleaning
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>

10 years agoni: First introduction
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>

10 years agolib: HTML clear children before each render to avoid duplicates
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>

10 years agotests: save html.res and html_page.res
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>

10 years agoexamples: html lib example
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>

10 years agolib: Introduced new html lib
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>

10 years agolib: add for_abuse.nit
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>

10 years agonitdoc: Fixing bug to succeed W3C validator
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>

10 years agolib: fix string comparaison
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>

10 years agoMerge branch 'nitg-fixes' into next
Jean Privat [Thu, 6 Jun 2013 02:37:31 +0000 (22:37 -0400)]
Merge branch 'nitg-fixes' into next

10 years agosrc: add ngall.sh to bootstrap nitg
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>

10 years agonitg: create .nit_compile before creating file inside
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>

10 years agoMerge remote-tracking branch 'stefan/nitdoc' into next
Jean Privat [Tue, 28 May 2013 22:42:37 +0000 (18:42 -0400)]
Merge remote-tracking branch 'stefan/nitdoc' into next

10 years agonitdoc: Fix bug: problem when getting function information
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>

10 years agonitdoc: Inform if a comment was already modify
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>

10 years agonitdoc: Added function to resize textbox
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>

10 years agonitdoc: Added Signed-Off management
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>

10 years agonitdoc: Set all data type to JSON in Ajax queries
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>

10 years agonitdoc: Added some field to github form
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>

10 years agonitdoc: Added best way to check authentification
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>

10 years agonitdoc: Correcting message box
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>

10 years agotests: add sav/json.res
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>

10 years agoMerge remote-tracking branch 'alexis/libs/json' into next
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

10 years agolib/json: removes spaces in test for retro-compatibility
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>

10 years agolib/json: fix const char* errors
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>

10 years agoparser: add a Package to the nit grammar
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>

10 years agolib/json: also check for null in Sequence
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>