seed r850 - in trunk: libseed tests/javascript



Author: hortont
Date: Sat Feb  7 08:39:57 2009
New Revision: 850
URL: http://svn.gnome.org/viewvc/seed?rev=850&view=rev

Log:
Headers have consistent "headers", too! Also, fix everything.js (forgot to update enum casing a long time ago...)


Modified:
   trunk/libseed/seed-builtins.h
   trunk/libseed/seed-closure.h
   trunk/libseed/seed-debug.h
   trunk/libseed/seed-engine.h
   trunk/libseed/seed-exceptions.h
   trunk/libseed/seed-gtype.h
   trunk/libseed/seed-private.h
   trunk/libseed/seed-signals.h
   trunk/libseed/seed-structs.h
   trunk/libseed/seed-types.h
   trunk/libseed/seed.h
   trunk/tests/javascript/everything.js

Modified: trunk/libseed/seed-builtins.h
==============================================================================
--- trunk/libseed/seed-builtins.h	(original)
+++ trunk/libseed/seed-builtins.h	Sat Feb  7 08:39:57 2009
@@ -1,22 +1,22 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
+
 /*
- * seed-builtins.h
- * Copyright (C) Robert Carr 2008 <carrr rpi edu>
- *
- * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
  *
- * libseed is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
  *
- * You should have received a copy of the GNU General Public License along
- * with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
  */
 
 #ifndef _SEED_BUILTINS_H_

Modified: trunk/libseed/seed-closure.h
==============================================================================
--- trunk/libseed/seed-closure.h	(original)
+++ trunk/libseed/seed-closure.h	Sat Feb  7 08:39:57 2009
@@ -1,23 +1,24 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
+
 /*
- * seed-builtins.h
- * Copyright (C) Robert Carr 2008 <carrr rpi edu>
- *
- * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
  *
- * libseed is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
  *
- * You should have received a copy of the GNU General Public License along
- * with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
  */
+
 #ifndef _SEED_CLOSURE_H_
 #define _SEED_CLOSURE_H_
 

Modified: trunk/libseed/seed-debug.h
==============================================================================
--- trunk/libseed/seed-debug.h	(original)
+++ trunk/libseed/seed-debug.h	Sat Feb  7 08:39:57 2009
@@ -1,3 +1,24 @@
+/*
+ * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
+ */
+
+/*
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
+ *
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
+ *
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
+ */
+
 #ifndef _SEED_DEBUG_H
 #define _SEED_DEBUG_H
 

Modified: trunk/libseed/seed-engine.h
==============================================================================
--- trunk/libseed/seed-engine.h	(original)
+++ trunk/libseed/seed-engine.h	Sat Feb  7 08:39:57 2009
@@ -1,22 +1,22 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
+
 /*
- * seed-engine.h
- * Copyright (C) Robert Carr 2008 <carrr rpi edu>
- *
- * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
  *
- * libseed is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
  *
- * You should have received a copy of the GNU General Public License along
- * with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
  */
 
 #ifndef _SEED_ENGINE_H

Modified: trunk/libseed/seed-exceptions.h
==============================================================================
--- trunk/libseed/seed-exceptions.h	(original)
+++ trunk/libseed/seed-exceptions.h	Sat Feb  7 08:39:57 2009
@@ -1,23 +1,24 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
+
 /*
- * seed-engine.h
- * Copyright (C) Robert Carr 2008 <carrr rpi edu>
- *
- * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
  *
- * libseed is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
  *
- * You should have received a copy of the GNU General Public License along
- * with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
  */
+
 #ifndef _SEED_EXCEPTIONS_H
 #define _SEED_EXCEPTIONS_H
 

Modified: trunk/libseed/seed-gtype.h
==============================================================================
--- trunk/libseed/seed-gtype.h	(original)
+++ trunk/libseed/seed-gtype.h	Sat Feb  7 08:39:57 2009
@@ -1,22 +1,22 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
+
 /*
- * seed-gtype.h
- * Copyright (C) Robert Carr 2008 <carrr rpi edu>
- *
- * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
  *
- * libseed is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
  *
- * You should have received a copy of the GNU General Public License along
- * with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
  */
 
 #ifndef _SEED_GTYPE_H

Modified: trunk/libseed/seed-private.h
==============================================================================
--- trunk/libseed/seed-private.h	(original)
+++ trunk/libseed/seed-private.h	Sat Feb  7 08:39:57 2009
@@ -1,22 +1,22 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
+
 /*
- * seed-private.h
- * Copyright (C) Robert Carr 2008 <carrr rpi edu>
- *
- * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
  *
- * libseed is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
  *
- * You should have received a copy of the GNU General Public License along
- * with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
  */
 
 #ifndef _SEED_PRIVATE_H

Modified: trunk/libseed/seed-signals.h
==============================================================================
--- trunk/libseed/seed-signals.h	(original)
+++ trunk/libseed/seed-signals.h	Sat Feb  7 08:39:57 2009
@@ -1,22 +1,22 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
+
 /*
- * seed-signals.h
- * Copyright (C) Robert Carr 2008 <carrr rpi edu>
- *
- * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
  *
- * libseed is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
  *
- * You should have received a copy of the GNU General Public License along
- * with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
  */
 
 #ifndef _SEED_SIGNALS_H

Modified: trunk/libseed/seed-structs.h
==============================================================================
--- trunk/libseed/seed-structs.h	(original)
+++ trunk/libseed/seed-structs.h	Sat Feb  7 08:39:57 2009
@@ -1,22 +1,22 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
+
 /*
- * seed-struct.h
- * Copyright (C) Robert Carr 2008 <carrr rpi edu>
- *
- * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
  *
- * libseed is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
  *
- * You should have received a copy of the GNU General Public License along
- * with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
  */
 
 #ifndef _SEED_STRUCT_H

Modified: trunk/libseed/seed-types.h
==============================================================================
--- trunk/libseed/seed-types.h	(original)
+++ trunk/libseed/seed-types.h	Sat Feb  7 08:39:57 2009
@@ -1,22 +1,22 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
+
 /*
- * seed-types.h
- * Copyright (C) Robert Carr 2008 <carrr rpi edu>
- *
- * libseed is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
  *
- * libseed is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
  *
- * You should have received a copy of the GNU General Public License along
- * with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
  */
 
 #ifndef _SEED_TYPES_H

Modified: trunk/libseed/seed.h
==============================================================================
--- trunk/libseed/seed.h	(original)
+++ trunk/libseed/seed.h	Sat Feb  7 08:39:57 2009
@@ -1,21 +1,23 @@
 /*
  * -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- 
  */
-/*    This file is part of Seed.
-*     Seed is free software: you can redistribute it and/or modify 
-*     it under the terms of the GNU Lesser General Public License as
-*     published by 
-*     the Free Software Foundation, either version 3 of the License, or 
-*     (at your option) any later version. 
-*     Seed is distributed in the hope that it will be useful, 
-*     but WITHOUT ANY WARRANTY; without even the implied warranty of 
-*     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
-*     GNU Lesser General Public License for more details. 
-*     You should have received a copy of the GNU Lesser General Public License 
-*     along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
-*
-*     Copyright (C) Robert Carr 2008 <carrr rpi edu>
-*/
+
+/*
+ *	This file is part of Seed, the GObject Introspection<->Javascript bindings.
+ *
+ *		Seed is free software: you can redistribute it and/or modify 
+ *		it under the terms of the GNU Lesser General Public License as
+ *		published by the Free Software Foundation, either version 3 of
+ *		the License, or (at your option) any later version. 
+ *		Seed is distributed in the hope that it will be useful, 
+ *		but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ *		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+ *		GNU Lesser General Public License for more details. 
+ *		You should have received a copy of the GNU Lesser General Public License 
+ *		along with Seed.  If not, see <http://www.gnu.org/licenses/>. 
+ *
+ *		Copyright (C) Robert Carr 2008 <carrr rpi edu>
+ */
 
 #include <glib.h>
 #include <glib-object.h>

Modified: trunk/tests/javascript/everything.js
==============================================================================
--- trunk/tests/javascript/everything.js	(original)
+++ trunk/tests/javascript/everything.js	Sat Feb  7 08:39:57 2009
@@ -44,11 +44,11 @@
 
 Seed.print(test_value_return(123).get_int());
 
-Seed.print(TestEnum.Value1);
-Seed.print(TestEnum.Value2);
-Seed.print(TestEnum.Value3);
-Seed.print(TestFlags.Flag1);
-Seed.print(TestFlags.Flag2);
+Seed.print(TestEnum.VALUE1);
+Seed.print(TestEnum.VALUE2);
+Seed.print(TestEnum.VALUE3);
+Seed.print(TestFlags.FLAG1);
+Seed.print(TestFlags.FLAG2);
 // Err.... wot? The gir has 2 in twice... Seed.print(TestFlags.Flag3);
 
 TestStructA.some_int = 15;
@@ -57,7 +57,7 @@
 Seed.print(TestStructA.some_int8);
 TestStructA.some_double = 120.2357;
 Seed.print(TestStructA.some_double);
-TestStructA.some_enum = TestEnum.Value3;
+TestStructA.some_enum = TestEnum.VALUE3;
 Seed.print(TestStructA.some_enum);
 
 TestStructB.some_int8 = 19;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]