[hackers] [scc] Avoid segmentation fault in mktype() || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit d691713e7dd054277bf83dc26b0b1d2a92fd5409 Author: Roberto E. Vargas Caballero AuthorDate: Fri Aug 14 07:44:22 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Fri Aug 14 07:44:22 2015 +0200 Avoid segmentation fault in mktype() When mktype detects that the new

[hackers] [scc] Fix comment in compound() || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 743db5c26f0173ca447f0de8533c14abdd79f0da Author: Roberto E. Vargas Caballero AuthorDate: Fri Aug 14 07:37:31 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Fri Aug 14 07:37:31 2015 +0200 Fix comment in compound() We have a symbolic constant now for global

[hackers] [scc] Fix emitbin() || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit e6e455cf62362367eed000de2771ca275953ec93 Author: Roberto E. Vargas Caballero AuthorDate: Fri Aug 14 07:32:47 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Fri Aug 14 07:32:47 2015 +0200 Fix emitbin() Emitbin() was printing directly the letter of the type,

[hackers] [scc] Add missed va_end() in decl.c:push() || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 279d40a3b400b6b56def291ae5f558d5527fe7bf Author: Roberto E. Vargas Caballero AuthorDate: Fri Aug 14 07:18:38 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Fri Aug 14 07:18:38 2015 +0200 Add missed va_end() in decl.c:push() diff --git a/cc1/decl.c b/cc1/decl.c ind

[hackers] [scc] Do not emit incomplete types || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit afa1555b80132365d5b97ccea7b476d8efc82029 Author: Roberto E. Vargas Caballero AuthorDate: Fri Aug 14 07:16:57 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Fri Aug 14 07:16:57 2015 +0200 Do not emit incomplete types In this case we don't have the enough in

[hackers] [scc] Add test002 || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 3e1a3035dc3e9959cdbba2cc3d658eacbf62d761 Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 23:48:07 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 23:48:07 2015 +0200 Add test002 This test tests forward references of structures. At

[hackers] [scc] Set field of struct are lvalues || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 84847138062fe977c49c7dc838d8421ed2064822 Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 23:38:03 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 23:38:03 2015 +0200 Set field of struct are lvalues The lvalue flag was not set in the no

[hackers] [scc] Add DBG() macro || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 7a2a1f936d8ca77484fa4ddb3b1244ecd350a8b5 Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 12:58:34 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 12:58:34 2015 +0200 Add DBG() macro This macro removes all the debug output when NDEBUG i

[hackers] [scc] Add first test program || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 49ea14f17cb76c7112691a4ed951315f3d105c63 Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 19:59:58 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 19:59:58 2015 +0200 Add first test program The first program of any compiler must be a He

[hackers] [scc] Avoid error() in cpp directives || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 2498915ac3402a2fc4cd4557aa3e1ea3bf24858d Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 17:53:50 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 17:59:40 2015 +0200 Avoid error() in cpp directives Error() tries to recover from error a

[hackers] [scc] Do not warning in forward references || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 68ab5ce9603446bf4a4098e7d03f32f9be99171f Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 12:34:30 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 12:34:30 2015 +0200 Do not warning in forward references diff --git a/cc1/decl.c b/cc1/decl.c ind

[hackers] [scc] Fix #if with not defined macros || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit f6d8f8f304878b3c0e4544d055b29482f818f13e Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 16:21:01 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 17:17:24 2015 +0200 Fix #if with not defined macros When a not defined macro appears in a

[hackers] [scc] Fix field emit || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit d6f2174895d35fd88a9e2095800f15a032ff1c9d Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 12:32:36 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 12:32:36 2015 +0200 Fix field emit The node had no symbol, and it was creating an unneede

[hackers] [scc] Update TODO || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit c9d033d9c2ca5fdb266904ca6beeefc3b8a2dda8 Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 11:57:04 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 11:57:04 2015 +0200 Update TODO diff --git a/cc1/TODO b/cc1/TODO index d189767..a3079cc 100644 --

[hackers] [scc] Fix type comparision || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 9b1eafb87ca51b32030a2a53bed3f2170bf2f936 Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 16:14:55 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 16:14:55 2015 +0200 Fix type comparision Field n.elem cannot be used until we know that i

[hackers] [scc] Emit struct types || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit cd295810c421544600c991fbf93c6d8c8b535231 Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 11:55:21 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 11:55:21 2015 +0200 Emit struct types diff --git a/cc1/cc1.h b/cc1/cc1.h index 62781e6..f9ed793 1

[hackers] [scc] decay pointers and functions in eval() || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 15accc917305a32e269f8f3063108e9115d44d3d Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 19:57:32 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 19:57:32 2015 +0200 decay pointers and functions in eval() This is mainly done for functi

[hackers] [scc] Simplify conditional compilation || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit dfb4776b82942448a8daa298b2ba280117f4ddce Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 17:23:35 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 17:23:35 2015 +0200 Simplify conditional compilation diff --git a/cc1/cpp.c b/cc1/cpp.c index a64

[hackers] [scc] Fix escape() || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 986532bfe53fc9b4f4bce07d94039cbebffcdb61 Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 18:13:53 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 18:13:53 2015 +0200 Fix escape() Escape() was doing a double increment, discarding the ne

[hackers] [scc] Fix install() || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 66915c0956d505bf60140ff48021c0725edfa02c Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 09:43:58 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 09:43:58 2015 +0200 Fix install() Install() failed when we wanted install a symbol in a d

[hackers] [scc] Emit name of variables in declarations || Roberto E. Vargas Caballero

2015-08-13 Thread git
commit 0b8f18a02b36d3cb05b703f9dac7953924942a49 Author: Roberto E. Vargas Caballero AuthorDate: Thu Aug 13 09:53:55 2015 +0200 Commit: Roberto E. Vargas Caballero CommitDate: Thu Aug 13 09:53:55 2015 +0200 Emit name of variables in declarations This name is needed for global

[hackers] [surf] Grab focus for WebView on window creation || Quentin Rameau

2015-08-13 Thread git
commit 8ebc964e23b12d3a055705891e2efe17500d811c Author: Quentin Rameau AuthorDate: Thu Aug 13 14:51:17 2015 +0200 Commit: Quentin Rameau CommitDate: Thu Aug 13 14:51:17 2015 +0200 Grab focus for WebView on window creation Reintroducing the gtk_widget_grab_focus() which had b

Re: [hackers] [st] Patch to workaround missing st terminfo on remote SSH.

2015-08-13 Thread Roberto E. Vargas Caballero
On Thu, Aug 13, 2015 at 12:17:35PM +0100, Nick wrote: > Quoth Roberto E. Vargas Caballero: > > I think a better aproach is to define an alias like this: > > > > alias ssh=TERM='TERM=xterm ssh' > > Syntax like that is one reason that I prefer one or two line shell > scripts to aliases. Good idea,

Re: [hackers] [st] Patch to workaround missing st terminfo on remote SSH.

2015-08-13 Thread Nick
Quoth Roberto E. Vargas Caballero: > I think a better aproach is to define an alias like this: > > alias ssh=TERM='TERM=xterm ssh' Syntax like that is one reason that I prefer one or two line shell scripts to aliases. Good idea, though.