Skip to content

Commit 0c1ca74

Browse files
author
Chris K
committed
Updated the message definitions to test messages in debug mode.
1 parent 49a9608 commit 0c1ca74

File tree

934 files changed

+27927
-474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

934 files changed

+27927
-474
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
message <span class="message">Default</span>
2+
{
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
message <span class="message">Default</span>
2+
{
3+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
message <span class="message">ConsoleMessage</span>
2+
{
3+
<span class="comment">/**
4+
* The window ID is shared across scope. Notably, it's the same as in the ecmascript debugger.
5+
* INTERNAL: The value is from Window::id
6+
*/</span>
7+
required <span class="number">uint32</span> windowID = 1;
8+
<span class="comment">/**
9+
*
10+
* The number of seconds since 1970-01-01T00:00:00Z.
11+
*/</span>
12+
required <span class="number">uint32</span> time = 2;
13+
<span class="comment">/**
14+
* Description of the error. Sometimes this message only makes sense when
15+
* displayed in a monospace font.
16+
*/</span>
17+
required <span class="string">string</span> description = 3;
18+
<span class="comment">/**
19+
* The URL of the entity (document, script, style file, etc) that caused the
20+
* message to be generated.
21+
*/</span>
22+
optional <span class="string">string</span> uri = 4;
23+
<span class="comment">/**
24+
* The context in which the message was generated; it is intended for human
25+
* consumption and provides additional information about the context for the
26+
* message.
27+
*/</span>
28+
optional <span class="string">string</span> context = 5;
29+
<span class="comment">/**
30+
* The component in Opera that generated the message
31+
* One of:
32+
* - "ecmascript"
33+
* - "java"
34+
* - "m2"
35+
* - "network"
36+
* - "xml"
37+
* - "html"
38+
* - "css"
39+
* - "xslt"
40+
* - "svg"
41+
* - "bittorrent"
42+
* - "voice"
43+
* - "widget"
44+
* - "selftest"
45+
*/</span>
46+
optional <span class="string">string</span> source = 6;
47+
<span class="comment">/**
48+
* One of:
49+
* - "debug"
50+
* - "verbose"
51+
* - "information"
52+
* - "error"
53+
* - "critical"
54+
*/</span>
55+
optional <span class="string">string</span> severity = 7;
56+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
message <span class="message">Default</span>
2+
{
3+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<span class="comment">/**
2+
* A list of ConsoleMessages.
3+
*
4+
* @since 2.1
5+
*/</span>
6+
message <span class="message">ConsoleMessageList</span>
7+
{
8+
message <span class="message">ConsoleMessage</span>
9+
{
10+
<span class="comment">/**
11+
* The window ID is shared across scope. Notably, it's the same as in the ecmascript debugger.
12+
* INTERNAL: The value is from Window::id
13+
*/</span>
14+
required <span class="number">uint32</span> windowID = 1;
15+
<span class="comment">/**
16+
*
17+
* The number of seconds since 1970-01-01T00:00:00Z.
18+
*/</span>
19+
required <span class="number">uint32</span> time = 2;
20+
<span class="comment">/**
21+
* Description of the error. Sometimes this message only makes sense when
22+
* displayed in a monospace font.
23+
*/</span>
24+
required <span class="string">string</span> description = 3;
25+
<span class="comment">/**
26+
* The URL of the entity (document, script, style file, etc) that caused the
27+
* message to be generated.
28+
*/</span>
29+
optional <span class="string">string</span> uri = 4;
30+
<span class="comment">/**
31+
* The context in which the message was generated; it is intended for human
32+
* consumption and provides additional information about the context for the
33+
* message.
34+
*/</span>
35+
optional <span class="string">string</span> context = 5;
36+
<span class="comment">/**
37+
* The component in Opera that generated the message
38+
* One of:
39+
* - "ecmascript"
40+
* - "java"
41+
* - "m2"
42+
* - "network"
43+
* - "xml"
44+
* - "html"
45+
* - "css"
46+
* - "xslt"
47+
* - "svg"
48+
* - "bittorrent"
49+
* - "voice"
50+
* - "widget"
51+
* - "selftest"
52+
*/</span>
53+
optional <span class="string">string</span> source = 6;
54+
<span class="comment">/**
55+
* One of:
56+
* - "debug"
57+
* - "verbose"
58+
* - "information"
59+
* - "error"
60+
* - "critical"
61+
*/</span>
62+
optional <span class="string">string</span> severity = 7;
63+
}
64+
repeated <span class="message">ConsoleMessage</span> consoleMessageList = 1;
65+
}

src/defs/CookieManager.1.0.responses.GetCookie.def

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@ message <span class="message">CookieList</span>
77
required <span class="string">string</span> name = 3;
88
required <span class="string">string</span> value = 4;
99
<span class="comment">/**
10-
*
11-
* Expiry time for cookie specified in seconds from epoch (Unix timestamp).
12-
* A value of 0 means the cookie is expired when the session ends (browser closes).
10+
* Expiry time for cookie specified in seconds from epoch (Unix timestamp).
11+
* A value of 0 means the cookie is expired when the session ends (browser closes).
1312
*/</span>
1413
required <span class="number">uint32</span> expires = 5;
1514
<span class="comment">/**
16-
*
17-
* If true the cookie will only be transferred on secure connections (HTTPS).
15+
* If true the cookie will only be transferred on secure connections (HTTPS).
1816
*/</span>
1917
required <span class="bool">bool </span> isSecure = 6;
2018
<span class="comment">/**
21-
*
22-
* If true then cookie is only accessible via HTTP.
19+
* If true then cookie is only accessible via HTTP.
2320
*/</span>
2421
required <span class="bool">bool </span> isHTTPOnly = 7;
2522
}
Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
<span class="comment">/**
2-
*
3-
* The current settings for the cookie manager in the opera host, these settings are read-only and may vary depending on the platform or device used.
2+
* The current settings for the cookie manager in the opera host, these settings are read-only and may vary depending on the platform or device used.
43
*/</span>
54
message <span class="message">CookieSettings</span>
65
{
76
<span class="comment">/**
8-
*
9-
* The maximum number of cookies the host can store in total.
10-
* If there is no room for new cookies the host will remove the least recently used cookies to get enough space.
7+
* The maximum number of cookies the host can store in total.
8+
* If there is no room for new cookies the host will remove the least recently used cookies to get enough space.
119
*/</span>
1210
required <span class="number">uint32</span> maxCookies = 1;
1311
<span class="comment">/**
14-
*
15-
* The maximum number of cookies allowed in one domain.
16-
* If there is no room for new cookies the host will remove the least recently used cookies in the domain to get enough space.
12+
* The maximum number of cookies allowed in one domain.
13+
* If there is no room for new cookies the host will remove the least recently used cookies in the domain to get enough space.
1714
*/</span>
1815
required <span class="number">uint32</span> maxCookiesPerDomain = 2;
1916
<span class="comment">/**
20-
*
21-
* The maxium byte length of a single cookie, if the cookie exceeds this length it will be discarded.
17+
* The maxium byte length of a single cookie, if the cookie exceeds this length it will be discarded.
2218
*/</span>
2319
required <span class="number">uint32</span> maxCookieLength = 3;
2420
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
message <span class="message">AddCookieArg</span>
2+
{
3+
<span class="comment">/**
4+
* Domain name of cookie
5+
*/</span>
6+
required <span class="string">string</span> domain = 1;
7+
<span class="comment">/**
8+
* Name of cookie
9+
*/</span>
10+
required <span class="string">string</span> name = 2;
11+
<span class="comment">/**
12+
* Path of cookie, defaults to /
13+
*/</span>
14+
optional <span class="string">string</span> path = 3;
15+
<span class="comment">/**
16+
* Cookie value
17+
*/</span>
18+
optional <span class="string">string</span> value = 4;
19+
<span class="comment">/**
20+
* Expiry time set via seconds since epoch
21+
*/</span>
22+
optional <span class="number">uint32</span> expires = 5;
23+
<span class="comment">/**
24+
* If true cookie is only accessible via secure connections
25+
*/</span>
26+
optional <span class="bool">bool </span> isSecure = 6;
27+
<span class="comment">/**
28+
* If true the cookie is only accessible via HTTP
29+
*/</span>
30+
optional <span class="bool">bool </span> isHTTPOnly = 7;
31+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
message <span class="message">GetCookieArg</span>
2+
{
3+
required <span class="string">string</span> domain = 1;
4+
optional <span class="string">string</span> path = 2;
5+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
message <span class="message">Default</span>
2+
{
3+
}

0 commit comments

Comments
 (0)