Mmseaborn@chromium.orgPNaCl: Build a PPAPI shims library on all architectures
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Allow enums values to be simple arithmetic expressions. BUG=none TEST=./generator.py test_parser/enum.idl Review URL: http://codereview.chromium.org/8161006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104588 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
More multi-version support (part 2) Add member to Node to return a set of unique releases for that node. Updates DefineStruct to iterate across all unique releases for the struct, generating first the most recent release as we do today and other releases without comments, and the version number appended to the structure name. NOTE: This is work in progress. This CL adds support for Interfaces that change which should be enough for M15. While this same CL creates multiple structures when the structures change, references to structures will not have mangled names which would cause errors. BUG= http://code.google.com/p/chromium/issues/detail?id=89969 TEST= python generator.py --cgen --test --diff --range=M13,M14 Review URL: http://codereview.chromium.org/7751001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98298 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Change IDL shim/wrapper generator to use version numbers in struct names. This is to match recent changes in the PPAPI generated headers in the following change: http://codereview.chromium.org/8989006/ R=noelallen@chromium.org,mcgrathr@chromium.org BUG= none TEST= compile the pnacl irt shim and use it in a test. Review URL: http://codereview.chromium.org/9110045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116836 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Update Lexer/Parser to support '#inline' and 'label' Added the keyword 'label' to support versioning. Added the token INLINE to capture blocks of text within #inline XXX #endinl Updated tests TEST= python idl_lexer.py --test && python idl_parser.py --test BUG= http://code.google.com/p/chromium/issues/detail?id=87684 Review URL: http://codereview.chromium.org/7272043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91426 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Allow enums values to be simple arithmetic expressions. BUG=none TEST=./generator.py test_parser/enum.idl Review URL: http://codereview.chromium.org/8161006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104588 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Use Noel's chromium.org address instead of his google.com one for owners. Review URL: http://codereview.chromium.org/8136017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104011 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Add pnacl shims to the chrome build. Altering IDL generator to emit pnacl shims. Building pnacl shims as part of the chrome build. Publishing pnacl shims in the sdk. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2957 TEST=None R=noelallen@chromium.org,jvoung@chromium.org,ncbray@chromium.org,nfullagar@chromium.org,brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/10908085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155160 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix python scripts in src/ppapi/ Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. Minor python style fixes. TBR=noelallen BUG=105108 TEST= Review URL: http://codereview.chromium.org/8653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117045 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Add "libraries" directory to SDK Adds the PPAPI headers where they can be used by a host compiler. Adds a define for PPAPI_RELEASE when building for the SDK. Disables updater testing when not generating tarballs. BUG=122229 Review URL: https://chromiumcodereview.appspot.com/10356116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136614 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change PP_Flash_BrowserOperations_SiteSetting.site from PP_Var to const char*. This change is needed because PP_Var cannot be used in a broker process. This change also adds support for cstr_t in ppapi IDL files. BUG=112190 TEST=None Review URL: https://chromiumcodereview.appspot.com/10566014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142670 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix python scripts in src/ppapi/ Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. Minor python style fixes. TBR=noelallen BUG=105108 TEST= Review URL: http://codereview.chromium.org/8653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117045 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
PNaCl: Build a PPAPI shims library on all architectures Before, the shims library was only built on x86-64. We change it to build on x86-32 and ARM too, where we define _pnacl_wrapper_start() to be a trivial wrapper which immediately calls the user code's _start() function. This will mean we won't need an conditional for x86-64 in the translators. Since Gyp doesn't allow files to be excluded per architecture, I've put #ifdefs into shim_ppapi.c and pnacl_shim.c. BUG=http://code.google.com/p/nativeclient/issues/detail?id=3018 TEST=I checked that libpnacl_irt_shim.a builds OK in Scons Review URL: https://codereview.chromium.org/10950042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158121 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
PNaCl: Build a PPAPI shims library on all architectures Before, the shims library was only built on x86-64. We change it to build on x86-32 and ARM too, where we define _pnacl_wrapper_start() to be a trivial wrapper which immediately calls the user code's _start() function. This will mean we won't need an conditional for x86-64 in the translators. Since Gyp doesn't allow files to be excluded per architecture, I've put #ifdefs into shim_ppapi.c and pnacl_shim.c. BUG=http://code.google.com/p/nativeclient/issues/detail?id=3018 TEST=I checked that libpnacl_irt_shim.a builds OK in Scons Review URL: https://codereview.chromium.org/10950042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158121 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix incorrectly resolved conflict, and add error message for missing sources. When running the generator with default arguments from a CWD other than the script's directory, the default arguments will be incorrect. This adds a check which will print an error message and fail. If any argument, including the default arguments are provided on the command-line, then this check is bypassed. BUG= 109177 Review URL: http://codereview.chromium.org/9168014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117547 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
This adds support for a number of features in the current WebIDL spec (http://dev.w3.org/2006/webapi/WebIDL/): -Callbacks -Dictionaries -static functions in interfaces -optional parameters and dictionary members It also introduces a "namespace" production to the grammar, which is just a named scope surrounding a list of other IDL fragments. Finally, there are a couple of random cleanups. BUG=116636 TEST=existing tests should still work Review URL: https://chromiumcodereview.appspot.com/9388002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124959 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Adding warning for missing Label. If a label is not specified for a source IDL file contianing interfaces then the version of the interface is assumed to be 1.0 and within the range of the version being generated. This CL adds a warning that the interface label is unspecified. BUG=106504 TBR=sehr@google.com Review URL: https://chromiumcodereview.appspot.com/10565023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142633 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix python scripts in src/ppapi/ Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. Minor python style fixes. TBR=noelallen BUG=105108 TEST= Review URL: http://codereview.chromium.org/8653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117045 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Fix python scripts in src/ppapi/ Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. Minor python style fixes. TBR=noelallen BUG=105108 TEST= Review URL: http://codereview.chromium.org/8653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117045 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
This adds support for a number of features in the current WebIDL spec (http://dev.w3.org/2006/webapi/WebIDL/): -Callbacks -Dictionaries -static functions in interfaces -optional parameters and dictionary members It also introduces a "namespace" production to the grammar, which is just a named scope surrounding a list of other IDL fragments. Finally, there are a couple of random cleanups. BUG=116636 TEST=existing tests should still work Review URL: https://chromiumcodereview.appspot.com/9388002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124959 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
This adds support for a number of features in the current WebIDL spec (http://dev.w3.org/2006/webapi/WebIDL/): -Callbacks -Dictionaries -static functions in interfaces -optional parameters and dictionary members It also introduces a "namespace" production to the grammar, which is just a named scope surrounding a list of other IDL fragments. Finally, there are a couple of random cleanups. BUG=116636 TEST=existing tests should still work Review URL: https://chromiumcodereview.appspot.com/9388002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124959 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Output generated headers using Python's "wb" mode, to prevent EOL-munging. This results in PPAPI headers always being generated with Unix line-endings. BUG=109116 TEST=Re-generate PPAPI headers on a Windows system, using a Windows-native version of Python, and verify that the generated headers have Unix line-endings. Review URL: http://codereview.chromium.org/9088010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118245 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Switch the downloads API over to IDL/json_schema_compiler Modify ppapi/generators/idl_parser.py to 0: not require a file-level comment (but generate the same parse tree structure), 1: actually support ext_attrs (modifiers) for dictionaries, and 2: support [ext_attr=(symbols|values)]. Modify json_schema_compiler to 0: use "base::Value" and any_helper.ANY_CLASS instead of Value and Any in order to support ArrayBuffers named |value| or |any|, 1: actually test that namespaces and dictionaries are sorted correctly, 2: fix HGenerator._FieldDependencyOrder(), 3: support [inline_doc] on dictionaries and enums, 4: support descriptions on enums, 5: support documentation_permissions_required, 6: support [legalValues=(values...)]. Review URL: https://chromiumcodereview.appspot.com/10639020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146201 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix python scripts in src/ppapi/ Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. Minor python style fixes. TBR=noelallen BUG=105108 TEST= Review URL: http://codereview.chromium.org/8653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117045 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Fix python scripts in src/ppapi/ Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. Minor python style fixes. TBR=noelallen BUG=105108 TEST= Review URL: http://codereview.chromium.org/8653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117045 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Fix python scripts in src/ppapi/ Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. Minor python style fixes. TBR=noelallen BUG=105108 TEST= Review URL: http://codereview.chromium.org/8653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117045 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Pnacl ppapi shim generator (from IDL), based on Noel's first cut. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2413 TEST= python idl_gen_pnacl.py --test --wnone Also ** ./generator.py doesn't change ** ./generator.py --wnone --pnacl --pnaclshim=pnacl_shim.c generates a shim that compiles and works in the NaCl repo. Review URL: http://codereview.chromium.org/8568025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112244 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Allow enums values to be simple arithmetic expressions. BUG=none TEST=./generator.py test_parser/enum.idl Review URL: http://codereview.chromium.org/8161006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104588 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 |