mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add the CefHandler::HandleDownloadResponse() method and CefDownloadHandler class to support file download in response to 'Content-Disposition' headers (issue #6).
- Fix parsing error in cef_parser.py due to space between angle brackets in template type definitions, and add support for int64 type. - Update copyright messages in Python and generated files. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@117 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2009 The Chromium Embedded Framework Authors. All rights
|
||||
# Copyright (c) 2010 The Chromium Embedded Framework Authors. All rights
|
||||
# reserved. Use of this source code is governed by a BSD-style license that
|
||||
# can be found in the LICENSE file.
|
||||
|
||||
@ -410,6 +410,9 @@ class obj_header:
|
||||
# read the input file into memory
|
||||
data = read_file(filename)
|
||||
|
||||
# remove space from between template definition end brackets
|
||||
data = data.replace("> >", ">>")
|
||||
|
||||
# extract global typedefs
|
||||
p = re.compile('\ntypedef'+_cre_space+_cre_retval+
|
||||
_cre_space+_cre_cfname+';',
|
||||
@ -1065,6 +1068,7 @@ class obj_analysis:
|
||||
simpletypes = {
|
||||
'void' : 'void',
|
||||
'int' : 'int',
|
||||
'int64' : 'int64',
|
||||
'double' : 'double',
|
||||
'long' : 'long',
|
||||
'unsigned long' : 'unsigned long',
|
||||
|
Reference in New Issue
Block a user