Skip to content

Commit

Permalink
Updated message definitions and made them collapsible.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris K committed Oct 2, 2012
1 parent d088a7a commit 75df532
Show file tree
Hide file tree
Showing 1,103 changed files with 34,987 additions and 33,846 deletions.
105 changes: 52 additions & 53 deletions src/defs/ConsoleLogger.2.0.events.OnConsoleMessage.def
Original file line number Diff line number Diff line change
@@ -1,56 +1,55 @@
message <span class="message">ConsoleMessage</span>
{
<span class="comment">/**
* The window ID is shared across scope. Notably, it's the same as in the ecmascript debugger.
* INTERNAL: The value is from Window::id
*/</span>
required <span class="number">uint32</span> windowID = 1;
<span class="comment">/**
*
* The number of seconds since 1970-01-01T00:00:00Z.
*/</span>
required <span class="number">uint32</span> time = 2;
<span class="comment">/**
* Description of the error. Sometimes this message only makes sense when
* displayed in a monospace font.
*/</span>
required <span class="string">string</span> description = 3;
<span class="comment">/**
* The URL of the entity (document, script, style file, etc) that caused the
* message to be generated.
*/</span>
optional <span class="string">string</span> uri = 4;
<span class="comment">/**
* The context in which the message was generated; it is intended for human
* consumption and provides additional information about the context for the
* message.
*/</span>
optional <span class="string">string</span> context = 5;
<span class="comment">/**
* The component in Opera that generated the message
* One of:
* - "ecmascript"
* - "java"
* - "m2"
* - "network"
* - "xml"
* - "html"
* - "css"
* - "xslt"
* - "svg"
* - "bittorrent"
* - "voice"
* - "widget"
* - "selftest"
*/</span>
optional <span class="string">string</span> source = 6;
<span class="comment">/**
* One of:
* - "debug"
* - "verbose"
* - "information"
* - "error"
* - "critical"
*/</span>
optional <span class="string">string</span> severity = 7;
<span class="comment">/**
* The window ID is shared across scope. Notably, it's the same as in the ecmascript debugger.
* INTERNAL: The value is from Window::id
*/</span>
required <span class="number">uint32</span> windowID = 1;
<span class="comment">/**
* The number of seconds since 1970-01-01T00:00:00Z.
*/</span>
required <span class="number">uint32</span> time = 2;
<span class="comment">/**
* Description of the error. Sometimes this message only makes sense when
* displayed in a monospace font.
*/</span>
required <span class="string">string</span> description = 3;
<span class="comment">/**
* The URL of the entity (document, script, style file, etc) that caused the
* message to be generated.
*/</span>
optional <span class="string">string</span> uri = 4;
<span class="comment">/**
* The context in which the message was generated; it is intended for human
* consumption and provides additional information about the context for the
* message.
*/</span>
optional <span class="string">string</span> context = 5;
<span class="comment">/**
* The component in Opera that generated the message
* One of:
* - "ecmascript"
* - "java"
* - "m2"
* - "network"
* - "xml"
* - "html"
* - "css"
* - "xslt"
* - "svg"
* - "bittorrent"
* - "voice"
* - "widget"
* - "selftest"
*/</span>
optional <span class="string">string</span> source = 6;
<span class="comment">/**
* One of:
* - "debug"
* - "verbose"
* - "information"
* - "error"
* - "critical"
*/</span>
optional <span class="string">string</span> severity = 7;
}
105 changes: 52 additions & 53 deletions src/defs/ConsoleLogger.2.1.events.OnConsoleMessage.def
Original file line number Diff line number Diff line change
@@ -1,56 +1,55 @@
message <span class="message">ConsoleMessage</span>
{
<span class="comment">/**
* The window ID is shared across scope. Notably, it's the same as in the ecmascript debugger.
* INTERNAL: The value is from Window::id
*/</span>
required <span class="number">uint32</span> windowID = 1;
<span class="comment">/**
*
* The number of seconds since 1970-01-01T00:00:00Z.
*/</span>
required <span class="number">uint32</span> time = 2;
<span class="comment">/**
* Description of the error. Sometimes this message only makes sense when
* displayed in a monospace font.
*/</span>
required <span class="string">string</span> description = 3;
<span class="comment">/**
* The URL of the entity (document, script, style file, etc) that caused the
* message to be generated.
*/</span>
optional <span class="string">string</span> uri = 4;
<span class="comment">/**
* The context in which the message was generated; it is intended for human
* consumption and provides additional information about the context for the
* message.
*/</span>
optional <span class="string">string</span> context = 5;
<span class="comment">/**
* The component in Opera that generated the message
* One of:
* - "ecmascript"
* - "java"
* - "m2"
* - "network"
* - "xml"
* - "html"
* - "css"
* - "xslt"
* - "svg"
* - "bittorrent"
* - "voice"
* - "widget"
* - "selftest"
*/</span>
optional <span class="string">string</span> source = 6;
<span class="comment">/**
* One of:
* - "debug"
* - "verbose"
* - "information"
* - "error"
* - "critical"
*/</span>
optional <span class="string">string</span> severity = 7;
<span class="comment">/**
* The window ID is shared across scope. Notably, it's the same as in the ecmascript debugger.
* INTERNAL: The value is from Window::id
*/</span>
required <span class="number">uint32</span> windowID = 1;
<span class="comment">/**
* The number of seconds since 1970-01-01T00:00:00Z.
*/</span>
required <span class="number">uint32</span> time = 2;
<span class="comment">/**
* Description of the error. Sometimes this message only makes sense when
* displayed in a monospace font.
*/</span>
required <span class="string">string</span> description = 3;
<span class="comment">/**
* The URL of the entity (document, script, style file, etc) that caused the
* message to be generated.
*/</span>
optional <span class="string">string</span> uri = 4;
<span class="comment">/**
* The context in which the message was generated; it is intended for human
* consumption and provides additional information about the context for the
* message.
*/</span>
optional <span class="string">string</span> context = 5;
<span class="comment">/**
* The component in Opera that generated the message
* One of:
* - "ecmascript"
* - "java"
* - "m2"
* - "network"
* - "xml"
* - "html"
* - "css"
* - "xslt"
* - "svg"
* - "bittorrent"
* - "voice"
* - "widget"
* - "selftest"
*/</span>
optional <span class="string">string</span> source = 6;
<span class="comment">/**
* One of:
* - "debug"
* - "verbose"
* - "information"
* - "error"
* - "critical"
*/</span>
optional <span class="string">string</span> severity = 7;
}
113 changes: 53 additions & 60 deletions src/defs/ConsoleLogger.2.1.responses.ListMessages.def
Original file line number Diff line number Diff line change
@@ -1,65 +1,58 @@
<span class="comment">/**
* A list of ConsoleMessages.
*
* @since 2.1
*/</span>
message <span class="message">ConsoleMessageList</span>
{
message <span class="message">ConsoleMessage</span>
repeated ConsoleMessage consoleMessageList = 1;
{
<span class="comment">/**
* The window ID is shared across scope. Notably, it's the same as in the ecmascript debugger.
* INTERNAL: The value is from Window::id
*/</span>
required <span class="number">uint32</span> windowID = 1;
<span class="comment">/**
*
* The number of seconds since 1970-01-01T00:00:00Z.
*/</span>
required <span class="number">uint32</span> time = 2;
<span class="comment">/**
* Description of the error. Sometimes this message only makes sense when
* displayed in a monospace font.
*/</span>
required <span class="string">string</span> description = 3;
<span class="comment">/**
* The URL of the entity (document, script, style file, etc) that caused the
* message to be generated.
*/</span>
optional <span class="string">string</span> uri = 4;
<span class="comment">/**
* The context in which the message was generated; it is intended for human
* consumption and provides additional information about the context for the
* message.
*/</span>
optional <span class="string">string</span> context = 5;
<span class="comment">/**
* The component in Opera that generated the message
* One of:
* - "ecmascript"
* - "java"
* - "m2"
* - "network"
* - "xml"
* - "html"
* - "css"
* - "xslt"
* - "svg"
* - "bittorrent"
* - "voice"
* - "widget"
* - "selftest"
*/</span>
optional <span class="string">string</span> source = 6;
<span class="comment">/**
* One of:
* - "debug"
* - "verbose"
* - "information"
* - "error"
* - "critical"
*/</span>
optional <span class="string">string</span> severity = 7;
<span class="comment">/**
* The window ID is shared across scope. Notably, it's the same as in the ecmascript debugger.
* INTERNAL: The value is from Window::id
*/</span>
required <span class="number">uint32</span> windowID = 1;
<span class="comment">/**
* The number of seconds since 1970-01-01T00:00:00Z.
*/</span>
required <span class="number">uint32</span> time = 2;
<span class="comment">/**
* Description of the error. Sometimes this message only makes sense when
* displayed in a monospace font.
*/</span>
required <span class="string">string</span> description = 3;
<span class="comment">/**
* The URL of the entity (document, script, style file, etc) that caused the
* message to be generated.
*/</span>
optional <span class="string">string</span> uri = 4;
<span class="comment">/**
* The context in which the message was generated; it is intended for human
* consumption and provides additional information about the context for the
* message.
*/</span>
optional <span class="string">string</span> context = 5;
<span class="comment">/**
* The component in Opera that generated the message
* One of:
* - "ecmascript"
* - "java"
* - "m2"
* - "network"
* - "xml"
* - "html"
* - "css"
* - "xslt"
* - "svg"
* - "bittorrent"
* - "voice"
* - "widget"
* - "selftest"
*/</span>
optional <span class="string">string</span> source = 6;
<span class="comment">/**
* One of:
* - "debug"
* - "verbose"
* - "information"
* - "error"
* - "critical"
*/</span>
optional <span class="string">string</span> severity = 7;
}
repeated <span class="message">ConsoleMessage</span> consoleMessageList = 1;
}
2 changes: 1 addition & 1 deletion src/defs/DocumentManager.1.0.commands.ListDocuments.def
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
message <span class="message">ListDocumentsArg</span>
{
optional <span class="number">uint32</span> windowID = 1;
optional <span class="number">uint32</span> windowID = 1;
}
12 changes: 6 additions & 6 deletions src/defs/DocumentManager.1.0.commands.LoadDocument.def
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
message <span class="message">LoadDocumentArg</span>
{
<span class="comment">/**
* The window containing the frame.
*/</span>
required <span class="number">uint32</span> windowID = 1;
required <span class="number">uint32</span> frameID = 2;
required <span class="string">string</span> url = 3;
<span class="comment">/**
* The window containing the frame.
*/</span>
required <span class="number">uint32</span> windowID = 1;
required <span class="number">uint32</span> frameID = 2;
required <span class="string">string</span> url = 3;
}
10 changes: 5 additions & 5 deletions src/defs/DocumentManager.1.0.commands.ReloadDocument.def
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
message <span class="message">ReloadDocumentArg</span>
{
<span class="comment">/**
* The window containing the frame.
*/</span>
required <span class="number">uint32</span> windowID = 1;
required <span class="number">uint32</span> frameID = 2;
<span class="comment">/**
* The window containing the frame.
*/</span>
required <span class="number">uint32</span> windowID = 1;
required <span class="number">uint32</span> frameID = 2;
}
Loading

0 comments on commit 75df532

Please sign in to comment.