Permalink
Browse files

Merge pull request #103 from operasoftware/update-msg-defs

Updated message definitions and made them collapsible.
  • Loading branch information...
2 parents d088a7a + 75df532 commit 8c9e433e11201ee76fbede327daceccf6afc59f9 @chriskr chriskr committed Oct 3, 2012
Showing 1,103 changed files with 34,987 additions and 33,846 deletions.
@@ -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;
}
@@ -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;
}
@@ -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;
}
@@ -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;
}
@@ -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;
}
@@ -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;
}
Oops, something went wrong.

0 comments on commit 8c9e433

Please sign in to comment.