Alexandre Terrasa [Tue, 18 Feb 2014 23:25:34 +0000 (18:25 -0500)]
nitdoc: migrate github modalbox to JQuery.UI widget
ModalBox plugin is now standalone and can be used without github plugin
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Conflicts:
src/nitdoc.nit
Alexandre Terrasa [Tue, 25 Feb 2014 17:46:51 +0000 (12:46 -0500)]
nitdoc: merge js utils and base64 into lib/utils
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 15 Feb 2014 05:29:51 +0000 (00:29 -0500)]
nitdoc: move github-api to js/lib/
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 15 Feb 2014 05:25:18 +0000 (00:25 -0500)]
nitdoc: rewrite GitHub plugin
* move icon on the left top corner
* merge github and ui plugins
* merge comment box and commit box
* commit message and signoff are displayed under the modifier comment
* no more modal for commit sign off
* also edited styles
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Sat, 15 Feb 2014 05:01:35 +0000 (00:01 -0500)]
nitdoc: display right location for empty comments
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 14 Feb 2014 06:03:41 +0000 (01:03 -0500)]
nitdoc: migrate github commitbox to jQuery.UI widget
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 14 Feb 2014 05:19:20 +0000 (00:19 -0500)]
nitdoc: migrate github commentbox to jQuery.UI widget
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 14 Feb 2014 05:15:53 +0000 (00:15 -0500)]
nitdoc: migrate github loginbox to jQuery.UI widget
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 13 Feb 2014 03:29:25 +0000 (22:29 -0500)]
nitdoc: set timeout on keypress to limit quicksearch overhead
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 13 Feb 2014 03:25:01 +0000 (22:25 -0500)]
nitdoc: migrate quicksearch to jQuery.UI widget
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 12 Feb 2014 05:25:29 +0000 (00:25 -0500)]
nitdoc: migrate clipboard to jQuery.UI widget
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 12 Feb 2014 05:02:36 +0000 (00:02 -0500)]
nitdoc: migrate folding to jQuery.UI widget
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 12 Feb 2014 04:59:58 +0000 (23:59 -0500)]
nitdoc: introduce JQuery.UI
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 12 Feb 2014 03:19:47 +0000 (22:19 -0500)]
nitdoc: move filtering facilities to its own plugin file
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 12 Feb 2014 00:47:38 +0000 (19:47 -0500)]
nitdoc: move clipboard facilities to its own plugin file
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 12 Feb 2014 00:41:33 +0000 (19:41 -0500)]
nitdoc: move folding facilities to its own plugin file
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 12 Feb 2014 00:18:21 +0000 (19:18 -0500)]
nitdoc: refactor Nitdoc.GitHub JS module into github/* plugin
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 7 Feb 2014 07:31:03 +0000 (02:31 -0500)]
nitdoc: refactor Nitdoc.QuickSearch JS module into quicksearch plugin
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 7 Feb 2014 07:04:09 +0000 (02:04 -0500)]
nitdoc: refactor Nitdoc.UI JS module into ui plugin
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 7 Feb 2014 06:58:58 +0000 (01:58 -0500)]
nitdoc: create js module utils
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 7 Feb 2014 06:47:23 +0000 (01:47 -0500)]
nitdoc: make base64 JS module require.js compatible
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Fri, 7 Feb 2014 06:35:39 +0000 (01:35 -0500)]
nitdoc: load js libs from require.js
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Tue, 18 Feb 2014 23:21:09 +0000 (18:21 -0500)]
nitdoc: introduce require.js a JS module loader
require.js is an open-source implementation of the
Javascript AMD API.
The Asynchronous Module Definition (AMD) API specifies
a mechanism for defining modules such that the module and
its dependencies can be asynchronously loaded.
This is particularly well suited for the browser environment
where synchronous loading of modules incurs performance.
require.js also includes cache control on client side.
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Conflicts:
src/nitdoc.nit
Alexandre Terrasa [Wed, 19 Feb 2014 20:32:57 +0000 (15:32 -0500)]
nitdoc: add --shareurl to link external share files
Make it easy for share development
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Wed, 19 Feb 2014 20:33:21 +0000 (15:33 -0500)]
nitdoc: move Piwik tracker out of html footer
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 30 Jan 2014 13:39:18 +0000 (08:39 -0500)]
Merge branch 'prepare_projects'
Jean Privat [Mon, 27 Jan 2014 18:42:09 +0000 (13:42 -0500)]
model: move MModule related classes into mmodule.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 29 Jan 2014 15:49:59 +0000 (10:49 -0500)]
lib: add ordered_tree
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 27 Jan 2014 21:29:15 +0000 (16:29 -0500)]
tools: add test_phase.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 27 Jan 2014 21:13:49 +0000 (16:13 -0500)]
tools: move run_global_phases/process_mainmodule into modelbuilder
frontend was to specific
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 27 Jan 2014 20:34:06 +0000 (15:34 -0500)]
niti: add extern `file_realpath`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 29 Jan 2014 21:02:32 +0000 (16:02 -0500)]
lib: add file::realpath
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 29 Jan 2014 21:04:59 +0000 (16:04 -0500)]
lib: fix simplify_path for .
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 29 Jan 2014 18:08:33 +0000 (13:08 -0500)]
Merge remote-tracking branch 'alexis/various-fixes'
Jean Privat [Wed, 29 Jan 2014 16:50:26 +0000 (11:50 -0500)]
Merge remote-tracking branch 'lucas/unwind_integration'
Alexis Laferrière [Mon, 13 Jan 2014 23:24:07 +0000 (18:24 -0500)]
lib: changes the behavior of Coll::rand to behave like first
It will now return a non-nullable and `abort` when empty.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 20 Jan 2014 14:52:07 +0000 (09:52 -0500)]
contrib/sort_downloads: fix missing C include
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Thu, 28 Nov 2013 19:36:34 +0000 (14:36 -0500)]
lib: adds missing import of math.h in standard library
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Tue, 28 Jan 2014 16:59:52 +0000 (11:59 -0500)]
Merge remote-tracking branch 'lucas/compiler_abstract_fix'
Lucas Bajolet [Mon, 27 Jan 2014 18:30:54 +0000 (13:30 -0500)]
nitg: Added typing test on new for non-concrete classes + unit tests for new abstract and interface.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Mon, 27 Jan 2014 17:18:48 +0000 (12:18 -0500)]
nitg: Added C stack trace when encountering an error
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Thu, 23 Jan 2014 20:34:12 +0000 (15:34 -0500)]
Merge remote-tracking branch 'alexis/various-fixes'
Alexis Laferrière [Thu, 23 Jan 2014 14:49:00 +0000 (09:49 -0500)]
lib: fix conversion of hex char to int and add test
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 20 Jan 2014 23:13:08 +0000 (18:13 -0500)]
nitg-s: fix call to super in primitive types and add test
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 22 Jan 2014 20:08:04 +0000 (15:08 -0500)]
nitg-s: fix abstract methods in extern classes and add test
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 21 Jan 2014 15:41:51 +0000 (10:41 -0500)]
misc: update Vim syntastic plugin to use nitg
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 21 Jan 2014 15:42:34 +0000 (10:42 -0500)]
gitignore: ignore path from examples and contrib
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Mon, 20 Jan 2014 14:48:46 +0000 (09:48 -0500)]
Merge remote-tracking branch 'lucas/Code injection in debugger'
Lucas Bajolet [Wed, 15 Jan 2014 16:53:43 +0000 (11:53 -0500)]
debugger: Modified commands for the debugger.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Thu, 16 Jan 2014 20:33:18 +0000 (15:33 -0500)]
debugger: Added dynamic evaluation of a Nit module.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Fri, 17 Jan 2014 22:37:25 +0000 (17:37 -0500)]
debugger: Modified call chain for calls to runtime injected main methods.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Fri, 17 Jan 2014 19:22:01 +0000 (14:22 -0500)]
tests: remove implicit importation of standard on some `base` tests
1. it simplifies the requirement of the test (test more minimal)
2. it make tests slightly faster
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 17 Jan 2014 16:44:03 +0000 (11:44 -0500)]
Merge branch 'nitdoc'
Jean Privat [Fri, 17 Jan 2014 16:43:52 +0000 (11:43 -0500)]
nitdoc: use pratchett.info.uqam.ca/piwik/
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 17 Jan 2014 13:43:57 +0000 (08:43 -0500)]
nitcc: update test because of the migration nitc->nitg
Signed-off-by: Jean Privat <jean@pryen.org>
Alexandre Terrasa [Thu, 16 Jan 2014 23:53:31 +0000 (18:53 -0500)]
nitdoc: add support for Piwik tracker
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 16 Jan 2014 23:24:45 +0000 (18:24 -0500)]
nitdoc: clean useless console.log on body click event
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Thu, 16 Jan 2014 22:04:27 +0000 (17:04 -0500)]
tests: update nitlight
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 Jan 2014 22:02:29 +0000 (17:02 -0500)]
nitlight: add --first-line --last-line
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 Jan 2014 22:01:50 +0000 (17:01 -0500)]
highlight: add `first_line` and `last_line`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 Jan 2014 20:20:24 +0000 (15:20 -0500)]
tools: ngall.sh starts with ../c_src/nitg
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 Jan 2014 20:15:46 +0000 (15:15 -0500)]
tools: rename mksrc2
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 Jan 2014 19:50:01 +0000 (14:50 -0500)]
Merge remote-tracking branch 'alexandre/nitdoc-qs'
Jean Privat [Thu, 16 Jan 2014 19:41:23 +0000 (14:41 -0500)]
tools: generate stdlib doc with the git plugin enabled
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 Jan 2014 19:40:52 +0000 (14:40 -0500)]
tools: generate nit tools doc as `nitc`, not `newmodel`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 Jan 2014 18:47:48 +0000 (13:47 -0500)]
Merge branch 'killnitc' old branch renamed as 'oldnitc'
Alexandre Terrasa [Thu, 16 Jan 2014 02:51:40 +0000 (21:51 -0500)]
nitdoc: removes select behavior on box header
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Alexandre Terrasa [Thu, 16 Jan 2014 02:44:23 +0000 (21:44 -0500)]
nitdoc: improves quicksearch
Basic match is made on the begining of the string:
* first we select results with startsWith(substring)
* then we apply ranking using Dice coefficient
* rank bonus is given to exact match
If there is no match found:
* we rank all the entries and sort them
* entries with a Dice coefficient = 0 are trimmed
Also made some improvements on the GUI:
* results are grouped by name
* user can scroll the results list
* better handling of arrows in the search text field
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Jean Privat [Wed, 15 Jan 2014 18:46:03 +0000 (13:46 -0500)]
Merge remote-tracking branch 'alexis/times' into killnitc
Lucas Bajolet [Wed, 15 Jan 2014 16:55:57 +0000 (11:55 -0500)]
debugger: Added method to clean the object model when injecting code at runtime.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Wed, 15 Jan 2014 16:55:34 +0000 (11:55 -0500)]
debugger: Permits the use of locally defined variables in injected code at runtime.
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Tue, 14 Jan 2014 21:44:46 +0000 (16:44 -0500)]
debugger: Handles errors when analyzing semantically a module at runtime (avoids aborting).
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Lucas Bajolet [Wed, 15 Jan 2014 16:55:18 +0000 (11:55 -0500)]
debugger: Changed the way commands are handled
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Jean Privat [Wed, 15 Jan 2014 15:49:26 +0000 (10:49 -0500)]
Merge remote-tracking branch 'alexis/vim-syntastic' into killnitc
Alexis Laferrière [Mon, 13 Jan 2014 16:39:25 +0000 (11:39 -0500)]
misc: adds the option to specify the main nit module to syntastic
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 13 Jan 2014 16:38:28 +0000 (11:38 -0500)]
misc: updates the vim syntastic config with correct style
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Tue, 7 Jan 2014 14:05:40 +0000 (09:05 -0500)]
update nitg requirements in README
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 29 Nov 2013 17:38:52 +0000 (12:38 -0500)]
nitcc/tests: add lexer-shortest.sablecc
Signed-off-by: Samuel Lambert <tweakedsam@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Fri, 29 Nov 2013 14:32:04 +0000 (09:32 -0500)]
nitcc: end-of-stream does not equate `'\0'`
It was a basic WIP stuff that remained.
`Any` and other classes of character can legally accept `'\0'` thus looping
infinitely.
Reported-by: Samuel Lambert <tweakedsam@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 27 Nov 2013 15:24:09 +0000 (10:24 -0500)]
Merge branch 'killis' into killnitc
Jean Privat [Wed, 27 Nov 2013 15:23:54 +0000 (10:23 -0500)]
mkcsrc: fix copy of .h and .c files
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 27 Nov 2013 15:15:59 +0000 (10:15 -0500)]
c_src: update for kill is
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 21:09:04 +0000 (16:09 -0500)]
parser: update to remove `expr.ee`, aka `AEeExpr`, aka `is`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 21:05:38 +0000 (16:05 -0500)]
grammar: remove `expr.ee`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 20:59:34 +0000 (15:59 -0500)]
src: remove handling of `is` (AEeExpr)
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 20:58:47 +0000 (15:58 -0500)]
lib: make `is_same_instance` intern
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 27 Nov 2013 14:20:35 +0000 (09:20 -0500)]
tests: remove old sav/nitg-e/error_for_coll.res
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 27 Nov 2013 14:08:47 +0000 (09:08 -0500)]
tests: rewrite base_covar_int to not runtime-error in kernel.nit
thus having moving line numbers
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 27 Nov 2013 14:07:17 +0000 (09:07 -0500)]
tests: remove base_virtual_int that is redundant with base_covar_int
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 20:37:47 +0000 (15:37 -0500)]
tests: replace usage of `is` with `is_same_instance`
also remove old `test_eq*.nit` tests
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 20:14:02 +0000 (15:14 -0500)]
nitg&i: intern implementation of `is_same_instance`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 20:02:35 +0000 (15:02 -0500)]
lib: add `Object::is_same_instance` that will replace `is`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 19:58:45 +0000 (14:58 -0500)]
nitdoc: use `==` instead of `is`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 19:58:18 +0000 (14:58 -0500)]
lib: remove useless usage of `is`
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 16:07:55 +0000 (11:07 -0500)]
Merge branch 'killclosures' into killnitc
Conflicts:
tests/sav/base_covar_int_alt1.res
tests/sav/base_covar_int_alt3.res
Jean Privat [Tue, 26 Nov 2013 16:05:07 +0000 (11:05 -0500)]
a_star: remove find_closest because of clpsure
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 25 Nov 2013 20:05:36 +0000 (15:05 -0500)]
parser: remove last clorure-related classes
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 25 Nov 2013 20:05:16 +0000 (15:05 -0500)]
parser: regenerate to remove more closures
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 18 Nov 2013 19:58:07 +0000 (14:58 -0500)]
tests: update some tests related to kernel line-numbering
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 26 Nov 2013 15:22:10 +0000 (10:22 -0500)]
tests: clean and update sav/nitg-e
Signed-off-by: Jean Privat <jean@pryen.org>