Alexis Laferrière [Mon, 20 May 2013 22:41:14 +0000 (18:41 -0400)]
contrib/mpd&rpi: intro of a physical interface for MPD on Raspberry Pi
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 26 May 2013 03:15:11 +0000 (23:15 -0400)]
examples: adds example for the Raspberry Pi
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sun, 26 May 2013 03:05:45 +0000 (23:05 -0400)]
lib/bcm2835: intro of the bcm2835 module to do GPIO on a Raspberry Pi
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 27 May 2013 13:44:14 +0000 (09:44 -0400)]
lib/gpio: intro of a basic GPIO abstraction library
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Mon, 20 May 2013 21:30:33 +0000 (17:30 -0400)]
lib/mpd: intro of the MPD client module
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 14 May 2013 19:27:25 +0000 (15:27 -0400)]
lib: adds the subarray method to the Sequence class
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Thu, 16 May 2013 14:24:02 +0000 (10:24 -0400)]
Merge branch 'prescc' into next
Jean Privat [Thu, 16 May 2013 14:19:26 +0000 (10:19 -0400)]
Merge branch 'socket' into next
Jean Privat [Thu, 16 May 2013 14:17:50 +0000 (10:17 -0400)]
tests: do not use program_name for examples/socket_*.nit
The behavior is not consistent for interpreter and compiler.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 May 2013 01:31:13 +0000 (21:31 -0400)]
Merge remote-tracking branch 'nathan/gtk'
Jean Privat [Thu, 16 May 2013 01:29:31 +0000 (21:29 -0400)]
tests: remove most ffi-related skips
NOT YET IMPLEMENTS automatically skips them.
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 May 2013 01:27:01 +0000 (21:27 -0400)]
nitg: NOT YET IMPLEMENTED on AExternInitPropdef
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Thu, 16 May 2013 01:26:31 +0000 (21:26 -0400)]
modelbuilder: AExternInitPropdef implicit name is `init`
because `new X` is `new X.init`
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Tue, 14 May 2013 19:52:37 +0000 (15:52 -0400)]
lib/gtk: clean up trailing white spaces
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 14 May 2013 19:48:17 +0000 (15:48 -0400)]
lib/gtk: brings back the gtk lib as a defaut redirection
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 14 May 2013 19:44:15 +0000 (15:44 -0400)]
lib/gtk: adds gtk3_6 and move GtkSearchEntry to it
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 14 May 2013 19:39:19 +0000 (15:39 -0400)]
lib/gtk: renamed to gtk3_4
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 14 May 2013 19:24:35 +0000 (15:24 -0400)]
examples/calculator: updated to latest gtk module specification
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nathan.heu [Thu, 9 May 2013 04:14:01 +0000 (00:14 -0400)]
gtk: add license terms
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
nheu [Tue, 7 May 2013 20:39:05 +0000 (16:39 -0400)]
gtk: add basic dialog widget and derived dialog windows : about, appChooser, fileChooser, message,...
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
nheu [Tue, 7 May 2013 20:35:54 +0000 (16:35 -0400)]
gtk: add graphical assistants widgets
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
nheu [Tue, 7 May 2013 20:28:35 +0000 (16:28 -0400)]
gtk: add a couple of -lower interest- widgets
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
nheu [Tue, 7 May 2013 20:21:22 +0000 (16:21 -0400)]
gtk: refactor structure of library
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
nheu [Tue, 7 May 2013 20:16:55 +0000 (16:16 -0400)]
gtk: add Entry, Scrollbar and Ranges widget
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
nheu [Tue, 7 May 2013 20:06:14 +0000 (16:06 -0400)]
gtk: add enumeration modules and new widgets
Add modules for gtk and gdk enumerations
New widgets dervied from button : ScaleButton, LinkButton,...
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
nathan.heu [Wed, 15 May 2013 20:17:24 +0000 (16:17 -0400)]
gtk: new widgets and base classe Misc
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
nheu [Tue, 7 May 2013 18:54:32 +0000 (14:54 -0400)]
gtk: add some state method to GtkWindow
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
nheu [Tue, 7 May 2013 18:44:38 +0000 (14:44 -0400)]
gtk: integrates GtkBin in the hierarchy
A GtkBin is a container that contains only one child
Comments on core classes
Signed-off-by: Nathan Heu <heu.nathan@courrier.uqam.ca>
Matthieu Lucas [Wed, 15 May 2013 19:29:10 +0000 (15:29 -0400)]
lib/socket: intro of the socket module and examples
Signed-off-by: Matthieu Lucas <lucasmatthieu@gmail.com>
Jean Privat [Thu, 9 May 2013 18:18:05 +0000 (14:18 -0400)]
tests: skip callback in newmm engines
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 1 May 2013 20:07:59 +0000 (16:07 -0400)]
Merge branch 'matthieu/example_monkey'
Matthieu Lucas [Tue, 30 Apr 2013 21:19:32 +0000 (17:19 -0400)]
example: adding a sample to show a simple case of callbacks with FFI
Jean Privat [Tue, 23 Apr 2013 06:51:28 +0000 (02:51 -0400)]
tests: add base_init_inherit6.nit
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 23 Apr 2013 06:49:53 +0000 (02:49 -0400)]
nitc: fix error in constructor inheritance
Reported-by: Christopher Robert <osiris57@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Mon, 8 Apr 2013 12:30:47 +0000 (08:30 -0400)]
Merge branch 'alexis/libs/gtk'
Conflicts:
tests/sav/nitstats_args1.sav
Jean Privat [Thu, 4 Apr 2013 15:52:39 +0000 (11:52 -0400)]
fix initialization order of attributes
Explicitly use the linearization order.
All engines where broken; quite an exploit.
Reported-by: Nathan Heu <nathan.heu@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
Alexis Laferrière [Thu, 21 Mar 2013 13:01:42 +0000 (09:01 -0400)]
ni: fixes type check in C to support null instances
This commit fixes a bug where a call to Object_is_a_nullable_Something
failed with a null argument, also concerns Object_as_nullable_Something.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 20 Feb 2013 13:27:58 +0000 (08:27 -0500)]
examples: adds an example use of the gtk module, calculator
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Tue, 19 Feb 2013 20:31:07 +0000 (15:31 -0500)]
lib: intro of the GTK module
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Jean Privat [Wed, 3 Apr 2013 19:26:00 +0000 (15:26 -0400)]
parser: prescc can generate {-> New...} in easy cases
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 3 Apr 2013 17:42:29 +0000 (13:42 -0400)]
parser: migrate prescc to Perl
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 3 Apr 2013 15:52:50 +0000 (11:52 -0400)]
Merge branch 'var_null'
Jean Privat [Wed, 3 Apr 2013 13:23:36 +0000 (09:23 -0400)]
tests: add base_var_null2
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 3 Apr 2013 07:36:49 +0000 (03:36 -0400)]
nitg&i: accepts 'var x = null'
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Wed, 3 Apr 2013 07:36:12 +0000 (03:36 -0400)]
nitc: accepts 'var x = null'
Signed-off-by: Jean Privat <jean@pryen.org>
Jean Privat [Tue, 2 Apr 2013 20:41:51 +0000 (16:41 -0400)]
Merge remote-tracking branch 'alexandre/benches'
Jean Privat [Mon, 25 Mar 2013 18:36:22 +0000 (14:36 -0400)]
Merge remote-tracking branch 'lucas/string'
Jean Privat [Mon, 25 Mar 2013 18:36:11 +0000 (14:36 -0400)]
Merge branch 'debugger'
Jean Privat [Fri, 22 Mar 2013 02:42:30 +0000 (22:42 -0400)]
tests: update nit.sav
Signed-off-by: Jean Privat <jean@pryen.org>
Lucas Bajolet [Fri, 22 Mar 2013 14:42:31 +0000 (10:42 -0400)]
nitdbg: Documented method untrace_variable to precise the role of the returned Bool
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
Alexis Laferrière [Wed, 20 Mar 2013 15:29:13 +0000 (11:29 -0400)]
tests.sh: adds env var to notify tested programs of automated tests
Allows for tested programs to know if it is executed normally or if it
is being executed by an automated test. The program may then avoid to
display UI and such.
Will be used the the calculator example program.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 23 Feb 2013 14:14:34 +0000 (09:14 -0500)]
lib: fix Float::to_precision
The new implementation works as expected. It may not be ideal because we
do not have access to the math module. For this reason, we use the FFI
to access fprintf.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Sat, 23 Feb 2013 14:42:47 +0000 (09:42 -0500)]
ni: fix use of multiple native global refs and according test
Fix a bug occuring when the number of global references from the
C code was higher than one.
The according test is moved from the native interface format to
the FFI. It also has a more complex test case.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Alexis Laferrière [Wed, 20 Feb 2013 13:21:44 +0000 (08:21 -0500)]
lib: fix write_char to use more standard C code
The previous implementation was not supported by some compilers.
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Lucas BAJOLET [Wed, 6 Mar 2013 20:15:23 +0000 (15:15 -0500)]
nitdbg: Added command to print a stack trace at will
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas Bajolet [Thu, 14 Mar 2013 21:01:59 +0000 (17:01 -0400)]
nitdbg: Added function to continue execution automatically with -c option
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Tue, 5 Mar 2013 23:53:45 +0000 (18:53 -0500)]
nitdbg: Added missing documentation on commited functions
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Tue, 5 Mar 2013 23:44:04 +0000 (18:44 -0500)]
nitdbg: Added documentation for the trace and untrace functions
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 22:46:22 +0000 (17:46 -0500)]
nitdbg: The untrace function can now be called via the interactive shell
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 22:45:46 +0000 (17:45 -0500)]
nitdbg: Added command to untrace a variable
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 22:44:55 +0000 (17:44 -0500)]
nitdbg: Trace function, auto adds an object to trace when encountering a traced object in a funciton call
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 22:44:02 +0000 (17:44 -0500)]
nitdbg: Added the trace detection in main loop
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 22:43:12 +0000 (17:43 -0500)]
nitdbg: Added function to add a variable to the trace list
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 23:26:53 +0000 (18:26 -0500)]
nitdbg: Added function to trace a variable and all its super definitions
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Tue, 5 Mar 2013 22:39:49 +0000 (17:39 -0500)]
nitdbg: Seeks an argument in the specified frame to see if the variable is an argument in the function definition
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Tue, 5 Mar 2013 22:38:29 +0000 (17:38 -0500)]
nitdbg: Added function to parse a command and get only its identifiers
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Tue, 5 Mar 2013 22:37:09 +0000 (17:37 -0500)]
nitdbg: Added function to strip arguments from a function call or definition
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Tue, 5 Mar 2013 22:35:18 +0000 (17:35 -0500)]
stdlib: Char, added functions is_alpha and is_alphanumeric (used for several operations in debugger)
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas Bajolet [Thu, 14 Mar 2013 20:31:41 +0000 (16:31 -0400)]
nitdbg: Added class containing the trace information for a variable and the frame involved for this variable
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas Bajolet [Tue, 19 Mar 2013 18:06:26 +0000 (14:06 -0400)]
nitdbg: Added function to stop execution and input commands before program crash.
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 23:20:36 +0000 (18:20 -0500)]
nitdbg: Added condition to avoid breaking on non-statements (ABlockExpr)
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 20:10:08 +0000 (15:10 -0500)]
nitdbg: Added documentation for the features of the debugger
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 23:19:56 +0000 (18:19 -0500)]
nitdbg: Added command to modify variables at runtime
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:55:01 +0000 (14:55 -0500)]
nitdbg: Added function to modify a variable nested in a complex object instance
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:54:17 +0000 (14:54 -0500)]
nitdbg: Added function to modify the state of a variable in the current frame
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:51:40 +0000 (14:51 -0500)]
nitdbg: Added function that returns a new instance for any type and value
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:48:54 +0000 (14:48 -0500)]
nitdbg: Added function to create a bool instance with its value
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:48:35 +0000 (14:48 -0500)]
nitdbg: Added function to create a char instance with its value
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:48:13 +0000 (14:48 -0500)]
nitdbg: Added function to create a float instance with its value
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:47:22 +0000 (14:47 -0500)]
nitdbg: Added function to generate a Int instance with its value
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 23:14:44 +0000 (18:14 -0500)]
nitdbg: Added command to print the content of any SequenceRead collection
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:06:30 +0000 (14:06 -0500)]
nitdbg: Added function to print a collection recursively
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas Bajolet [Thu, 14 Mar 2013 20:07:14 +0000 (16:07 -0400)]
nitdbg: Removes the braces of a string and returns an array of string containing indexes or ranges for further processing
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:04:13 +0000 (14:04 -0500)]
nitdbg: Gets a collection nested in a MutableInstance
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:03:39 +0000 (14:03 -0500)]
nitdbg: Added an index parser returning the indexes of a range or int contained in a String
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Fri, 22 Feb 2013 19:17:21 +0000 (14:17 -0500)]
nitdbg: Added function to get the real length of a collection
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
R4PaSs [Tue, 5 Mar 2013 23:12:00 +0000 (18:12 -0500)]
nitdbg: Added aliases
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Thu, 21 Feb 2013 23:42:44 +0000 (18:42 -0500)]
nitdbg: Added the command to place a temporary breakpoint
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas Bajolet [Thu, 14 Mar 2013 19:55:08 +0000 (15:55 -0400)]
nitdbg: Added counter to Breakpoint class + documentation
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Thu, 21 Feb 2013 23:22:19 +0000 (18:22 -0500)]
nitdbg: Added command to list all commands available
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Thu, 21 Feb 2013 23:08:02 +0000 (18:08 -0500)]
nitdbg: Can remove breakpoints
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas Bajolet [Thu, 14 Mar 2013 19:51:37 +0000 (15:51 -0400)]
nitdbg: Can break on a breakpoint
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Thu, 21 Feb 2013 22:59:38 +0000 (17:59 -0500)]
nitdbg: Can place a breakpoint on a line of a file
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Thu, 21 Feb 2013 22:58:16 +0000 (17:58 -0500)]
nitdbg: Placed foundations for Breakpoints, can search in a HashMap if the breakpoint exists
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas Bajolet [Mon, 18 Mar 2013 19:16:25 +0000 (15:16 -0400)]
nitdbg: Added module and class Breakpoint
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Thu, 21 Feb 2013 22:28:27 +0000 (17:28 -0500)]
nitdbg: Added step-in function
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Thu, 21 Feb 2013 22:27:42 +0000 (17:27 -0500)]
nitdbg: Added possibility to step-out of a function
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Thu, 21 Feb 2013 22:15:10 +0000 (17:15 -0500)]
nitdbg: Added comments to separate the code into regions
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas BAJOLET [Thu, 21 Feb 2013 22:11:14 +0000 (17:11 -0500)]
nitdbg: Added the possibility to continue the execution without stopping on each statement
Signed-off-by: Lucas BAJOLET <r4pass@hotmail.com>
Lucas Bajolet [Mon, 18 Mar 2013 19:09:59 +0000 (15:09 -0400)]
nitdbg: Added the possibility to step over an instruction
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>