platform/upstream/gt.git
9 years agogt: Add zalloc function
Pawel Szewczyk [Tue, 26 Aug 2014 09:36:48 +0000 (11:36 +0200)]
gt: Add zalloc function

Change-Id: Ifd4de1238edf4ab95a65a5006e6761e7618e8bee
Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com>
9 years agogt: Make defining default function for command_parse possible
Pawel Szewczyk [Wed, 13 Aug 2014 11:46:49 +0000 (13:46 +0200)]
gt: Make defining default function for command_parse possible

It's not error, when standard command parse reach end of arguments list.
We can define some non-help-printing behavior for this situation.

Change-Id: Ib4bed570f385883d8cda5f79b648cfc31cef1e2a
Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com>
9 years agogt: Removed const from main arguments type
Pawel Szewczyk [Tue, 12 Aug 2014 07:32:28 +0000 (09:32 +0200)]
gt: Removed const from main arguments type

Argument passed to getopt should not be const char **

Change-Id: I0097802cd90d75a93a1e55efb40b75dac9e898f1
Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com>
9 years agogt: packaging: Add packaging for generating rpm package
Krzysztof Opasiak [Thu, 31 Jul 2014 06:44:11 +0000 (08:44 +0200)]
gt: packaging: Add packaging for generating rpm package

Change-Id: I5a2bb400aad2d8c4303a5b2dcf959cd7388efae2
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
10 years agogt: cmake: Rewrite CMake scripts
Krzysztof Opasiak [Wed, 30 Jul 2014 07:35:28 +0000 (09:35 +0200)]
gt: cmake: Rewrite CMake scripts

Change-Id: I32f0f980b2f0fb67a3ea4af889480d87317ca015
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
10 years agogt: Adjust gitignore
Krzysztof Opasiak [Tue, 29 Jul 2014 11:37:35 +0000 (13:37 +0200)]
gt: Adjust gitignore

Change-Id: I66263b4d6196871b57be362bc25a2aab2d8a2ba4
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
10 years agogt: Addjust coding style to be more kernel-like
Krzysztof Opasiak [Tue, 29 Jul 2014 11:37:06 +0000 (13:37 +0200)]
gt: Addjust coding style to be more kernel-like

Change-Id: I034c485bd4fc58079e40f6e673a92b6bf30b052a
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
10 years agoFirst approach to implement a command line parser.
Krzysztof Opasiak [Fri, 8 Nov 2013 10:12:48 +0000 (11:12 +0100)]
First approach to implement a command line parser.

Add framework for parsing command line options.
Whole commands structure is a tree. We search from
root to leaves and print suitable help message if
an error occurred.

Change-Id: Ic3d3114b3d2380021da10410fafb50dcc8fe613a
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
10 years agoAdd LICENSE and .gitignore.
Krzysztof Opasiak [Mon, 25 Nov 2013 14:05:26 +0000 (15:05 +0100)]
Add LICENSE and .gitignore.

Add terms of Apache v2 license and .gitignore file.

Change-Id: I290eb43a88cae1784a5ba68262f0d90342080e43
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
10 years agoFirst approach to design of gadget tool.
Krzysztof Opasiak [Tue, 29 Oct 2013 13:25:18 +0000 (14:25 +0100)]
First approach to design of gadget tool.

Adds a document which describes reasons of this project,
goal to achieve and proposed command line calls.

Change-Id: I65f5e5a59d5b1b0ef7040755f207f32ccd2e021c
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
10 years agoInitial commit
kopasiak [Wed, 23 Oct 2013 11:21:29 +0000 (04:21 -0700)]
Initial commit