Re: [webkit-dev] how to solve this error

2013-06-11 Thread Benjamin Poulain
Hi

This is the wrong Mailing list. ClutterWebKit is a completely separate
project, it is not developed on WebKit.org.

Benjamin


On Tue, Jun 11, 2013 at 9:23 PM, santhosh dhamodharan <
ssanthsht...@gmail.com> wrote:

> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:625: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:649: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:660: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:675: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:692: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:707: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:721: error:
> expected constructor, destructor, or type conversion before ‘char’
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:736: error:
> expected constructor, destructor, or type conversion before ‘char’
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:750: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:761: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:773: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:787: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:803: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:823: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:843: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:863: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:883: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1001: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1018: error:
> expected `)' before ‘*’ token
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1049: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1075: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1101: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1147: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1178: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1207: error:
> expected constructor, destructor, or type conversion before ‘wchar_t’
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1236: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1267: error:
> expected constructor, destructor, or type conversion before ‘char’
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1297: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1341: error:
> expected constructor, destructor, or type conversion before ‘char’
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1387: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1447: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1477: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1507: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1551: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1596: error:
> ‘U_EXPORT’ does not name a type
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1637: error:
> expected constructor, destructor, or type conversion before ‘char’
> /home/emo2/Music/clutter-cross/include/unicode/ustring.h:1686: error:
> ‘U_EXPORT’ does not name a type
> In file included from ../../JavaScriptCore/wtf/unicode/Unicode.h:31,
>  from ../../JavaScriptCore/wtf/StringHashFunctions.h:24,
>  from ../../JavaScriptCore/wtf/text/StringImpl.h:32,
>  from ../../JavaScriptCore/wtf/text/AtomicStringImpl.h:24,
>  from ../../JavaScriptCore/wtf/text/AtomicString.h:24,
>  from ../../JavaScriptCore/wtf/text/StringHash.h:25,
>  from ../../WebCore/platform/ThreadGlobalData.h:33,
>  from ../../WebCore/dom/EventNames.h:25,
>  from ../../WebCore/dom/EventTarget.h:35,
>  from ../../WebCore

[webkit-dev] how to solve this error

2013-06-11 Thread santhosh dhamodharan
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:625: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:649: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:660: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:675: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:692: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:707: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:721: error:
expected constructor, destructor, or type conversion before ‘char’
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:736: error:
expected constructor, destructor, or type conversion before ‘char’
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:750: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:761: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:773: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:787: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:803: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:823: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:843: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:863: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:883: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1001: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1018: error:
expected `)' before ‘*’ token
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1049: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1075: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1101: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1147: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1178: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1207: error:
expected constructor, destructor, or type conversion before ‘wchar_t’
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1236: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1267: error:
expected constructor, destructor, or type conversion before ‘char’
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1297: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1341: error:
expected constructor, destructor, or type conversion before ‘char’
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1387: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1447: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1477: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1507: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1551: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1596: error:
‘U_EXPORT’ does not name a type
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1637: error:
expected constructor, destructor, or type conversion before ‘char’
/home/emo2/Music/clutter-cross/include/unicode/ustring.h:1686: error:
‘U_EXPORT’ does not name a type
In file included from ../../JavaScriptCore/wtf/unicode/Unicode.h:31,
 from ../../JavaScriptCore/wtf/StringHashFunctions.h:24,
 from ../../JavaScriptCore/wtf/text/StringImpl.h:32,
 from ../../JavaScriptCore/wtf/text/AtomicStringImpl.h:24,
 from ../../JavaScriptCore/wtf/text/AtomicString.h:24,
 from ../../JavaScriptCore/wtf/text/StringHash.h:25,
 from ../../WebCore/platform/ThreadGlobalData.h:33,
 from ../../WebCore/dom/EventNames.h:25,
 from ../../WebCore/dom/EventTarget.h:35,
 from ../../WebCore/dom/Node.h:28,
 from ../../WebCore/dom/RangeBoundaryPoint.h:29,
 from ../../WebCore/dom/Range.h:29,
 from ../../WebCore/accessibility/AccessibilityObject.h:34,
 from
../../WebCore/accessibility/AccessibilityImageMapLink.h:32,
 from
../../WebCore/accessibility/AccessibilityImageMapLink.cpp:30:
../../JavaSc

Re: [webkit-dev] Rewriting binding code generator, maybe?

2013-06-11 Thread Filip Pizlo
I think the best way to make such points is to create a bug and post a patch.

-Filip


On Jun 11, 2013, at 1:32 PM, wkcensorshipbypass00...@mailinator.com wrote:

> Niwa, hi,
> 
> CodeGenerator has already been rewritten in python, combining the following:
> 
> * Mozilla's xpcom xpidl.py generator
> * gobject's codegen.py
> 
> The following work was done:
> 
> - The xpidl generator was modified to understand Webkit's IDL file format
> - gobject's codegen.py was modified to understand xpidl.py's AST object format
> - gobject codegen.py's output formatter was modified to understand both
>  webkit datatypes and to output python
> 
> It should be a trivial job to work out how to modify the code to output
> other generators.  The only thing to watch out for is that it was a very
> fast hack put together quite quickly and there are unused parts (which
> will never be used) that still have gobject codegen output.
> 
> Functionally however it works perfectly.  By contrast, attempting to
> modify CodeGeneratorJS.pm to comprehend gobject took over eight weeks.
> The python-based code-generator was completed in under six.
> 
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Rewriting binding code generator, maybe?

2013-06-11 Thread wkcensorshipbypass00011
Apologies, the link is here:
http://git.savannah.gnu.org/cgit/pythonwebkit.git/tree/pywebkitgtk/wkcodegen?h=python_codegen


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Rewriting binding code generator, maybe?

2013-06-11 Thread wkcensorshipbypass00010
Niwa, hi,

CodeGenerator has already been rewritten in python, combining the following:

* Mozilla's xpcom xpidl.py generator
* gobject's codegen.py

The following work was done:

- The xpidl generator was modified to understand Webkit's IDL file format
- gobject's codegen.py was modified to understand xpidl.py's AST object format
- gobject codegen.py's output formatter was modified to understand both
  webkit datatypes and to output python

It should be a trivial job to work out how to modify the code to output
other generators.  The only thing to watch out for is that it was a very
fast hack put together quite quickly and there are unused parts (which
will never be used) that still have gobject codegen output.

Functionally however it works perfectly.  By contrast, attempting to
modify CodeGeneratorJS.pm to comprehend gobject took over eight weeks.
The python-based code-generator was completed in under six.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev