Compare commits
	
		
			379 Commits
		
	
	
		
			wip/cherge
			...
			wip/fmuell
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 078a1bda14 | ||
|   | 5edceba588 | ||
|   | 49133c7245 | ||
|   | c1c00a8c1d | ||
|   | d3bf1a9ee7 | ||
|   | f43f9557e4 | ||
|   | a92ad59595 | ||
|   | 616852cf2b | ||
|   | e5ce3d541e | ||
|   | 925a25da17 | ||
|   | 6743c18fdf | ||
|   | 4d649d6ee8 | ||
|   | 121c427438 | ||
|   | 25fbffc454 | ||
|   | 0e0574a0b4 | ||
|   | 4c11d15a07 | ||
|   | 3217c10ff2 | ||
|   | 264050742b | ||
|   | cdb8ac3a2f | ||
|   | 10b3671a99 | ||
|   | 4d2dce2c52 | ||
|   | 27c660d2a9 | ||
|   | 8e7c90b930 | ||
|   | ff2fbf5ae4 | ||
|   | e77463b875 | ||
|   | 74bb9e6249 | ||
|   | 43041f0464 | ||
|   | c3ec813f6f | ||
|   | 04d7069d83 | ||
|   | 52c59ac0dd | ||
|   | 240f3faf6e | ||
|   | 284978757e | ||
|   | 50c28714df | ||
|   | 6099e92df5 | ||
|   | a4d09b4264 | ||
|   | 6f5a099184 | ||
|   | 8c3811a866 | ||
|   | 118cab1766 | ||
|   | 367b1c0627 | ||
|   | 33b8537bf5 | ||
|   | 361cc6cf92 | ||
|   | 5fb8d4f730 | ||
|   | a98ed08a54 | ||
|   | 80a7547129 | ||
|   | ca3f4cfb41 | ||
|   | 551e827841 | ||
|   | 4dc2039859 | ||
|   | f1195ecb01 | ||
|   | 127ba318fd | ||
|   | 72fa44d0fd | ||
|   | b96cc9a161 | ||
|   | 5f2c167947 | ||
|   | 86a78c340f | ||
|   | 1acdff822a | ||
|   | a5e6dd52d2 | ||
|   | 14953041cc | ||
|   | 4e422a527f | ||
|   | c0b561dd4a | ||
|   | 0f542c2e16 | ||
|   | cff9eaf5aa | ||
|   | 468117583a | ||
|   | 7026a6fd32 | ||
|   | ceed3e07e4 | ||
|   | a0dc8dc7ef | ||
|   | b405ed6442 | ||
|   | 8566ec2ee5 | ||
|   | ae7dd5e2db | ||
|   | 9f3c85fdc8 | ||
|   | aa685310bb | ||
|   | 76117fd306 | ||
|   | 8855622666 | ||
|   | 655234e6c3 | ||
|   | 38c1ebba62 | ||
|   | 557b232c89 | ||
|   | b719744e75 | ||
|   | 038f8b6ea5 | ||
|   | 2ee321e0d8 | ||
|   | b4c674900f | ||
|   | 3fa19e58ac | ||
|   | f460f2748d | ||
|   | 8b215b2446 | ||
|   | 0c0d76f7d6 | ||
|   | dd225713a1 | ||
|   | f4682748fa | ||
|   | b058e89166 | ||
|   | ac314cfb05 | ||
|   | fc342fe8c5 | ||
|   | dd4709bb27 | ||
|   | e9f4f2e8ae | ||
|   | 197c0eee29 | ||
|   | 034a723677 | ||
|   | efb3025d8c | ||
|   | 81ec8215a0 | ||
|   | 4be66ecf01 | ||
|   | 2717ca9d08 | ||
|   | c6cea277eb | ||
|   | 9a47b4b343 | ||
|   | 0ec36fc5cf | ||
|   | a315e75e95 | ||
|   | e82c68accd | ||
|   | 286ffbe2b6 | ||
|   | a3f5354abb | ||
|   | 00613b304f | ||
|   | d44ffc1158 | ||
|   | 501a1aff68 | ||
|   | 586a9ff9cd | ||
|   | 7190666075 | ||
|   | e2f6a1980d | ||
|   | 669582ddbb | ||
|   | d9ad834eac | ||
|   | fffe58f829 | ||
|   | a35382d6fc | ||
|   | 361955dbf9 | ||
|   | 873c26ff12 | ||
|   | 70a89cad45 | ||
|   | b1056759e6 | ||
|   | 24e37fda02 | ||
|   | 43b8d5e942 | ||
|   | deec047313 | ||
|   | ef5e195f32 | ||
|   | ed1136d36f | ||
|   | 132eb2b1c5 | ||
|   | 8d5e01856b | ||
|   | 2b1f664aed | ||
|   | 4609cf1912 | ||
|   | 44b871da92 | ||
|   | 3e29ab5441 | ||
|   | 11fb91f60f | ||
|   | 7ea034c719 | ||
|   | b2fabd9356 | ||
|   | 0892b5dcdb | ||
|   | fb39cc5952 | ||
|   | 969eecb88e | ||
|   | cdad6fadf5 | ||
|   | 33ffdd6061 | ||
|   | 34fd681936 | ||
|   | 0cf2d396b0 | ||
|   | 4a4fa8b2d7 | ||
|   | 2ed6290a40 | ||
|   | 94423151b2 | ||
|   | f42d9df3e0 | ||
|   | 150a640c66 | ||
|   | a76b28bd72 | ||
|   | 2ed70ca971 | ||
|   | 179cd0a3c8 | ||
|   | fcdac69eea | ||
|   | 9d6e1a89fc | ||
|   | 87a645aa2b | ||
|   | b087752b55 | ||
|   | 2d791a51c0 | ||
|   | 7778d1c308 | ||
|   | 9e975ed9ef | ||
|   | 22531384f1 | ||
|   | 1bdb3f194d | ||
|   | 5d61e2563d | ||
|   | 72f5802be9 | ||
|   | 30cb2127a1 | ||
|   | 3aea290adc | ||
|   | 5b3ff7184e | ||
|   | 760406002f | ||
|   | c47a740c83 | ||
|   | 0fe5a3c0c4 | ||
|   | 5bca4a884e | ||
|   | 9c41736a81 | ||
|   | 87da623d86 | ||
|   | 3033506f2c | ||
|   | 542f971176 | ||
|   | 96c5404fd4 | ||
|   | afc7925e3e | ||
|   | c2e9e68df7 | ||
|   | bdbf804e69 | ||
|   | 9718175f4d | ||
|   | 0ba346b750 | ||
|   | 614c4480e2 | ||
|   | f21f612ef7 | ||
|   | 935de3e80f | ||
|   | 0f541f60e8 | ||
|   | 902c99c757 | ||
|   | f7029674b0 | ||
|   | dd7ccda168 | ||
|   | e207b45317 | ||
|   | 6b5117677d | ||
|   | 900398406c | ||
|   | 461d2b1945 | ||
|   | 6c2f11e8a4 | ||
|   | dbf993300a | ||
|   | f77b3da74f | ||
|   | bc6a38dda7 | ||
|   | f3a02057c1 | ||
|   | ad15ce9139 | ||
|   | 5d178506bf | ||
|   | 14cc9bfb1e | ||
|   | ce4c485f34 | ||
|   | 1877a2e00a | ||
|   | b2fa7a6d8f | ||
|   | 36c604d793 | ||
|   | 9a5a4b2206 | ||
|   | 3ab9e9e8ad | ||
|   | dd59212d3f | ||
|   | 2b654ec310 | ||
|   | 764fbbe052 | ||
|   | 328c63bf64 | ||
|   | 95788c9834 | ||
|   | 9cf571efbd | ||
|   | dc4128c78b | ||
|   | 73d8c82640 | ||
|   | 2f7377b250 | ||
|   | 804f23b179 | ||
|   | 2be6ddc54e | ||
|   | dff4f0109e | ||
|   | 2e663b2a94 | ||
|   | 9f4aa6ebf2 | ||
|   | afe5703710 | ||
|   | 02d06bb1f3 | ||
|   | 3a78695bd9 | ||
|   | 13e8c35d36 | ||
|   | 3b8dfd98dd | ||
|   | 6b610b26f8 | ||
|   | 81956e9b84 | ||
|   | 6b41f82346 | ||
|   | 1fca090374 | ||
|   | da2fc2c9d3 | ||
|   | 52cbc299a7 | ||
|   | 9f436ce373 | ||
|   | d908940ef3 | ||
|   | eeda54f24d | ||
|   | b8b5da1e95 | ||
|   | 3a9ad5c577 | ||
|   | d57dc94d9e | ||
|   | 393d7246cc | ||
|   | 6217c3b88d | ||
|   | ddd4fd9c24 | ||
|   | d2a97e7f1d | ||
|   | aa75e89216 | ||
|   | 3f756dc608 | ||
|   | ed8e89bc19 | ||
|   | c90a4e4849 | ||
|   | f433b12d6e | ||
|   | 7ca418a79a | ||
|   | a9ad91c831 | ||
|   | bd1c7774ee | ||
|   | 91da3789bc | ||
|   | 2991f9f102 | ||
|   | 49d8ff38e7 | ||
|   | 4b522a02c3 | ||
|   | ebe6f59d7e | ||
|   | e5c95b910d | ||
|   | 2f76951658 | ||
|   | 3efd296fc3 | ||
|   | 6688610c23 | ||
|   | d2c75801ea | ||
|   | be84a00022 | ||
|   | da537cda43 | ||
|   | 304c667bca | ||
|   | 879a81abeb | ||
|   | e68ca5adbd | ||
|   | cf69fe4b18 | ||
|   | 8f848925f6 | ||
|   | d21657fe61 | ||
|   | ce3555382b | ||
|   | 837a00c3f0 | ||
|   | 132c8e0cf8 | ||
|   | 9c62522419 | ||
|   | 0d5bae3844 | ||
|   | 97f6a35b46 | ||
|   | 43e8dfacb4 | ||
|   | 0221099e7e | ||
|   | 374caade47 | ||
|   | a5937d1d6d | ||
|   | e36ba874a8 | ||
|   | 22392d1328 | ||
|   | 0dee82fb9f | ||
|   | 68f00f397f | ||
|   | 905801b178 | ||
|   | 4a7082bb0f | ||
|   | 2e90c5fa4b | ||
|   | 50e849a186 | ||
|   | e7f2e92410 | ||
|   | b1b455ff1a | ||
|   | ab4c72d758 | ||
|   | 86a520b880 | ||
|   | 4bf033a885 | ||
|   | e3ebc8d0c6 | ||
|   | fc5ab44704 | ||
|   | d5e8f174d4 | ||
|   | d9a1434ae9 | ||
|   | d0bdea3178 | ||
|   | ccadf6aca1 | ||
|   | 266b0e9dd0 | ||
|   | f7355f593d | ||
|   | a301820258 | ||
|   | 47ea10b7c9 | ||
|   | 2c0376c150 | ||
|   | ac58c4280b | ||
|   | e39d7152f2 | ||
|   | e522e2e804 | ||
|   | 2ba26407f1 | ||
|   | 996dd74157 | ||
|   | 878946962d | ||
|   | 84d2d3feb3 | ||
|   | 19e864ed3b | ||
|   | c9bf72c5c4 | ||
|   | 5fe349d5ba | ||
|   | 1f03599d1c | ||
|   | a24999b7a3 | ||
|   | 8237a1f6e0 | ||
|   | f9dec475a1 | ||
|   | 68b01a8f56 | ||
|   | f56ba0877a | ||
|   | 5ac6201d91 | ||
|   | a21a22fdb5 | ||
|   | a0fa50ac31 | ||
|   | b1dd746443 | ||
|   | c15e163eb1 | ||
|   | 7a3927c168 | ||
|   | 6eed4e31d7 | ||
|   | f0557ea05c | ||
|   | 44894262f4 | ||
|   | b03bcc85aa | ||
|   | 70057c6a55 | ||
|   | 86bd5b281d | ||
|   | ad3e9ab205 | ||
|   | 02bbf409ea | ||
|   | f56e4e177e | ||
|   | fc26559f2c | ||
|   | fdaddbd1e0 | ||
|   | 04f61567ba | ||
|   | a0785cdbc1 | ||
|   | 94101e8bb8 | ||
|   | f13dbf2f26 | ||
|   | bae6f06e4e | ||
|   | d8b9e23502 | ||
|   | 7d59eaa67e | ||
|   | c0a453f64f | ||
|   | 5336175736 | ||
|   | 2997e4950b | ||
|   | a49fb90d86 | ||
|   | ffc0eb1de2 | ||
|   | 853c81eb62 | ||
|   | 594cc7cbef | ||
|   | 0932324d39 | ||
|   | 2d6cf236c4 | ||
|   | 642107a28f | ||
|   | 581b38ecf4 | ||
|   | fbc03cc262 | ||
|   | a6ff195893 | ||
|   | f411724064 | ||
|   | 39f43a4cd4 | ||
|   | c82cb918ae | ||
|   | 38cdaa6c20 | ||
|   | 0327069e83 | ||
|   | 7601b029c8 | ||
|   | fb509dfc25 | ||
|   | 874a91968f | ||
|   | 0963ccddba | ||
|   | c4e0f6df08 | ||
|   | 58aafe9520 | ||
|   | a46df7f8ec | ||
|   | 1dd16618d1 | ||
|   | a4190f83ac | ||
|   | a8e17f73ec | ||
|   | 86a741c1ee | ||
|   | 5cc6fef689 | ||
|   | 522a5fe480 | ||
|   | b1239b1257 | ||
|   | 58063d9ee1 | ||
|   | d7aba2dece | ||
|   | 35fced27df | ||
|   | be76b19300 | ||
|   | 376d696b8b | ||
|   | 695d61968d | ||
|   | d6d09fd3c8 | ||
|   | f1b1501f9b | ||
|   | cdbc99e992 | ||
|   | 69afe7785d | ||
|   | b99e304f1e | ||
|   | c29bd46e7a | ||
|   | 5fcf40b973 | ||
|   | a198dfe3d8 | 
							
								
								
									
										2
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						| @@ -1,3 +1,3 @@ | |||||||
| [submodule "subprojects/gvc"] | [submodule "subprojects/gvc"] | ||||||
| 	path = subprojects/gvc | 	path = subprojects/gvc | ||||||
| 	url = https://git.gnome.org/browse/libgnome-volume-control | 	url = https://gitlab.gnome.org/GNOME/libgnome-volume-control.git | ||||||
|   | |||||||
| @@ -1,28 +1,25 @@ | |||||||
| Coding guide | # Coding guide | ||||||
| ============ |  | ||||||
| 
 | 
 | ||||||
| Our goal is to have all JavaScript code in GNOME follow a consistent style. In | Our goal is to have all JavaScript code in GNOME follow a consistent style. In | ||||||
| a dynamic language like JavaScript, it is essential to be rigorous about style | a dynamic language like JavaScript, it is essential to be rigorous about style | ||||||
| (and unit tests), or you rapidly end up with a spaghetti-code mess. | (and unit tests), or you rapidly end up with a spaghetti-code mess. | ||||||
| 
 | 
 | ||||||
| A quick note | ## A quick note | ||||||
| ------------ |  | ||||||
| 
 | 
 | ||||||
| Life isn't fun if you can't break the rules. If a rule seems unnecessarily | Life isn't fun if you can't break the rules. If a rule seems unnecessarily | ||||||
| restrictive while you're coding, ignore it, and let the patch reviewer decide | restrictive while you're coding, ignore it, and let the patch reviewer decide | ||||||
| what to do. | what to do. | ||||||
| 
 | 
 | ||||||
| Indentation and whitespace | ## Indentation, braces and whitespace | ||||||
| -------------------------- |  | ||||||
| 
 | 
 | ||||||
| Use four-space indents. Braces are on the same line as their associated | * Use four-space indents. | ||||||
| statements.  You should only omit braces if *both* sides of the statement are | * Braces are on the same line as their associated statements. | ||||||
| on one line. | * You should only omit braces if *both* sides of the statement are on one line. | ||||||
| 
 | * One space after the `function` keyword. | ||||||
| * One space after the `function` keyword.  No space between the function name | * No space between the function name in a declaration or a call. | ||||||
| * in a declaration or a call.  One space before the parens in the `if` | * One space before the parens in the `if` statements, or `while`, or `for` loops. | ||||||
| * statements, or `while`, or `for` loops. |  | ||||||
| 
 | 
 | ||||||
|  | ```javascript | ||||||
|     function foo(a, b) { |     function foo(a, b) { | ||||||
|         let bar; |         let bar; | ||||||
| 
 | 
 | ||||||
| @@ -39,22 +36,20 @@ on one line. | |||||||
|             print(20); |             print(20); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| Semicolons | ## Semicolons | ||||||
| ---------- |  | ||||||
| 
 | 
 | ||||||
| JavaScript allows omitting semicolons at the end of lines, but don't. Always | JavaScript allows omitting semicolons at the end of lines, but don't. Always | ||||||
| end statements with a semicolon. | end statements with a semicolon. | ||||||
| 
 | 
 | ||||||
| js2-mode | ## js2-mode | ||||||
| -------- |  | ||||||
| 
 | 
 | ||||||
| If using Emacs, do not use js2-mode. It is outdated and hasn't worked for a | If using Emacs, do not use js2-mode. It is outdated and hasn't worked for a | ||||||
| while. emacs now has a built-in JavaScript mode, js-mode, based on | while. emacs now has a built-in JavaScript mode, js-mode, based on | ||||||
| espresso-mode. It is the de facto emacs mode for JavaScript. | espresso-mode. It is the de facto emacs mode for JavaScript. | ||||||
| 
 | 
 | ||||||
| File naming and creation | ## File naming and creation | ||||||
| ------------------------ |  | ||||||
| 
 | 
 | ||||||
| For JavaScript files, use lowerCamelCase-style names, with a `.js` extension. | For JavaScript files, use lowerCamelCase-style names, with a `.js` extension. | ||||||
| 
 | 
 | ||||||
| @@ -67,14 +62,13 @@ library name followed by a dash, e.g. `shell-app-system.c`. Create a | |||||||
| `-private.h` header when you want to share code internally in the | `-private.h` header when you want to share code internally in the | ||||||
| library. These headers are not installed, distributed or introspected. | library. These headers are not installed, distributed or introspected. | ||||||
| 
 | 
 | ||||||
| Imports | ## Imports | ||||||
| ------- |  | ||||||
| 
 | 
 | ||||||
| Use UpperCamelCase when importing modules to distinguish them from ordinary | Use UpperCamelCase when importing modules to distinguish them from ordinary | ||||||
| variables, e.g. | variables, e.g. | ||||||
| 
 | ```javascript | ||||||
|     const GLib = imports.gi.GLib; |     const GLib = imports.gi.GLib; | ||||||
| 
 | ``` | ||||||
| Imports should be categorized into one of two places. The top-most import block | Imports should be categorized into one of two places. The top-most import block | ||||||
| should contain only "environment imports". These are either modules from | should contain only "environment imports". These are either modules from | ||||||
| gobject-introspection or modules added by gjs itself. | gobject-introspection or modules added by gjs itself. | ||||||
| @@ -85,7 +79,7 @@ e.g. `imports.ui.popupMenu`. | |||||||
| 
 | 
 | ||||||
| Each import block should be sorted alphabetically. Don't import modules you | Each import block should be sorted alphabetically. Don't import modules you | ||||||
| don't use. | don't use. | ||||||
| 
 | ```javascript | ||||||
|     const GLib = imports.gi.GLib; |     const GLib = imports.gi.GLib; | ||||||
|     const Gio = imports.gi.Gio; |     const Gio = imports.gi.Gio; | ||||||
|     const Lang = imports.lang; |     const Lang = imports.lang; | ||||||
| @@ -95,23 +89,22 @@ don't use. | |||||||
|     const Params = imports.misc.params; |     const Params = imports.misc.params; | ||||||
|     const Tweener = imports.ui.tweener; |     const Tweener = imports.ui.tweener; | ||||||
|     const Util = imports.misc.util; |     const Util = imports.misc.util; | ||||||
| 
 | ``` | ||||||
| The alphabetical ordering should be done independently of the location of the | The alphabetical ordering should be done independently of the location of the | ||||||
| location. Never reference `imports` in actual code. | location. Never reference `imports` in actual code. | ||||||
| 
 | 
 | ||||||
| Constants | ## Constants | ||||||
| --------- |  | ||||||
| 
 | 
 | ||||||
| We use CONSTANTS_CASE to define constants. All constants should be directly | We use CONSTANTS_CASE to define constants. All constants should be directly | ||||||
| under the imports: | under the imports: | ||||||
| 
 | ```javascript | ||||||
|     const MY_DBUS_INTERFACE = 'org.my.Interface'; |     const MY_DBUS_INTERFACE = 'org.my.Interface'; | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| Variable declaration | ## Variable declaration | ||||||
| -------------------- |  | ||||||
| 
 | 
 | ||||||
| Always use either `const` or `let` when defining a variable. | Always use either `const` or `let` when defining a variable. | ||||||
| 
 | ```javascript | ||||||
|     // Iterating over an array |     // Iterating over an array | ||||||
|     for (let i = 0; i < arr.length; ++i) { |     for (let i = 0; i < arr.length; ++i) { | ||||||
|         let item = arr[i]; |         let item = arr[i]; | ||||||
| @@ -121,17 +114,17 @@ Always use either `const` or `let` when defining a variable. | |||||||
|     for (let prop in someobj) { |     for (let prop in someobj) { | ||||||
|         ... |         ... | ||||||
|     } |     } | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| If you use "var" then the variable is added to function scope, not block scope. | If you use "var" then the variable is added to function scope, not block scope. | ||||||
| See [What's new in JavaScript 1.7](https://developer.mozilla.org/en/JavaScript/New_in_JavaScript/1.7#Block_scope_with_let_%28Merge_into_let_Statement%29) | See [What's new in JavaScript 1.7](https://developer.mozilla.org/en/JavaScript/New_in_JavaScript/1.7#Block_scope_with_let_%28Merge_into_let_Statement%29) | ||||||
| 
 | 
 | ||||||
| Classes | ## Classes | ||||||
| ------- |  | ||||||
| 
 | 
 | ||||||
| There are many approaches to classes in JavaScript. We use our own class framework | There are many approaches to classes in JavaScript. We use our own class framework | ||||||
| (sigh), which is built in gjs. The advantage is that it supports inheriting from | (sigh), which is built in gjs. The advantage is that it supports inheriting from | ||||||
| GObjects, although this feature isn't used very often in the Shell itself. | GObjects, although this feature isn't used very often in the Shell itself. | ||||||
| 
 | ```javascript | ||||||
|     var IconLabelMenuItem = new Lang.Class({ |     var IconLabelMenuItem = new Lang.Class({ | ||||||
|         Name: 'IconLabelMenuItem', |         Name: 'IconLabelMenuItem', | ||||||
|         Extends: PopupMenu.PopupMenuBaseItem, |         Extends: PopupMenu.PopupMenuBaseItem, | ||||||
| @@ -146,6 +139,7 @@ GObjects, although this feature isn't used very often in the Shell itself. | |||||||
|             log("menu opened!"); |             log("menu opened!"); | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| * 'Name' is required. 'Extends' is optional. If you leave it out, you will | * 'Name' is required. 'Extends' is optional. If you leave it out, you will | ||||||
|   automatically inherit from Object. |   automatically inherit from Object. | ||||||
| @@ -162,13 +156,12 @@ GObjects, although this feature isn't used very often in the Shell itself. | |||||||
|   still a giant function call, even though it may resemble a more |   still a giant function call, even though it may resemble a more | ||||||
|   conventional syntax. |   conventional syntax. | ||||||
| 
 | 
 | ||||||
| GObject Introspection | ## GObject Introspection | ||||||
| --------------------- |  | ||||||
| 
 | 
 | ||||||
| GObject Introspection is a powerful feature that allows us to have native | GObject Introspection is a powerful feature that allows us to have native | ||||||
| bindings for almost any library built around GObject. If a library requires | bindings for almost any library built around GObject. If a library requires | ||||||
| you to inherit from a type to use it, you can do so: | you to inherit from a type to use it, you can do so: | ||||||
| 
 | ```javascript | ||||||
|     var MyClutterActor = new Lang.Class({ |     var MyClutterActor = new Lang.Class({ | ||||||
|         Name: 'MyClutterActor', |         Name: 'MyClutterActor', | ||||||
|         Extends: Clutter.Actor, |         Extends: Clutter.Actor, | ||||||
| @@ -188,9 +181,9 @@ you to inherit from a type to use it, you can do so: | |||||||
|                             alloc.x2, alloc.y2); |                             alloc.x2, alloc.y2); | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| Translatable strings, `environment.js` | ## Translatable strings, `environment.js` | ||||||
| -------------------------------------- |  | ||||||
| 
 | 
 | ||||||
| We use gettext to translate the GNOME Shell into all the languages that GNOME | We use gettext to translate the GNOME Shell into all the languages that GNOME | ||||||
| supports. The `gettext` function is aliased globally as `_`, you do not need to | supports. The `gettext` function is aliased globally as `_`, you do not need to | ||||||
| @@ -204,8 +197,7 @@ and "double quotes" for strings that the user may see. This allows us to | |||||||
| quickly find untranslated or mistranslated strings by grepping through the | quickly find untranslated or mistranslated strings by grepping through the | ||||||
| sources for double quotes without a gettext call around them. | sources for double quotes without a gettext call around them. | ||||||
| 
 | 
 | ||||||
| `actor` and `_delegate` | ## `actor` and `_delegate` | ||||||
| ----------------------- |  | ||||||
| 
 | 
 | ||||||
| gjs allows us to set so-called "expando properties" on introspected objects, | gjs allows us to set so-called "expando properties" on introspected objects, | ||||||
| allowing us to treat them like any other. Because the Shell was built before | allowing us to treat them like any other. Because the Shell was built before | ||||||
| @@ -214,7 +206,7 @@ that has a property called `actor`. We call this wrapper class the "delegate". | |||||||
| 
 | 
 | ||||||
| We sometimes use expando properties to set a property called `_delegate` on | We sometimes use expando properties to set a property called `_delegate` on | ||||||
| the actor itself: | the actor itself: | ||||||
| 
 | ```javascript | ||||||
|     var MyClass = new Lang.Class({ |     var MyClass = new Lang.Class({ | ||||||
|         Name: 'MyClass', |         Name: 'MyClass', | ||||||
| 
 | 
 | ||||||
| @@ -229,6 +221,7 @@ the actor itself: | |||||||
|             actor.set_label("You clicked the button!"); |             actor.set_label("You clicked the button!"); | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| The 'delegate' property is important for anything which trying to get the | The 'delegate' property is important for anything which trying to get the | ||||||
| delegate object from an associated actor. For instance, the drag and drop | delegate object from an associated actor. For instance, the drag and drop | ||||||
| @@ -236,16 +229,14 @@ system calls the `handleDragOver` function on the delegate of a "drop target" | |||||||
| when the user drags an item over it. If you do not set the `_delegate` | when the user drags an item over it. If you do not set the `_delegate` | ||||||
| property, your actor will not be able to be dropped onto. | property, your actor will not be able to be dropped onto. | ||||||
| 
 | 
 | ||||||
| Functional style | ## Functional style | ||||||
| ---------------- |  | ||||||
| 
 | 
 | ||||||
| JavaScript Array objects offer a lot of common functional programming | JavaScript Array objects offer a lot of common functional programming | ||||||
| capabilities such as forEach, map, filter and so on. You can use these when | capabilities such as forEach, map, filter and so on. You can use these when | ||||||
| they make sense, but please don't have a spaghetti mess of function programming | they make sense, but please don't have a spaghetti mess of function programming | ||||||
| messed in a procedural style. Use your best judgment. | messed in a procedural style. Use your best judgment. | ||||||
| 
 | 
 | ||||||
| Closures | ## Closures | ||||||
| -------- |  | ||||||
| 
 | 
 | ||||||
| `this` will not be captured in a closure, it is relative to how the closure is | `this` will not be captured in a closure, it is relative to how the closure is | ||||||
| invoked, not to the value of this where the closure is created, because "this" | invoked, not to the value of this where the closure is created, because "this" | ||||||
| @@ -254,15 +245,16 @@ variable that can be captured in closures. | |||||||
| 
 | 
 | ||||||
| All closures should be wrapped with Function.prototype.bind or use arrow | All closures should be wrapped with Function.prototype.bind or use arrow | ||||||
| notation. | notation. | ||||||
| 
 | ```javascript | ||||||
|     const Lang = imports.lang; |     const Lang = imports.lang; | ||||||
| 
 | 
 | ||||||
|     let closure1 = () => { this._fnorbate(); }; |     let closure1 = () => { this._fnorbate(); }; | ||||||
|     let closure2 = this._fnorbate.bind(this); |     let closure2 = this._fnorbate.bind(this); | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| A more realistic example would be connecting to a signal on a method of a | A more realistic example would be connecting to a signal on a method of a | ||||||
| prototype: | prototype: | ||||||
| 
 | ```javascript | ||||||
|     const Lang = imports.lang; |     const Lang = imports.lang; | ||||||
|     const FnorbLib = imports.fborbLib; |     const FnorbLib = imports.fborbLib; | ||||||
| 
 | 
 | ||||||
| @@ -276,19 +268,21 @@ prototype: | |||||||
|             this._updateFnorb(); |             this._updateFnorb(); | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| Object literal syntax | ## Object literal syntax | ||||||
| --------------------- |  | ||||||
| 
 | 
 | ||||||
| In JavaScript, these are equivalent: | In JavaScript, these are equivalent: | ||||||
| 
 | ```javascript | ||||||
|     foo = { 'bar': 42 }; |     foo = { 'bar': 42 }; | ||||||
|     foo = { bar: 42 }; |     foo = { bar: 42 }; | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| and so are these: | and so are these: | ||||||
| 
 | ```javascript | ||||||
|     var b = foo['bar']; |     var b = foo['bar']; | ||||||
|     var b = foo.bar; |     var b = foo.bar; | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| If your usage of an object is like an object, then you're defining "member | If your usage of an object is like an object, then you're defining "member | ||||||
| variables." For member variables, use the no-quotes no-brackets syntax: `{ bar: | variables." For member variables, use the no-quotes no-brackets syntax: `{ bar: | ||||||
| @@ -298,14 +292,13 @@ If your usage of an object is like a hash table (and thus conceptually the keys | |||||||
| can have special chars in them), don't use quotes, but use brackets: `{ bar: 42 | can have special chars in them), don't use quotes, but use brackets: `{ bar: 42 | ||||||
| }`, `foo['bar']`. | }`, `foo['bar']`. | ||||||
| 
 | 
 | ||||||
| Getters, setters, and Tweener | ## Getters, setters, and Tweener | ||||||
| ----------------------------- |  | ||||||
| 
 | 
 | ||||||
| Getters and setters should be used when you are dealing with an API that is | Getters and setters should be used when you are dealing with an API that is | ||||||
| designed around setting properties, like Tweener. If you want to animate an | designed around setting properties, like Tweener. If you want to animate an | ||||||
| arbitrary property, create a getter and setter, and use Tweener to animate the | arbitrary property, create a getter and setter, and use Tweener to animate the | ||||||
| property. | property. | ||||||
| 
 | ```javascript | ||||||
|     var ANIMATION_TIME = 2000; |     var ANIMATION_TIME = 2000; | ||||||
| 
 | 
 | ||||||
|     var MyClass = new Lang.Class({ |     var MyClass = new Lang.Class({ | ||||||
| @@ -331,3 +324,4 @@ property. | |||||||
|                      { position: 100, |                      { position: 100, | ||||||
|                        time: ANIMATION_TIME, |                        time: ANIMATION_TIME, | ||||||
|                        transition: 'easeOutQuad' }); |                        transition: 'easeOutQuad' }); | ||||||
|  | ``` | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| Owen Taylor |  | ||||||
| E-mail: otaylor@redhat.com |  | ||||||
| Userid: otaylor |  | ||||||
|  |  | ||||||
| Colin Walters |  | ||||||
| E-mail: walters@verbum.org |  | ||||||
| Userid: walters |  | ||||||
							
								
								
									
										179
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						| @@ -1,3 +1,182 @@ | |||||||
|  | 3.31.2 | ||||||
|  | ====== | ||||||
|  | * Port away from and remove ShellGenericContainer [Georges; !153] | ||||||
|  | * popupMenu: Fix keyboard activation when numlock is active [Andrea; #550] | ||||||
|  | * Do not block all shortcuts while app folders are expanded [Florian; #648] | ||||||
|  | * Fix regression in handling new input sources [Carlos; #691] | ||||||
|  | * Reask password after udisk errors for no/wrong passwords [Sebastian; #640] | ||||||
|  | * Improve performance of app icon animations [Daniel; !253, !261] | ||||||
|  | * Avoid focus changes when updating keyboard options [Takao; #391] | ||||||
|  | * notifications: Support icon theme names in 'image-path' hint [Marco; !285] | ||||||
|  | * Respect natural-scroll setting for workspace swipe gesture [Erik; #516] | ||||||
|  | * Confine window preview titles to workspace area [Florian; !214] | ||||||
|  | * Misc. bug fixes [Florian, Carmen, Georges, Cosimo, Carlos; #602, #693, | ||||||
|  |   #666, #647, !66, #768, #430, !286, !258, !287, gtk#1447] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Andrea Azzarone, Carmen Bianca Bakker, Cosimo Cecchi, Sergio Costas, | ||||||
|  |   Erik Duxstad, Takao Fujiwara, Carlos Garnacho, Florian Müllner, | ||||||
|  |   Georges Basile Stavracas Neto, Sebastian Pinnau, Didier Roche, Jakub Steiner, | ||||||
|  |   Marco Trevisan (Treviño), verdre, Daniel van Vugt | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Kristjan SCHMIDT [eo], Dušan Kazik [sk], Matej Urbančič [sl], | ||||||
|  |   Anish Sheela [ml], Rafael Fontenelle [pt_BR], Daniel Mustieles [es] | ||||||
|  |  | ||||||
|  | 3.30.1 | ||||||
|  | ====== | ||||||
|  | * Cancel search on overview hiding [Marco; !205] | ||||||
|  | * Fix disappearing network icon [Iain; #140] | ||||||
|  | * Improve switch-monitor shortcut handling [Daniel; !208] | ||||||
|  | * Fix missing key information in keyring dialog [Florian; #574] | ||||||
|  | * De-duplicate all entries in run command history [Pascal; #524] | ||||||
|  | * Fix frozen disk unlock dialogs [Florian; #565] | ||||||
|  | * Fix unresponsive-app dialog blocking input in other windows [Florian; #273] | ||||||
|  | * Fix handling of forward-key-event input method signal [Carlos; #531] | ||||||
|  | * Misc. bug fixes [Florian, Marco, Carlos, Pascal, Andrea; #520, #791233, | ||||||
|  |   !188, #539, !217, #536, #537, #578, !236, #579, !228, #618, #471, !255] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Andrea Azzarone, Jürg Billeter, Daniel Drake, Carlos Garnacho, Andre Klapper, | ||||||
|  |   Iain Lane, Florian Müllner, Bastien Nocera, Pascal Nowack, Jakub Steiner, | ||||||
|  |   Ray Strode, Will Thompson, Marco Trevisan (Treviño), Adam Williamson, | ||||||
|  |   Andrew Zaborowski | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Yuras Shumovich [be], Stas Solovey [ru], Justin van Steijn [nl], | ||||||
|  |   Dušan Kazik [sk], Khaled Hosny [ar], Madis O [et], Mart Raudsepp [et], | ||||||
|  |   Марко Костић [sr], Piotr Drąg [pl], Marek Černocký [cs], Fran Dieguez [gl], | ||||||
|  |   Ask Hjorth Larsen [da], Balázs Meskó [hu], Jiri Grönroos [fi], | ||||||
|  |   Cheng-Chia Tseng [zh_TW] | ||||||
|  |  | ||||||
|  | 3.30.0 | ||||||
|  | ====== | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Harry Mallon, Marco Trevisan (Treviño) | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Fran Dieguez [gl], Trần Ngọc Quân [vi], Balázs Meskó [hu], | ||||||
|  |   Rūdolfs Mazurs [lv], Jiri Grönroos [fi], Anders Jonsson [sv], gogo [hr], | ||||||
|  |   Ask Hjorth Larsen [da] | ||||||
|  |  | ||||||
|  | 3.29.92 | ||||||
|  | ======= | ||||||
|  | * Choose some actors to cache on the GPU [Daniel; #792633] | ||||||
|  | * inputMethod: Hide preedit text if requested [Takao; #431] | ||||||
|  | * Fix forced fallback app-menus on wayland [Jonas; #276] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Jonas Ådahl, Takao Fujiwara, Mohammed Sadiq, Marco Trevisan (Treviño), | ||||||
|  |   Daniel van Vugt | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Baurzhan Muftakhidinov [kk], Kukuh Syafaat [id], Milo Casagrande [it], | ||||||
|  |   Changwoo Ryu [ko], Marek Cernocky [cs] | ||||||
|  |  | ||||||
|  | 3.29.91 | ||||||
|  | ======= | ||||||
|  | * Fix handling of 0/false options in ShowOSD D-Bus API [Florian; #791669] | ||||||
|  | * overview: Fix handling of confirmation dialogs on wayland [verdre; !180] | ||||||
|  | * Avoid some full relayout/redraws [Carlos; !197] | ||||||
|  | * Keep workspace switcher slid out when workspaces are in use [Florian; !161] | ||||||
|  | * Ignore auto-repeat for some keybindings [Andrea; #373] | ||||||
|  | * Misc. bug fixes [Carlos, Florian, Pascal; #464, !189, !191, !192, !162] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Andrea Azzarone, Olivier Blin, Carlos Garnacho, Florian Müllner, | ||||||
|  |   Pascal Nowack, verdre | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Bruno Lopes da Silva [pt_BR], Matej Urbančič [sl], Piotr Drąg [pl], | ||||||
|  |   Aurimas Černius [lt], Emin Tufan Çetin [tr], Fabio Tomat [fur], | ||||||
|  |   Alexandre Franke [fr], Yi-Jyun Pan [zh_TW], Bernd Homuth [de], | ||||||
|  |   Andre Klapper [cs], Jordi Mas [ca], Daniel Șerbănescu [ro], | ||||||
|  |   Bruce Cowan [en_GB] | ||||||
|  |  | ||||||
|  | 3.29.90 | ||||||
|  | ======= | ||||||
|  | * Add remote access indication on wayland [Jonas; !160] | ||||||
|  | * Fix wrong window positions in overview on wayland [Marco; #776588] | ||||||
|  | * Add gesture to unfullscreen a window [Jan-Michael; !123] | ||||||
|  | * Add PickColor method to screenshot D-Bus interface [Florian; #286] | ||||||
|  | * Consider "new-window" action when opening new windows [Florian; #756844] | ||||||
|  | * Make workspace switching gestures follow motion [Carlos; #788994] | ||||||
|  | * Support audio volumes above 100% [Didier; #790280] | ||||||
|  | * Misc. bug fixes [Florian, Daniel; #424, !132, !182, #433, !179, #786496] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Jonas Ådahl, Jan-Michael Brummer, Piotr Drąg, Daniel Drake, Carlos Garnacho, | ||||||
|  |   Florian Müllner, Georges Basile Stavracas Neto, Didier Roche, Jakub Steiner, | ||||||
|  |   Marco Trevisan (Treviño) | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Charles Monzat [fr], Daniel Mustieles [es] | ||||||
|  |  | ||||||
|  | 3.29.4 | ||||||
|  | ====== | ||||||
|  | * Fix "Clear All" for calendar events [Florian; #325] | ||||||
|  | * Allow cancelling direct switch operations [Xavier; #315] | ||||||
|  | * Support being started by systemd --user [Iain; !137, !138] | ||||||
|  | * Support key event forwarding required by some input methods [Carlos; #275] | ||||||
|  | * Misc. bug fixes and cleanups [Jasper, Andrea, Florian; #663461, #372, !112, | ||||||
|  |   #414, !151] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Andrea Azzarone, Carlos Garnacho, Xavier Johnson, Iain Lane, Florian Müllner, | ||||||
|  |   Jasper St. Pierre | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Stas Solovey [ru] | ||||||
|  |  | ||||||
|  | 3.29.3 | ||||||
|  | ====== | ||||||
|  | * Save creation time in screenshot metadata [Florian; #790481] | ||||||
|  | * Improve consistency between ctrl- and middle-click on app icons [Xavier; #316] | ||||||
|  | * Add support for font-feature-settings CSS property [Ryan; #34] | ||||||
|  | * Adjust to MetaScreen removal [Jonas; #759538] | ||||||
|  | * Misc. bug fixes [Florian, Marco, Sam; #298, #788931, #26, #76, !54, #788882, | ||||||
|  |   #791233] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Jonas Ådahl, Ryan Hendrickson, Xavier Johnson, Florian Müllner, Joe Rabinoff, | ||||||
|  |   Sam Spilsbury, Marco Trevisan (Treviño) | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Gun Chleoc [gd], Yi-Jyun Pan [zh_TW], Cédric Valmary [oc], Jordi Mas [ca] | ||||||
|  |  | ||||||
|  | 3.29.2 | ||||||
|  | ====== | ||||||
|  | * Guard against untimely keyboard map changes [Carlos; #240] | ||||||
|  | * Fix icons in search provider results [Florian; #249] | ||||||
|  | * Fix blurriness of OSD under some resolutions [Silvère; #782011] | ||||||
|  | * Fix lagging pointer when zoomed [Daniel; #682013] | ||||||
|  | * Misc. bug fixes [Milan, Xiaoguang, Florian, Mario, Ole; #244, #787871, | ||||||
|  |   #781471, #136, #214, #294] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Ole Jørgen Brønner, Milan Crha, Carlos Garnacho, Yussuf Khalil, | ||||||
|  |   Silvère Latchurié, Florian Müllner, Mario Sanchez Prada, Ray Strode, | ||||||
|  |   Daniel van Vugt, Xiaoguang Wang | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Rafael Fontenelle [pt_BR], Kukuh Syafaat [id], Marcos Lans [gl], | ||||||
|  |   Anders Jonsson [sv], Mingcong Bai [zh_CN] | ||||||
|  |  | ||||||
|  | 3.29.1 | ||||||
|  | ====== | ||||||
|  | * Support icons in app-menu [Florian; #760985] | ||||||
|  | * Misc. bug fixes [Marco, Florian, Lubomir; #792687, #221, !63] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Piotr Drąg, Takao Fujiwara, Christian Kellner, Florian Müllner, | ||||||
|  |   Mario Sanchez Prada, Lubomir Rintel, Didier Roche, Marco Trevisan (Treviño), | ||||||
|  |   verdre | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   gogo [hr], Stas Solovey [ru], Matej Urbančič [sl], Daniel Șerbănescu [ro], | ||||||
|  |   Fabio Tomat [fur], Marek Cernocky [cs], Daniel Mustieles [es] | ||||||
|  |  | ||||||
| 3.28.1 | 3.28.1 | ||||||
| ====== | ====== | ||||||
| * Fix compose characters in shell entries [Carlos; #115] | * Fix compose characters in shell entries [Carlos; #115] | ||||||
|   | |||||||
| @@ -1,3 +1,4 @@ | |||||||
|  | # GNOME Shell | ||||||
| GNOME Shell provides core user interface functions for the GNOME 3 desktop, | GNOME Shell provides core user interface functions for the GNOME 3 desktop, | ||||||
| like switching to windows and launching applications. GNOME Shell takes | like switching to windows and launching applications. GNOME Shell takes | ||||||
| advantage of the capabilities of modern graphics hardware and introduces | advantage of the capabilities of modern graphics hardware and introduces | ||||||
| @@ -6,15 +7,14 @@ easy to use experience. | |||||||
| 
 | 
 | ||||||
| For more information about GNOME Shell, including instructions on how | For more information about GNOME Shell, including instructions on how | ||||||
| to build GNOME Shell from source and how to get involved with the project, | to build GNOME Shell from source and how to get involved with the project, | ||||||
| see: | see the [project wiki][project-wiki]. | ||||||
| 
 | 
 | ||||||
|  https://wiki.gnome.org/Projects/GnomeShell | Bugs should be reported to the GNOME [bug tracking system][bug-tracker]. | ||||||
| 
 | 
 | ||||||
| Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell' | ## License | ||||||
| product. |  | ||||||
| 
 |  | ||||||
| License |  | ||||||
| ======= |  | ||||||
| GNOME Shell is distributed under the terms of the GNU General Public License, | GNOME Shell is distributed under the terms of the GNU General Public License, | ||||||
| version 2 or later. See the COPYING file for details. | version 2 or later. See the [COPYING][license] file for details. | ||||||
| 
 | 
 | ||||||
|  | [project-wiki]: https://wiki.gnome.org/Projects/GnomeShell | ||||||
|  | [bug-tracker]: https://gitlab.gnome.org/GNOME/gnome-shell/issues | ||||||
|  | [license]: COPYING | ||||||
| @@ -1,17 +0,0 @@ | |||||||
| The GNOME Shell Browser Plugin provides integration with gnome-shell and the |  | ||||||
| corresponding extensions repository, codenamed "SweetTooth". The plugin allows |  | ||||||
| the extensions repository to provide good integration, letting the website |  | ||||||
| know which extensions are enabled and disabled, and allowing the website to |  | ||||||
| enable, disable and install them. |  | ||||||
|  |  | ||||||
| Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell' |  | ||||||
| product. |  | ||||||
|  |  | ||||||
| License |  | ||||||
| ======= |  | ||||||
| The GNOME Shell Browser Plugin, like GNOME Shell itself is distributed under |  | ||||||
| the GNU General Public License, version 2 or later. The plugin also contains |  | ||||||
| header files from the "NPAPI SDK" project, tri-licensed under MPL 1.1, GPL 2.0 |  | ||||||
| and LGPL 2.1. These headers are third-party sources and can be retrieved from: |  | ||||||
|  |  | ||||||
|   http://code.google.com/p/npapi-sdk/ |  | ||||||
| @@ -1,19 +0,0 @@ | |||||||
| plugin_sources = [ |  | ||||||
|   'browser-plugin.c', |  | ||||||
|   'npapi/npapi.h', |  | ||||||
|   'npapi/npfunctions.h', |  | ||||||
|   'npapi/npruntime.h', |  | ||||||
|   'npapi/nptypes.h' |  | ||||||
| ] |  | ||||||
|  |  | ||||||
| shared_module('gnome-shell-browser-plugin', plugin_sources, |  | ||||||
|   dependencies: [gio_dep, json_glib_dep], |  | ||||||
|   c_args: ['-DG_LOG_DOMAIN="GnomeShellBrowserPlugin"'], |  | ||||||
|   # Browsers can unload and reload the module while browsing, which is not |  | ||||||
|   # supported by GObject. |  | ||||||
|   # We pass -Wl,-z,nodelete to the linker to ensure the module is never |  | ||||||
|   # unloaded. See https://bugzilla.gnome.org/show_bug.cgi?id=737932. |  | ||||||
|   link_args: ['-Wl,-z,nodelete'], |  | ||||||
|   install: true, |  | ||||||
|   install_dir: plugindir |  | ||||||
| ) |  | ||||||
| @@ -1,893 +0,0 @@ | |||||||
| /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |  | ||||||
| /* ***** BEGIN LICENSE BLOCK ***** |  | ||||||
|  * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |  | ||||||
|  * |  | ||||||
|  * The contents of this file are subject to the Mozilla Public License Version |  | ||||||
|  * 1.1 (the "License"); you may not use this file except in compliance with |  | ||||||
|  * the License. You may obtain a copy of the License at |  | ||||||
|  * http://www.mozilla.org/MPL/ |  | ||||||
|  * |  | ||||||
|  * Software distributed under the License is distributed on an "AS IS" basis, |  | ||||||
|  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |  | ||||||
|  * for the specific language governing rights and limitations under the |  | ||||||
|  * License. |  | ||||||
|  * |  | ||||||
|  * The Original Code is mozilla.org code. |  | ||||||
|  * |  | ||||||
|  * The Initial Developer of the Original Code is |  | ||||||
|  * Netscape Communications Corporation. |  | ||||||
|  * Portions created by the Initial Developer are Copyright (C) 1998 |  | ||||||
|  * the Initial Developer. All Rights Reserved. |  | ||||||
|  * |  | ||||||
|  * Contributor(s): |  | ||||||
|  * |  | ||||||
|  * Alternatively, the contents of this file may be used under the terms of |  | ||||||
|  * either the GNU General Public License Version 2 or later (the "GPL"), or |  | ||||||
|  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |  | ||||||
|  * in which case the provisions of the GPL or the LGPL are applicable instead |  | ||||||
|  * of those above. If you wish to allow use of your version of this file only |  | ||||||
|  * under the terms of either the GPL or the LGPL, and not to allow others to |  | ||||||
|  * use your version of this file under the terms of the MPL, indicate your |  | ||||||
|  * decision by deleting the provisions above and replace them with the notice |  | ||||||
|  * and other provisions required by the GPL or the LGPL. If you do not delete |  | ||||||
|  * the provisions above, a recipient may use your version of this file under |  | ||||||
|  * the terms of any one of the MPL, the GPL or the LGPL. |  | ||||||
|  * |  | ||||||
|  * ***** END LICENSE BLOCK ***** */ |  | ||||||
|  |  | ||||||
| #ifndef npapi_h_ |  | ||||||
| #define npapi_h_ |  | ||||||
|  |  | ||||||
| #if defined(__OS2__) |  | ||||||
| #pragma pack(1) |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #include "nptypes.h" |  | ||||||
|  |  | ||||||
| #if defined(__OS2__) || defined(OS2) |  | ||||||
| #ifndef XP_OS2 |  | ||||||
| #define XP_OS2 1 |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(_WIN32) && !defined(__SYMBIAN32__) |  | ||||||
| #include <windef.h> |  | ||||||
| #ifndef XP_WIN |  | ||||||
| #define XP_WIN 1 |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(__SYMBIAN32__) |  | ||||||
| #ifndef XP_SYMBIAN |  | ||||||
| #define XP_SYMBIAN 1 |  | ||||||
| #undef XP_WIN |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(__APPLE_CC__) && !defined(XP_UNIX) |  | ||||||
| #ifndef XP_MACOSX |  | ||||||
| #define XP_MACOSX 1 |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) && defined(__LP64__) |  | ||||||
| #define NP_NO_QUICKDRAW |  | ||||||
| #define NP_NO_CARBON |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
| #include <ApplicationServices/ApplicationServices.h> |  | ||||||
| #include <OpenGL/OpenGL.h> |  | ||||||
| #ifndef NP_NO_CARBON |  | ||||||
| #include <Carbon/Carbon.h> |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(XP_UNIX) |  | ||||||
| #include <stdio.h> |  | ||||||
| #if defined(MOZ_X11) |  | ||||||
| #include <X11/Xlib.h> |  | ||||||
| #include <X11/Xutil.h> |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(XP_SYMBIAN) |  | ||||||
| #include <QEvent> |  | ||||||
| #include <QRegion> |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
| /*                        Plugin Version Constants                      */ |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
|  |  | ||||||
| #define NP_VERSION_MAJOR 0 |  | ||||||
| #define NP_VERSION_MINOR 27 |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* The OS/2 version of Netscape uses RC_DATA to define the |  | ||||||
|    mime types, file extensions, etc that are required. |  | ||||||
|    Use a vertical bar to separate types, end types with \0. |  | ||||||
|    FileVersion and ProductVersion are 32bit ints, all other |  | ||||||
|    entries are strings that MUST be terminated with a \0. |  | ||||||
|  |  | ||||||
| AN EXAMPLE: |  | ||||||
|  |  | ||||||
| RCDATA NP_INFO_ProductVersion { 1,0,0,1,} |  | ||||||
|  |  | ||||||
| RCDATA NP_INFO_MIMEType    { "video/x-video|", |  | ||||||
|                              "video/x-flick\0" } |  | ||||||
| RCDATA NP_INFO_FileExtents { "avi|", |  | ||||||
|                              "flc\0" } |  | ||||||
| RCDATA NP_INFO_FileOpenName{ "MMOS2 video player(*.avi)|", |  | ||||||
|                              "MMOS2 Flc/Fli player(*.flc)\0" } |  | ||||||
|  |  | ||||||
| RCDATA NP_INFO_FileVersion       { 1,0,0,1 } |  | ||||||
| RCDATA NP_INFO_CompanyName       { "Netscape Communications\0" } |  | ||||||
| RCDATA NP_INFO_FileDescription   { "NPAVI32 Extension DLL\0" |  | ||||||
| RCDATA NP_INFO_InternalName      { "NPAVI32\0" ) |  | ||||||
| RCDATA NP_INFO_LegalCopyright    { "Copyright Netscape Communications \251 1996\0" |  | ||||||
| RCDATA NP_INFO_OriginalFilename  { "NVAPI32.DLL" } |  | ||||||
| RCDATA NP_INFO_ProductName       { "NPAVI32 Dynamic Link Library\0" } |  | ||||||
| */ |  | ||||||
| /* RC_DATA types for version info - required */ |  | ||||||
| #define NP_INFO_ProductVersion      1 |  | ||||||
| #define NP_INFO_MIMEType            2 |  | ||||||
| #define NP_INFO_FileOpenName        3 |  | ||||||
| #define NP_INFO_FileExtents         4 |  | ||||||
| /* RC_DATA types for version info - used if found */ |  | ||||||
| #define NP_INFO_FileDescription     5 |  | ||||||
| #define NP_INFO_ProductName         6 |  | ||||||
| /* RC_DATA types for version info - optional */ |  | ||||||
| #define NP_INFO_CompanyName         7 |  | ||||||
| #define NP_INFO_FileVersion         8 |  | ||||||
| #define NP_INFO_InternalName        9 |  | ||||||
| #define NP_INFO_LegalCopyright      10 |  | ||||||
| #define NP_INFO_OriginalFilename    11 |  | ||||||
|  |  | ||||||
| #ifndef RC_INVOKED |  | ||||||
|  |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
| /*                       Definition of Basic Types                      */ |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
|  |  | ||||||
| typedef unsigned char NPBool; |  | ||||||
| typedef int16_t       NPError; |  | ||||||
| typedef int16_t       NPReason; |  | ||||||
| typedef char*         NPMIMEType; |  | ||||||
|  |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
| /*                       Structures and definitions                     */ |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
|  |  | ||||||
| #if !defined(__LP64__) |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
| #pragma options align=mac68k |  | ||||||
| #endif |  | ||||||
| #endif /* __LP64__ */ |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  *  NPP is a plug-in's opaque instance handle |  | ||||||
|  */ |  | ||||||
| typedef struct _NPP |  | ||||||
| { |  | ||||||
|   void* pdata;      /* plug-in private data */ |  | ||||||
|   void* ndata;      /* netscape private data */ |  | ||||||
| } NPP_t; |  | ||||||
|  |  | ||||||
| typedef NPP_t*  NPP; |  | ||||||
|  |  | ||||||
| typedef struct _NPStream |  | ||||||
| { |  | ||||||
|   void*    pdata; /* plug-in private data */ |  | ||||||
|   void*    ndata; /* netscape private data */ |  | ||||||
|   const    char* url; |  | ||||||
|   uint32_t end; |  | ||||||
|   uint32_t lastmodified; |  | ||||||
|   void*    notifyData; |  | ||||||
|   const    char* headers; /* Response headers from host. |  | ||||||
|                            * Exists only for >= NPVERS_HAS_RESPONSE_HEADERS. |  | ||||||
|                            * Used for HTTP only; NULL for non-HTTP. |  | ||||||
|                            * Available from NPP_NewStream onwards. |  | ||||||
|                            * Plugin should copy this data before storing it. |  | ||||||
|                            * Includes HTTP status line and all headers, |  | ||||||
|                            * preferably verbatim as received from server, |  | ||||||
|                            * headers formatted as in HTTP ("Header: Value"), |  | ||||||
|                            * and newlines (\n, NOT \r\n) separating lines. |  | ||||||
|                            * Terminated by \n\0 (NOT \n\n\0). */ |  | ||||||
| } NPStream; |  | ||||||
|  |  | ||||||
| typedef struct _NPByteRange |  | ||||||
| { |  | ||||||
|   int32_t  offset; /* negative offset means from the end */ |  | ||||||
|   uint32_t length; |  | ||||||
|   struct _NPByteRange* next; |  | ||||||
| } NPByteRange; |  | ||||||
|  |  | ||||||
| typedef struct _NPSavedData |  | ||||||
| { |  | ||||||
|   int32_t len; |  | ||||||
|   void*   buf; |  | ||||||
| } NPSavedData; |  | ||||||
|  |  | ||||||
| typedef struct _NPRect |  | ||||||
| { |  | ||||||
|   uint16_t top; |  | ||||||
|   uint16_t left; |  | ||||||
|   uint16_t bottom; |  | ||||||
|   uint16_t right; |  | ||||||
| } NPRect; |  | ||||||
|  |  | ||||||
| typedef struct _NPSize |  | ||||||
| { |  | ||||||
|   int32_t width; |  | ||||||
|   int32_t height; |  | ||||||
| } NPSize; |  | ||||||
|  |  | ||||||
| typedef enum { |  | ||||||
|   NPFocusNext = 0, |  | ||||||
|   NPFocusPrevious = 1 |  | ||||||
| } NPFocusDirection; |  | ||||||
|  |  | ||||||
| /* Return values for NPP_HandleEvent */ |  | ||||||
| #define kNPEventNotHandled 0 |  | ||||||
| #define kNPEventHandled 1 |  | ||||||
| /* Exact meaning must be spec'd in event model. */ |  | ||||||
| #define kNPEventStartIME 2 |  | ||||||
|  |  | ||||||
| #if defined(XP_UNIX) |  | ||||||
| /* |  | ||||||
|  * Unix specific structures and definitions |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * Callback Structures. |  | ||||||
|  * |  | ||||||
|  * These are used to pass additional platform specific information. |  | ||||||
|  */ |  | ||||||
| enum { |  | ||||||
|   NP_SETWINDOW = 1, |  | ||||||
|   NP_PRINT |  | ||||||
| }; |  | ||||||
|  |  | ||||||
| typedef struct |  | ||||||
| { |  | ||||||
|   int32_t type; |  | ||||||
| } NPAnyCallbackStruct; |  | ||||||
|  |  | ||||||
| typedef struct |  | ||||||
| { |  | ||||||
|   int32_t      type; |  | ||||||
| #if defined(MOZ_X11) |  | ||||||
|   Display*     display; |  | ||||||
|   Visual*      visual; |  | ||||||
|   Colormap     colormap; |  | ||||||
|   unsigned int depth; |  | ||||||
| #endif |  | ||||||
| } NPSetWindowCallbackStruct; |  | ||||||
|  |  | ||||||
| typedef struct |  | ||||||
| { |  | ||||||
|   int32_t type; |  | ||||||
|   FILE* fp; |  | ||||||
| } NPPrintCallbackStruct; |  | ||||||
|  |  | ||||||
| #endif /* XP_UNIX */ |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
| typedef enum { |  | ||||||
| #ifndef NP_NO_QUICKDRAW |  | ||||||
|   NPDrawingModelQuickDraw = 0, |  | ||||||
| #endif |  | ||||||
|   NPDrawingModelCoreGraphics = 1, |  | ||||||
|   NPDrawingModelOpenGL = 2, |  | ||||||
|   NPDrawingModelCoreAnimation = 3, |  | ||||||
|   NPDrawingModelInvalidatingCoreAnimation = 4 |  | ||||||
| } NPDrawingModel; |  | ||||||
|  |  | ||||||
| typedef enum { |  | ||||||
| #ifndef NP_NO_CARBON |  | ||||||
|   NPEventModelCarbon = 0, |  | ||||||
| #endif |  | ||||||
|   NPEventModelCocoa = 1 |  | ||||||
| } NPEventModel; |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  *   The following masks are applied on certain platforms to NPNV and |  | ||||||
|  *   NPPV selectors that pass around pointers to COM interfaces. Newer |  | ||||||
|  *   compilers on some platforms may generate vtables that are not |  | ||||||
|  *   compatible with older compilers. To prevent older plugins from |  | ||||||
|  *   not understanding a new browser's ABI, these masks change the |  | ||||||
|  *   values of those selectors on those platforms. To remain backwards |  | ||||||
|  *   compatible with different versions of the browser, plugins can |  | ||||||
|  *   use these masks to dynamically determine and use the correct C++ |  | ||||||
|  *   ABI that the browser is expecting. This does not apply to Windows |  | ||||||
|  *   as Microsoft's COM ABI will likely not change. |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| #define NP_ABI_GCC3_MASK  0x10000000 |  | ||||||
| /* |  | ||||||
|  *   gcc 3.x generated vtables on UNIX and OSX are incompatible with |  | ||||||
|  *   previous compilers. |  | ||||||
|  */ |  | ||||||
| #if (defined(XP_UNIX) && defined(__GNUC__) && (__GNUC__ >= 3)) |  | ||||||
| #define _NP_ABI_MIXIN_FOR_GCC3 NP_ABI_GCC3_MASK |  | ||||||
| #else |  | ||||||
| #define _NP_ABI_MIXIN_FOR_GCC3 0 |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
| #define NP_ABI_MACHO_MASK 0x01000000 |  | ||||||
| #define _NP_ABI_MIXIN_FOR_MACHO NP_ABI_MACHO_MASK |  | ||||||
| #else |  | ||||||
| #define _NP_ABI_MIXIN_FOR_MACHO 0 |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #define NP_ABI_MASK (_NP_ABI_MIXIN_FOR_GCC3 | _NP_ABI_MIXIN_FOR_MACHO) |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * List of variable names for which NPP_GetValue shall be implemented |  | ||||||
|  */ |  | ||||||
| typedef enum { |  | ||||||
|   NPPVpluginNameString = 1, |  | ||||||
|   NPPVpluginDescriptionString, |  | ||||||
|   NPPVpluginWindowBool, |  | ||||||
|   NPPVpluginTransparentBool, |  | ||||||
|   NPPVjavaClass, |  | ||||||
|   NPPVpluginWindowSize, |  | ||||||
|   NPPVpluginTimerInterval, |  | ||||||
|   NPPVpluginScriptableInstance = (10 | NP_ABI_MASK), |  | ||||||
|   NPPVpluginScriptableIID = 11, |  | ||||||
|   NPPVjavascriptPushCallerBool = 12, |  | ||||||
|   NPPVpluginKeepLibraryInMemory = 13, |  | ||||||
|   NPPVpluginNeedsXEmbed         = 14, |  | ||||||
|  |  | ||||||
|   /* Get the NPObject for scripting the plugin. Introduced in NPAPI minor version 14. |  | ||||||
|    */ |  | ||||||
|   NPPVpluginScriptableNPObject  = 15, |  | ||||||
|  |  | ||||||
|   /* Get the plugin value (as \0-terminated UTF-8 string data) for |  | ||||||
|    * form submission if the plugin is part of a form. Use |  | ||||||
|    * NPN_MemAlloc() to allocate memory for the string data. Introduced |  | ||||||
|    * in NPAPI minor version 15. |  | ||||||
|    */ |  | ||||||
|   NPPVformValue = 16, |  | ||||||
|  |  | ||||||
|   NPPVpluginUrlRequestsDisplayedBool = 17, |  | ||||||
|  |  | ||||||
|   /* Checks if the plugin is interested in receiving the http body of |  | ||||||
|    * all http requests (including failed ones, http status != 200). |  | ||||||
|    */ |  | ||||||
|   NPPVpluginWantsAllNetworkStreams = 18, |  | ||||||
|  |  | ||||||
|   /* Browsers can retrieve a native ATK accessibility plug ID via this variable. */ |  | ||||||
|   NPPVpluginNativeAccessibleAtkPlugId = 19, |  | ||||||
|  |  | ||||||
|   /* Checks to see if the plug-in would like the browser to load the "src" attribute. */ |  | ||||||
|   NPPVpluginCancelSrcStream = 20, |  | ||||||
|  |  | ||||||
|   NPPVsupportsAdvancedKeyHandling = 21, |  | ||||||
|  |  | ||||||
|   NPPVpluginUsesDOMForCursorBool = 22 |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
|   /* Used for negotiating drawing models */ |  | ||||||
|   , NPPVpluginDrawingModel = 1000 |  | ||||||
|   /* Used for negotiating event models */ |  | ||||||
|   , NPPVpluginEventModel = 1001 |  | ||||||
|   /* In the NPDrawingModelCoreAnimation drawing model, the browser asks the plug-in for a Core Animation layer. */ |  | ||||||
|   , NPPVpluginCoreAnimationLayer = 1003 |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if (MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6) |  | ||||||
|   , NPPVpluginWindowlessLocalBool = 2002 |  | ||||||
| #endif |  | ||||||
| } NPPVariable; |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * List of variable names for which NPN_GetValue should be implemented. |  | ||||||
|  */ |  | ||||||
| typedef enum { |  | ||||||
|   NPNVxDisplay = 1, |  | ||||||
|   NPNVxtAppContext, |  | ||||||
|   NPNVnetscapeWindow, |  | ||||||
|   NPNVjavascriptEnabledBool, |  | ||||||
|   NPNVasdEnabledBool, |  | ||||||
|   NPNVisOfflineBool, |  | ||||||
|  |  | ||||||
|   NPNVserviceManager = (10 | NP_ABI_MASK), |  | ||||||
|   NPNVDOMElement     = (11 | NP_ABI_MASK), |  | ||||||
|   NPNVDOMWindow      = (12 | NP_ABI_MASK), |  | ||||||
|   NPNVToolkit        = (13 | NP_ABI_MASK), |  | ||||||
|   NPNVSupportsXEmbedBool = 14, |  | ||||||
|  |  | ||||||
|   /* Get the NPObject wrapper for the browser window. */ |  | ||||||
|   NPNVWindowNPObject = 15, |  | ||||||
|  |  | ||||||
|   /* Get the NPObject wrapper for the plugins DOM element. */ |  | ||||||
|   NPNVPluginElementNPObject = 16, |  | ||||||
|  |  | ||||||
|   NPNVSupportsWindowless = 17, |  | ||||||
|  |  | ||||||
|   NPNVprivateModeBool = 18, |  | ||||||
|  |  | ||||||
|   NPNVsupportsAdvancedKeyHandling = 21 |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
|   /* Used for negotiating drawing models */ |  | ||||||
|   , NPNVpluginDrawingModel = 1000 |  | ||||||
| #ifndef NP_NO_QUICKDRAW |  | ||||||
|   , NPNVsupportsQuickDrawBool = 2000 |  | ||||||
| #endif |  | ||||||
|   , NPNVsupportsCoreGraphicsBool = 2001 |  | ||||||
|   , NPNVsupportsOpenGLBool = 2002 |  | ||||||
|   , NPNVsupportsCoreAnimationBool = 2003 |  | ||||||
|   , NPNVsupportsInvalidatingCoreAnimationBool = 2004 |  | ||||||
| #ifndef NP_NO_CARBON |  | ||||||
|   , NPNVsupportsCarbonBool = 3000 /* TRUE if the browser supports the Carbon event model */ |  | ||||||
| #endif |  | ||||||
|   , NPNVsupportsCocoaBool = 3001 /* TRUE if the browser supports the Cocoa event model */ |  | ||||||
|   , NPNVsupportsUpdatedCocoaTextInputBool = 3002 /* TRUE if the browser supports the updated |  | ||||||
|                                                     Cocoa text input specification. */ |  | ||||||
|   , NPNVsupportsCompositingCoreAnimationPluginsBool = 74656 /* TRUE if the browser supports |  | ||||||
|                                                                CA model compositing */ |  | ||||||
| #endif |  | ||||||
| #if (MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6) |  | ||||||
|   , NPNVSupportsWindowlessLocal = 2002 |  | ||||||
| #endif |  | ||||||
| } NPNVariable; |  | ||||||
|  |  | ||||||
| typedef enum { |  | ||||||
|   NPNURLVCookie = 501, |  | ||||||
|   NPNURLVProxy |  | ||||||
| } NPNURLVariable; |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * The type of Toolkit the widgets use |  | ||||||
|  */ |  | ||||||
| typedef enum { |  | ||||||
|   NPNVGtk12 = 1, |  | ||||||
|   NPNVGtk2 |  | ||||||
| } NPNToolkitType; |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * The type of a NPWindow - it specifies the type of the data structure |  | ||||||
|  * returned in the window field. |  | ||||||
|  */ |  | ||||||
| typedef enum { |  | ||||||
|   NPWindowTypeWindow = 1, |  | ||||||
|   NPWindowTypeDrawable |  | ||||||
| } NPWindowType; |  | ||||||
|  |  | ||||||
| typedef struct _NPWindow |  | ||||||
| { |  | ||||||
|   void* window;  /* Platform specific window handle */ |  | ||||||
|                  /* OS/2: x - Position of bottom left corner */ |  | ||||||
|                  /* OS/2: y - relative to visible netscape window */ |  | ||||||
|   int32_t  x;      /* Position of top left corner relative */ |  | ||||||
|   int32_t  y;      /* to a netscape page. */ |  | ||||||
|   uint32_t width;  /* Maximum window size */ |  | ||||||
|   uint32_t height; |  | ||||||
|   NPRect   clipRect; /* Clipping rectangle in port coordinates */ |  | ||||||
| #if (defined(XP_UNIX) || defined(XP_SYMBIAN)) && !defined(XP_MACOSX) |  | ||||||
|   void * ws_info; /* Platform-dependent additional data */ |  | ||||||
| #endif /* XP_UNIX */ |  | ||||||
|   NPWindowType type; /* Is this a window or a drawable? */ |  | ||||||
| } NPWindow; |  | ||||||
|  |  | ||||||
| typedef struct _NPImageExpose |  | ||||||
| { |  | ||||||
|   char*    data;       /* image pointer */ |  | ||||||
|   int32_t  stride;     /* Stride of data image pointer */ |  | ||||||
|   int32_t  depth;      /* Depth of image pointer */ |  | ||||||
|   int32_t  x;          /* Expose x */ |  | ||||||
|   int32_t  y;          /* Expose y */ |  | ||||||
|   uint32_t width;      /* Expose width */ |  | ||||||
|   uint32_t height;     /* Expose height */ |  | ||||||
|   NPSize   dataSize;   /* Data buffer size */ |  | ||||||
|   float    translateX; /* translate X matrix value */ |  | ||||||
|   float    translateY; /* translate Y matrix value */ |  | ||||||
|   float    scaleX;     /* scale X matrix value */ |  | ||||||
|   float    scaleY;     /* scale Y matrix value */ |  | ||||||
| } NPImageExpose; |  | ||||||
|  |  | ||||||
| typedef struct _NPFullPrint |  | ||||||
| { |  | ||||||
|   NPBool pluginPrinted;/* Set TRUE if plugin handled fullscreen printing */ |  | ||||||
|   NPBool printOne;     /* TRUE if plugin should print one copy to default |  | ||||||
|                           printer */ |  | ||||||
|   void* platformPrint; /* Platform-specific printing info */ |  | ||||||
| } NPFullPrint; |  | ||||||
|  |  | ||||||
| typedef struct _NPEmbedPrint |  | ||||||
| { |  | ||||||
|   NPWindow window; |  | ||||||
|   void* platformPrint; /* Platform-specific printing info */ |  | ||||||
| } NPEmbedPrint; |  | ||||||
|  |  | ||||||
| typedef struct _NPPrint |  | ||||||
| { |  | ||||||
|   uint16_t mode;               /* NP_FULL or NP_EMBED */ |  | ||||||
|   union |  | ||||||
|   { |  | ||||||
|     NPFullPrint fullPrint;   /* if mode is NP_FULL */ |  | ||||||
|     NPEmbedPrint embedPrint; /* if mode is NP_EMBED */ |  | ||||||
|   } print; |  | ||||||
| } NPPrint; |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
| #ifndef NP_NO_CARBON |  | ||||||
| typedef EventRecord NPEvent; |  | ||||||
| #endif |  | ||||||
| #elif defined(XP_SYMBIAN) |  | ||||||
| typedef QEvent NPEvent; |  | ||||||
| #elif defined(XP_WIN) |  | ||||||
| typedef struct _NPEvent |  | ||||||
| { |  | ||||||
|   uint16_t event; |  | ||||||
|   uintptr_t wParam; |  | ||||||
|   uintptr_t lParam; |  | ||||||
| } NPEvent; |  | ||||||
| #elif defined(XP_OS2) |  | ||||||
| typedef struct _NPEvent |  | ||||||
| { |  | ||||||
|   uint32_t event; |  | ||||||
|   uint32_t wParam; |  | ||||||
|   uint32_t lParam; |  | ||||||
| } NPEvent; |  | ||||||
| #elif defined(XP_UNIX) && defined(MOZ_X11) |  | ||||||
| typedef XEvent NPEvent; |  | ||||||
| #else |  | ||||||
| typedef void*  NPEvent; |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
| typedef void* NPRegion; |  | ||||||
| #ifndef NP_NO_QUICKDRAW |  | ||||||
| typedef RgnHandle NPQDRegion; |  | ||||||
| #endif |  | ||||||
| typedef CGPathRef NPCGRegion; |  | ||||||
| #elif defined(XP_WIN) |  | ||||||
| typedef HRGN NPRegion; |  | ||||||
| #elif defined(XP_UNIX) && defined(MOZ_X11) |  | ||||||
| typedef Region NPRegion; |  | ||||||
| #elif defined(XP_SYMBIAN) |  | ||||||
| typedef QRegion* NPRegion; |  | ||||||
| #else |  | ||||||
| typedef void *NPRegion; |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| typedef struct _NPNSString NPNSString; |  | ||||||
| typedef struct _NPNSWindow NPNSWindow; |  | ||||||
| typedef struct _NPNSMenu   NPNSMenu; |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
| typedef NPNSMenu NPMenu; |  | ||||||
| #else |  | ||||||
| typedef void *NPMenu; |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| typedef enum { |  | ||||||
|   NPCoordinateSpacePlugin = 1, |  | ||||||
|   NPCoordinateSpaceWindow, |  | ||||||
|   NPCoordinateSpaceFlippedWindow, |  | ||||||
|   NPCoordinateSpaceScreen, |  | ||||||
|   NPCoordinateSpaceFlippedScreen |  | ||||||
| } NPCoordinateSpace; |  | ||||||
|  |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
|  |  | ||||||
| #ifndef NP_NO_QUICKDRAW |  | ||||||
| typedef struct NP_Port |  | ||||||
| { |  | ||||||
|   CGrafPtr port; |  | ||||||
|   int32_t portx; /* position inside the topmost window */ |  | ||||||
|   int32_t porty; |  | ||||||
| } NP_Port; |  | ||||||
| #endif /* NP_NO_QUICKDRAW */ |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * NP_CGContext is the type of the NPWindow's 'window' when the plugin specifies NPDrawingModelCoreGraphics |  | ||||||
|  * as its drawing model. |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| typedef struct NP_CGContext |  | ||||||
| { |  | ||||||
|   CGContextRef context; |  | ||||||
|   void *window; /* A WindowRef under the Carbon event model. */ |  | ||||||
| } NP_CGContext; |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * NP_GLContext is the type of the NPWindow's 'window' when the plugin specifies NPDrawingModelOpenGL as its |  | ||||||
|  * drawing model. |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| typedef struct NP_GLContext |  | ||||||
| { |  | ||||||
|   CGLContextObj context; |  | ||||||
| #ifdef NP_NO_CARBON |  | ||||||
|   NPNSWindow *window; |  | ||||||
| #else |  | ||||||
|   void *window; /* Can be either an NSWindow or a WindowRef depending on the event model */ |  | ||||||
| #endif |  | ||||||
| } NP_GLContext; |  | ||||||
|  |  | ||||||
| typedef enum { |  | ||||||
|   NPCocoaEventDrawRect = 1, |  | ||||||
|   NPCocoaEventMouseDown, |  | ||||||
|   NPCocoaEventMouseUp, |  | ||||||
|   NPCocoaEventMouseMoved, |  | ||||||
|   NPCocoaEventMouseEntered, |  | ||||||
|   NPCocoaEventMouseExited, |  | ||||||
|   NPCocoaEventMouseDragged, |  | ||||||
|   NPCocoaEventKeyDown, |  | ||||||
|   NPCocoaEventKeyUp, |  | ||||||
|   NPCocoaEventFlagsChanged, |  | ||||||
|   NPCocoaEventFocusChanged, |  | ||||||
|   NPCocoaEventWindowFocusChanged, |  | ||||||
|   NPCocoaEventScrollWheel, |  | ||||||
|   NPCocoaEventTextInput |  | ||||||
| } NPCocoaEventType; |  | ||||||
|  |  | ||||||
| typedef struct _NPCocoaEvent { |  | ||||||
|   NPCocoaEventType type; |  | ||||||
|   uint32_t version; |  | ||||||
|   union { |  | ||||||
|     struct { |  | ||||||
|       uint32_t modifierFlags; |  | ||||||
|       double   pluginX; |  | ||||||
|       double   pluginY; |  | ||||||
|       int32_t  buttonNumber; |  | ||||||
|       int32_t  clickCount; |  | ||||||
|       double   deltaX; |  | ||||||
|       double   deltaY; |  | ||||||
|       double   deltaZ; |  | ||||||
|     } mouse; |  | ||||||
|     struct { |  | ||||||
|       uint32_t    modifierFlags; |  | ||||||
|       NPNSString *characters; |  | ||||||
|       NPNSString *charactersIgnoringModifiers; |  | ||||||
|       NPBool      isARepeat; |  | ||||||
|       uint16_t    keyCode; |  | ||||||
|     } key; |  | ||||||
|     struct { |  | ||||||
|       CGContextRef context; |  | ||||||
|       double x; |  | ||||||
|       double y; |  | ||||||
|       double width; |  | ||||||
|       double height; |  | ||||||
|     } draw; |  | ||||||
|     struct { |  | ||||||
|       NPBool hasFocus; |  | ||||||
|     } focus; |  | ||||||
|     struct { |  | ||||||
|       NPNSString *text; |  | ||||||
|     } text; |  | ||||||
|   } data; |  | ||||||
| } NPCocoaEvent; |  | ||||||
|  |  | ||||||
| #ifndef NP_NO_CARBON |  | ||||||
| /* Non-standard event types that can be passed to HandleEvent */ |  | ||||||
| enum NPEventType { |  | ||||||
|   NPEventType_GetFocusEvent = (osEvt + 16), |  | ||||||
|   NPEventType_LoseFocusEvent, |  | ||||||
|   NPEventType_AdjustCursorEvent, |  | ||||||
|   NPEventType_MenuCommandEvent, |  | ||||||
|   NPEventType_ClippingChangedEvent, |  | ||||||
|   NPEventType_ScrollingBeginsEvent = 1000, |  | ||||||
|   NPEventType_ScrollingEndsEvent |  | ||||||
| }; |  | ||||||
| #endif /* NP_NO_CARBON */ |  | ||||||
|  |  | ||||||
| #endif /* XP_MACOSX */ |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * Values for mode passed to NPP_New: |  | ||||||
|  */ |  | ||||||
| #define NP_EMBED 1 |  | ||||||
| #define NP_FULL  2 |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * Values for stream type passed to NPP_NewStream: |  | ||||||
|  */ |  | ||||||
| #define NP_NORMAL     1 |  | ||||||
| #define NP_SEEK       2 |  | ||||||
| #define NP_ASFILE     3 |  | ||||||
| #define NP_ASFILEONLY 4 |  | ||||||
|  |  | ||||||
| #define NP_MAXREADY (((unsigned)(~0)<<1)>>1) |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * Flags for NPP_ClearSiteData. |  | ||||||
|  */ |  | ||||||
| #define NP_CLEAR_ALL   0 |  | ||||||
| #define NP_CLEAR_CACHE (1 << 0) |  | ||||||
|  |  | ||||||
| #if !defined(__LP64__) |  | ||||||
| #if defined(XP_MACOSX) |  | ||||||
| #pragma options align=reset |  | ||||||
| #endif |  | ||||||
| #endif /* __LP64__ */ |  | ||||||
|  |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
| /*       Error and Reason Code definitions                              */ |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * Values of type NPError: |  | ||||||
|  */ |  | ||||||
| #define NPERR_BASE                         0 |  | ||||||
| #define NPERR_NO_ERROR                    (NPERR_BASE + 0) |  | ||||||
| #define NPERR_GENERIC_ERROR               (NPERR_BASE + 1) |  | ||||||
| #define NPERR_INVALID_INSTANCE_ERROR      (NPERR_BASE + 2) |  | ||||||
| #define NPERR_INVALID_FUNCTABLE_ERROR     (NPERR_BASE + 3) |  | ||||||
| #define NPERR_MODULE_LOAD_FAILED_ERROR    (NPERR_BASE + 4) |  | ||||||
| #define NPERR_OUT_OF_MEMORY_ERROR         (NPERR_BASE + 5) |  | ||||||
| #define NPERR_INVALID_PLUGIN_ERROR        (NPERR_BASE + 6) |  | ||||||
| #define NPERR_INVALID_PLUGIN_DIR_ERROR    (NPERR_BASE + 7) |  | ||||||
| #define NPERR_INCOMPATIBLE_VERSION_ERROR  (NPERR_BASE + 8) |  | ||||||
| #define NPERR_INVALID_PARAM               (NPERR_BASE + 9) |  | ||||||
| #define NPERR_INVALID_URL                 (NPERR_BASE + 10) |  | ||||||
| #define NPERR_FILE_NOT_FOUND              (NPERR_BASE + 11) |  | ||||||
| #define NPERR_NO_DATA                     (NPERR_BASE + 12) |  | ||||||
| #define NPERR_STREAM_NOT_SEEKABLE         (NPERR_BASE + 13) |  | ||||||
| #define NPERR_TIME_RANGE_NOT_SUPPORTED    (NPERR_BASE + 14) |  | ||||||
| #define NPERR_MALFORMED_SITE              (NPERR_BASE + 15) |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * Values of type NPReason: |  | ||||||
|  */ |  | ||||||
| #define NPRES_BASE          0 |  | ||||||
| #define NPRES_DONE         (NPRES_BASE + 0) |  | ||||||
| #define NPRES_NETWORK_ERR  (NPRES_BASE + 1) |  | ||||||
| #define NPRES_USER_BREAK   (NPRES_BASE + 2) |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * Don't use these obsolete error codes any more. |  | ||||||
|  */ |  | ||||||
| #define NP_NOERR  NP_NOERR_is_obsolete_use_NPERR_NO_ERROR |  | ||||||
| #define NP_EINVAL NP_EINVAL_is_obsolete_use_NPERR_GENERIC_ERROR |  | ||||||
| #define NP_EABORT NP_EABORT_is_obsolete_use_NPRES_USER_BREAK |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * Version feature information |  | ||||||
|  */ |  | ||||||
| #define NPVERS_HAS_STREAMOUTPUT             8 |  | ||||||
| #define NPVERS_HAS_NOTIFICATION             9 |  | ||||||
| #define NPVERS_HAS_LIVECONNECT              9 |  | ||||||
| #define NPVERS_68K_HAS_LIVECONNECT          11 |  | ||||||
| #define NPVERS_HAS_WINDOWLESS               11 |  | ||||||
| #define NPVERS_HAS_XPCONNECT_SCRIPTING      13 |  | ||||||
| #define NPVERS_HAS_NPRUNTIME_SCRIPTING      14 |  | ||||||
| #define NPVERS_HAS_FORM_VALUES              15 |  | ||||||
| #define NPVERS_HAS_POPUPS_ENABLED_STATE     16 |  | ||||||
| #define NPVERS_HAS_RESPONSE_HEADERS         17 |  | ||||||
| #define NPVERS_HAS_NPOBJECT_ENUM            18 |  | ||||||
| #define NPVERS_HAS_PLUGIN_THREAD_ASYNC_CALL 19 |  | ||||||
| #define NPVERS_HAS_ALL_NETWORK_STREAMS      20 |  | ||||||
| #define NPVERS_HAS_URL_AND_AUTH_INFO        21 |  | ||||||
| #define NPVERS_HAS_PRIVATE_MODE             22 |  | ||||||
| #define NPVERS_MACOSX_HAS_COCOA_EVENTS      23 |  | ||||||
| #define NPVERS_HAS_ADVANCED_KEY_HANDLING    25 |  | ||||||
| #define NPVERS_HAS_URL_REDIRECT_HANDLING    26 |  | ||||||
| #define NPVERS_HAS_CLEAR_SITE_DATA          27 |  | ||||||
|  |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
| /*                        Function Prototypes                           */ |  | ||||||
| /*----------------------------------------------------------------------*/ |  | ||||||
|  |  | ||||||
| #if defined(__OS2__) |  | ||||||
| #define NP_LOADDS _System |  | ||||||
| #else |  | ||||||
| #define NP_LOADDS |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #ifdef __cplusplus |  | ||||||
| extern "C" { |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| /* NPP_* functions are provided by the plugin and called by the navigator. */ |  | ||||||
|  |  | ||||||
| #if defined(XP_UNIX) |  | ||||||
| const char* NPP_GetMIMEDescription(void); |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| NPError NP_LOADDS NPP_New(NPMIMEType pluginType, NPP instance, |  | ||||||
|                           uint16_t mode, int16_t argc, char* argn[], |  | ||||||
|                           char* argv[], NPSavedData* saved); |  | ||||||
| NPError NP_LOADDS NPP_Destroy(NPP instance, NPSavedData** save); |  | ||||||
| NPError NP_LOADDS NPP_SetWindow(NPP instance, NPWindow* window); |  | ||||||
| NPError NP_LOADDS NPP_NewStream(NPP instance, NPMIMEType type, |  | ||||||
|                                 NPStream* stream, NPBool seekable, |  | ||||||
|                                 uint16_t* stype); |  | ||||||
| NPError NP_LOADDS NPP_DestroyStream(NPP instance, NPStream* stream, |  | ||||||
|                                     NPReason reason); |  | ||||||
| int32_t NP_LOADDS NPP_WriteReady(NPP instance, NPStream* stream); |  | ||||||
| int32_t NP_LOADDS NPP_Write(NPP instance, NPStream* stream, int32_t offset, |  | ||||||
|                             int32_t len, void* buffer); |  | ||||||
| void    NP_LOADDS NPP_StreamAsFile(NPP instance, NPStream* stream, |  | ||||||
|                                    const char* fname); |  | ||||||
| void    NP_LOADDS NPP_Print(NPP instance, NPPrint* platformPrint); |  | ||||||
| int16_t NP_LOADDS NPP_HandleEvent(NPP instance, void* event); |  | ||||||
| void    NP_LOADDS NPP_URLNotify(NPP instance, const char* url, |  | ||||||
|                                 NPReason reason, void* notifyData); |  | ||||||
| NPError NP_LOADDS NPP_GetValue(NPP instance, NPPVariable variable, void *value); |  | ||||||
| NPError NP_LOADDS NPP_SetValue(NPP instance, NPNVariable variable, void *value); |  | ||||||
| NPBool  NP_LOADDS NPP_GotFocus(NPP instance, NPFocusDirection direction); |  | ||||||
| void    NP_LOADDS NPP_LostFocus(NPP instance); |  | ||||||
| void    NP_LOADDS NPP_URLRedirectNotify(NPP instance, const char* url, int32_t status, void* notifyData); |  | ||||||
| NPError NP_LOADDS NPP_ClearSiteData(const char* site, uint64_t flags, uint64_t maxAge); |  | ||||||
| char**  NP_LOADDS NPP_GetSitesWithData(void); |  | ||||||
|  |  | ||||||
| /* NPN_* functions are provided by the navigator and called by the plugin. */ |  | ||||||
| void        NP_LOADDS NPN_Version(int* plugin_major, int* plugin_minor, |  | ||||||
|                                   int* netscape_major, int* netscape_minor); |  | ||||||
| NPError     NP_LOADDS NPN_GetURLNotify(NPP instance, const char* url, |  | ||||||
|                                        const char* target, void* notifyData); |  | ||||||
| NPError     NP_LOADDS NPN_GetURL(NPP instance, const char* url, |  | ||||||
|                                  const char* target); |  | ||||||
| NPError     NP_LOADDS NPN_PostURLNotify(NPP instance, const char* url, |  | ||||||
|                                         const char* target, uint32_t len, |  | ||||||
|                                         const char* buf, NPBool file, |  | ||||||
|                                         void* notifyData); |  | ||||||
| NPError     NP_LOADDS NPN_PostURL(NPP instance, const char* url, |  | ||||||
|                                   const char* target, uint32_t len, |  | ||||||
|                                   const char* buf, NPBool file); |  | ||||||
| NPError     NP_LOADDS NPN_RequestRead(NPStream* stream, NPByteRange* rangeList); |  | ||||||
| NPError     NP_LOADDS NPN_NewStream(NPP instance, NPMIMEType type, |  | ||||||
|                                     const char* target, NPStream** stream); |  | ||||||
| int32_t     NP_LOADDS NPN_Write(NPP instance, NPStream* stream, int32_t len, |  | ||||||
|                                 void* buffer); |  | ||||||
| NPError     NP_LOADDS NPN_DestroyStream(NPP instance, NPStream* stream, |  | ||||||
|                                         NPReason reason); |  | ||||||
| void        NP_LOADDS NPN_Status(NPP instance, const char* message); |  | ||||||
| const char* NP_LOADDS NPN_UserAgent(NPP instance); |  | ||||||
| void*       NP_LOADDS NPN_MemAlloc(uint32_t size); |  | ||||||
| void        NP_LOADDS NPN_MemFree(void* ptr); |  | ||||||
| uint32_t    NP_LOADDS NPN_MemFlush(uint32_t size); |  | ||||||
| void        NP_LOADDS NPN_ReloadPlugins(NPBool reloadPages); |  | ||||||
| NPError     NP_LOADDS NPN_GetValue(NPP instance, NPNVariable variable, |  | ||||||
|                                    void *value); |  | ||||||
| NPError     NP_LOADDS NPN_SetValue(NPP instance, NPPVariable variable, |  | ||||||
|                                    void *value); |  | ||||||
| void        NP_LOADDS NPN_InvalidateRect(NPP instance, NPRect *invalidRect); |  | ||||||
| void        NP_LOADDS NPN_InvalidateRegion(NPP instance, |  | ||||||
|                                            NPRegion invalidRegion); |  | ||||||
| void        NP_LOADDS NPN_ForceRedraw(NPP instance); |  | ||||||
| void        NP_LOADDS NPN_PushPopupsEnabledState(NPP instance, NPBool enabled); |  | ||||||
| void        NP_LOADDS NPN_PopPopupsEnabledState(NPP instance); |  | ||||||
| void        NP_LOADDS NPN_PluginThreadAsyncCall(NPP instance, |  | ||||||
|                                                 void (*func) (void *), |  | ||||||
|                                                 void *userData); |  | ||||||
| NPError     NP_LOADDS NPN_GetValueForURL(NPP instance, NPNURLVariable variable, |  | ||||||
|                                          const char *url, char **value, |  | ||||||
|                                          uint32_t *len); |  | ||||||
| NPError     NP_LOADDS NPN_SetValueForURL(NPP instance, NPNURLVariable variable, |  | ||||||
|                                          const char *url, const char *value, |  | ||||||
|                                          uint32_t len); |  | ||||||
| NPError     NP_LOADDS NPN_GetAuthenticationInfo(NPP instance, |  | ||||||
|                                                 const char *protocol, |  | ||||||
|                                                 const char *host, int32_t port, |  | ||||||
|                                                 const char *scheme, |  | ||||||
|                                                 const char *realm, |  | ||||||
|                                                 char **username, uint32_t *ulen, |  | ||||||
|                                                 char **password, |  | ||||||
|                                                 uint32_t *plen); |  | ||||||
| uint32_t    NP_LOADDS NPN_ScheduleTimer(NPP instance, uint32_t interval, NPBool repeat, void (*timerFunc)(NPP npp, uint32_t timerID)); |  | ||||||
| void        NP_LOADDS NPN_UnscheduleTimer(NPP instance, uint32_t timerID); |  | ||||||
| NPError     NP_LOADDS NPN_PopUpContextMenu(NPP instance, NPMenu* menu); |  | ||||||
| NPBool      NP_LOADDS NPN_ConvertPoint(NPP instance, double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSpace); |  | ||||||
| NPBool      NP_LOADDS NPN_HandleEvent(NPP instance, void *event, NPBool handled); |  | ||||||
| NPBool      NP_LOADDS NPN_UnfocusInstance(NPP instance, NPFocusDirection direction); |  | ||||||
| void        NP_LOADDS NPN_URLRedirectResponse(NPP instance, void* notifyData, NPBool allow); |  | ||||||
|  |  | ||||||
| #ifdef __cplusplus |  | ||||||
| }  /* end extern "C" */ |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #endif /* RC_INVOKED */ |  | ||||||
| #if defined(__OS2__) |  | ||||||
| #pragma pack() |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #endif /* npapi_h_ */ |  | ||||||
| @@ -1,322 +0,0 @@ | |||||||
| /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |  | ||||||
| /* ***** BEGIN LICENSE BLOCK ***** |  | ||||||
|  * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |  | ||||||
|  * |  | ||||||
|  * The contents of this file are subject to the Mozilla Public License Version |  | ||||||
|  * 1.1 (the "License"); you may not use this file except in compliance with |  | ||||||
|  * the License. You may obtain a copy of the License at |  | ||||||
|  * http://www.mozilla.org/MPL/ |  | ||||||
|  * |  | ||||||
|  * Software distributed under the License is distributed on an "AS IS" basis, |  | ||||||
|  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |  | ||||||
|  * for the specific language governing rights and limitations under the |  | ||||||
|  * License. |  | ||||||
|  * |  | ||||||
|  * The Original Code is mozilla.org code. |  | ||||||
|  * |  | ||||||
|  * The Initial Developer of the Original Code is |  | ||||||
|  * Netscape Communications Corporation. |  | ||||||
|  * Portions created by the Initial Developer are Copyright (C) 1998 |  | ||||||
|  * the Initial Developer. All Rights Reserved. |  | ||||||
|  * |  | ||||||
|  * Contributor(s): |  | ||||||
|  * |  | ||||||
|  * Alternatively, the contents of this file may be used under the terms of |  | ||||||
|  * either the GNU General Public License Version 2 or later (the "GPL"), or |  | ||||||
|  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |  | ||||||
|  * in which case the provisions of the GPL or the LGPL are applicable instead |  | ||||||
|  * of those above. If you wish to allow use of your version of this file only |  | ||||||
|  * under the terms of either the GPL or the LGPL, and not to allow others to |  | ||||||
|  * use your version of this file under the terms of the MPL, indicate your |  | ||||||
|  * decision by deleting the provisions above and replace them with the notice |  | ||||||
|  * and other provisions required by the GPL or the LGPL. If you do not delete |  | ||||||
|  * the provisions above, a recipient may use your version of this file under |  | ||||||
|  * the terms of any one of the MPL, the GPL or the LGPL. |  | ||||||
|  * |  | ||||||
|  * ***** END LICENSE BLOCK ***** */ |  | ||||||
|  |  | ||||||
| #ifndef npfunctions_h_ |  | ||||||
| #define npfunctions_h_ |  | ||||||
|  |  | ||||||
| #ifdef __OS2__ |  | ||||||
| #pragma pack(1) |  | ||||||
| #define NP_LOADDS _System |  | ||||||
| #else |  | ||||||
| #define NP_LOADDS |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #include "npapi.h" |  | ||||||
| #include "npruntime.h" |  | ||||||
|  |  | ||||||
| typedef NPError      (* NP_LOADDS NPP_NewProcPtr)(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData* saved); |  | ||||||
| typedef NPError      (* NP_LOADDS NPP_DestroyProcPtr)(NPP instance, NPSavedData** save); |  | ||||||
| typedef NPError      (* NP_LOADDS NPP_SetWindowProcPtr)(NPP instance, NPWindow* window); |  | ||||||
| typedef NPError      (* NP_LOADDS NPP_NewStreamProcPtr)(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype); |  | ||||||
| typedef NPError      (* NP_LOADDS NPP_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason); |  | ||||||
| typedef int32_t      (* NP_LOADDS NPP_WriteReadyProcPtr)(NPP instance, NPStream* stream); |  | ||||||
| typedef int32_t      (* NP_LOADDS NPP_WriteProcPtr)(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer); |  | ||||||
| typedef void         (* NP_LOADDS NPP_StreamAsFileProcPtr)(NPP instance, NPStream* stream, const char* fname); |  | ||||||
| typedef void         (* NP_LOADDS NPP_PrintProcPtr)(NPP instance, NPPrint* platformPrint); |  | ||||||
| typedef int16_t      (* NP_LOADDS NPP_HandleEventProcPtr)(NPP instance, void* event); |  | ||||||
| typedef void         (* NP_LOADDS NPP_URLNotifyProcPtr)(NPP instance, const char* url, NPReason reason, void* notifyData); |  | ||||||
| /* Any NPObjects returned to the browser via NPP_GetValue should be retained |  | ||||||
|    by the plugin on the way out. The browser is responsible for releasing. */ |  | ||||||
| typedef NPError      (* NP_LOADDS NPP_GetValueProcPtr)(NPP instance, NPPVariable variable, void *ret_value); |  | ||||||
| typedef NPError      (* NP_LOADDS NPP_SetValueProcPtr)(NPP instance, NPNVariable variable, void *value); |  | ||||||
| typedef NPBool       (* NP_LOADDS NPP_GotFocusPtr)(NPP instance, NPFocusDirection direction); |  | ||||||
| typedef void         (* NP_LOADDS NPP_LostFocusPtr)(NPP instance); |  | ||||||
| typedef void         (* NP_LOADDS NPP_URLRedirectNotifyPtr)(NPP instance, const char* url, int32_t status, void* notifyData); |  | ||||||
| typedef NPError      (* NP_LOADDS NPP_ClearSiteDataPtr)(const char* site, uint64_t flags, uint64_t maxAge); |  | ||||||
| typedef char**       (* NP_LOADDS NPP_GetSitesWithDataPtr)(void); |  | ||||||
|  |  | ||||||
| typedef NPError      (*NPN_GetValueProcPtr)(NPP instance, NPNVariable variable, void *ret_value); |  | ||||||
| typedef NPError      (*NPN_SetValueProcPtr)(NPP instance, NPPVariable variable, void *value); |  | ||||||
| typedef NPError      (*NPN_GetURLNotifyProcPtr)(NPP instance, const char* url, const char* window, void* notifyData); |  | ||||||
| typedef NPError      (*NPN_PostURLNotifyProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file, void* notifyData); |  | ||||||
| typedef NPError      (*NPN_GetURLProcPtr)(NPP instance, const char* url, const char* window); |  | ||||||
| typedef NPError      (*NPN_PostURLProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file); |  | ||||||
| typedef NPError      (*NPN_RequestReadProcPtr)(NPStream* stream, NPByteRange* rangeList); |  | ||||||
| typedef NPError      (*NPN_NewStreamProcPtr)(NPP instance, NPMIMEType type, const char* window, NPStream** stream); |  | ||||||
| typedef int32_t      (*NPN_WriteProcPtr)(NPP instance, NPStream* stream, int32_t len, void* buffer); |  | ||||||
| typedef NPError      (*NPN_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason); |  | ||||||
| typedef void         (*NPN_StatusProcPtr)(NPP instance, const char* message); |  | ||||||
| /* Browser manages the lifetime of the buffer returned by NPN_UserAgent, don't |  | ||||||
|    depend on it sticking around and don't free it. */ |  | ||||||
| typedef const char*  (*NPN_UserAgentProcPtr)(NPP instance); |  | ||||||
| typedef void*        (*NPN_MemAllocProcPtr)(uint32_t size); |  | ||||||
| typedef void         (*NPN_MemFreeProcPtr)(void* ptr); |  | ||||||
| typedef uint32_t     (*NPN_MemFlushProcPtr)(uint32_t size); |  | ||||||
| typedef void         (*NPN_ReloadPluginsProcPtr)(NPBool reloadPages); |  | ||||||
| typedef void*        (*NPN_GetJavaEnvProcPtr)(void); |  | ||||||
| typedef void*        (*NPN_GetJavaPeerProcPtr)(NPP instance); |  | ||||||
| typedef void         (*NPN_InvalidateRectProcPtr)(NPP instance, NPRect *rect); |  | ||||||
| typedef void         (*NPN_InvalidateRegionProcPtr)(NPP instance, NPRegion region); |  | ||||||
| typedef void         (*NPN_ForceRedrawProcPtr)(NPP instance); |  | ||||||
| typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr)(const NPUTF8* name); |  | ||||||
| typedef void         (*NPN_GetStringIdentifiersProcPtr)(const NPUTF8** names, int32_t nameCount, NPIdentifier* identifiers); |  | ||||||
| typedef NPIdentifier (*NPN_GetIntIdentifierProcPtr)(int32_t intid); |  | ||||||
| typedef bool         (*NPN_IdentifierIsStringProcPtr)(NPIdentifier identifier); |  | ||||||
| typedef NPUTF8*      (*NPN_UTF8FromIdentifierProcPtr)(NPIdentifier identifier); |  | ||||||
| typedef int32_t      (*NPN_IntFromIdentifierProcPtr)(NPIdentifier identifier); |  | ||||||
| typedef NPObject*    (*NPN_CreateObjectProcPtr)(NPP npp, NPClass *aClass); |  | ||||||
| typedef NPObject*    (*NPN_RetainObjectProcPtr)(NPObject *obj); |  | ||||||
| typedef void         (*NPN_ReleaseObjectProcPtr)(NPObject *obj); |  | ||||||
| typedef bool         (*NPN_InvokeProcPtr)(NPP npp, NPObject* obj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result); |  | ||||||
| typedef bool         (*NPN_InvokeDefaultProcPtr)(NPP npp, NPObject* obj, const NPVariant *args, uint32_t argCount, NPVariant *result); |  | ||||||
| typedef bool         (*NPN_EvaluateProcPtr)(NPP npp, NPObject *obj, NPString *script, NPVariant *result); |  | ||||||
| typedef bool         (*NPN_GetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, NPVariant *result); |  | ||||||
| typedef bool         (*NPN_SetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, const NPVariant *value); |  | ||||||
| typedef bool         (*NPN_RemovePropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName); |  | ||||||
| typedef bool         (*NPN_HasPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName); |  | ||||||
| typedef bool         (*NPN_HasMethodProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName); |  | ||||||
| typedef void         (*NPN_ReleaseVariantValueProcPtr)(NPVariant *variant); |  | ||||||
| typedef void         (*NPN_SetExceptionProcPtr)(NPObject *obj, const NPUTF8 *message); |  | ||||||
| typedef void         (*NPN_PushPopupsEnabledStateProcPtr)(NPP npp, NPBool enabled); |  | ||||||
| typedef void         (*NPN_PopPopupsEnabledStateProcPtr)(NPP npp); |  | ||||||
| typedef bool         (*NPN_EnumerateProcPtr)(NPP npp, NPObject *obj, NPIdentifier **identifier, uint32_t *count); |  | ||||||
| typedef void         (*NPN_PluginThreadAsyncCallProcPtr)(NPP instance, void (*func)(void *), void *userData); |  | ||||||
| typedef bool         (*NPN_ConstructProcPtr)(NPP npp, NPObject* obj, const NPVariant *args, uint32_t argCount, NPVariant *result); |  | ||||||
| typedef NPError      (*NPN_GetValueForURLPtr)(NPP npp, NPNURLVariable variable, const char *url, char **value, uint32_t *len); |  | ||||||
| typedef NPError      (*NPN_SetValueForURLPtr)(NPP npp, NPNURLVariable variable, const char *url, const char *value, uint32_t len); |  | ||||||
| typedef NPError      (*NPN_GetAuthenticationInfoPtr)(NPP npp, const char *protocol, const char *host, int32_t port, const char *scheme, const char *realm, char **username, uint32_t *ulen, char **password, uint32_t *plen); |  | ||||||
| typedef uint32_t     (*NPN_ScheduleTimerPtr)(NPP instance, uint32_t interval, NPBool repeat, void (*timerFunc)(NPP npp, uint32_t timerID)); |  | ||||||
| typedef void         (*NPN_UnscheduleTimerPtr)(NPP instance, uint32_t timerID); |  | ||||||
| typedef NPError      (*NPN_PopUpContextMenuPtr)(NPP instance, NPMenu* menu); |  | ||||||
| typedef NPBool       (*NPN_ConvertPointPtr)(NPP instance, double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSpace); |  | ||||||
| typedef NPBool       (*NPN_HandleEventPtr)(NPP instance, void *event, NPBool handled); |  | ||||||
| typedef NPBool       (*NPN_UnfocusInstancePtr)(NPP instance, NPFocusDirection direction); |  | ||||||
| typedef void         (*NPN_URLRedirectResponsePtr)(NPP instance, void* notifyData, NPBool allow); |  | ||||||
|  |  | ||||||
| typedef struct _NPPluginFuncs { |  | ||||||
|   uint16_t size; |  | ||||||
|   uint16_t version; |  | ||||||
|   NPP_NewProcPtr newp; |  | ||||||
|   NPP_DestroyProcPtr destroy; |  | ||||||
|   NPP_SetWindowProcPtr setwindow; |  | ||||||
|   NPP_NewStreamProcPtr newstream; |  | ||||||
|   NPP_DestroyStreamProcPtr destroystream; |  | ||||||
|   NPP_StreamAsFileProcPtr asfile; |  | ||||||
|   NPP_WriteReadyProcPtr writeready; |  | ||||||
|   NPP_WriteProcPtr write; |  | ||||||
|   NPP_PrintProcPtr print; |  | ||||||
|   NPP_HandleEventProcPtr event; |  | ||||||
|   NPP_URLNotifyProcPtr urlnotify; |  | ||||||
|   void* javaClass; |  | ||||||
|   NPP_GetValueProcPtr getvalue; |  | ||||||
|   NPP_SetValueProcPtr setvalue; |  | ||||||
|   NPP_GotFocusPtr gotfocus; |  | ||||||
|   NPP_LostFocusPtr lostfocus; |  | ||||||
|   NPP_URLRedirectNotifyPtr urlredirectnotify; |  | ||||||
|   NPP_ClearSiteDataPtr clearsitedata; |  | ||||||
|   NPP_GetSitesWithDataPtr getsiteswithdata; |  | ||||||
| } NPPluginFuncs; |  | ||||||
|  |  | ||||||
| typedef struct _NPNetscapeFuncs { |  | ||||||
|   uint16_t size; |  | ||||||
|   uint16_t version; |  | ||||||
|   NPN_GetURLProcPtr geturl; |  | ||||||
|   NPN_PostURLProcPtr posturl; |  | ||||||
|   NPN_RequestReadProcPtr requestread; |  | ||||||
|   NPN_NewStreamProcPtr newstream; |  | ||||||
|   NPN_WriteProcPtr write; |  | ||||||
|   NPN_DestroyStreamProcPtr destroystream; |  | ||||||
|   NPN_StatusProcPtr status; |  | ||||||
|   NPN_UserAgentProcPtr uagent; |  | ||||||
|   NPN_MemAllocProcPtr memalloc; |  | ||||||
|   NPN_MemFreeProcPtr memfree; |  | ||||||
|   NPN_MemFlushProcPtr memflush; |  | ||||||
|   NPN_ReloadPluginsProcPtr reloadplugins; |  | ||||||
|   NPN_GetJavaEnvProcPtr getJavaEnv; |  | ||||||
|   NPN_GetJavaPeerProcPtr getJavaPeer; |  | ||||||
|   NPN_GetURLNotifyProcPtr geturlnotify; |  | ||||||
|   NPN_PostURLNotifyProcPtr posturlnotify; |  | ||||||
|   NPN_GetValueProcPtr getvalue; |  | ||||||
|   NPN_SetValueProcPtr setvalue; |  | ||||||
|   NPN_InvalidateRectProcPtr invalidaterect; |  | ||||||
|   NPN_InvalidateRegionProcPtr invalidateregion; |  | ||||||
|   NPN_ForceRedrawProcPtr forceredraw; |  | ||||||
|   NPN_GetStringIdentifierProcPtr getstringidentifier; |  | ||||||
|   NPN_GetStringIdentifiersProcPtr getstringidentifiers; |  | ||||||
|   NPN_GetIntIdentifierProcPtr getintidentifier; |  | ||||||
|   NPN_IdentifierIsStringProcPtr identifierisstring; |  | ||||||
|   NPN_UTF8FromIdentifierProcPtr utf8fromidentifier; |  | ||||||
|   NPN_IntFromIdentifierProcPtr intfromidentifier; |  | ||||||
|   NPN_CreateObjectProcPtr createobject; |  | ||||||
|   NPN_RetainObjectProcPtr retainobject; |  | ||||||
|   NPN_ReleaseObjectProcPtr releaseobject; |  | ||||||
|   NPN_InvokeProcPtr invoke; |  | ||||||
|   NPN_InvokeDefaultProcPtr invokeDefault; |  | ||||||
|   NPN_EvaluateProcPtr evaluate; |  | ||||||
|   NPN_GetPropertyProcPtr getproperty; |  | ||||||
|   NPN_SetPropertyProcPtr setproperty; |  | ||||||
|   NPN_RemovePropertyProcPtr removeproperty; |  | ||||||
|   NPN_HasPropertyProcPtr hasproperty; |  | ||||||
|   NPN_HasMethodProcPtr hasmethod; |  | ||||||
|   NPN_ReleaseVariantValueProcPtr releasevariantvalue; |  | ||||||
|   NPN_SetExceptionProcPtr setexception; |  | ||||||
|   NPN_PushPopupsEnabledStateProcPtr pushpopupsenabledstate; |  | ||||||
|   NPN_PopPopupsEnabledStateProcPtr poppopupsenabledstate; |  | ||||||
|   NPN_EnumerateProcPtr enumerate; |  | ||||||
|   NPN_PluginThreadAsyncCallProcPtr pluginthreadasynccall; |  | ||||||
|   NPN_ConstructProcPtr construct; |  | ||||||
|   NPN_GetValueForURLPtr getvalueforurl; |  | ||||||
|   NPN_SetValueForURLPtr setvalueforurl; |  | ||||||
|   NPN_GetAuthenticationInfoPtr getauthenticationinfo; |  | ||||||
|   NPN_ScheduleTimerPtr scheduletimer; |  | ||||||
|   NPN_UnscheduleTimerPtr unscheduletimer; |  | ||||||
|   NPN_PopUpContextMenuPtr popupcontextmenu; |  | ||||||
|   NPN_ConvertPointPtr convertpoint; |  | ||||||
|   NPN_HandleEventPtr handleevent; |  | ||||||
|   NPN_UnfocusInstancePtr unfocusinstance; |  | ||||||
|   NPN_URLRedirectResponsePtr urlredirectresponse; |  | ||||||
| } NPNetscapeFuncs; |  | ||||||
|  |  | ||||||
| #ifdef XP_MACOSX |  | ||||||
| /* |  | ||||||
|  * Mac OS X version(s) of NP_GetMIMEDescription(const char *) |  | ||||||
|  * These can be called to retreive MIME information from the plugin dynamically |  | ||||||
|  * |  | ||||||
|  * Note: For compatibility with Quicktime, BPSupportedMIMEtypes is another way |  | ||||||
|  *       to get mime info from the plugin only on OSX and may not be supported |  | ||||||
|  *       in furture version -- use NP_GetMIMEDescription instead |  | ||||||
|  */ |  | ||||||
| enum |  | ||||||
| { |  | ||||||
|  kBPSupportedMIMETypesStructVers_1    = 1 |  | ||||||
| }; |  | ||||||
| typedef struct _BPSupportedMIMETypes |  | ||||||
| { |  | ||||||
|  SInt32    structVersion;      /* struct version */ |  | ||||||
|  Handle    typeStrings;        /* STR# formated handle, allocated by plug-in */ |  | ||||||
|  Handle    infoStrings;        /* STR# formated handle, allocated by plug-in */ |  | ||||||
| } BPSupportedMIMETypes; |  | ||||||
| OSErr BP_GetSupportedMIMETypes(BPSupportedMIMETypes *mimeInfo, UInt32 flags); |  | ||||||
| #define NP_GETMIMEDESCRIPTION_NAME "NP_GetMIMEDescription" |  | ||||||
| typedef const char* (*NP_GetMIMEDescriptionProcPtr)(void); |  | ||||||
| typedef OSErr (*BP_GetSupportedMIMETypesProcPtr)(BPSupportedMIMETypes*, UInt32); |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(_WIN32) |  | ||||||
| #define OSCALL WINAPI |  | ||||||
| #else |  | ||||||
| #if defined(__OS2__) |  | ||||||
| #define OSCALL _System |  | ||||||
| #else |  | ||||||
| #define OSCALL |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(XP_UNIX) |  | ||||||
| /* GCC 3.3 and later support the visibility attribute. */ |  | ||||||
| #if defined(__GNUC__) && ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) |  | ||||||
| #define NP_VISIBILITY_DEFAULT __attribute__((visibility("default"))) |  | ||||||
| #elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) |  | ||||||
| #define NP_VISIBILITY_DEFAULT __global |  | ||||||
| #else |  | ||||||
| #define NP_VISIBILITY_DEFAULT |  | ||||||
| #endif |  | ||||||
| #define NP_EXPORT(__type) NP_VISIBILITY_DEFAULT __type |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(_WIN32) || defined (__OS2__) |  | ||||||
| #ifdef __cplusplus |  | ||||||
| extern "C" { |  | ||||||
| #endif |  | ||||||
| /* plugin meta member functions */ |  | ||||||
| #if defined(__OS2__) |  | ||||||
| typedef struct _NPPluginData {   /* Alternate OS2 Plugin interface */ |  | ||||||
|   char *pMimeTypes; |  | ||||||
|   char *pFileExtents; |  | ||||||
|   char *pFileOpenTemplate; |  | ||||||
|   char *pProductName; |  | ||||||
|   char *pProductDescription; |  | ||||||
|   unsigned long dwProductVersionMS; |  | ||||||
|   unsigned long dwProductVersionLS; |  | ||||||
| } NPPluginData; |  | ||||||
| typedef NPError     (*NP_GetPluginDataFunc)(NPPluginData*); |  | ||||||
| NPError OSCALL      NP_GetPluginData(NPPluginData * pPluginData); |  | ||||||
| #endif |  | ||||||
| typedef NPError     (*NP_GetEntryPointsFunc)(NPPluginFuncs*); |  | ||||||
| NPError OSCALL      NP_GetEntryPoints(NPPluginFuncs* pFuncs); |  | ||||||
| typedef NPError     (*NP_InitializeFunc)(NPNetscapeFuncs*); |  | ||||||
| NPError OSCALL      NP_Initialize(NPNetscapeFuncs* bFuncs); |  | ||||||
| typedef NPError     (*NP_ShutdownFunc)(void); |  | ||||||
| NPError OSCALL      NP_Shutdown(void); |  | ||||||
| typedef const char* (*NP_GetMIMEDescriptionFunc)(void); |  | ||||||
| const char*         NP_GetMIMEDescription(void); |  | ||||||
| #ifdef __cplusplus |  | ||||||
| } |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(__OS2__) |  | ||||||
| #pragma pack() |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #ifdef XP_UNIX |  | ||||||
| #ifdef __cplusplus |  | ||||||
| extern "C" { |  | ||||||
| #endif |  | ||||||
| typedef char*          (*NP_GetPluginVersionFunc)(void); |  | ||||||
| NP_EXPORT(char*)       NP_GetPluginVersion(void); |  | ||||||
| typedef const char*    (*NP_GetMIMEDescriptionFunc)(void); |  | ||||||
| NP_EXPORT(const char*) NP_GetMIMEDescription(void); |  | ||||||
| #ifdef XP_MACOSX |  | ||||||
| typedef NPError        (*NP_InitializeFunc)(NPNetscapeFuncs*); |  | ||||||
| NP_EXPORT(NPError)     NP_Initialize(NPNetscapeFuncs* bFuncs); |  | ||||||
| typedef NPError        (*NP_GetEntryPointsFunc)(NPPluginFuncs*); |  | ||||||
| NP_EXPORT(NPError)     NP_GetEntryPoints(NPPluginFuncs* pFuncs); |  | ||||||
| #else |  | ||||||
| typedef NPError        (*NP_InitializeFunc)(NPNetscapeFuncs*, NPPluginFuncs*); |  | ||||||
| NP_EXPORT(NPError)     NP_Initialize(NPNetscapeFuncs* bFuncs, NPPluginFuncs* pFuncs); |  | ||||||
| #endif |  | ||||||
| typedef NPError        (*NP_ShutdownFunc)(void); |  | ||||||
| NP_EXPORT(NPError)     NP_Shutdown(void); |  | ||||||
| typedef NPError        (*NP_GetValueFunc)(void *, NPPVariable, void *); |  | ||||||
| NP_EXPORT(NPError)     NP_GetValue(void *future, NPPVariable aVariable, void *aValue); |  | ||||||
| #ifdef __cplusplus |  | ||||||
| } |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #endif /* npfunctions_h_ */ |  | ||||||
| @@ -1,393 +0,0 @@ | |||||||
| /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |  | ||||||
| /* |  | ||||||
|  * Copyright (c) 2004, Apple Computer, Inc. and The Mozilla Foundation. |  | ||||||
|  * All rights reserved. |  | ||||||
|  * |  | ||||||
|  * Redistribution and use in source and binary forms, with or without |  | ||||||
|  * modification, are permitted provided that the following conditions are |  | ||||||
|  * met: |  | ||||||
|  * |  | ||||||
|  * 1. Redistributions of source code must retain the above copyright |  | ||||||
|  * notice, this list of conditions and the following disclaimer. |  | ||||||
|  * 2. Redistributions in binary form must reproduce the above copyright |  | ||||||
|  * notice, this list of conditions and the following disclaimer in the |  | ||||||
|  * documentation and/or other materials provided with the distribution. |  | ||||||
|  * 3. Neither the names of Apple Computer, Inc. ("Apple") or The Mozilla |  | ||||||
|  * Foundation ("Mozilla") nor the names of their contributors may be used |  | ||||||
|  * to endorse or promote products derived from this software without |  | ||||||
|  * specific prior written permission. |  | ||||||
|  * |  | ||||||
|  * THIS SOFTWARE IS PROVIDED BY APPLE, MOZILLA AND THEIR CONTRIBUTORS "AS |  | ||||||
|  * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |  | ||||||
|  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |  | ||||||
|  * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE, MOZILLA OR |  | ||||||
|  * THEIR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |  | ||||||
|  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED |  | ||||||
|  * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |  | ||||||
|  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |  | ||||||
|  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |  | ||||||
|  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |  | ||||||
|  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |  | ||||||
|  * |  | ||||||
|  */ |  | ||||||
| #ifndef _NP_RUNTIME_H_ |  | ||||||
| #define _NP_RUNTIME_H_ |  | ||||||
|  |  | ||||||
| #ifdef __cplusplus |  | ||||||
| extern "C" { |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #include "nptypes.h" |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     This API is used to facilitate binding code written in C to script |  | ||||||
|     objects.  The API in this header does not assume the presence of a |  | ||||||
|     user agent.  That is, it can be used to bind C code to scripting |  | ||||||
|     environments outside of the context of a user agent. |  | ||||||
|  |  | ||||||
|     However, the normal use of the this API is in the context of a |  | ||||||
|     scripting environment running in a browser or other user agent. |  | ||||||
|     In particular it is used to support the extended Netscape |  | ||||||
|     script-ability API for plugins (NP-SAP).  NP-SAP is an extension |  | ||||||
|     of the Netscape plugin API.  As such we have adopted the use of |  | ||||||
|     the "NP" prefix for this API. |  | ||||||
|  |  | ||||||
|     The following NP{N|P}Variables were added to the Netscape plugin |  | ||||||
|     API (in npapi.h): |  | ||||||
|  |  | ||||||
|     NPNVWindowNPObject |  | ||||||
|     NPNVPluginElementNPObject |  | ||||||
|     NPPVpluginScriptableNPObject |  | ||||||
|  |  | ||||||
|     These variables are exposed through NPN_GetValue() and |  | ||||||
|     NPP_GetValue() (respectively) and are used to establish the |  | ||||||
|     initial binding between the user agent and native code.  The DOM |  | ||||||
|     objects in the user agent can be examined and manipulated using |  | ||||||
|     the NPN_ functions that operate on NPObjects described in this |  | ||||||
|     header. |  | ||||||
|  |  | ||||||
|     To the extent possible the assumptions about the scripting |  | ||||||
|     language used by the scripting environment have been minimized. |  | ||||||
| */ |  | ||||||
|  |  | ||||||
| #define NP_BEGIN_MACRO  do { |  | ||||||
| #define NP_END_MACRO    } while (0) |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     Objects (non-primitive data) passed between 'C' and script is |  | ||||||
|     always wrapped in an NPObject.  The 'interface' of an NPObject is |  | ||||||
|     described by an NPClass. |  | ||||||
| */ |  | ||||||
| typedef struct NPObject NPObject; |  | ||||||
| typedef struct NPClass NPClass; |  | ||||||
|  |  | ||||||
| typedef char NPUTF8; |  | ||||||
| typedef struct _NPString { |  | ||||||
|     const NPUTF8 *UTF8Characters; |  | ||||||
|     uint32_t UTF8Length; |  | ||||||
| } NPString; |  | ||||||
|  |  | ||||||
| typedef enum { |  | ||||||
|     NPVariantType_Void, |  | ||||||
|     NPVariantType_Null, |  | ||||||
|     NPVariantType_Bool, |  | ||||||
|     NPVariantType_Int32, |  | ||||||
|     NPVariantType_Double, |  | ||||||
|     NPVariantType_String, |  | ||||||
|     NPVariantType_Object |  | ||||||
| } NPVariantType; |  | ||||||
|  |  | ||||||
| typedef struct _NPVariant { |  | ||||||
|     NPVariantType type; |  | ||||||
|     union { |  | ||||||
|         bool boolValue; |  | ||||||
|         int32_t intValue; |  | ||||||
|         double doubleValue; |  | ||||||
|         NPString stringValue; |  | ||||||
|         NPObject *objectValue; |  | ||||||
|     } value; |  | ||||||
| } NPVariant; |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     NPN_ReleaseVariantValue is called on all 'out' parameters |  | ||||||
|     references.  Specifically it is to be called on variants that own |  | ||||||
|     their value, as is the case with all non-const NPVariant* |  | ||||||
|     arguments after a successful call to any methods (except this one) |  | ||||||
|     in this API. |  | ||||||
|  |  | ||||||
|     After calling NPN_ReleaseVariantValue, the type of the variant |  | ||||||
|     will be NPVariantType_Void. |  | ||||||
| */ |  | ||||||
| void NPN_ReleaseVariantValue(NPVariant *variant); |  | ||||||
|  |  | ||||||
| #define NPVARIANT_IS_VOID(_v)    ((_v).type == NPVariantType_Void) |  | ||||||
| #define NPVARIANT_IS_NULL(_v)    ((_v).type == NPVariantType_Null) |  | ||||||
| #define NPVARIANT_IS_BOOLEAN(_v) ((_v).type == NPVariantType_Bool) |  | ||||||
| #define NPVARIANT_IS_INT32(_v)   ((_v).type == NPVariantType_Int32) |  | ||||||
| #define NPVARIANT_IS_DOUBLE(_v)  ((_v).type == NPVariantType_Double) |  | ||||||
| #define NPVARIANT_IS_STRING(_v)  ((_v).type == NPVariantType_String) |  | ||||||
| #define NPVARIANT_IS_OBJECT(_v)  ((_v).type == NPVariantType_Object) |  | ||||||
|  |  | ||||||
| #define NPVARIANT_TO_BOOLEAN(_v) ((_v).value.boolValue) |  | ||||||
| #define NPVARIANT_TO_INT32(_v)   ((_v).value.intValue) |  | ||||||
| #define NPVARIANT_TO_DOUBLE(_v)  ((_v).value.doubleValue) |  | ||||||
| #define NPVARIANT_TO_STRING(_v)  ((_v).value.stringValue) |  | ||||||
| #define NPVARIANT_TO_OBJECT(_v)  ((_v).value.objectValue) |  | ||||||
|  |  | ||||||
| #define VOID_TO_NPVARIANT(_v)                                                 \ |  | ||||||
| NP_BEGIN_MACRO                                                                \ |  | ||||||
|     (_v).type = NPVariantType_Void;                                           \ |  | ||||||
|     (_v).value.objectValue = NULL;                                            \ |  | ||||||
| NP_END_MACRO |  | ||||||
|  |  | ||||||
| #define NULL_TO_NPVARIANT(_v)                                                 \ |  | ||||||
| NP_BEGIN_MACRO                                                                \ |  | ||||||
|     (_v).type = NPVariantType_Null;                                           \ |  | ||||||
|     (_v).value.objectValue = NULL;                                            \ |  | ||||||
| NP_END_MACRO |  | ||||||
|  |  | ||||||
| #define BOOLEAN_TO_NPVARIANT(_val, _v)                                        \ |  | ||||||
| NP_BEGIN_MACRO                                                                \ |  | ||||||
|     (_v).type = NPVariantType_Bool;                                           \ |  | ||||||
|     (_v).value.boolValue = !!(_val);                                          \ |  | ||||||
| NP_END_MACRO |  | ||||||
|  |  | ||||||
| #define INT32_TO_NPVARIANT(_val, _v)                                          \ |  | ||||||
| NP_BEGIN_MACRO                                                                \ |  | ||||||
|     (_v).type = NPVariantType_Int32;                                          \ |  | ||||||
|     (_v).value.intValue = _val;                                               \ |  | ||||||
| NP_END_MACRO |  | ||||||
|  |  | ||||||
| #define DOUBLE_TO_NPVARIANT(_val, _v)                                         \ |  | ||||||
| NP_BEGIN_MACRO                                                                \ |  | ||||||
|     (_v).type = NPVariantType_Double;                                         \ |  | ||||||
|     (_v).value.doubleValue = _val;                                            \ |  | ||||||
| NP_END_MACRO |  | ||||||
|  |  | ||||||
| #define STRINGZ_TO_NPVARIANT(_val, _v)                                        \ |  | ||||||
| NP_BEGIN_MACRO                                                                \ |  | ||||||
|     (_v).type = NPVariantType_String;                                         \ |  | ||||||
|     NPString str = { _val, (uint32_t)(strlen(_val)) };                        \ |  | ||||||
|     (_v).value.stringValue = str;                                             \ |  | ||||||
| NP_END_MACRO |  | ||||||
|  |  | ||||||
| #define STRINGN_TO_NPVARIANT(_val, _len, _v)                                  \ |  | ||||||
| NP_BEGIN_MACRO                                                                \ |  | ||||||
|     (_v).type = NPVariantType_String;                                         \ |  | ||||||
|     NPString str = { _val, (uint32_t)(_len) };                                \ |  | ||||||
|     (_v).value.stringValue = str;                                             \ |  | ||||||
| NP_END_MACRO |  | ||||||
|  |  | ||||||
| #define OBJECT_TO_NPVARIANT(_val, _v)                                         \ |  | ||||||
| NP_BEGIN_MACRO                                                                \ |  | ||||||
|     (_v).type = NPVariantType_Object;                                         \ |  | ||||||
|     (_v).value.objectValue = _val;                                            \ |  | ||||||
| NP_END_MACRO |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|   Type mappings (JavaScript types have been used for illustration |  | ||||||
|     purposes): |  | ||||||
|  |  | ||||||
|   JavaScript       to             C (NPVariant with type:) |  | ||||||
|   undefined                       NPVariantType_Void |  | ||||||
|   null                            NPVariantType_Null |  | ||||||
|   Boolean                         NPVariantType_Bool |  | ||||||
|   Number                          NPVariantType_Double or NPVariantType_Int32 |  | ||||||
|   String                          NPVariantType_String |  | ||||||
|   Object                          NPVariantType_Object |  | ||||||
|  |  | ||||||
|   C (NPVariant with type:)   to   JavaScript |  | ||||||
|   NPVariantType_Void              undefined |  | ||||||
|   NPVariantType_Null              null |  | ||||||
|   NPVariantType_Bool              Boolean |  | ||||||
|   NPVariantType_Int32             Number |  | ||||||
|   NPVariantType_Double            Number |  | ||||||
|   NPVariantType_String            String |  | ||||||
|   NPVariantType_Object            Object |  | ||||||
| */ |  | ||||||
|  |  | ||||||
| typedef void *NPIdentifier; |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     NPObjects have methods and properties.  Methods and properties are |  | ||||||
|     identified with NPIdentifiers.  These identifiers may be reflected |  | ||||||
|     in script.  NPIdentifiers can be either strings or integers, IOW, |  | ||||||
|     methods and properties can be identified by either strings or |  | ||||||
|     integers (i.e. foo["bar"] vs foo[1]). NPIdentifiers can be |  | ||||||
|     compared using ==.  In case of any errors, the requested |  | ||||||
|     NPIdentifier(s) will be NULL. NPIdentifier lifetime is controlled |  | ||||||
|     by the browser. Plugins do not need to worry about memory management |  | ||||||
|     with regards to NPIdentifiers. |  | ||||||
| */ |  | ||||||
| NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name); |  | ||||||
| void NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount, |  | ||||||
|                               NPIdentifier *identifiers); |  | ||||||
| NPIdentifier NPN_GetIntIdentifier(int32_t intid); |  | ||||||
| bool NPN_IdentifierIsString(NPIdentifier identifier); |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     The NPUTF8 returned from NPN_UTF8FromIdentifier SHOULD be freed. |  | ||||||
| */ |  | ||||||
| NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier); |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     Get the integer represented by identifier. If identifier is not an |  | ||||||
|     integer identifier, the behaviour is undefined. |  | ||||||
| */ |  | ||||||
| int32_t NPN_IntFromIdentifier(NPIdentifier identifier); |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     NPObject behavior is implemented using the following set of |  | ||||||
|     callback functions. |  | ||||||
|  |  | ||||||
|     The NPVariant *result argument of these functions (where |  | ||||||
|     applicable) should be released using NPN_ReleaseVariantValue(). |  | ||||||
| */ |  | ||||||
| typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass); |  | ||||||
| typedef void (*NPDeallocateFunctionPtr)(NPObject *npobj); |  | ||||||
| typedef void (*NPInvalidateFunctionPtr)(NPObject *npobj); |  | ||||||
| typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name); |  | ||||||
| typedef bool (*NPInvokeFunctionPtr)(NPObject *npobj, NPIdentifier name, |  | ||||||
|                                     const NPVariant *args, uint32_t argCount, |  | ||||||
|                                     NPVariant *result); |  | ||||||
| typedef bool (*NPInvokeDefaultFunctionPtr)(NPObject *npobj, |  | ||||||
|                                            const NPVariant *args, |  | ||||||
|                                            uint32_t argCount, |  | ||||||
|                                            NPVariant *result); |  | ||||||
| typedef bool (*NPHasPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name); |  | ||||||
| typedef bool (*NPGetPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name, |  | ||||||
|                                          NPVariant *result); |  | ||||||
| typedef bool (*NPSetPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name, |  | ||||||
|                                          const NPVariant *value); |  | ||||||
| typedef bool (*NPRemovePropertyFunctionPtr)(NPObject *npobj, |  | ||||||
|                                             NPIdentifier name); |  | ||||||
| typedef bool (*NPEnumerationFunctionPtr)(NPObject *npobj, NPIdentifier **value, |  | ||||||
|                                          uint32_t *count); |  | ||||||
| typedef bool (*NPConstructFunctionPtr)(NPObject *npobj, |  | ||||||
|                                        const NPVariant *args, |  | ||||||
|                                        uint32_t argCount, |  | ||||||
|                                        NPVariant *result); |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     NPObjects returned by create, retain, invoke, and getProperty pass |  | ||||||
|     a reference count to the caller.  That is, the callee adds a |  | ||||||
|     reference count which passes to the caller.  It is the caller's |  | ||||||
|     responsibility to release the returned object. |  | ||||||
|  |  | ||||||
|     NPInvokeFunctionPtr function may return 0 to indicate a void |  | ||||||
|     result. |  | ||||||
|  |  | ||||||
|     NPInvalidateFunctionPtr is called by the scripting environment |  | ||||||
|     when the native code is shutdown.  Any attempt to message a |  | ||||||
|     NPObject instance after the invalidate callback has been |  | ||||||
|     called will result in undefined behavior, even if the native code |  | ||||||
|     is still retaining those NPObject instances.  (The runtime |  | ||||||
|     will typically return immediately, with 0 or NULL, from an attempt |  | ||||||
|     to dispatch to a NPObject, but this behavior should not be |  | ||||||
|     depended upon.) |  | ||||||
|  |  | ||||||
|     The NPEnumerationFunctionPtr function may pass an array of |  | ||||||
|     NPIdentifiers back to the caller. The callee allocs the memory of |  | ||||||
|     the array using NPN_MemAlloc(), and it's the caller's responsibility |  | ||||||
|     to release it using NPN_MemFree(). |  | ||||||
| */ |  | ||||||
| struct NPClass |  | ||||||
| { |  | ||||||
|     uint32_t structVersion; |  | ||||||
|     NPAllocateFunctionPtr allocate; |  | ||||||
|     NPDeallocateFunctionPtr deallocate; |  | ||||||
|     NPInvalidateFunctionPtr invalidate; |  | ||||||
|     NPHasMethodFunctionPtr hasMethod; |  | ||||||
|     NPInvokeFunctionPtr invoke; |  | ||||||
|     NPInvokeDefaultFunctionPtr invokeDefault; |  | ||||||
|     NPHasPropertyFunctionPtr hasProperty; |  | ||||||
|     NPGetPropertyFunctionPtr getProperty; |  | ||||||
|     NPSetPropertyFunctionPtr setProperty; |  | ||||||
|     NPRemovePropertyFunctionPtr removeProperty; |  | ||||||
|     NPEnumerationFunctionPtr enumerate; |  | ||||||
|     NPConstructFunctionPtr construct; |  | ||||||
| }; |  | ||||||
|  |  | ||||||
| #define NP_CLASS_STRUCT_VERSION      3 |  | ||||||
|  |  | ||||||
| #define NP_CLASS_STRUCT_VERSION_ENUM 2 |  | ||||||
| #define NP_CLASS_STRUCT_VERSION_CTOR 3 |  | ||||||
|  |  | ||||||
| #define NP_CLASS_STRUCT_VERSION_HAS_ENUM(npclass)   \ |  | ||||||
|         ((npclass)->structVersion >= NP_CLASS_STRUCT_VERSION_ENUM) |  | ||||||
|  |  | ||||||
| #define NP_CLASS_STRUCT_VERSION_HAS_CTOR(npclass)   \ |  | ||||||
|         ((npclass)->structVersion >= NP_CLASS_STRUCT_VERSION_CTOR) |  | ||||||
|  |  | ||||||
| struct NPObject { |  | ||||||
|     NPClass *_class; |  | ||||||
|     uint32_t referenceCount; |  | ||||||
|     /* |  | ||||||
|      * Additional space may be allocated here by types of NPObjects |  | ||||||
|      */ |  | ||||||
| }; |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     If the class has an allocate function, NPN_CreateObject invokes |  | ||||||
|     that function, otherwise a NPObject is allocated and |  | ||||||
|     returned. This method will initialize the referenceCount member of |  | ||||||
|     the NPObject to 1. |  | ||||||
| */ |  | ||||||
| NPObject *NPN_CreateObject(NPP npp, NPClass *aClass); |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     Increment the NPObject's reference count. |  | ||||||
| */ |  | ||||||
| NPObject *NPN_RetainObject(NPObject *npobj); |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     Decremented the NPObject's reference count.  If the reference |  | ||||||
|     count goes to zero, the class's destroy function is invoke if |  | ||||||
|     specified, otherwise the object is freed directly. |  | ||||||
| */ |  | ||||||
| void NPN_ReleaseObject(NPObject *npobj); |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     Functions to access script objects represented by NPObject. |  | ||||||
|  |  | ||||||
|     Calls to script objects are synchronous.  If a function returns a |  | ||||||
|     value, it will be supplied via the result NPVariant |  | ||||||
|     argument. Successful calls will return true, false will be |  | ||||||
|     returned in case of an error. |  | ||||||
|  |  | ||||||
|     Calls made from plugin code to script must be made from the thread |  | ||||||
|     on which the plugin was initialized. |  | ||||||
| */ |  | ||||||
|  |  | ||||||
| bool NPN_Invoke(NPP npp, NPObject *npobj, NPIdentifier methodName, |  | ||||||
|                 const NPVariant *args, uint32_t argCount, NPVariant *result); |  | ||||||
| bool NPN_InvokeDefault(NPP npp, NPObject *npobj, const NPVariant *args, |  | ||||||
|                        uint32_t argCount, NPVariant *result); |  | ||||||
| bool NPN_Evaluate(NPP npp, NPObject *npobj, NPString *script, |  | ||||||
|                   NPVariant *result); |  | ||||||
| bool NPN_GetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName, |  | ||||||
|                      NPVariant *result); |  | ||||||
| bool NPN_SetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName, |  | ||||||
|                      const NPVariant *value); |  | ||||||
| bool NPN_RemoveProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName); |  | ||||||
| bool NPN_HasProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName); |  | ||||||
| bool NPN_HasMethod(NPP npp, NPObject *npobj, NPIdentifier methodName); |  | ||||||
| bool NPN_Enumerate(NPP npp, NPObject *npobj, NPIdentifier **identifier, |  | ||||||
|                    uint32_t *count); |  | ||||||
| bool NPN_Construct(NPP npp, NPObject *npobj, const NPVariant *args, |  | ||||||
|                    uint32_t argCount, NPVariant *result); |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|     NPN_SetException may be called to trigger a script exception upon |  | ||||||
|     return from entry points into NPObjects.  Typical usage: |  | ||||||
|  |  | ||||||
|     NPN_SetException (npobj, message); |  | ||||||
| */ |  | ||||||
| void NPN_SetException(NPObject *npobj, const NPUTF8 *message); |  | ||||||
|  |  | ||||||
| #ifdef __cplusplus |  | ||||||
| } |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #endif |  | ||||||
| @@ -1,121 +0,0 @@ | |||||||
| /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |  | ||||||
| /* ***** BEGIN LICENSE BLOCK ***** |  | ||||||
|  * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |  | ||||||
|  * |  | ||||||
|  * The contents of this file are subject to the Mozilla Public License Version |  | ||||||
|  * 1.1 (the "License"); you may not use this file except in compliance with |  | ||||||
|  * the License. You may obtain a copy of the License at |  | ||||||
|  * http://www.mozilla.org/MPL/ |  | ||||||
|  * |  | ||||||
|  * Software distributed under the License is distributed on an "AS IS" basis, |  | ||||||
|  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |  | ||||||
|  * for the specific language governing rights and limitations under the |  | ||||||
|  * License. |  | ||||||
|  * |  | ||||||
|  * The Original Code is mozilla.org code. |  | ||||||
|  * |  | ||||||
|  * The Initial Developer of the Original Code is |  | ||||||
|  * mozilla.org. |  | ||||||
|  * Portions created by the Initial Developer are Copyright (C) 2004 |  | ||||||
|  * the Initial Developer. All Rights Reserved. |  | ||||||
|  * |  | ||||||
|  * Contributor(s): |  | ||||||
|  *   Johnny Stenback <jst@mozilla.org> (Original author) |  | ||||||
|  * |  | ||||||
|  * Alternatively, the contents of this file may be used under the terms of |  | ||||||
|  * either the GNU General Public License Version 2 or later (the "GPL"), or |  | ||||||
|  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |  | ||||||
|  * in which case the provisions of the GPL or the LGPL are applicable instead |  | ||||||
|  * of those above. If you wish to allow use of your version of this file only |  | ||||||
|  * under the terms of either the GPL or the LGPL, and not to allow others to |  | ||||||
|  * use your version of this file under the terms of the MPL, indicate your |  | ||||||
|  * decision by deleting the provisions above and replace them with the notice |  | ||||||
|  * and other provisions required by the GPL or the LGPL. If you do not delete |  | ||||||
|  * the provisions above, a recipient may use your version of this file under |  | ||||||
|  * the terms of any one of the MPL, the GPL or the LGPL. |  | ||||||
|  * |  | ||||||
|  * ***** END LICENSE BLOCK ***** */ |  | ||||||
|  |  | ||||||
| #ifndef nptypes_h_ |  | ||||||
| #define nptypes_h_ |  | ||||||
|  |  | ||||||
| /* |  | ||||||
|  * Header file for ensuring that C99 types ([u]int32_t, [u]int64_t and bool) and |  | ||||||
|  * true/false macros are available. |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| #if defined(WIN32) || defined(OS2) |  | ||||||
|   /* |  | ||||||
|    * Win32 and OS/2 don't know C99, so define [u]int_16/32/64 here. The bool |  | ||||||
|    * is predefined tho, both in C and C++. |  | ||||||
|    */ |  | ||||||
|   typedef short int16_t; |  | ||||||
|   typedef unsigned short uint16_t; |  | ||||||
|   typedef int int32_t; |  | ||||||
|   typedef unsigned int uint32_t; |  | ||||||
|   typedef long long int64_t; |  | ||||||
|   typedef unsigned long long uint64_t; |  | ||||||
| #elif defined(_AIX) || defined(__sun) || defined(__osf__) || defined(IRIX) || defined(HPUX) |  | ||||||
|   /* |  | ||||||
|    * AIX and SunOS ship a inttypes.h header that defines [u]int32_t, |  | ||||||
|    * but not bool for C. |  | ||||||
|    */ |  | ||||||
|   #include <inttypes.h> |  | ||||||
|  |  | ||||||
|   #ifndef __cplusplus |  | ||||||
|     typedef int bool; |  | ||||||
|     #define true   1 |  | ||||||
|     #define false  0 |  | ||||||
|   #endif |  | ||||||
| #elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD) |  | ||||||
|   /* |  | ||||||
|    * BSD/OS, FreeBSD, and OpenBSD ship sys/types.h that define int32_t and |  | ||||||
|    * u_int32_t. |  | ||||||
|    */ |  | ||||||
|   #include <sys/types.h> |  | ||||||
|  |  | ||||||
|   /* |  | ||||||
|    * BSD/OS ships no header that defines uint32_t, nor bool (for C) |  | ||||||
|    */ |  | ||||||
|   #if defined(bsdi) |  | ||||||
|   typedef u_int32_t uint32_t; |  | ||||||
|   typedef u_int64_t uint64_t; |  | ||||||
|  |  | ||||||
|   #if !defined(__cplusplus) |  | ||||||
|     typedef int bool; |  | ||||||
|     #define true   1 |  | ||||||
|     #define false  0 |  | ||||||
|   #endif |  | ||||||
|   #else |  | ||||||
|   /* |  | ||||||
|    * FreeBSD and OpenBSD define uint32_t and bool. |  | ||||||
|    */ |  | ||||||
|     #include <inttypes.h> |  | ||||||
|     #include <stdbool.h> |  | ||||||
|   #endif |  | ||||||
| #elif defined(BEOS) |  | ||||||
|   #include <inttypes.h> |  | ||||||
| #else |  | ||||||
|   /* |  | ||||||
|    * For those that ship a standard C99 stdint.h header file, include |  | ||||||
|    * it. Can't do the same for stdbool.h tho, since some systems ship |  | ||||||
|    * with a stdbool.h file that doesn't compile! |  | ||||||
|    */ |  | ||||||
|   #include <stdint.h> |  | ||||||
|  |  | ||||||
|   #ifndef __cplusplus |  | ||||||
|     #if !defined(__GNUC__) || (__GNUC__ > 2 || __GNUC_MINOR__ > 95) |  | ||||||
|       #include <stdbool.h> |  | ||||||
|     #else |  | ||||||
|       /* |  | ||||||
|        * GCC 2.91 can't deal with a typedef for bool, but a #define |  | ||||||
|        * works. |  | ||||||
|        */ |  | ||||||
|       #define bool int |  | ||||||
|       #define true   1 |  | ||||||
|       #define false  0 |  | ||||||
|     #endif |  | ||||||
|   #endif |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #endif /* nptypes_h_ */ |  | ||||||
| @@ -24,3 +24,9 @@ | |||||||
|  |  | ||||||
| /* Define if _NL_TIME_FIRST_WEEKDATE is available */ | /* Define if _NL_TIME_FIRST_WEEKDATE is available */ | ||||||
| #mesondefine HAVE__NL_TIME_FIRST_WEEKDAY | #mesondefine HAVE__NL_TIME_FIRST_WEEKDAY | ||||||
|  |  | ||||||
|  | /* Define if you have the `g_desktop_app_info_launch_uris_as_manager_with_fds` function */ | ||||||
|  | #mesondefine HAVE_GIO_DESKTOP_LAUNCH_URIS_WITH_FDS | ||||||
|  |  | ||||||
|  | /* Define if fdwalk is available in libc */ | ||||||
|  | #mesondefine HAVE_FDWALK | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								data/00_org.gnome.shell.gschema.override
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,6 @@ | |||||||
|  | [org.gnome.mutter:GNOME] | ||||||
|  | attach-modal-dialogs=true | ||||||
|  | edge-tiling=true | ||||||
|  | dynamic-workspaces=true | ||||||
|  | workspaces-only-on-primary=true | ||||||
|  | focus-change-on-pointer-rest=true | ||||||
							
								
								
									
										9
									
								
								data/dbus-interfaces/meson.build
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,9 @@ | |||||||
|  | dbus_interfaces = [ | ||||||
|  |   'org.gnome.Shell.Extensions.xml', | ||||||
|  |   'org.gnome.Shell.PadOsd.xml', | ||||||
|  |   'org.gnome.Shell.Screencast.xml', | ||||||
|  |   'org.gnome.Shell.Screenshot.xml', | ||||||
|  |   'org.gnome.ShellSearchProvider.xml', | ||||||
|  |   'org.gnome.ShellSearchProvider2.xml' | ||||||
|  | ] | ||||||
|  | install_data(dbus_interfaces, install_dir: ifacedir) | ||||||
							
								
								
									
										5
									
								
								data/dbus-interfaces/net.hadess.SensorProxy.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,5 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="net.hadess.SensorProxy"> | ||||||
|  |     <property name="HasAccelerometer" type="b" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										5
									
								
								data/dbus-interfaces/net.hadess.SwitcherooControl.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,5 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="net.hadess.SwitcherooControl"> | ||||||
|  |     <property name="HasDualGpu" type="b" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										32
									
								
								data/dbus-interfaces/org.Gtk.MountOperationHandler.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,32 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.Gtk.MountOperationHandler"> | ||||||
|  |     <method name="AskPassword"> | ||||||
|  |       <arg type="s" direction="in" name="object_id"/> | ||||||
|  |       <arg type="s" direction="in" name="message"/> | ||||||
|  |       <arg type="s" direction="in" name="icon_name"/> | ||||||
|  |       <arg type="s" direction="in" name="default_user"/> | ||||||
|  |       <arg type="s" direction="in" name="default_domain"/> | ||||||
|  |       <arg type="u" direction="in" name="flags"/> | ||||||
|  |       <arg type="u" direction="out" name="response"/> | ||||||
|  |       <arg type="a{sv}" direction="out" name="response_details"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="AskQuestion"> | ||||||
|  |       <arg type="s" direction="in" name="object_id"/> | ||||||
|  |       <arg type="s" direction="in" name="message"/> | ||||||
|  |       <arg type="s" direction="in" name="icon_name"/> | ||||||
|  |       <arg type="as" direction="in" name="choices"/> | ||||||
|  |       <arg type="u" direction="out" name="response"/> | ||||||
|  |       <arg type="a{sv}" direction="out" name="response_details"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="ShowProcesses"> | ||||||
|  |       <arg type="s" direction="in" name="object_id"/> | ||||||
|  |       <arg type="s" direction="in" name="message"/> | ||||||
|  |       <arg type="s" direction="in" name="icon_name"/> | ||||||
|  |       <arg type="ai" direction="in" name="application_pids"/> | ||||||
|  |       <arg type="as" direction="in" name="choices"/> | ||||||
|  |       <arg type="u" direction="out" name="response"/> | ||||||
|  |       <arg type="a{sv}" direction="out" name="response_details"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Close"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										12
									
								
								data/dbus-interfaces/org.freedesktop.Application.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,12 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.Application"> | ||||||
|  |     <method name="ActivateAction"> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="av" direction="in"/> | ||||||
|  |       <arg type="a{sv}" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Activate"> | ||||||
|  |       <arg type="a{sv}" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										16
									
								
								data/dbus-interfaces/org.freedesktop.DBus.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,16 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.DBus"> | ||||||
|  |     <method name="ListNames"> | ||||||
|  |       <arg type="as" direction="out" name="names"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GetConnectionUnixProcessID"> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="u" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="NameOwnerChanged"> | ||||||
|  |       <arg type="s" direction="out" name="name"/> | ||||||
|  |       <arg type="s" direction="out" name="oldOwner"/> | ||||||
|  |       <arg type="s" direction="out" name="newOwner"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										11
									
								
								data/dbus-interfaces/org.freedesktop.GeoClue2.Agent.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,11 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.GeoClue2.Agent"> | ||||||
|  |     <property name="MaxAccuracyLevel" type="u" access="read"/> | ||||||
|  |     <method name="AuthorizeApp"> | ||||||
|  |       <arg name="desktop_id" type="s" direction="in"/> | ||||||
|  |       <arg name="req_accuracy_level" type="u" direction="in"/> | ||||||
|  |       <arg name="authorized" type="b" direction="out"/> | ||||||
|  |       <arg name="allowed_accuracy_level" type="u" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,9 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.GeoClue2.Manager"> | ||||||
|  |     <property name="InUse" type="b" access="read"/> | ||||||
|  |     <property name="AvailableAccuracyLevel" type="u" access="read"/> | ||||||
|  |     <method name="AddAgent"> | ||||||
|  |       <arg name="id" type="s" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,13 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.ModemManager.Modem.Cdma"> | ||||||
|  |     <method name="GetSignalQuality"> | ||||||
|  |       <arg type="u" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GetServingSystem"> | ||||||
|  |       <arg type="(usu)" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="SignalQuality"> | ||||||
|  |       <arg type="u" direction="out"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,19 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.ModemManager.Modem.Gsm.Network"> | ||||||
|  |     <method name="GetRegistrationInfo"> | ||||||
|  |       <arg type="(uss)" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GetSignalQuality"> | ||||||
|  |       <arg type="u" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <property name="AccessTechnology" type="u" access="read"/> | ||||||
|  |     <signal name="SignalQuality"> | ||||||
|  |       <arg type="u" direction="out"/> | ||||||
|  |     </signal> | ||||||
|  |     <signal name="RegistrationInfo"> | ||||||
|  |       <arg type="u" direction="out"/> | ||||||
|  |       <arg type="s" direction="out"/> | ||||||
|  |       <arg type="s" direction="out"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,6 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.ModemManager1.Modem.Modem3gpp"> | ||||||
|  |     <property name="OperatorCode" type="s" access="read"/> | ||||||
|  |     <property name="OperatorName" type="s" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,5 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.ModemManager1.Modem.ModemCdma"> | ||||||
|  |     <property name="Sid" type="u" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,5 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.ModemManager1.Modem"> | ||||||
|  |     <property name="SignalQuality" type="(ub)" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										35
									
								
								data/dbus-interfaces/org.freedesktop.Notifications.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,35 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.Notifications"> | ||||||
|  |     <method name="Notify"> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="u" direction="in"/> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="as" direction="in"/> | ||||||
|  |       <arg type="a{sv}" direction="in"/> | ||||||
|  |       <arg type="i" direction="in"/> | ||||||
|  |       <arg type="u" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="CloseNotification"> | ||||||
|  |       <arg type="u" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GetCapabilities"> | ||||||
|  |       <arg type="as" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GetServerInformation"> | ||||||
|  |       <arg type="s" direction="out"/> | ||||||
|  |       <arg type="s" direction="out"/> | ||||||
|  |       <arg type="s" direction="out"/> | ||||||
|  |       <arg type="s" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="NotificationClosed"> | ||||||
|  |       <arg type="u"/> | ||||||
|  |       <arg type="u"/> | ||||||
|  |     </signal> | ||||||
|  |     <signal name="ActionInvoked"> | ||||||
|  |       <arg type="u"/> | ||||||
|  |       <arg type="s"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										13
									
								
								data/dbus-interfaces/org.freedesktop.PackageKit.Offline.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,13 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.PackageKit.Offline"> | ||||||
|  |     <property name="UpdatePrepared" type="b" access="read"/> | ||||||
|  |     <property name="UpdateTriggered" type="b" access="read"/> | ||||||
|  |     <property name="UpgradePrepared" type="b" access="read"/> | ||||||
|  |     <property name="UpgradeTriggered" type="b" access="read"/> | ||||||
|  |     <property name="PreparedUpgrade" type="a{sv}" access="read"/> | ||||||
|  |     <method name="Trigger"> | ||||||
|  |       <arg type="s" name="action" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Cancel"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										11
									
								
								data/dbus-interfaces/org.freedesktop.UPower.Device.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,11 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.UPower.Device"> | ||||||
|  |     <property name="Type" type="u" access="read"/> | ||||||
|  |     <property name="State" type="u" access="read"/> | ||||||
|  |     <property name="Percentage" type="d" access="read"/> | ||||||
|  |     <property name="TimeToEmpty" type="x" access="read"/> | ||||||
|  |     <property name="TimeToFull" type="x" access="read"/> | ||||||
|  |     <property name="IsPresent" type="b" access="read"/> | ||||||
|  |     <property name="IconName" type="s" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										5
									
								
								data/dbus-interfaces/org.freedesktop.UPower.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,5 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.UPower"> | ||||||
|  |     <property name="OnBattery" type="b" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										18
									
								
								data/dbus-interfaces/org.freedesktop.bolt1.Device.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,18 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.bolt1.Device"> | ||||||
|  |     <property name="Uid" type="s" access="read"></property> | ||||||
|  |     <property name="Name" type="s" access="read"></property> | ||||||
|  |     <property name="Vendor" type="s" access="read"></property> | ||||||
|  |     <property name="Type" type="s" access="read"></property> | ||||||
|  |     <property name="Status" type="s" access="read"></property> | ||||||
|  |     <property name="Parent" type="s" access="read"></property> | ||||||
|  |     <property name="SysfsPath" type="s" access="read"></property> | ||||||
|  |     <property name="Stored" type="b" access="read"></property> | ||||||
|  |     <property name="Policy" type="s" access="read"></property> | ||||||
|  |     <property name="Key" type="s" access="read"></property> | ||||||
|  |     <property name="Label" type="s" access="read"></property> | ||||||
|  |     <property name="ConnectTime" type="t" access="read"></property> | ||||||
|  |     <property name="AuthorizeTime" type="t" access="read"></property> | ||||||
|  |     <property name="StoreTime" type="t" access="read"></property> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										15
									
								
								data/dbus-interfaces/org.freedesktop.bolt1.Manager.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,15 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.bolt1.Manager"> | ||||||
|  |     <property name="Probing" type="b" access="read"></property> | ||||||
|  |     <property name="AuthMode" type="s" access="readwrite"></property> | ||||||
|  |     <method name="EnrollDevice"> | ||||||
|  |       <arg type="s" name="uid" direction="in"/> | ||||||
|  |       <arg type="s" name="policy" direction="in"/> | ||||||
|  |       <arg type="s" name="flags" direction="in"/> | ||||||
|  |       <arg name="device" direction="out" type="o"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="DeviceAdded"> | ||||||
|  |       <arg name="device" type="o"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										15
									
								
								data/dbus-interfaces/org.freedesktop.impl.portal.Access.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,15 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.impl.portal.Access"> | ||||||
|  |     <method name="AccessDialog"> | ||||||
|  |       <arg type="o" name="handle" direction="in"/> | ||||||
|  |       <arg type="s" name="app_id" direction="in"/> | ||||||
|  |       <arg type="s" name="parent_window" direction="in"/> | ||||||
|  |       <arg type="s" name="title" direction="in"/> | ||||||
|  |       <arg type="s" name="subtitle" direction="in"/> | ||||||
|  |       <arg type="s" name="body" direction="in"/> | ||||||
|  |       <arg type="a{sv}" name="options" direction="in"/> | ||||||
|  |       <arg type="u" name="response" direction="out"/> | ||||||
|  |       <arg type="a{sv}" name="results" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,24 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.impl.portal.PermissionStore"> | ||||||
|  |     <method name="Lookup"> | ||||||
|  |       <arg name="table" type="s" direction="in"/> | ||||||
|  |       <arg name="id" type="s" direction="in"/> | ||||||
|  |       <arg name="permissions" type="a{sas}" direction="out"/> | ||||||
|  |       <arg name="data" type="v" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Set"> | ||||||
|  |       <arg name="table" type="s" direction="in"/> | ||||||
|  |       <arg name="create" type="b" direction="in"/> | ||||||
|  |       <arg name="id" type="s" direction="in"/> | ||||||
|  |       <arg name="app_permissions" type="a{sas}" direction="in"/> | ||||||
|  |       <arg name="data" type="v" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="Changed"> | ||||||
|  |       <arg name="table" type="s" direction="out"/> | ||||||
|  |       <arg name="id" type="s" direction="out"/> | ||||||
|  |       <arg name="deleted" type="b" direction="out"/> | ||||||
|  |       <arg name="data" type="v" direction="out"/> | ||||||
|  |       <arg name="permissions" type="a{sas}" direction="out"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,5 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.impl.portal.Request"> | ||||||
|  |     <method name="Close"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										27
									
								
								data/dbus-interfaces/org.freedesktop.login1.Manager.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,27 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.login1.Manager"> | ||||||
|  |     <method name="Suspend"> | ||||||
|  |       <arg type="b" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="CanSuspend"> | ||||||
|  |       <arg type="s" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Inhibit"> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="h" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GetSession"> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="o" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="ListSessions"> | ||||||
|  |       <arg name="sessions" type="a(susso)" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="PrepareForSleep"> | ||||||
|  |       <arg type="b" direction="out"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										15
									
								
								data/dbus-interfaces/org.freedesktop.login1.Session.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,15 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.login1.Session"> | ||||||
|  |     <signal name="Lock"/> | ||||||
|  |     <signal name="Unlock"/> | ||||||
|  |     <property name="Active" type="b" access="read"/> | ||||||
|  |     <property name="Class" type="s" access="read"/> | ||||||
|  |     <property name="Id" type="s" access="read"/> | ||||||
|  |     <property name="Remote" type="b" access="read"/> | ||||||
|  |     <property name="Type" type="s" access="read"/> | ||||||
|  |     <property name="State" type="s" access="read"/> | ||||||
|  |     <method name="SetLockedHint"> | ||||||
|  |       <arg type="b" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										6
									
								
								data/dbus-interfaces/org.freedesktop.login1.User.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,6 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.login1.User"> | ||||||
|  |     <property name="Display" type="(so)" access="read"/> | ||||||
|  |     <property name="Sessions" type="a(so)" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										13
									
								
								data/dbus-interfaces/org.freedesktop.realmd.Provider.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,13 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.realmd.Provider"> | ||||||
|  |     <property name="Name" type="s" access="read"/> | ||||||
|  |     <property name="Version" type="s" access="read"/> | ||||||
|  |     <property name="Realms" type="ao" access="read"/> | ||||||
|  |     <method name="Discover"> | ||||||
|  |       <arg name="string" type="s" direction="in"/> | ||||||
|  |       <arg name="options" type="a{sv}" direction="in"/> | ||||||
|  |       <arg name="relevance" type="i" direction="out"/> | ||||||
|  |       <arg name="realm" type="ao" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										20
									
								
								data/dbus-interfaces/org.freedesktop.realmd.Realm.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,20 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.realmd.Realm"> | ||||||
|  |     <property name="Name" type="s" access="read"/> | ||||||
|  |     <property name="Configured" type="s" access="read"/> | ||||||
|  |     <property name="Details" type="a(ss)" access="read"/> | ||||||
|  |     <property name="LoginFormats" type="as" access="read"/> | ||||||
|  |     <property name="LoginPolicy" type="s" access="read"/> | ||||||
|  |     <property name="PermittedLogins" type="as" access="read"/> | ||||||
|  |     <property name="SupportedInterfaces" type="as" access="read"/> | ||||||
|  |     <method name="ChangeLoginPolicy"> | ||||||
|  |       <arg name="login_policy" type="s" direction="in"/> | ||||||
|  |       <arg name="permitted_add" type="as" direction="in"/> | ||||||
|  |       <arg name="permitted_remove" type="as" direction="in"/> | ||||||
|  |       <arg name="options" type="a{sv}" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Deconfigure"> | ||||||
|  |       <arg name="options" type="a{sv}" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										15
									
								
								data/dbus-interfaces/org.freedesktop.realmd.Service.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,15 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.freedesktop.realmd.Service"> | ||||||
|  |     <method name="Cancel"> | ||||||
|  |       <arg name="operation" type="s" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Release"/> | ||||||
|  |     <method name="SetLocale"> | ||||||
|  |       <arg name="locale" type="s" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="Diagnostics"> | ||||||
|  |       <arg name="data" type="s"/> | ||||||
|  |       <arg name="operation" type="s"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										26
									
								
								data/dbus-interfaces/org.gnome.Magnifier.ZoomRegion.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,26 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.Magnifier.ZoomRegion"> | ||||||
|  |     <method name="setMagFactor"> | ||||||
|  |       <arg type="d" direction="in"/> | ||||||
|  |       <arg type="d" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="getMagFactor"> | ||||||
|  |       <arg type="d" direction="out"/> | ||||||
|  |       <arg type="d" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="setRoi"> | ||||||
|  |       <arg type="ai" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="getRoi"> | ||||||
|  |       <arg type="ai" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="shiftContentsTo"> | ||||||
|  |       <arg type="i" direction="in"/> | ||||||
|  |       <arg type="i" direction="in"/> | ||||||
|  |       <arg type="b" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="moveResize"> | ||||||
|  |       <arg type="ai" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										54
									
								
								data/dbus-interfaces/org.gnome.Magnifier.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,54 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.Magnifier"> | ||||||
|  |     <method name="setActive"> | ||||||
|  |       <arg type="b" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="isActive"> | ||||||
|  |       <arg type="b" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="showCursor"/> | ||||||
|  |     <method name="hideCursor"/> | ||||||
|  |     <method name="createZoomRegion"> | ||||||
|  |       <arg type="d" direction="in"/> | ||||||
|  |       <arg type="d" direction="in"/> | ||||||
|  |       <arg type="ai" direction="in"/> | ||||||
|  |       <arg type="ai" direction="in"/> | ||||||
|  |       <arg type="o" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="addZoomRegion"> | ||||||
|  |       <arg type="o" direction="in"/> | ||||||
|  |       <arg type="b" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="getZoomRegions"> | ||||||
|  |       <arg type="ao" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="clearAllZoomRegions"/> | ||||||
|  |     <method name="fullScreenCapable"> | ||||||
|  |       <arg type="b" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="setCrosswireSize"> | ||||||
|  |       <arg type="i" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="getCrosswireSize"> | ||||||
|  |       <arg type="i" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="setCrosswireLength"> | ||||||
|  |       <arg type="i" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="getCrosswireLength"> | ||||||
|  |       <arg type="i" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="setCrosswireClip"> | ||||||
|  |       <arg type="b" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="getCrosswireClip"> | ||||||
|  |       <arg type="b" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="setCrosswireColor"> | ||||||
|  |       <arg type="u" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="getCrosswireColor"> | ||||||
|  |       <arg type="u" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										18
									
								
								data/dbus-interfaces/org.gnome.ScreenSaver.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,18 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.ScreenSaver"> | ||||||
|  |     <method name="Lock"/> | ||||||
|  |     <method name="GetActive"> | ||||||
|  |       <arg type="b" direction="out" name="active"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="SetActive"> | ||||||
|  |       <arg type="b" direction="in" name="value"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GetActiveTime"> | ||||||
|  |       <arg type="u" direction="out" name="value"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="ActiveChanged"> | ||||||
|  |       <arg name="new_value" type="b"/> | ||||||
|  |     </signal> | ||||||
|  |     <signal name="WakeUpScreen"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,16 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.SessionManager.EndSessionDialog"> | ||||||
|  |     <method name="Open"> | ||||||
|  |       <arg type="u" direction="in"/> | ||||||
|  |       <arg type="u" direction="in"/> | ||||||
|  |       <arg type="u" direction="in"/> | ||||||
|  |       <arg type="ao" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Close"/> | ||||||
|  |     <signal name="ConfirmedLogout"/> | ||||||
|  |     <signal name="ConfirmedReboot"/> | ||||||
|  |     <signal name="ConfirmedShutdown"/> | ||||||
|  |     <signal name="Canceled"/> | ||||||
|  |     <signal name="Closed"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										10
									
								
								data/dbus-interfaces/org.gnome.SessionManager.Inhibitor.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,10 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.SessionManager.Inhibitor"> | ||||||
|  |     <method name="GetAppId"> | ||||||
|  |       <arg type="s" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GetReason"> | ||||||
|  |       <arg type="s" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										11
									
								
								data/dbus-interfaces/org.gnome.SessionManager.Presence.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,11 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.SessionManager.Presence"> | ||||||
|  |     <method name="SetStatus"> | ||||||
|  |       <arg type="u" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <property name="status" type="u" access="readwrite"/> | ||||||
|  |     <signal name="StatusChanged"> | ||||||
|  |       <arg type="u" direction="out"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										23
									
								
								data/dbus-interfaces/org.gnome.SessionManager.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,23 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.SessionManager"> | ||||||
|  |     <method name="Logout"> | ||||||
|  |       <arg type="u" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Shutdown"/> | ||||||
|  |     <method name="Reboot"/> | ||||||
|  |     <method name="CanShutdown"> | ||||||
|  |       <arg type="b" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="IsInhibited"> | ||||||
|  |       <arg type="u" direction="in"/> | ||||||
|  |       <arg type="b" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |     <property name="SessionIsActive" type="b" access="read"/> | ||||||
|  |     <signal name="InhibitorAdded"> | ||||||
|  |       <arg type="o" direction="out"/> | ||||||
|  |     </signal> | ||||||
|  |     <signal name="InhibitorRemoved"> | ||||||
|  |       <arg type="o" direction="out"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										6
									
								
								data/dbus-interfaces/org.gnome.SettingsDaemon.Color.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,6 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.SettingsDaemon.Color"> | ||||||
|  |     <property name="DisabledUntilTomorrow" type="b" access="readwrite"/> | ||||||
|  |     <property name="NightLightActive" type="b" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,5 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.SettingsDaemon.Power.Screen"> | ||||||
|  |     <property name="Brightness" type="i" access="readwrite"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										10
									
								
								data/dbus-interfaces/org.gnome.SettingsDaemon.Rfkill.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,10 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.SettingsDaemon.Rfkill"> | ||||||
|  |     <property name="AirplaneMode" type="b" access="readwrite"/> | ||||||
|  |     <property name="HardwareAirplaneMode" type="b" access="read"/> | ||||||
|  |     <property name="BluetoothAirplaneMode" type="b" access="readwrite"/> | ||||||
|  |     <property name="BluetoothHasAirplaneMode" type="b" access="read"/> | ||||||
|  |     <property name="BluetoothHardwareAirplaneMode" type="b" access="readwrite"/> | ||||||
|  |     <property name="ShouldShowAirplaneMode" type="b" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										13
									
								
								data/dbus-interfaces/org.gnome.SettingsDaemon.Wacom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,13 @@ | |||||||
|  | <node> | ||||||
|  | <interface name="org.gnome.SettingsDaemon.Wacom"> | ||||||
|  |   <method name="SetGroupModeLED"> | ||||||
|  |     <arg name="device_path" direction="in" type="s"/> | ||||||
|  |     <arg name="group" direction="in" type="u"/> | ||||||
|  |     <arg name="mode" direction="in" type="u"/> | ||||||
|  |   </method> | ||||||
|  |   <method name="SetOLEDLabels"> | ||||||
|  |     <arg name="device_path" direction="in" type="s"/> | ||||||
|  |     <arg name="labels" direction="in" type="as"/> | ||||||
|  |   </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -0,0 +1,12 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.Shell.AudioDeviceSelection"> | ||||||
|  |     <method name="Open"> | ||||||
|  |       <arg name="devices" direction="in" type="as"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Close"> | ||||||
|  |     </method> | ||||||
|  |     <signal name="DeviceSelected"> | ||||||
|  |       <arg name="device" type="s"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										205
									
								
								data/dbus-interfaces/org.gnome.Shell.Extensions.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,205 @@ | |||||||
|  | <!DOCTYPE node PUBLIC | ||||||
|  | '-//freedesktop//DTD D-BUS Object Introspection 1.0//EN' | ||||||
|  | 'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'> | ||||||
|  | <node> | ||||||
|  |  | ||||||
|  |   <!-- | ||||||
|  |       org.gnome.Shell.Extensions: | ||||||
|  |       @short_description: Extensions interface | ||||||
|  |  | ||||||
|  |       The interface used to query and manage extensions. | ||||||
|  |   --> | ||||||
|  |   <interface name="org.gnome.Shell.Extensions"> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         ListExtensions: | ||||||
|  |         @extensions: A dictionary of extension infos | ||||||
|  |  | ||||||
|  |         Get a list of installed extensions. The returned @extensions | ||||||
|  |         dictionary maps extension UUIDs to info vardicts. See | ||||||
|  |         GetExtensionInfo() for documentation on possible keys. | ||||||
|  |     --> | ||||||
|  |     <method name="ListExtensions"> | ||||||
|  |       <arg type="a{sa{sv}}" direction="out" name="extensions"/> | ||||||
|  |     </method> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         GetExtensionInfo: | ||||||
|  |         @uuid: The UUID of the extension | ||||||
|  |         @info: The returned extension info | ||||||
|  |  | ||||||
|  |         The information returned in the @info vardict depends on the | ||||||
|  |         metadata the extension provides, however it is guaranteed to | ||||||
|  |         contain the following keys: | ||||||
|  |  | ||||||
|  |         <variablelist> | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>uuid s</term> | ||||||
|  |             <listitem><para>The UUID of the extension</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>name s</term> | ||||||
|  |             <listitem><para>The name of the extension</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>description s</term> | ||||||
|  |             <listitem><para> | ||||||
|  |               A short summary that describes what the extension does | ||||||
|  |             </para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>shell-version as</term> | ||||||
|  |             <listitem><para>An array of support shell versions</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>type d</term> | ||||||
|  |             <listitem><para> | ||||||
|  |               The type of extension: | ||||||
|  |               <simplelist> | ||||||
|  |                 <member>1: SYSTEM</member> | ||||||
|  |                 <member>2: PER_USER</member> | ||||||
|  |               </simplelist> | ||||||
|  |             </para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>state d</term> | ||||||
|  |             <listitem><para> | ||||||
|  |               The state the extension is in: | ||||||
|  |               <simplelist> | ||||||
|  |                 <member>1: ENABLED</member> | ||||||
|  |                 <member>2: DISABLED</member> | ||||||
|  |                 <member>3: ERROR</member> | ||||||
|  |                 <member>4: OUT_OF_DATE</member> | ||||||
|  |                 <member>5: DOWNLOADING</member> | ||||||
|  |                 <member>6: INITIALIZED</member> | ||||||
|  |                 <member>99: UNINSTALLED</member> | ||||||
|  |               </simplelist> | ||||||
|  |             </para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>path s</term> | ||||||
|  |             <listitem><para>The extension directory</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>error s</term> | ||||||
|  |             <listitem><para>The most recent error caught in init(), enable() or disable()</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>hasPrefs b</term> | ||||||
|  |             <listitem><para>Whether the extension includes preference UI</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |         </variablelist> | ||||||
|  |  | ||||||
|  |         By convention, many extensions will also include the following keys: | ||||||
|  |         <variablelist> | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>version d</term> | ||||||
|  |             <listitem><para>The extension version</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>url s</term> | ||||||
|  |             <listitem><para>The URL to the extension homepage or repository</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>settings-schema s</term> | ||||||
|  |             <listitem><para>The ID of a bundled GSettings schema</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |  | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>gettext-domain s</term> | ||||||
|  |             <listitem><para>The domain used for translations</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |         </variablelist> | ||||||
|  |     --> | ||||||
|  |     <method name="GetExtensionInfo"> | ||||||
|  |       <arg type="s" direction="in" name="uuid"/> | ||||||
|  |       <arg type="a{sv}" direction="out" name="info"/> | ||||||
|  |     </method> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         GetExtensionErrors: | ||||||
|  |         @uuid: The UUID of the extension | ||||||
|  |         @errors: The returned errors | ||||||
|  |  | ||||||
|  |         Get the list of errors that caused the extension | ||||||
|  |         to be in ERROR state. | ||||||
|  |     --> | ||||||
|  |     <method name="GetExtensionErrors"> | ||||||
|  |       <arg type="s" direction="in" name="uuid"/> | ||||||
|  |       <arg type="as" direction="out" name="errors"/> | ||||||
|  |     </method> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         InstallRemoteExtension: | ||||||
|  |         @uuid: The UUID of the extension | ||||||
|  |         @result: The result of the operation | ||||||
|  |  | ||||||
|  |         Download and install an extension. | ||||||
|  |     --> | ||||||
|  |     <method name="InstallRemoteExtension"> | ||||||
|  |       <arg type="s" direction="in" name="uuid"/> | ||||||
|  |       <arg type="s" direction="out" name="result"/> | ||||||
|  |     </method> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         UninstallExtension: | ||||||
|  |         @uuid: The UUID of the extension | ||||||
|  |         @success: Whether the operation was successful | ||||||
|  |  | ||||||
|  |         Uninstall an extension. | ||||||
|  |     --> | ||||||
|  |     <method name="UninstallExtension"> | ||||||
|  |       <arg type="s" direction="in" name="uuid"/> | ||||||
|  |       <arg type="b" direction="out" name="success"/> | ||||||
|  |     </method> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         ReloadExtension: | ||||||
|  |         @uuid: The UUID of the extension | ||||||
|  |  | ||||||
|  |         Reload an extension. | ||||||
|  |     --> | ||||||
|  |     <method name="ReloadExtension"> | ||||||
|  |       <arg type="s" direction="in" name="uuid"/> | ||||||
|  |     </method> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         LaunchExtensionPrefs: | ||||||
|  |         @uuid: The UUID of the extension | ||||||
|  |  | ||||||
|  |         Launch preferences of an extension. | ||||||
|  |     --> | ||||||
|  |     <method name="LaunchExtensionPrefs"> | ||||||
|  |       <arg type="s" direction="in" name="uuid"/> | ||||||
|  |     </method> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         CheckForUpdates: | ||||||
|  |         Update all extensions for which updates are available | ||||||
|  |     --> | ||||||
|  |     <method name="CheckForUpdates"/> | ||||||
|  |  | ||||||
|  |     <signal name="ExtensionStatusChanged"> | ||||||
|  |       <arg type="s" name="uuid"/> | ||||||
|  |       <arg type="i" name="state"/> | ||||||
|  |       <arg type="s" name="error"/> | ||||||
|  |     </signal> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         ShellVersion: | ||||||
|  |         The GNOME Shell version | ||||||
|  |     --> | ||||||
|  |     <property name="ShellVersion" type="s" access="read"/> | ||||||
|  |  | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										8
									
								
								data/dbus-interfaces/org.gnome.Shell.HotplugSniffer.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,8 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.Shell.HotplugSniffer"> | ||||||
|  |     <method name="SniffURI"> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="as" direction="out"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										13
									
								
								data/dbus-interfaces/org.gnome.Shell.PerfHelper.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,13 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.Shell.PerfHelper"> | ||||||
|  |     <method name="CreateWindow"> | ||||||
|  |       <arg type="i" direction="in"/> | ||||||
|  |       <arg type="i" direction="in"/> | ||||||
|  |       <arg type="b" direction="in"/> | ||||||
|  |       <arg type="b" direction="in"/> | ||||||
|  |       <arg type="b" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="WaitWindows"/> | ||||||
|  |     <method name="DestroyWindows"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										19
									
								
								data/dbus-interfaces/org.gnome.Shell.PortalHelper.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,19 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.Shell.PortalHelper"> | ||||||
|  |     <method name="Authenticate"> | ||||||
|  |       <arg name="connection" type="o" direction="in"/> | ||||||
|  |       <arg name="url" type="s" direction="in"/> | ||||||
|  |       <arg name="timestamp" type="u" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Close"> | ||||||
|  |       <arg name="connection" type="o" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="Refresh"> | ||||||
|  |       <arg name="connection" type="o" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="Done"> | ||||||
|  |       <arg type="o" name="connection"/> | ||||||
|  |       <arg type="u" name="result"/> | ||||||
|  |     </signal> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
| @@ -91,6 +91,23 @@ | |||||||
|       <arg type="s" direction="out" name="filename_used"/> |       <arg type="s" direction="out" name="filename_used"/> | ||||||
|     </method> |     </method> | ||||||
| 
 | 
 | ||||||
|  |     <!-- | ||||||
|  |         PickColor: | ||||||
|  | 
 | ||||||
|  |         Picks a color and returns the result. | ||||||
|  | 
 | ||||||
|  |         The @result vardict contains: | ||||||
|  |         <variablelist> | ||||||
|  |           <varlistentry> | ||||||
|  |             <term>color (ddd)</term> | ||||||
|  |             <listitem><para>The color, RGB values in the range [0,1].</para></listitem> | ||||||
|  |           </varlistentry> | ||||||
|  |         </variablelist> | ||||||
|  |     --> | ||||||
|  |     <method name="PickColor"> | ||||||
|  |       <arg type="a{sv}" direction="out" name="result"/> | ||||||
|  |     </method> | ||||||
|  | 
 | ||||||
|     <!-- |     <!-- | ||||||
|         FlashArea: |         FlashArea: | ||||||
|         @x: the X coordinate of the area to flash |         @x: the X coordinate of the area to flash | ||||||
							
								
								
									
										8
									
								
								data/dbus-interfaces/org.gnome.Shell.Wacom.PadOsd.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,8 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.Shell.Wacom.PadOsd"> | ||||||
|  |     <method name="Show"> | ||||||
|  |       <arg name="device_node" direction="in" type="o"/> | ||||||
|  |       <arg name="edition_mode" direction="in" type="b"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										44
									
								
								data/dbus-interfaces/org.gnome.Shell.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,44 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.Shell"> | ||||||
|  |     <method name="Eval"> | ||||||
|  |       <arg type="s" direction="in" name="script"/> | ||||||
|  |       <arg type="b" direction="out" name="success"/> | ||||||
|  |       <arg type="s" direction="out" name="result"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="FocusSearch"/> | ||||||
|  |     <method name="ShowOSD"> | ||||||
|  |       <arg type="a{sv}" direction="in" name="params"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="ShowMonitorLabels"> | ||||||
|  |       <arg type="a{uv}" direction="in" name="params"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="ShowMonitorLabels2"> | ||||||
|  |       <arg type="a{sv}" direction="in" name="params"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="HideMonitorLabels"/> | ||||||
|  |     <method name="FocusApp"> | ||||||
|  |       <arg type="s" direction="in" name="id"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="ShowApplications"/> | ||||||
|  |     <method name="GrabAccelerator"> | ||||||
|  |       <arg type="s" direction="in" name="accelerator"/> | ||||||
|  |       <arg type="u" direction="in" name="flags"/> | ||||||
|  |       <arg type="u" direction="out" name="action"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GrabAccelerators"> | ||||||
|  |       <arg type="a(su)" direction="in" name="accelerators"/> | ||||||
|  |       <arg type="au" direction="out" name="actions"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="UngrabAccelerator"> | ||||||
|  |       <arg type="u" direction="in" name="action"/> | ||||||
|  |       <arg type="b" direction="out" name="success"/> | ||||||
|  |     </method> | ||||||
|  |     <signal name="AcceleratorActivated"> | ||||||
|  |       <arg name="action" type="u"/> | ||||||
|  |       <arg name="parameters" type="a{sv}"/> | ||||||
|  |     </signal> | ||||||
|  |     <property name="Mode" type="s" access="read"/> | ||||||
|  |     <property name="OverviewActive" type="b" access="readwrite"/> | ||||||
|  |     <property name="ShellVersion" type="s" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										13
									
								
								data/dbus-interfaces/org.gtk.Notifications.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,13 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gtk.Notifications"> | ||||||
|  |     <method name="AddNotification"> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="a{sv}" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="RemoveNotification"> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |       <arg type="s" direction="in"/> | ||||||
|  |     </method> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										12
									
								
								data/dbus-interfaces/org.mpris.MediaPlayer2.Player.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,12 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.mpris.MediaPlayer2.Player"> | ||||||
|  |     <method name="PlayPause"/> | ||||||
|  |     <method name="Next"/> | ||||||
|  |     <method name="Previous"/> | ||||||
|  |     <property name="CanGoNext" type="b" access="read"/> | ||||||
|  |     <property name="CanGoPrevious" type="b" access="read"/> | ||||||
|  |     <property name="CanPlay" type="b" access="read"/> | ||||||
|  |     <property name="Metadata" type="a{sv}" access="read"/> | ||||||
|  |     <property name="PlaybackStatus" type="s" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										7
									
								
								data/dbus-interfaces/org.mpris.MediaPlayer2.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,7 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.mpris.MediaPlayer2"> | ||||||
|  |     <method name="Raise"/> | ||||||
|  |     <property name="CanRaise" type="b" access="read"/> | ||||||
|  |     <property name="DesktopEntry" type="s" access="read"/> | ||||||
|  |   </interface> | ||||||
|  | </node> | ||||||
							
								
								
									
										55
									
								
								data/gnome-shell-dbus-interfaces.gresource.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,55 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <gresources> | ||||||
|  |   <gresource prefix="/org/gnome/shell/dbus-interfaces"> | ||||||
|  |     <file preprocess="xml-stripblanks">net.hadess.SensorProxy.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">net.hadess.SwitcherooControl.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.Application.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.bolt1.Device.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.bolt1.Manager.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.DBus.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.GeoClue2.Agent.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.GeoClue2.Manager.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.impl.portal.Access.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.impl.portal.PermissionStore.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.impl.portal.Request.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.login1.Manager.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.login1.Session.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.login1.User.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.ModemManager1.Modem.Modem3gpp.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.ModemManager1.Modem.ModemCdma.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.ModemManager1.Modem.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.ModemManager.Modem.Cdma.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.ModemManager.Modem.Gsm.Network.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.Notifications.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.PackageKit.Offline.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.realmd.Provider.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.realmd.Realm.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.realmd.Service.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.UPower.Device.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.freedesktop.UPower.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Magnifier.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Magnifier.ZoomRegion.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.ScreenSaver.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.SessionManager.EndSessionDialog.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.SessionManager.Inhibitor.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.SessionManager.Presence.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.SessionManager.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.SettingsDaemon.Color.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.SettingsDaemon.Power.Screen.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.SettingsDaemon.Rfkill.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.SettingsDaemon.Wacom.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.AudioDeviceSelection.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.Extensions.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.HotplugSniffer.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.PerfHelper.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.PortalHelper.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.Screencast.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.Screenshot.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.Wacom.PadOsd.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.Gtk.MountOperationHandler.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gtk.Notifications.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.mpris.MediaPlayer2.Player.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.mpris.MediaPlayer2.xml</file> | ||||||
|  |   </gresource> | ||||||
|  | </gresources> | ||||||
| @@ -22,6 +22,7 @@ | |||||||
|     <file>id.json</file> |     <file>id.json</file> | ||||||
|     <file>il.json</file> |     <file>il.json</file> | ||||||
|     <file>in+bolnagri.json</file> |     <file>in+bolnagri.json</file> | ||||||
|  |     <file>in+mal.json</file> | ||||||
|     <file>ir.json</file> |     <file>ir.json</file> | ||||||
|     <file>is.json</file> |     <file>is.json</file> | ||||||
|     <file>it.json</file> |     <file>it.json</file> | ||||||
|   | |||||||
							
								
								
									
										5
									
								
								data/gnome-shell-overrides-migration.desktop.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,5 @@ | |||||||
|  | [Desktop Entry] | ||||||
|  | Type=Application | ||||||
|  | Name=GNOME settings overrides migration | ||||||
|  | NoDisplay=true | ||||||
|  | Exec=@libexecdir@/gnome-shell-overrides-migration.sh | ||||||
| @@ -1,22 +1,12 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <gresources> | <gresources> | ||||||
|   <gresource prefix="/org/gnome/shell/theme"> |   <gresource prefix="/org/gnome/shell/theme"> | ||||||
|     <file>calendar-arrow-left.svg</file> |  | ||||||
|     <file>calendar-arrow-right.svg</file> |  | ||||||
|     <file>calendar-today.svg</file> |     <file>calendar-today.svg</file> | ||||||
|     <file>checkbox-focused.svg</file> |     <file>checkbox-focused.svg</file> | ||||||
|     <file>checkbox-off-focused.svg</file> |     <file>checkbox-off-focused.svg</file> | ||||||
|     <file>checkbox-off.svg</file> |     <file>checkbox-off.svg</file> | ||||||
|     <file>checkbox.svg</file> |     <file>checkbox.svg</file> | ||||||
|     <file>close-window.svg</file> |  | ||||||
|     <file>close-window-active.svg</file> |  | ||||||
|     <file>close-window-hover.svg</file> |  | ||||||
|     <file>close.svg</file> |  | ||||||
|     <file>corner-ripple-ltr.png</file> |  | ||||||
|     <file>corner-ripple-rtl.png</file> |  | ||||||
|     <file>dash-placeholder.svg</file> |     <file>dash-placeholder.svg</file> | ||||||
|     <file>filter-selected-ltr.svg</file> |  | ||||||
|     <file>filter-selected-rtl.svg</file> |  | ||||||
|     <file>gnome-shell.css</file> |     <file>gnome-shell.css</file> | ||||||
|     <file>gnome-shell-high-contrast.css</file> |     <file>gnome-shell-high-contrast.css</file> | ||||||
|     <file>key-enter.svg</file> |     <file>key-enter.svg</file> | ||||||
| @@ -25,27 +15,17 @@ | |||||||
|     <file>key-shift.svg</file> |     <file>key-shift.svg</file> | ||||||
|     <file>key-shift-uppercase.svg</file> |     <file>key-shift-uppercase.svg</file> | ||||||
|     <file>key-shift-latched-uppercase.svg</file> |     <file>key-shift-latched-uppercase.svg</file> | ||||||
|     <file>logged-in-indicator.svg</file> |  | ||||||
|     <file alias="icons/message-indicator-symbolic.svg">message-indicator-symbolic.svg</file> |     <file alias="icons/message-indicator-symbolic.svg">message-indicator-symbolic.svg</file> | ||||||
|     <file>no-events.svg</file> |     <file>no-events.svg</file> | ||||||
|     <file>no-notifications.svg</file> |     <file>no-notifications.svg</file> | ||||||
|     <file>noise-texture.png</file> |     <file>noise-texture.png</file> | ||||||
|     <file>pad-osd.css</file> |     <file>pad-osd.css</file> | ||||||
|     <file>page-indicator-active.svg</file> |  | ||||||
|     <file>page-indicator-inactive.svg</file> |  | ||||||
|     <file>page-indicator-checked.svg</file> |  | ||||||
|     <file>page-indicator-hover.svg</file> |  | ||||||
|     <file>process-working.svg</file> |     <file>process-working.svg</file> | ||||||
|     <file>running-indicator.svg</file> |  | ||||||
|     <file>source-button-border.svg</file> |  | ||||||
|     <file>summary-counter.svg</file> |  | ||||||
|     <file>toggle-off-us.svg</file> |     <file>toggle-off-us.svg</file> | ||||||
|     <file>toggle-off-intl.svg</file> |     <file>toggle-off-intl.svg</file> | ||||||
|     <file>toggle-off-hc.svg</file> |     <file>toggle-off-hc.svg</file> | ||||||
|     <file>toggle-on-us.svg</file> |     <file>toggle-on-us.svg</file> | ||||||
|     <file>toggle-on-intl.svg</file> |     <file>toggle-on-intl.svg</file> | ||||||
|     <file>toggle-on-hc.svg</file> |     <file>toggle-on-hc.svg</file> | ||||||
|     <file>ws-switch-arrow-up.png</file> |  | ||||||
|     <file>ws-switch-arrow-down.png</file> |  | ||||||
|   </gresource> |   </gresource> | ||||||
| </gresources> | </gresources> | ||||||
|   | |||||||
							
								
								
									
										5
									
								
								data/gnome-shell-wayland.target
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,5 @@ | |||||||
|  | [Unit] | ||||||
|  | Description=GNOME Shell (wayland sync point) | ||||||
|  | After=gnome-shell.service | ||||||
|  | BindsTo=gnome-shell.service | ||||||
|  | Conflicts=gnome-shell-x11.target | ||||||
							
								
								
									
										5
									
								
								data/gnome-shell-x11.target
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,5 @@ | |||||||
|  | [Unit] | ||||||
|  | Description=GNOME Shell (x11 sync point) | ||||||
|  | After=gnome-shell.service | ||||||
|  | BindsTo=gnome-shell.service | ||||||
|  | Conflicts=gnome-shell-wayland.target | ||||||
							
								
								
									
										11
									
								
								data/gnome-shell.service.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,11 @@ | |||||||
|  | [Unit] | ||||||
|  | Description=GNOME Shell | ||||||
|  | Wants=gnome-session.service | ||||||
|  | After=graphical-session-pre.target gnome-session-bus.target | ||||||
|  | PartOf=graphical-session.target | ||||||
|  |  | ||||||
|  | [Service] | ||||||
|  | Type=dbus | ||||||
|  | ExecStart=@bindir@/gnome-shell | ||||||
|  | Restart=on-failure | ||||||
|  | BusName=org.gnome.Shell | ||||||
| @@ -41,34 +41,25 @@ foreach service_file : service_files | |||||||
| endforeach | endforeach | ||||||
|  |  | ||||||
|  |  | ||||||
| dbus_interfaces = [ | subdir('dbus-interfaces') | ||||||
|   'org.gnome.Shell.PadOsd.xml', |  | ||||||
|   'org.gnome.Shell.Screencast.xml', |  | ||||||
|   'org.gnome.Shell.Screenshot.xml', |  | ||||||
|   'org.gnome.ShellSearchProvider.xml', |  | ||||||
|   'org.gnome.ShellSearchProvider2.xml' |  | ||||||
| ] |  | ||||||
| install_data(dbus_interfaces, install_dir: ifacedir) |  | ||||||
|  |  | ||||||
|  |  | ||||||
| subdir('theme') | subdir('theme') | ||||||
|  |  | ||||||
| theme_resources = gnome.compile_resources( | data_resources = [ | ||||||
|   'gnome-shell-theme', 'gnome-shell-theme.gresource.xml', |   ['dbus-interfaces', []], | ||||||
|   source_dir: 'theme', |   ['osk-layouts', []], | ||||||
|   dependencies: theme_deps, |   ['theme', theme_deps] | ||||||
|   gresource_bundle: true, | ] | ||||||
|   install: true, | foreach resource : data_resources | ||||||
|   install_dir: pkgdatadir |   gnome.compile_resources( | ||||||
| ) |     'gnome-shell-' + resource[0], | ||||||
|  |     'gnome-shell-@0@.gresource.xml'.format(resource[0]), | ||||||
| osk_layout_resources = gnome.compile_resources( |     source_dir: resource[0], | ||||||
|   'gnome-shell-osk-layouts', 'gnome-shell-osk-layouts.gresource.xml', |     dependencies: resource[1], | ||||||
|   source_dir: 'osk-layouts', |     gresource_bundle: true, | ||||||
|   gresource_bundle: true, |     install: true, | ||||||
|   install: true, |     install_dir: pkgdatadir | ||||||
|   install_dir: pkgdatadir |   ) | ||||||
| ) | endforeach | ||||||
|  |  | ||||||
| perfconf = configuration_data() | perfconf = configuration_data() | ||||||
| perfconf.set('datadir', datadir) | perfconf.set('datadir', datadir) | ||||||
| @@ -92,6 +83,33 @@ schema = configure_file( | |||||||
|   configuration: schemaconf, |   configuration: schemaconf, | ||||||
|   install_dir: schemadir |   install_dir: schemadir | ||||||
| ) | ) | ||||||
|  | install_data('00_org.gnome.shell.gschema.override', install_dir: schemadir) | ||||||
|  |  | ||||||
|  | overrides_migration_conf = configuration_data() | ||||||
|  | overrides_migration_conf.set('libexecdir', libexecdir) | ||||||
|  | overrides_migration = configure_file( | ||||||
|  |   input: 'gnome-shell-overrides-migration.desktop.in', | ||||||
|  |   output: 'gnome-shell-overrides-migration.desktop', | ||||||
|  |   configuration: overrides_migration_conf, | ||||||
|  |   install_dir: autostartdir | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | if have_systemd | ||||||
|  |   unitconf = configuration_data() | ||||||
|  |   unitconf.set('bindir', bindir) | ||||||
|  |  | ||||||
|  |   unit = configure_file( | ||||||
|  |     input: 'gnome-shell.service.in', | ||||||
|  |     output: 'gnome-shell.service', | ||||||
|  |     configuration: unitconf, | ||||||
|  |     install_dir: systemduserunitdir | ||||||
|  |   ) | ||||||
|  |  | ||||||
|  |   units = files('gnome-shell-wayland.target', | ||||||
|  |                 'gnome-shell-x11.target') | ||||||
|  |  | ||||||
|  |   install_data(units, install_dir: systemduserunitdir) | ||||||
|  | endif | ||||||
|  |  | ||||||
| # for unit tests - gnome.compile_schemas() only looks in srcdir | # for unit tests - gnome.compile_schemas() only looks in srcdir | ||||||
| custom_target('compile-schemas', | custom_target('compile-schemas', | ||||||
|   | |||||||
| @@ -190,6 +190,7 @@ | |||||||
|     </key> |     </key> | ||||||
|   </schema> |   </schema> | ||||||
|  |  | ||||||
|  |   <!-- unused, change 00_org.gnome.shell.gschema.override instead --> | ||||||
|   <schema id="org.gnome.shell.overrides" path="/org/gnome/shell/overrides/" |   <schema id="org.gnome.shell.overrides" path="/org/gnome/shell/overrides/" | ||||||
| 	  gettext-domain="@GETTEXT_PACKAGE@"> | 	  gettext-domain="@GETTEXT_PACKAGE@"> | ||||||
|     <key name="attach-modal-dialogs" type="b"> |     <key name="attach-modal-dialogs" type="b"> | ||||||
|   | |||||||
							
								
								
									
										559
									
								
								data/osk-layouts/in+mal.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,559 @@ | |||||||
|  | { | ||||||
|  |   "levels": [ | ||||||
|  |     { | ||||||
|  |       "level": "", | ||||||
|  |       "mode": "default", | ||||||
|  |       "rows": [ | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "െ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ൌ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ൈ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ാ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ീ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ൂ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ബ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഹ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഗ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ദ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ജ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഡ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "ോ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "േ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "്" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ി" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ു" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "പ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ര" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ക" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ത" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ച" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ട" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "െ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ം" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "മ", | ||||||
|  |             "ç" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ന" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "വ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ല", | ||||||
|  |             "ñ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "സ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഷ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "യ" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "," | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             " " | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ".", | ||||||
|  |             "#", | ||||||
|  |             "!", | ||||||
|  |             ",", | ||||||
|  |             "?", | ||||||
|  |             "-", | ||||||
|  |             ":", | ||||||
|  |             "'", | ||||||
|  |             "@" | ||||||
|  |           ] | ||||||
|  |         ] | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "level": "shift", | ||||||
|  |       "mode": "latched", | ||||||
|  |       "rows": [ | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "ഔ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഐ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ആ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഈ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഊ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഭ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ങ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഘ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ധ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഝ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഢ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഞ" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "ഓ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഏ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "അ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഇ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഉ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഫ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "റ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഖ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഥ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഛ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഠ" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "എ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ണ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ന" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഴ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ള" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ശ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "ഷ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "യ" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "," | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             " " | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ".", | ||||||
|  |             "#", | ||||||
|  |             "!", | ||||||
|  |             ",", | ||||||
|  |             "?", | ||||||
|  |             "-", | ||||||
|  |             ":", | ||||||
|  |             "'", | ||||||
|  |             "@" | ||||||
|  |           ] | ||||||
|  |         ] | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "level": "opt", | ||||||
|  |       "mode": "locked", | ||||||
|  |       "rows": [ | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "൧", | ||||||
|  |             "1", | ||||||
|  |             "¹", | ||||||
|  |             "½", | ||||||
|  |             "⅓", | ||||||
|  |             "¼", | ||||||
|  |             "⅛" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "൨", | ||||||
|  |             "2", | ||||||
|  |             "²", | ||||||
|  |             "⅔" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "൩", | ||||||
|  |             "3", | ||||||
|  |             "³", | ||||||
|  |             "¾", | ||||||
|  |             "⅜" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "൪", | ||||||
|  |             "4", | ||||||
|  |             "⁴" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "൫", | ||||||
|  |             "5", | ||||||
|  |             "⅝" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "൬", | ||||||
|  |             "6" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "൭", | ||||||
|  |             "7", | ||||||
|  |             "⅞" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "൮", | ||||||
|  |             "8" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "൯", | ||||||
|  |             "9" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "൦", | ||||||
|  |             "0", | ||||||
|  |             "ⁿ", | ||||||
|  |             "∅" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "@" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "#" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "₹", | ||||||
|  |             "$", | ||||||
|  |             "¢", | ||||||
|  |             "£", | ||||||
|  |             "€", | ||||||
|  |             "¥", | ||||||
|  |             "₱" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "%", | ||||||
|  |             "‰" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "&" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "-", | ||||||
|  |             "_", | ||||||
|  |             "–", | ||||||
|  |             "—", | ||||||
|  |             "·" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "+", | ||||||
|  |             "±" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "(", | ||||||
|  |             "<", | ||||||
|  |             "{", | ||||||
|  |             "[" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ")", | ||||||
|  |             ">", | ||||||
|  |             "}", | ||||||
|  |             "]" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "*", | ||||||
|  |             "†", | ||||||
|  |             "‡", | ||||||
|  |             "★" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "\"", | ||||||
|  |             "“", | ||||||
|  |             "”", | ||||||
|  |             "«", | ||||||
|  |             "»" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "'", | ||||||
|  |             "‘", | ||||||
|  |             "’", | ||||||
|  |             "‹", | ||||||
|  |             "›" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ":" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ";" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "!", | ||||||
|  |             "¡" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "?", | ||||||
|  |             "¿" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "_" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "/" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             " " | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "," | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ".", | ||||||
|  |             "…" | ||||||
|  |           ] | ||||||
|  |         ] | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "level": "opt+shift", | ||||||
|  |       "mode": "locked", | ||||||
|  |       "rows": [ | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "~" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "`" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "|" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "•", | ||||||
|  |             "♪", | ||||||
|  |             "♥", | ||||||
|  |             "♠", | ||||||
|  |             "♦", | ||||||
|  |             "♣" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "√" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "Π", | ||||||
|  |             "π" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "÷" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "×" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "¶", | ||||||
|  |             "§" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "∆" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "£" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "¢" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "€" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "¥" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "^", | ||||||
|  |             "↑", | ||||||
|  |             "↓", | ||||||
|  |             "←", | ||||||
|  |             "→" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "°", | ||||||
|  |             "′", | ||||||
|  |             "″" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "=", | ||||||
|  |             "≠", | ||||||
|  |             "≈", | ||||||
|  |             "∞" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "{" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "}" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "\\" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "©" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "®" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "™" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "℅" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "[" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "]" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "<", | ||||||
|  |             "‹", | ||||||
|  |             "≤", | ||||||
|  |             "«" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ">", | ||||||
|  |             "›", | ||||||
|  |             "≥", | ||||||
|  |             "»" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             " " | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "," | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ".", | ||||||
|  |             "…" | ||||||
|  |           ] | ||||||
|  |         ] | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "locale": "ml", | ||||||
|  |   "name": "Malayalam" | ||||||
|  | } | ||||||
| @@ -1,3 +0,0 @@ | |||||||
| To generate the css files, from the project directory: |  | ||||||
|  |  | ||||||
| sass --sourcemap=none --update . |  | ||||||
| @@ -1,31 +0,0 @@ | |||||||
| Summary |  | ||||||
| ------- |  | ||||||
|  |  | ||||||
| * Do not edit the CSS directly, edit the source SCSS files and the CSS files will be generated |  | ||||||
|   automatically when building with meson + ninja and left inside the build directory to be |  | ||||||
|   incorporated into the gresource XML (you'll need to have sassc installed). |  | ||||||
|  |  | ||||||
| How to tweak the theme |  | ||||||
| ---------------------- |  | ||||||
|  |  | ||||||
| Adwaita is a complex theme, so to keep it maintainable it's written and processed in SASS, the |  | ||||||
| generated CSS is then transformed into a gresource file during gtk build and used at runtime in a  |  | ||||||
| non-legible or editable form. |  | ||||||
|  |  | ||||||
| It is very likely your change will happen in the _common.scss file. That's where all the widget  |  | ||||||
| selectors are defined. Here's a rundown of the "supporting" stylesheets, that are unlikely to be the  |  | ||||||
| right place for a drive by stylesheet fix: |  | ||||||
|  |  | ||||||
| _colors.scss        - global color definitions. We keep the number of defined colors to a necessary minimum,  |  | ||||||
|                       most colors are derived from a handful of basics. It is an exact copy of the gtk+  |  | ||||||
|                       counterpart. Light theme is used for the classic theme and dark is for GNOME3 shell  |  | ||||||
|                       default. |  | ||||||
|  |  | ||||||
| _drawing.scss       - drawing helper mixings/functions to allow easier definition of widget drawing under |  | ||||||
|                       specific context. This is why Adwaita isn't 15000 LOC. |  | ||||||
|  |  | ||||||
| _common.scss        - actual definitions of style for each widget. This is where you are likely to add/remove |  | ||||||
|                       your changes. |  | ||||||
|                        |  | ||||||
| You can read about SASS at http://sass-lang.com/documentation/. Once you make your changes to the |  | ||||||
| _common.scss file, you can run ninja to generate the final CSS files. |  | ||||||
							
								
								
									
										32
									
								
								data/theme/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,32 @@ | |||||||
|  | ## Summary | ||||||
|  |  | ||||||
|  | Do not edit the CSS directly, edit the source SCSS files and the CSS files | ||||||
|  | will be generated automatically when building with meson + ninja and left | ||||||
|  | inside the build directory to be incorporated into the gresource XML (you'll | ||||||
|  | need to have sassc installed). | ||||||
|  |  | ||||||
|  | ## How to tweak the theme | ||||||
|  |  | ||||||
|  | Adwaita is a complex theme, so to keep it maintainable it's written and | ||||||
|  | processed in SASS, the generated CSS is then transformed into a gresource | ||||||
|  | file during gtk build and used at runtime in a non-legible or editable form. | ||||||
|  |  | ||||||
|  | It is very likely your change will happen in the [_common.scss][common] file. | ||||||
|  | That's where all the widget selectors are defined. Here's a rundown of | ||||||
|  | the "supporting" stylesheets, that are unlikely to be the right place | ||||||
|  | for a drive by stylesheet fix: | ||||||
|  |  | ||||||
|  | | File                     | Description       | | ||||||
|  | | ------------------------ | ----------------- | | ||||||
|  | | [_colors.scss][colors]   | global color definitions. We keep the number of defined colors to a necessary minimum,  most colors are derived from a handful of basics. It is an exact copy of the gtk+ counterpart. Light theme is used for the classic theme and dark is for GNOME3 shell default. | | ||||||
|  | | [_drawing.scss][drawing] | drawing helper mixings/functions to allow easier definition of widget drawing under specific context. This is why Adwaita isn't 15000 LOC. | | ||||||
|  | | [_common.scss][common]   | actual definitions of style for each widget. This is where you are likely to add/remove your changes. | | ||||||
|  |  | ||||||
|  | You can read about SASS on its [web page][sass-web]. Once you make your | ||||||
|  | changes to the [_common.scss][common] file, you can run ninja to generate the | ||||||
|  | final CSS files. | ||||||
|  |  | ||||||
|  | [common]: data/theme/gnome-shell-sass/_common.scss | ||||||
|  | [colors]: data/theme/gnome-shell-sass/_colors.scss | ||||||
|  | [drawing]: data/theme/gnome-shell-sass/_drawing.scss | ||||||
|  | [sass-web]: http://sass-lang.com/documentation/ | ||||||
| @@ -1,82 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |  | ||||||
| <!-- Created with Inkscape (http://www.inkscape.org/) --> |  | ||||||
|  |  | ||||||
| <svg |  | ||||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" |  | ||||||
|    xmlns:cc="http://creativecommons.org/ns#" |  | ||||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |  | ||||||
|    xmlns:svg="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |  | ||||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |  | ||||||
|    width="16" |  | ||||||
|    height="16" |  | ||||||
|    id="svg2" |  | ||||||
|    version="1.1" |  | ||||||
|    inkscape:version="0.48+devel r9942 custom" |  | ||||||
|    sodipodi:docname="New document 4"> |  | ||||||
|   <defs |  | ||||||
|      id="defs4" /> |  | ||||||
|   <sodipodi:namedview |  | ||||||
|      id="base" |  | ||||||
|      pagecolor="#ffffff" |  | ||||||
|      bordercolor="#666666" |  | ||||||
|      borderopacity="1.0" |  | ||||||
|      inkscape:pageopacity="0.0" |  | ||||||
|      inkscape:pageshadow="2" |  | ||||||
|      inkscape:zoom="1" |  | ||||||
|      inkscape:cx="8.984481" |  | ||||||
|      inkscape:cy="5.6224906" |  | ||||||
|      inkscape:document-units="px" |  | ||||||
|      inkscape:current-layer="layer1" |  | ||||||
|      showgrid="false" |  | ||||||
|      borderlayer="true" |  | ||||||
|      inkscape:showpageshadow="false" |  | ||||||
|      inkscape:window-width="930" |  | ||||||
|      inkscape:window-height="681" |  | ||||||
|      inkscape:window-x="1892" |  | ||||||
|      inkscape:window-y="272" |  | ||||||
|      inkscape:window-maximized="0"> |  | ||||||
|     <inkscape:grid |  | ||||||
|        type="xygrid" |  | ||||||
|        id="grid17403" |  | ||||||
|        empspacing="5" |  | ||||||
|        visible="true" |  | ||||||
|        enabled="true" |  | ||||||
|        snapvisiblegridlinesonly="true" /> |  | ||||||
|   </sodipodi:namedview> |  | ||||||
|   <metadata |  | ||||||
|      id="metadata7"> |  | ||||||
|     <rdf:RDF> |  | ||||||
|       <cc:Work |  | ||||||
|          rdf:about=""> |  | ||||||
|         <dc:format>image/svg+xml</dc:format> |  | ||||||
|         <dc:type |  | ||||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |  | ||||||
|         <dc:title></dc:title> |  | ||||||
|       </cc:Work> |  | ||||||
|     </rdf:RDF> |  | ||||||
|   </metadata> |  | ||||||
|   <g |  | ||||||
|      inkscape:label="Layer 1" |  | ||||||
|      inkscape:groupmode="layer" |  | ||||||
|      id="layer1" |  | ||||||
|      transform="translate(0,-1036.3622)"> |  | ||||||
|     <path |  | ||||||
|        sodipodi:type="star" |  | ||||||
|        style="fill:#5f5f5f;fill-opacity:1;stroke:#5f5f5f;stroke-width:0.43015847;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" |  | ||||||
|        id="path18028" |  | ||||||
|        sodipodi:sides="3" |  | ||||||
|        sodipodi:cx="84.5" |  | ||||||
|        sodipodi:cy="337.5" |  | ||||||
|        sodipodi:r1="5" |  | ||||||
|        sodipodi:r2="2.5" |  | ||||||
|        sodipodi:arg1="0.52359878" |  | ||||||
|        sodipodi:arg2="1.5707963" |  | ||||||
|        inkscape:flatsided="true" |  | ||||||
|        inkscape:rounded="0" |  | ||||||
|        inkscape:randomized="0" |  | ||||||
|        d="M 88.830127,340 80.169873,340 84.5,332.5 z" |  | ||||||
|        transform="matrix(0,1.3621708,0.99186247,0,-325.48222,929.32667)" /> |  | ||||||
|   </g> |  | ||||||
| </svg> |  | ||||||
| Before Width: | Height: | Size: 2.5 KiB | 
| @@ -1,82 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |  | ||||||
| <!-- Created with Inkscape (http://www.inkscape.org/) --> |  | ||||||
|  |  | ||||||
| <svg |  | ||||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" |  | ||||||
|    xmlns:cc="http://creativecommons.org/ns#" |  | ||||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |  | ||||||
|    xmlns:svg="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |  | ||||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |  | ||||||
|    width="16" |  | ||||||
|    height="16" |  | ||||||
|    id="svg2" |  | ||||||
|    version="1.1" |  | ||||||
|    inkscape:version="0.48+devel r9942 custom" |  | ||||||
|    sodipodi:docname="arrow-left.svg"> |  | ||||||
|   <defs |  | ||||||
|      id="defs4" /> |  | ||||||
|   <sodipodi:namedview |  | ||||||
|      id="base" |  | ||||||
|      pagecolor="#ffffff" |  | ||||||
|      bordercolor="#666666" |  | ||||||
|      borderopacity="1.0" |  | ||||||
|      inkscape:pageopacity="0.0" |  | ||||||
|      inkscape:pageshadow="2" |  | ||||||
|      inkscape:zoom="1" |  | ||||||
|      inkscape:cx="7.7366092" |  | ||||||
|      inkscape:cy="6.4536271" |  | ||||||
|      inkscape:document-units="px" |  | ||||||
|      inkscape:current-layer="layer1" |  | ||||||
|      showgrid="false" |  | ||||||
|      borderlayer="true" |  | ||||||
|      inkscape:showpageshadow="false" |  | ||||||
|      inkscape:window-width="930" |  | ||||||
|      inkscape:window-height="681" |  | ||||||
|      inkscape:window-x="1892" |  | ||||||
|      inkscape:window-y="272" |  | ||||||
|      inkscape:window-maximized="0"> |  | ||||||
|     <inkscape:grid |  | ||||||
|        type="xygrid" |  | ||||||
|        id="grid17403" |  | ||||||
|        empspacing="5" |  | ||||||
|        visible="true" |  | ||||||
|        enabled="true" |  | ||||||
|        snapvisiblegridlinesonly="true" /> |  | ||||||
|   </sodipodi:namedview> |  | ||||||
|   <metadata |  | ||||||
|      id="metadata7"> |  | ||||||
|     <rdf:RDF> |  | ||||||
|       <cc:Work |  | ||||||
|          rdf:about=""> |  | ||||||
|         <dc:format>image/svg+xml</dc:format> |  | ||||||
|         <dc:type |  | ||||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |  | ||||||
|         <dc:title></dc:title> |  | ||||||
|       </cc:Work> |  | ||||||
|     </rdf:RDF> |  | ||||||
|   </metadata> |  | ||||||
|   <g |  | ||||||
|      inkscape:label="Layer 1" |  | ||||||
|      inkscape:groupmode="layer" |  | ||||||
|      id="layer1" |  | ||||||
|      transform="translate(0,-1036.3622)"> |  | ||||||
|     <path |  | ||||||
|        sodipodi:type="star" |  | ||||||
|        style="fill:#5f5f5f;fill-opacity:1;stroke:#5f5f5f;stroke-width:0.43015847;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" |  | ||||||
|        id="path18028" |  | ||||||
|        sodipodi:sides="3" |  | ||||||
|        sodipodi:cx="84.5" |  | ||||||
|        sodipodi:cy="337.5" |  | ||||||
|        sodipodi:r1="5" |  | ||||||
|        sodipodi:r2="2.5" |  | ||||||
|        sodipodi:arg1="0.52359878" |  | ||||||
|        sodipodi:arg2="1.5707963" |  | ||||||
|        inkscape:flatsided="true" |  | ||||||
|        inkscape:rounded="0" |  | ||||||
|        inkscape:randomized="0" |  | ||||||
|        d="M 88.830127,340 80.169873,340 84.5,332.5 z" |  | ||||||
|        transform="matrix(0,1.3621708,-0.99186247,0,342.48324,929.32667)" /> |  | ||||||
|   </g> |  | ||||||
| </svg> |  | ||||||
| Before Width: | Height: | Size: 2.5 KiB | 
| @@ -1,81 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |  | ||||||
| <!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 14948)  --> |  | ||||||
|  |  | ||||||
| <svg |  | ||||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" |  | ||||||
|    xmlns:cc="http://creativecommons.org/ns#" |  | ||||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |  | ||||||
|    xmlns:svg="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |  | ||||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |  | ||||||
|    version="1.0" |  | ||||||
|    id="Foreground" |  | ||||||
|    x="0px" |  | ||||||
|    y="0px" |  | ||||||
|    width="32" |  | ||||||
|    height="32" |  | ||||||
|    viewBox="0 0 32 32" |  | ||||||
|    enable-background="new 0 0 16 16" |  | ||||||
|    xml:space="preserve" |  | ||||||
|    sodipodi:version="0.32" |  | ||||||
|    inkscape:version="0.92.2 5c3e80d, 2017-08-06" |  | ||||||
|    sodipodi:docname="close-window-active.svg" |  | ||||||
|    inkscape:output_extension="org.inkscape.output.svg.inkscape"><metadata |  | ||||||
|      id="metadata2399"><rdf:RDF><cc:Work |  | ||||||
|          rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type |  | ||||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs |  | ||||||
|      id="defs2397"><linearGradient |  | ||||||
|        id="linearGradient3173"><stop |  | ||||||
|          style="stop-color:#c4c4c4;stop-opacity:1;" |  | ||||||
|          offset="0" |  | ||||||
|          id="stop3175" /><stop |  | ||||||
|          style="stop-color:#ffffff;stop-opacity:1;" |  | ||||||
|          offset="1" |  | ||||||
|          id="stop3177" /></linearGradient><inkscape:perspective |  | ||||||
|        sodipodi:type="inkscape:persp3d" |  | ||||||
|        inkscape:vp_x="0 : 11 : 1" |  | ||||||
|        inkscape:vp_y="0 : 1375 : 0" |  | ||||||
|        inkscape:vp_z="22 : 11 : 1" |  | ||||||
|        inkscape:persp3d-origin="11 : 7.3333334 : 1" |  | ||||||
|        id="perspective2401" /></defs><sodipodi:namedview |  | ||||||
|      inkscape:window-height="1106" |  | ||||||
|      inkscape:window-width="1700" |  | ||||||
|      inkscape:pageshadow="2" |  | ||||||
|      inkscape:pageopacity="0" |  | ||||||
|      guidetolerance="10.0" |  | ||||||
|      gridtolerance="10.0" |  | ||||||
|      objecttolerance="10.0" |  | ||||||
|      borderopacity="1.0" |  | ||||||
|      bordercolor="#666666" |  | ||||||
|      pagecolor="#797979" |  | ||||||
|      id="base" |  | ||||||
|      showgrid="false" |  | ||||||
|      inkscape:zoom="4" |  | ||||||
|      inkscape:cx="28.483745" |  | ||||||
|      inkscape:cy="67.714004" |  | ||||||
|      inkscape:window-x="1427" |  | ||||||
|      inkscape:window-y="127" |  | ||||||
|      inkscape:current-layer="Foreground" |  | ||||||
|      showguides="true" |  | ||||||
|      inkscape:guide-bbox="true" |  | ||||||
|      borderlayer="true" |  | ||||||
|      inkscape:showpageshadow="false" |  | ||||||
|      inkscape:window-maximized="0" |  | ||||||
|      inkscape:document-rotation="0"><inkscape:grid |  | ||||||
|        type="xygrid" |  | ||||||
|        id="grid11246" |  | ||||||
|        empspacing="32" |  | ||||||
|        visible="true" |  | ||||||
|        enabled="true" |  | ||||||
|        snapvisiblegridlinesonly="true" /></sodipodi:namedview><path |  | ||||||
|      d="m 4.4362021,16 c 0,-6.410121 5.1728276,-11.60728 11.5529359,-11.60728 6.380109,0 11.552937,5.197159 11.552937,11.60728 0,6.410122 -5.172828,11.607281 -11.552937,11.607281 C 9.6090297,27.607281 4.4362021,22.410122 4.4362021,16 Z" |  | ||||||
|      id="path883" |  | ||||||
|      style="color:#000000;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;fill:#a5c8ec;fill-opacity:1;fill-rule:nonzero;stroke:#2975c4;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" |  | ||||||
|      sodipodi:nodetypes="csssc" |  | ||||||
|      inkscape:connector-curvature="0" /><path |  | ||||||
|      d="m 11.718386,11.764547 h 1.055207 c 0.01091,-1.26e-4 0.02193,-4.86e-4 0.03298,0 0.269026,0.01183 0.538019,0.135679 0.725455,0.329752 l 2.407192,2.407192 2.440166,-2.407192 c 0.28029,-0.243226 0.471333,-0.322366 0.725455,-0.329752 h 1.055207 v 1.055208 c 0,0.302285 -0.03623,0.581049 -0.263801,0.791405 l -2.407191,2.407191 2.374217,2.374216 c 0.198577,0.198559 0.296768,0.478484 0.296775,0.758432 v 1.055206 h -1.055211 c -0.279947,-10e-6 -0.559877,-0.09824 -0.75843,-0.296777 l -2.407192,-2.407192 -2.407192,2.407192 c -0.198551,0.198579 -0.478493,0.296777 -0.758429,0.296777 H 11.71839 v -1.055206 c -3e-6,-0.279936 0.0982,-0.559873 0.296777,-0.758432 L 14.422359,16.018351 12.015167,13.61116 C 11.79279,13.405784 11.69527,13.116003 11.71839,12.819755 Z" |  | ||||||
|      inkscape:connector-curvature="0" |  | ||||||
|      id="path887" |  | ||||||
|      style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale Mono';-inkscape-font-specification:'Andale Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#4a90d9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.87958801;marker:none;enable-background:new" |  | ||||||
|      sodipodi:nodetypes="ccsccccccccccccccccccccccc" /></svg> |  | ||||||
| Before Width: | Height: | Size: 4.6 KiB | 
| @@ -1,81 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |  | ||||||
| <!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 14948)  --> |  | ||||||
|  |  | ||||||
| <svg |  | ||||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" |  | ||||||
|    xmlns:cc="http://creativecommons.org/ns#" |  | ||||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |  | ||||||
|    xmlns:svg="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |  | ||||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |  | ||||||
|    version="1.0" |  | ||||||
|    id="Foreground" |  | ||||||
|    x="0px" |  | ||||||
|    y="0px" |  | ||||||
|    width="32" |  | ||||||
|    height="32" |  | ||||||
|    viewBox="0 0 32 32" |  | ||||||
|    enable-background="new 0 0 16 16" |  | ||||||
|    xml:space="preserve" |  | ||||||
|    sodipodi:version="0.32" |  | ||||||
|    inkscape:version="0.92.2 5c3e80d, 2017-08-06" |  | ||||||
|    sodipodi:docname="close-window-hover.svg" |  | ||||||
|    inkscape:output_extension="org.inkscape.output.svg.inkscape"><metadata |  | ||||||
|      id="metadata2399"><rdf:RDF><cc:Work |  | ||||||
|          rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type |  | ||||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs |  | ||||||
|      id="defs2397"><linearGradient |  | ||||||
|        id="linearGradient3173"><stop |  | ||||||
|          style="stop-color:#c4c4c4;stop-opacity:1;" |  | ||||||
|          offset="0" |  | ||||||
|          id="stop3175" /><stop |  | ||||||
|          style="stop-color:#ffffff;stop-opacity:1;" |  | ||||||
|          offset="1" |  | ||||||
|          id="stop3177" /></linearGradient><inkscape:perspective |  | ||||||
|        sodipodi:type="inkscape:persp3d" |  | ||||||
|        inkscape:vp_x="0 : 11 : 1" |  | ||||||
|        inkscape:vp_y="0 : 1375 : 0" |  | ||||||
|        inkscape:vp_z="22 : 11 : 1" |  | ||||||
|        inkscape:persp3d-origin="11 : 7.3333334 : 1" |  | ||||||
|        id="perspective2401" /></defs><sodipodi:namedview |  | ||||||
|      inkscape:window-height="1106" |  | ||||||
|      inkscape:window-width="1700" |  | ||||||
|      inkscape:pageshadow="2" |  | ||||||
|      inkscape:pageopacity="0" |  | ||||||
|      guidetolerance="10.0" |  | ||||||
|      gridtolerance="10.0" |  | ||||||
|      objecttolerance="10.0" |  | ||||||
|      borderopacity="1.0" |  | ||||||
|      bordercolor="#666666" |  | ||||||
|      pagecolor="#797979" |  | ||||||
|      id="base" |  | ||||||
|      showgrid="false" |  | ||||||
|      inkscape:zoom="4" |  | ||||||
|      inkscape:cx="28.483745" |  | ||||||
|      inkscape:cy="67.714004" |  | ||||||
|      inkscape:window-x="1427" |  | ||||||
|      inkscape:window-y="127" |  | ||||||
|      inkscape:current-layer="Foreground" |  | ||||||
|      showguides="true" |  | ||||||
|      inkscape:guide-bbox="true" |  | ||||||
|      borderlayer="true" |  | ||||||
|      inkscape:showpageshadow="false" |  | ||||||
|      inkscape:window-maximized="0" |  | ||||||
|      inkscape:document-rotation="0"><inkscape:grid |  | ||||||
|        type="xygrid" |  | ||||||
|        id="grid11246" |  | ||||||
|        empspacing="32" |  | ||||||
|        visible="true" |  | ||||||
|        enabled="true" |  | ||||||
|        snapvisiblegridlinesonly="true" /></sodipodi:namedview><path |  | ||||||
|      inkscape:connector-curvature="0" |  | ||||||
|      sodipodi:nodetypes="csssc" |  | ||||||
|      style="color:#000000;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;fill:#2975c4;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" |  | ||||||
|      id="path822" |  | ||||||
|      d="m 4.4362021,16 c 0,-6.410121 5.1728276,-11.60728 11.5529359,-11.60728 6.380109,0 11.552937,5.197159 11.552937,11.60728 0,6.410122 -5.172828,11.607281 -11.552937,11.607281 C 9.6090297,27.607281 4.4362021,22.410122 4.4362021,16 Z" /><path |  | ||||||
|      sodipodi:nodetypes="ccsccccccccccccccccccccccc" |  | ||||||
|      style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale Mono';-inkscape-font-specification:'Andale Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.87958801;marker:none;enable-background:new" |  | ||||||
|      id="path826" |  | ||||||
|      inkscape:connector-curvature="0" |  | ||||||
|      d="m 11.718386,11.764547 h 1.055207 c 0.01091,-1.26e-4 0.02193,-4.86e-4 0.03298,0 0.269026,0.01183 0.538019,0.135679 0.725455,0.329752 l 2.407192,2.407192 2.440166,-2.407192 c 0.28029,-0.243226 0.471333,-0.322366 0.725455,-0.329752 h 1.055207 v 1.055208 c 0,0.302285 -0.03623,0.581049 -0.263801,0.791405 l -2.407191,2.407191 2.374217,2.374216 c 0.198577,0.198559 0.296768,0.478484 0.296775,0.758432 v 1.055206 h -1.055211 c -0.279947,-10e-6 -0.559877,-0.09824 -0.75843,-0.296777 l -2.407192,-2.407192 -2.407192,2.407192 c -0.198551,0.198579 -0.478493,0.296777 -0.758429,0.296777 H 11.71839 v -1.055206 c -3e-6,-0.279936 0.0982,-0.559873 0.296777,-0.758432 L 14.422359,16.018351 12.015167,13.61116 C 11.79279,13.405784 11.69527,13.116003 11.71839,12.819755 Z" /></svg> |  | ||||||
| Before Width: | Height: | Size: 4.6 KiB | 
| @@ -1,85 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |  | ||||||
| <!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 14948)  --> |  | ||||||
|  |  | ||||||
| <svg |  | ||||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" |  | ||||||
|    xmlns:cc="http://creativecommons.org/ns#" |  | ||||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |  | ||||||
|    xmlns:svg="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |  | ||||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |  | ||||||
|    version="1.0" |  | ||||||
|    id="Foreground" |  | ||||||
|    x="0px" |  | ||||||
|    y="0px" |  | ||||||
|    width="32" |  | ||||||
|    height="32" |  | ||||||
|    viewBox="0 0 32 32" |  | ||||||
|    enable-background="new 0 0 16 16" |  | ||||||
|    xml:space="preserve" |  | ||||||
|    sodipodi:version="0.32" |  | ||||||
|    inkscape:version="0.92.2 5c3e80d, 2017-08-06" |  | ||||||
|    sodipodi:docname="close-window.svg" |  | ||||||
|    inkscape:output_extension="org.inkscape.output.svg.inkscape"><metadata |  | ||||||
|      id="metadata2399"><rdf:RDF><cc:Work |  | ||||||
|          rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type |  | ||||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs |  | ||||||
|      id="defs2397"><linearGradient |  | ||||||
|        id="linearGradient3173"><stop |  | ||||||
|          style="stop-color:#c4c4c4;stop-opacity:1;" |  | ||||||
|          offset="0" |  | ||||||
|          id="stop3175" /><stop |  | ||||||
|          style="stop-color:#ffffff;stop-opacity:1;" |  | ||||||
|          offset="1" |  | ||||||
|          id="stop3177" /></linearGradient><inkscape:perspective |  | ||||||
|        sodipodi:type="inkscape:persp3d" |  | ||||||
|        inkscape:vp_x="0 : 11 : 1" |  | ||||||
|        inkscape:vp_y="0 : 1375 : 0" |  | ||||||
|        inkscape:vp_z="22 : 11 : 1" |  | ||||||
|        inkscape:persp3d-origin="11 : 7.3333334 : 1" |  | ||||||
|        id="perspective2401" /></defs><sodipodi:namedview |  | ||||||
|      inkscape:window-height="1106" |  | ||||||
|      inkscape:window-width="1700" |  | ||||||
|      inkscape:pageshadow="2" |  | ||||||
|      inkscape:pageopacity="0" |  | ||||||
|      guidetolerance="10.0" |  | ||||||
|      gridtolerance="10.0" |  | ||||||
|      objecttolerance="10.0" |  | ||||||
|      borderopacity="1.0" |  | ||||||
|      bordercolor="#666666" |  | ||||||
|      pagecolor="#797979" |  | ||||||
|      id="base" |  | ||||||
|      showgrid="false" |  | ||||||
|      inkscape:zoom="4" |  | ||||||
|      inkscape:cx="28.483745" |  | ||||||
|      inkscape:cy="67.714004" |  | ||||||
|      inkscape:window-x="1427" |  | ||||||
|      inkscape:window-y="127" |  | ||||||
|      inkscape:current-layer="Foreground" |  | ||||||
|      showguides="true" |  | ||||||
|      inkscape:guide-bbox="true" |  | ||||||
|      borderlayer="true" |  | ||||||
|      inkscape:showpageshadow="false" |  | ||||||
|      inkscape:window-maximized="0" |  | ||||||
|      inkscape:document-rotation="0"><inkscape:grid |  | ||||||
|        type="xygrid" |  | ||||||
|        id="grid11246" |  | ||||||
|        empspacing="32" |  | ||||||
|        visible="true" |  | ||||||
|        enabled="true" |  | ||||||
|        snapvisiblegridlinesonly="true" /></sodipodi:namedview><path |  | ||||||
|      d="m 4.4362021,15.860384 c 0,-6.410121 5.1728276,-11.60728 11.5529359,-11.60728 6.380109,0 11.552937,5.197159 11.552937,11.60728 0,6.410122 -5.172828,11.607281 -11.552937,11.607281 -6.3801083,0 -11.5529359,-5.197159 -11.5529359,-11.607281 z" |  | ||||||
|      id="path2394-32" |  | ||||||
|      style="color:#000000;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#2975c4;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" |  | ||||||
|      sodipodi:nodetypes="csssc" |  | ||||||
|      inkscape:connector-curvature="0" /><path |  | ||||||
|      style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.49900004;fill:#4a90d9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.74932218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" |  | ||||||
|      d="m 6.4654832,15.001321 c -0.025906,0.288419 -0.044417,0.579469 -0.044417,0.874662 0,5.313347 4.2883848,9.621271 9.5768588,9.621271 5.288466,0 9.575143,-4.307924 9.575143,-9.621271 0,-0.295193 -0.01852,-0.586243 -0.04441,-0.874662 -0.440376,4.903023 -4.536071,8.746611 -9.53073,8.746611 -4.994659,0 -9.0920617,-3.843588 -9.5324391,-8.746611 z" |  | ||||||
|      id="path2561" |  | ||||||
|      inkscape:connector-curvature="0" /><path |  | ||||||
|      d="m 11.718386,11.639547 h 1.055207 c 0.01091,-1.26e-4 0.02193,-4.86e-4 0.03298,0 0.269026,0.01183 0.538019,0.135679 0.725455,0.329752 l 2.407192,2.407192 2.440166,-2.407192 c 0.28029,-0.243226 0.471333,-0.322366 0.725455,-0.329752 h 1.055207 v 1.055208 c 0,0.302285 -0.03623,0.581049 -0.263801,0.791405 l -2.407191,2.407191 2.374217,2.374216 c 0.198577,0.198559 0.296768,0.478484 0.296775,0.758432 v 1.055206 h -1.055211 c -0.279947,-10e-6 -0.559877,-0.09824 -0.75843,-0.296777 l -2.407192,-2.407192 -2.407192,2.407192 c -0.198551,0.198579 -0.478493,0.296777 -0.758429,0.296777 H 11.71839 v -1.055206 c -3e-6,-0.279936 0.0982,-0.559873 0.296777,-0.758432 L 14.422359,15.893351 12.015167,13.48616 C 11.79279,13.280784 11.69527,12.991003 11.71839,12.694755 Z" |  | ||||||
|      inkscape:connector-curvature="0" |  | ||||||
|      id="path27279-0-5" |  | ||||||
|      style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale Mono';-inkscape-font-specification:'Andale Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#4a90d9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.87958801;marker:none;enable-background:new" |  | ||||||
|      sodipodi:nodetypes="ccsccccccccccccccccccccccc" /></svg> |  | ||||||
| Before Width: | Height: | Size: 5.3 KiB | 
| @@ -1,74 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |  | ||||||
| <!-- Generator: Adobe Illustrator 13.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 14948)  --> |  | ||||||
| <svg |  | ||||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" |  | ||||||
|    xmlns:cc="http://creativecommons.org/ns#" |  | ||||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |  | ||||||
|    xmlns:svg="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns:xlink="http://www.w3.org/1999/xlink" |  | ||||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |  | ||||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |  | ||||||
|    version="1.1" |  | ||||||
|    id="Foreground" |  | ||||||
|    x="0px" |  | ||||||
|    y="0px" |  | ||||||
|    width="16px" |  | ||||||
|    height="16px" |  | ||||||
|    viewBox="0 0 16 16" |  | ||||||
|    enable-background="new 0 0 16 16" |  | ||||||
|    xml:space="preserve" |  | ||||||
|    sodipodi:version="0.32" |  | ||||||
|    inkscape:version="0.46" |  | ||||||
|    sodipodi:docname="x_circle_16.svg" |  | ||||||
|    inkscape:output_extension="org.inkscape.output.svg.inkscape"><metadata |  | ||||||
|    id="metadata2399"><rdf:RDF><cc:Work |  | ||||||
|        rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type |  | ||||||
|          rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs |  | ||||||
|    id="defs2397"><linearGradient |  | ||||||
|      id="linearGradient3173"><stop |  | ||||||
|        style="stop-color:#c4c4c4;stop-opacity:1;" |  | ||||||
|        offset="0" |  | ||||||
|        id="stop3175" /><stop |  | ||||||
|        style="stop-color:#ffffff;stop-opacity:1;" |  | ||||||
|        offset="1" |  | ||||||
|        id="stop3177" /></linearGradient><inkscape:perspective |  | ||||||
|      sodipodi:type="inkscape:persp3d" |  | ||||||
|      inkscape:vp_x="0 : 8 : 1" |  | ||||||
|      inkscape:vp_y="0 : 1000 : 0" |  | ||||||
|      inkscape:vp_z="16 : 8 : 1" |  | ||||||
|      inkscape:persp3d-origin="8 : 5.3333333 : 1" |  | ||||||
|      id="perspective2401" /><linearGradient |  | ||||||
|      inkscape:collect="always" |  | ||||||
|      xlink:href="#linearGradient3173" |  | ||||||
|      id="linearGradient3179" |  | ||||||
|      x1="7.844358" |  | ||||||
|      y1="16" |  | ||||||
|      x2="7.7198443" |  | ||||||
|      y2="-0.062256809" |  | ||||||
|      gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview |  | ||||||
|    inkscape:window-height="713" |  | ||||||
|    inkscape:window-width="1197" |  | ||||||
|    inkscape:pageshadow="2" |  | ||||||
|    inkscape:pageopacity="0.0" |  | ||||||
|    guidetolerance="10.0" |  | ||||||
|    gridtolerance="10.0" |  | ||||||
|    objecttolerance="10.0" |  | ||||||
|    borderopacity="1.0" |  | ||||||
|    bordercolor="#666666" |  | ||||||
|    pagecolor="#ffffff" |  | ||||||
|    id="base" |  | ||||||
|    showgrid="false" |  | ||||||
|    inkscape:zoom="32.125" |  | ||||||
|    inkscape:cx="8" |  | ||||||
|    inkscape:cy="8" |  | ||||||
|    inkscape:window-x="40" |  | ||||||
|    inkscape:window-y="40" |  | ||||||
|    inkscape:current-layer="Foreground" /> |  | ||||||
| <path |  | ||||||
|    fill-rule="evenodd" |  | ||||||
|    clip-rule="evenodd" |  | ||||||
|    d="M10.5,3.5l2,2L10,8l2.5,2.5l-2,2L8,10l-2.5,2.5l-2-2L6,8L3.5,5.5l2-2L8,6L10.5,3.5  z M0,8c0-4.418,3.582-8,8-8s8,3.582,8,8s-3.582,8-8,8S0,12.418,0,8z" |  | ||||||
|    id="path2394" |  | ||||||
|    style="fill-opacity:1;fill:url(#linearGradient3179)" /> |  | ||||||
| </svg> |  | ||||||
| Before Width: | Height: | Size: 2.6 KiB | 
| Before Width: | Height: | Size: 2.4 KiB | 
| Before Width: | Height: | Size: 2.3 KiB | 
| @@ -1,81 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |  | ||||||
| <!-- Created with Inkscape (http://www.inkscape.org/) --> |  | ||||||
|  |  | ||||||
| <svg |  | ||||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" |  | ||||||
|    xmlns:cc="http://creativecommons.org/ns#" |  | ||||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |  | ||||||
|    xmlns:svg="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |  | ||||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |  | ||||||
|    width="10" |  | ||||||
|    height="20" |  | ||||||
|    id="svg10003" |  | ||||||
|    version="1.1" |  | ||||||
|    inkscape:version="0.47 r22583" |  | ||||||
|    sodipodi:docname="filter-selected.svg"> |  | ||||||
|   <defs |  | ||||||
|      id="defs10005"> |  | ||||||
|     <inkscape:perspective |  | ||||||
|        sodipodi:type="inkscape:persp3d" |  | ||||||
|        inkscape:vp_x="0 : 32 : 1" |  | ||||||
|        inkscape:vp_y="0 : 1000 : 0" |  | ||||||
|        inkscape:vp_z="64 : 32 : 1" |  | ||||||
|        inkscape:persp3d-origin="32 : 21.333333 : 1" |  | ||||||
|        id="perspective10011" /> |  | ||||||
|     <inkscape:perspective |  | ||||||
|        id="perspective9998" |  | ||||||
|        inkscape:persp3d-origin="0.5 : 0.33333333 : 1" |  | ||||||
|        inkscape:vp_z="1 : 0.5 : 1" |  | ||||||
|        inkscape:vp_y="0 : 1000 : 0" |  | ||||||
|        inkscape:vp_x="0 : 0.5 : 1" |  | ||||||
|        sodipodi:type="inkscape:persp3d" /> |  | ||||||
|   </defs> |  | ||||||
|   <sodipodi:namedview |  | ||||||
|      id="base" |  | ||||||
|      pagecolor="#ffffff" |  | ||||||
|      bordercolor="#666666" |  | ||||||
|      borderopacity="1.0" |  | ||||||
|      inkscape:pageopacity="0.0" |  | ||||||
|      inkscape:pageshadow="2" |  | ||||||
|      inkscape:zoom="5.5" |  | ||||||
|      inkscape:cx="32" |  | ||||||
|      inkscape:cy="10.181818" |  | ||||||
|      inkscape:current-layer="layer1" |  | ||||||
|      showgrid="true" |  | ||||||
|      inkscape:document-units="px" |  | ||||||
|      inkscape:grid-bbox="true" |  | ||||||
|      inkscape:window-width="1680" |  | ||||||
|      inkscape:window-height="994" |  | ||||||
|      inkscape:window-x="0" |  | ||||||
|      inkscape:window-y="26" |  | ||||||
|      inkscape:window-maximized="1" /> |  | ||||||
|   <metadata |  | ||||||
|      id="metadata10008"> |  | ||||||
|     <rdf:RDF> |  | ||||||
|       <cc:Work |  | ||||||
|          rdf:about=""> |  | ||||||
|         <dc:format>image/svg+xml</dc:format> |  | ||||||
|         <dc:type |  | ||||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |  | ||||||
|         <dc:title /> |  | ||||||
|       </cc:Work> |  | ||||||
|     </rdf:RDF> |  | ||||||
|   </metadata> |  | ||||||
|   <g |  | ||||||
|      id="layer1" |  | ||||||
|      inkscape:label="Layer 1" |  | ||||||
|      inkscape:groupmode="layer" |  | ||||||
|      transform="translate(0,-44)"> |  | ||||||
|     <path |  | ||||||
|        inkscape:export-ydpi="90" |  | ||||||
|        inkscape:export-xdpi="90" |  | ||||||
|        inkscape:export-filename="/home/jimmac/src/cvs/gnome/gnome-shell-design/mockups/app-picker.png" |  | ||||||
|        sodipodi:nodetypes="cccc" |  | ||||||
|        inkscape:connector-curvature="0" |  | ||||||
|        id="rect34320" |  | ||||||
|        d="m -0.18726572,54.181804 10.55634072,10.55636 10e-6,-21.11269 z" |  | ||||||
|        style="opacity:0.21000001;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.99999988;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |  | ||||||
|   </g> |  | ||||||
| </svg> |  | ||||||
| Before Width: | Height: | Size: 2.6 KiB | 
| @@ -1,81 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |  | ||||||
| <!-- Created with Inkscape (http://www.inkscape.org/) --> |  | ||||||
|  |  | ||||||
| <svg |  | ||||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" |  | ||||||
|    xmlns:cc="http://creativecommons.org/ns#" |  | ||||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |  | ||||||
|    xmlns:svg="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |  | ||||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |  | ||||||
|    width="10" |  | ||||||
|    height="20" |  | ||||||
|    id="svg10003" |  | ||||||
|    version="1.1" |  | ||||||
|    inkscape:version="0.48.1 r9760" |  | ||||||
|    sodipodi:docname="filter-selected-ltr.svg"> |  | ||||||
|   <defs |  | ||||||
|      id="defs10005"> |  | ||||||
|     <inkscape:perspective |  | ||||||
|        sodipodi:type="inkscape:persp3d" |  | ||||||
|        inkscape:vp_x="0 : 32 : 1" |  | ||||||
|        inkscape:vp_y="0 : 1000 : 0" |  | ||||||
|        inkscape:vp_z="64 : 32 : 1" |  | ||||||
|        inkscape:persp3d-origin="32 : 21.333333 : 1" |  | ||||||
|        id="perspective10011" /> |  | ||||||
|     <inkscape:perspective |  | ||||||
|        id="perspective9998" |  | ||||||
|        inkscape:persp3d-origin="0.5 : 0.33333333 : 1" |  | ||||||
|        inkscape:vp_z="1 : 0.5 : 1" |  | ||||||
|        inkscape:vp_y="0 : 1000 : 0" |  | ||||||
|        inkscape:vp_x="0 : 0.5 : 1" |  | ||||||
|        sodipodi:type="inkscape:persp3d" /> |  | ||||||
|   </defs> |  | ||||||
|   <sodipodi:namedview |  | ||||||
|      id="base" |  | ||||||
|      pagecolor="#ffffff" |  | ||||||
|      bordercolor="#666666" |  | ||||||
|      borderopacity="1.0" |  | ||||||
|      inkscape:pageopacity="0" |  | ||||||
|      inkscape:pageshadow="2" |  | ||||||
|      inkscape:zoom="5.5" |  | ||||||
|      inkscape:cx="32.363636" |  | ||||||
|      inkscape:cy="10.181818" |  | ||||||
|      inkscape:current-layer="layer1" |  | ||||||
|      showgrid="true" |  | ||||||
|      inkscape:document-units="px" |  | ||||||
|      inkscape:grid-bbox="true" |  | ||||||
|      inkscape:window-width="1440" |  | ||||||
|      inkscape:window-height="839" |  | ||||||
|      inkscape:window-x="0" |  | ||||||
|      inkscape:window-y="26" |  | ||||||
|      inkscape:window-maximized="1" /> |  | ||||||
|   <metadata |  | ||||||
|      id="metadata10008"> |  | ||||||
|     <rdf:RDF> |  | ||||||
|       <cc:Work |  | ||||||
|          rdf:about=""> |  | ||||||
|         <dc:format>image/svg+xml</dc:format> |  | ||||||
|         <dc:type |  | ||||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |  | ||||||
|         <dc:title></dc:title> |  | ||||||
|       </cc:Work> |  | ||||||
|     </rdf:RDF> |  | ||||||
|   </metadata> |  | ||||||
|   <g |  | ||||||
|      id="layer1" |  | ||||||
|      inkscape:label="Layer 1" |  | ||||||
|      inkscape:groupmode="layer" |  | ||||||
|      transform="translate(0,-44)"> |  | ||||||
|     <path |  | ||||||
|        inkscape:export-ydpi="90" |  | ||||||
|        inkscape:export-xdpi="90" |  | ||||||
|        inkscape:export-filename="/home/jimmac/src/cvs/gnome/gnome-shell-design/mockups/app-picker.png" |  | ||||||
|        sodipodi:nodetypes="cccc" |  | ||||||
|        inkscape:connector-curvature="0" |  | ||||||
|        id="rect34320" |  | ||||||
|        d="m 10.369085,54.181804 -10.55634072,10.55636 -1e-5,-21.11269 z" |  | ||||||
|        style="opacity:0.21000001;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.99999988;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |  | ||||||
|   </g> |  | ||||||
| </svg> |  | ||||||
| Before Width: | Height: | Size: 2.7 KiB | 
| @@ -1,6 +0,0 @@ | |||||||
| --- Generating the css file --- |  | ||||||
|  |  | ||||||
| You need sass to generate the css file. |  | ||||||
|  |  | ||||||
| To generate them run from a command line in the project directory: |  | ||||||
| sass --sourcemap=none --update ./ |  | ||||||
| @@ -1,7 +0,0 @@ | |||||||
| GNOME Shell Sass is a project intended to allow the sharing of the theme sources in sass between gnome-shell and other projects like gnome-shell-extensions. |  | ||||||
|  |  | ||||||
| License |  | ||||||
| ======= |  | ||||||
| GNOME Shell Sass is distributed under the terms of the GNU General Public License, |  | ||||||
| version 2 or later. See the COPYING file for details. |  | ||||||
|  |  | ||||||
							
								
								
									
										16
									
								
								data/theme/gnome-shell-sass/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,16 @@ | |||||||
|  | # GNOME Shell Sass | ||||||
|  | GNOME Shell Sass is a project intended to allow the sharing of the | ||||||
|  | theme sources in sass between gnome-shell and other projects like | ||||||
|  | gnome-shell-extensions. | ||||||
|  |  | ||||||
|  | Any changes should be done in the [GNOME Shell subtree][shell-subtree] | ||||||
|  | and not the stand-alone [gnome-shell-sass repository][sass-repo]. They | ||||||
|  | will then be synchronized periodically before releases. | ||||||
|  |  | ||||||
|  | ## License | ||||||
|  | GNOME Shell Sass is distributed under the terms of the GNU General Public | ||||||
|  | License, version 2 or later. See the [COPYING][license] file for details. | ||||||
|  |  | ||||||
|  | [shell-subtree]: https://gitlab.gnome.org/GNOME/gnome-shell/tree/master/data/theme/gnome-shell-sass | ||||||
|  | [sass-repo]: https://gitlab.gnome.org/GNOME/gnome-shell-sass | ||||||
|  | [license]: COPYING | ||||||
| @@ -48,17 +48,18 @@ stage { | |||||||
|   padding: 4px 32px; |   padding: 4px 32px; | ||||||
|   @include button(normal); |   @include button(normal); | ||||||
|   &:focus { @include button(focus); } |   &:focus { @include button(focus); } | ||||||
|  |   &:hover { @include button(hover); } | ||||||
|   &:insensitive { @include button(insensitive); } |   &:insensitive { @include button(insensitive); } | ||||||
|   &:active { @include button(active); } |   &:active { @include button(active); } | ||||||
|  |  | ||||||
| } | } | ||||||
|  |  | ||||||
| .modal-dialog-linked-button { | .modal-dialog-linked-button { | ||||||
|   border-right-width: 1px; |   border-right-width: 1px; | ||||||
|   @include button(normal); |   @include button(normal); | ||||||
|   &:insensitive { @include button(insensitive); } |   &:insensitive { @include button(insensitive); } | ||||||
|   &:active { @include button(active); } |   &:hover { @include button(hover); } | ||||||
|   &:focus { @include button(focus); } |   &:focus { @include button(focus); } | ||||||
|  |   &:active { @include button(active); } | ||||||
|   padding: 12px; |   padding: 12px; | ||||||
|  |  | ||||||
|   &:first-child { |   &:first-child { | ||||||
| @@ -128,12 +129,15 @@ StScrollBar { | |||||||
|  |  | ||||||
| .slider { | .slider { | ||||||
|   height: 1em; |   height: 1em; | ||||||
|   -slider-height: 0.3em; |   -barlevel-height: 0.3em; | ||||||
|   -slider-background-color: $insensitive_bg_color; //background of the trough |   -barlevel-background-color: $insensitive_bg_color; //background of the trough | ||||||
|   -slider-border-color: $borders_color; //trough border color |   -barlevel-border-color: $borders_color; //trough border color | ||||||
|   -slider-active-background-color: $selected_bg_color; //active trough fill |   -barlevel-active-background-color: $selected_bg_color; //active trough fill | ||||||
|   -slider-active-border-color: darken($selected_bg_color,10%); //active trough border |   -barlevel-active-border-color: darken($selected_bg_color,10%); //active trough border | ||||||
|   -slider-border-width: 1px; |   -barlevel-overdrive-color: $destructive_color; | ||||||
|  |   -barlevel-overdrive-border-color: darken($destructive_color,10%); | ||||||
|  |   -barlevel-overdrive-separator-width: 0.2em; | ||||||
|  |   -barlevel-border-width: 1px; | ||||||
|   -slider-handle-radius: 6px; |   -slider-handle-radius: 6px; | ||||||
| } | } | ||||||
|  |  | ||||||
| @@ -585,13 +589,11 @@ StScrollBar { | |||||||
|   .osd-monitor-label { font-size: 3em; } |   .osd-monitor-label { font-size: 3em; } | ||||||
|   .level { |   .level { | ||||||
|     height: 0.6em; |     height: 0.6em; | ||||||
|     border-radius: 0.3em; |     -barlevel-height: 0.6em; | ||||||
|     background-color: transparentize(darken($osd_bg_color,15%),0.5); |     -barlevel-background-color: transparentize(darken($osd_bg_color,15%),0.5); | ||||||
|     color: $osd_fg_color; |     -barlevel-active-background-color: $osd_fg_color; | ||||||
|   } |     -barlevel-overdrive-color: $destructive_color; | ||||||
|   .level-bar { |     -barlevel-overdrive-separator-width: 0.2em; | ||||||
|     background-color: $osd_fg_color; |  | ||||||
|     border-radius: 0.3em; |  | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
| @@ -687,7 +689,6 @@ StScrollBar { | |||||||
|     height: 50px; |     height: 50px; | ||||||
|     background-color: $selected_bg_color; |     background-color: $selected_bg_color; | ||||||
|     color: $selected_fg_color; |     color: $selected_fg_color; | ||||||
|     //background-image: url("resource:///org/gnome/shell/theme/ws-switch-arrow-up.png"); |  | ||||||
|     background-size: 32px; |     background-size: 32px; | ||||||
|     border-radius: 8px; |     border-radius: 8px; | ||||||
|   } |   } | ||||||
| @@ -733,6 +734,7 @@ StScrollBar { | |||||||
|   transition-duration: 500ms; |   transition-duration: 500ms; | ||||||
|   font-weight: bold; |   font-weight: bold; | ||||||
|   height: 1.86em; |   height: 1.86em; | ||||||
|  |   font-feature-settings: "tnum"; | ||||||
|  |  | ||||||
|   &.unlock-screen, |   &.unlock-screen, | ||||||
|   &.login-screen, |   &.login-screen, | ||||||
| @@ -824,6 +826,8 @@ StScrollBar { | |||||||
|  |  | ||||||
|   .screencast-indicator { color: $warning_color; } |   .screencast-indicator { color: $warning_color; } | ||||||
|  |  | ||||||
|  |   .remote-access-indicator { color: $warning_color; } | ||||||
|  |  | ||||||
|   &.solid { |   &.solid { | ||||||
|     background-color: black; |     background-color: black; | ||||||
|     /* transition from transparent to solid */ |     /* transition from transparent to solid */ | ||||||
| @@ -934,7 +938,6 @@ StScrollBar { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     .pager-button { |     .pager-button { | ||||||
|       color: white; |  | ||||||
|       background-color: transparent; |       background-color: transparent; | ||||||
|       width: 32px; |       width: 32px; | ||||||
|       border-radius: 4px; |       border-radius: 4px; | ||||||
| @@ -942,13 +945,8 @@ StScrollBar { | |||||||
|       &:active { background-color: transparentize($bg_color,0.95); } |       &:active { background-color: transparentize($bg_color,0.95); } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|       .calendar-change-month-back { //arrow back |       .calendar-change-month-back StIcon, .calendar-change-month-forward StIcon { // arrows | ||||||
|         background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-left.svg"); |         icon-size: 1.09em; | ||||||
|         &:rtl { background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-right.svg"); } |  | ||||||
|       } |  | ||||||
|       .calendar-change-month-forward { //arrow foreward |  | ||||||
|         background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-right.svg"); |  | ||||||
|         &:rtl { background-image: url("resource:///org/gnome/shell/theme/calendar-arrow-left.svg"); } |  | ||||||
|       } |       } | ||||||
|  |  | ||||||
|     .calendar-day-base { |     .calendar-day-base { | ||||||
| @@ -958,6 +956,7 @@ StScrollBar { | |||||||
|       padding: 0.1em; |       padding: 0.1em; | ||||||
|       margin: 2px; |       margin: 2px; | ||||||
|       border-radius: 1.4em; |       border-radius: 1.4em; | ||||||
|  |       font-feature-settings: "tnum"; | ||||||
|       &:hover,&:focus { background-color: lighten($bg_color,5%); } |       &:hover,&:focus { background-color: lighten($bg_color,5%); } | ||||||
|       &:active,&:selected { |       &:active,&:selected { | ||||||
|         color: lighten($selected_fg_color,5%); |         color: lighten($selected_fg_color,5%); | ||||||
| @@ -1120,6 +1119,7 @@ StScrollBar { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   .system-menu-action { |   .system-menu-action { | ||||||
|  |     -st-icon-style: symbolic; | ||||||
|     color: $fg_color; |     color: $fg_color; | ||||||
|     border-radius: 32px; /* wish we could do 50% */ |     border-radius: 32px; /* wish we could do 50% */ | ||||||
|     padding: 13px; |     padding: 13px; | ||||||
| @@ -1136,17 +1136,16 @@ StScrollBar { | |||||||
|     & > StIcon { icon-size: 16px; } |     & > StIcon { icon-size: 16px; } | ||||||
|   } |   } | ||||||
|  |  | ||||||
| //Activities Ripples | // Activities Ripples | ||||||
| .ripple-box { | .ripple-box { | ||||||
|   width: 52px; |   width: 52px; | ||||||
|   height: 52px; |   height: 52px; | ||||||
|   background-image: url("resource:///org/gnome/shell/theme/corner-ripple-ltr.png"); |   border-radius: 0 0 52px 0; // radius the size of the box give us the curve | ||||||
|   background-size: contain; |   background-color: lighten(transparentize($selected_bg_color, 0.7), 40%); | ||||||
|  |   box-shadow: 0 0 2px 2px lighten($selected_bg_color, 20%); | ||||||
| } | } | ||||||
|  |  | ||||||
| .ripple-box:rtl { | .ripple-box:rtl { border-radius: 0 0 0 52px; } // just a simple change to the border radius position | ||||||
|   background-image: url("resource:///org/gnome/shell/theme/corner-ripple-rtl.png"); |  | ||||||
| } |  | ||||||
|  |  | ||||||
| // not really top bar only | // not really top bar only | ||||||
| .popup-menu-arrow { width: 16px; height: 16px; } | .popup-menu-arrow { width: 16px; height: 16px; } | ||||||
| @@ -1155,14 +1154,26 @@ StScrollBar { | |||||||
| //close buttons | //close buttons | ||||||
|  |  | ||||||
| .window-close { | .window-close { | ||||||
|   background-image: url("resource:///org/gnome/shell/theme/close-window.svg"); |   background-color: white; | ||||||
|   background-size: 32px; |   border-radius: 24px; | ||||||
|   height: 32px; |   border: 4px solid $selected_bg_color; | ||||||
|   width: 32px; |   box-shadow: inset 0 -4px 0 0 transparentize($selected_bg_color, 0.5); | ||||||
|   -shell-close-overlap: 16px; |   color: $selected_bg_color; | ||||||
|  |   height: 24px; | ||||||
|  |   width: 24px; | ||||||
|  |   -shell-close-overlap: 14px; | ||||||
|  |  | ||||||
|   &:hover { background-image: url("resource:///org/gnome/shell/theme/close-window-hover.svg"); } |   &:hover { | ||||||
|   &:active { background-image: url("resource:///org/gnome/shell/theme/close-window-active.svg"); } |     background-color: $selected_bg_color; | ||||||
|  |     border-color: white; | ||||||
|  |     color: white; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   &:active { | ||||||
|  |     background-color: mix(white, $selected_bg_color, 75%); | ||||||
|  |     border-color: $selected_bg_color; | ||||||
|  |     color: $selected_bg_color; | ||||||
|  |   } | ||||||
| } | } | ||||||
|  |  | ||||||
| /* NETWORK DIALOGS */ | /* NETWORK DIALOGS */ | ||||||
| @@ -1441,15 +1452,17 @@ StScrollBar { | |||||||
|     padding: 15px 20px; |     padding: 15px 20px; | ||||||
|  |  | ||||||
|     .page-indicator-icon { |     .page-indicator-icon { | ||||||
|       width: 18px; |       width: 12px; | ||||||
|       height: 18px; |       height: 12px; | ||||||
|       background-image: url(resource:///org/gnome/shell/theme/page-indicator-inactive.svg); |       background-color: transparent; | ||||||
|  |       border: 2px solid rgba(255, 255, 255, 0.4); | ||||||
|  |       border-radius:12px; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     &:hover .page-indicator-icon { background-image: url(resource:///org/gnome/shell/theme/page-indicator-hover.svg); } |     &:hover .page-indicator-icon { border-color: white; } | ||||||
|     &:active .page-indicator-icon { background-image: url(resource:///org/gnome/shell/theme/page-indicator-active.svg); } |     &:active .page-indicator-icon { border: none; margin: 2px; background-color:#fff; } | ||||||
|     &:checked .page-indicator-icon, |     &:checked .page-indicator-icon, | ||||||
|     &:checked:active { background-image: url(resource:///org/gnome/shell/theme/page-indicator-checked.svg); } |     &:checked:active { background-color: #fff;} | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   .no-frequent-applications-label { @extend %status_text; } |   .no-frequent-applications-label { @extend %status_text; } | ||||||
| @@ -1788,20 +1801,19 @@ StScrollBar { | |||||||
|   .login-dialog-user-list-view { -st-vfade-offset: 1em; } |   .login-dialog-user-list-view { -st-vfade-offset: 1em; } | ||||||
|   .login-dialog-user-list { |   .login-dialog-user-list { | ||||||
|     spacing: 12px; |     spacing: 12px; | ||||||
|     padding: .2em; |  | ||||||
|     width: 23em; |     width: 23em; | ||||||
|     &:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; } |     &:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; } | ||||||
|     &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; } |     &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; } | ||||||
|   } |   } | ||||||
|   .login-dialog-user-list-item { |   .login-dialog-user-list-item { | ||||||
|     border-radius: 5px; |     border-radius: 5px; | ||||||
|     padding: .2em; |     padding: 6px; | ||||||
|     color: darken($osd_fg_color,30%); |     color: darken($osd_fg_color,30%); | ||||||
|     &:ltr { padding-right: 1em; } |     &:ltr .user-widget { padding-right: 1em; } | ||||||
|     &:rtl { padding-left: 1em; } |     &:rtl .user-widget { padding-left: 1em; } | ||||||
|     .login-dialog-timed-login-indicator { |     .login-dialog-timed-login-indicator { | ||||||
|       height: 2px; |       height: 2px; | ||||||
|       margin: 2px 0 0 0; |       margin-top: 6px; | ||||||
|       background-color: $osd_fg_color; |       background-color: $osd_fg_color; | ||||||
|     } |     } | ||||||
|     &:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; } |     &:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; } | ||||||
| @@ -1816,8 +1828,8 @@ StScrollBar { | |||||||
|     padding-left: 15px; |     padding-left: 15px; | ||||||
|   } |   } | ||||||
|     .user-widget-label { |     .user-widget-label { | ||||||
|       &:ltr { padding-left: 18px; } |       &:ltr { padding-left: 14px; } | ||||||
|       &:rtl { padding-right: 18px; } |       &:rtl { padding-right: 14px; } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   .login-dialog-prompt-layout { |   .login-dialog-prompt-layout { | ||||||
| @@ -1868,6 +1880,7 @@ StScrollBar { | |||||||
| .screen-shield-clock-time { | .screen-shield-clock-time { | ||||||
|   font-size: 72pt; |   font-size: 72pt; | ||||||
|   text-shadow: 0px 2px 2px rgba(0,0,0,0.4); |   text-shadow: 0px 2px 2px rgba(0,0,0,0.4); | ||||||
|  |   font-feature-settings: "tnum"; | ||||||
| } | } | ||||||
|  |  | ||||||
| .screen-shield-clock-date {  | .screen-shield-clock-date {  | ||||||
|   | |||||||
| @@ -150,8 +150,8 @@ | |||||||
|   // |   // | ||||||
|   // focused button |   // focused button | ||||||
|   // |   // | ||||||
|     $_bg: if($c!=$osd_bg_color, transparentize($c, 0.5), |     $_bg: if($c!=$osd_bg_color, transparentize($c, 0.3), | ||||||
|                           $osd_bg_color); |                           lighten($osd_bg_color,3%)); | ||||||
|  |  | ||||||
|     color: $osd_fg_color; |     color: $osd_fg_color; | ||||||
|     text-shadow: 0 1px black; |     text-shadow: 0 1px black; | ||||||
| @@ -164,7 +164,7 @@ | |||||||
|   // active osd button |   // active osd button | ||||||
|   // |   // | ||||||
|     $_bg: if($c!=$osd_bg_color, transparentize($c, 0.3), |     $_bg: if($c!=$osd_bg_color, transparentize($c, 0.3), | ||||||
|                             lighten($osd_bg_color,10%)); |                             lighten($osd_bg_color,3%)); | ||||||
|  |  | ||||||
|     color: white; |     color: white; | ||||||
|     border-color: $osd_borders_color; |     border-color: $osd_borders_color; | ||||||
| @@ -182,7 +182,7 @@ | |||||||
|  |  | ||||||
|     color: white; |     color: white; | ||||||
|     border-color: $osd_borders_color; |     border-color: $osd_borders_color; | ||||||
|     background-color: darken($_bg,5%); |     background-color: $selected_bg_color; | ||||||
|     // This should be none, but it's creating some issues with borders, so to |     // This should be none, but it's creating some issues with borders, so to | ||||||
|     // workaround it for now, use inset wich goes through a different code path. |     // workaround it for now, use inset wich goes through a different code path. | ||||||
|     // see https://bugzilla.gnome.org/show_bug.cgi?id=752934 |     // see https://bugzilla.gnome.org/show_bug.cgi?id=752934 | ||||||
|   | |||||||
| @@ -14,7 +14,7 @@ | |||||||
|    id="svg7384" |    id="svg7384" | ||||||
|    height="32" |    height="32" | ||||||
|    sodipodi:docname="key-layout.svg" |    sodipodi:docname="key-layout.svg" | ||||||
|    inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"> |    inkscape:version="0.92.3 (2405546, 2018-03-11)"> | ||||||
|   <sodipodi:namedview |   <sodipodi:namedview | ||||||
|      pagecolor="#ffffff" |      pagecolor="#ffffff" | ||||||
|      bordercolor="#666666" |      bordercolor="#666666" | ||||||
| @@ -24,17 +24,21 @@ | |||||||
|      guidetolerance="10" |      guidetolerance="10" | ||||||
|      inkscape:pageopacity="0" |      inkscape:pageopacity="0" | ||||||
|      inkscape:pageshadow="2" |      inkscape:pageshadow="2" | ||||||
|      inkscape:window-width="1919" |      inkscape:window-width="3440" | ||||||
|      inkscape:window-height="1011" |      inkscape:window-height="1376" | ||||||
|      id="namedview19" |      id="namedview19" | ||||||
|      showgrid="false" |      showgrid="false" | ||||||
|      inkscape:zoom="14.75" |      inkscape:zoom="1" | ||||||
|      inkscape:cx="1.220339" |      inkscape:cx="46.246852" | ||||||
|      inkscape:cy="11.842802" |      inkscape:cy="17.474578" | ||||||
|      inkscape:window-x="0" |      inkscape:window-x="0" | ||||||
|      inkscape:window-y="55" |      inkscape:window-y="27" | ||||||
|      inkscape:window-maximized="0" |      inkscape:window-maximized="1" | ||||||
|      inkscape:current-layer="svg7384" /> |      inkscape:current-layer="svg7384"> | ||||||
|  |     <inkscape:grid | ||||||
|  |        type="xygrid" | ||||||
|  |        id="grid861" /> | ||||||
|  |   </sodipodi:namedview> | ||||||
|   <metadata |   <metadata | ||||||
|      id="metadata90"> |      id="metadata90"> | ||||||
|     <rdf:RDF> |     <rdf:RDF> | ||||||
| @@ -92,23 +96,34 @@ | |||||||
|      style="display:inline" |      style="display:inline" | ||||||
|      id="g4953" /> |      id="g4953" /> | ||||||
|   <g |   <g | ||||||
|  |      style="stroke-width:0.5;enable-background:new" | ||||||
|  |      id="g3561" | ||||||
|      inkscape:label="preferences-desktop-locale" |      inkscape:label="preferences-desktop-locale" | ||||||
|      id="g11728" |      transform="matrix(2,0,0,2,135.99464,-895.9793)"> | ||||||
|      transform="matrix(2,0,0,2,-522.0004,-1086)" |  | ||||||
|      style="display:inline;stroke-width:1"> |  | ||||||
|     <rect |  | ||||||
|        style="fill:none;stroke:none;stroke-width:1" |  | ||||||
|        id="rect11724" |  | ||||||
|        width="16" |  | ||||||
|        height="16" |  | ||||||
|        x="20" |  | ||||||
|        y="326" |  | ||||||
|        transform="translate(241.0002,217)" /> |  | ||||||
|     <path |     <path | ||||||
|        style="fill:#e5e5e5;fill-opacity:1;stroke:none;stroke-width:1" |        sodipodi:nodetypes="cc" | ||||||
|        d="m 265.69612,545.23396 c -3.58218,0 -4.66582,1.39975 -4.66582,1.39975 v 10.04946 c 0,0 1.08364,-1.07673 4.66582,-1.07673 2.9161,0 4.47225,1.07673 7.17818,1.07673 2.08923,0 3.19429,-1.39975 3.19429,-1.39975 v -10.04946 c 0,0 -1.14095,1.04084 -3.23018,1.04084 -3.3734,0 -3.97619,-1.04084 -7.14229,-1.04084 z m 2.93145,2.77148 c 1.32876,0 2.375,1.08037 2.375,2.4375 0,1.35713 -1.04624,2.46875 -2.375,2.46875 -1.32876,0 -2.40625,-1.11162 -2.40625,-2.46875 0,-1.35713 1.07749,-2.4375 2.40625,-2.4375 z m -4.5625,0.96875 0.96875,1.03125 -0.9375,-0.0312 0.9375,1 -0.96875,-0.0312 0.96875,1.03125 -1,-0.0312 0.0312,-1 h -0.0312 l 0.0312,-0.9688 h -0.0312 z m 4.5625,0 c -0.794,0 -1.46875,0.6578 -1.46875,1.46875 0,0.81095 0.67475,1.46875 1.46875,1.46875 0.79399,0 1.4375,-0.6578 1.4375,-1.46875 0,-0.81095 -0.64351,-1.46875 -1.4375,-1.46875 z m 4.375,0 v 1 l 0.0312,0.96875 h -0.0312 l 0.0312,1 -1,0.0312 0.96875,-1.03125 -0.96875,0.0312 0.9375,-1 -0.9375,0.0312 z m -7.9375,2.96875 0.96875,1.03125 -1,-0.0312 z m 6.9375,0 0.0312,1 -1,0.0312 z m -5.9375,1 0.96875,1.03125 -1,-0.0312 z m 4.9375,0 0.0312,1 -1,0.0312 z" |  | ||||||
|        id="path11726" |  | ||||||
|        inkscape:connector-curvature="0" |        inkscape:connector-curvature="0" | ||||||
|        sodipodi:nodetypes="sccssccsssssssccccccccccccsssssccccccccccccccccccccccccccc" /> |        id="path3535" | ||||||
|  |        d="m -65,450 v 12" | ||||||
|  |        style="fill:#e5e5e5;fill-opacity:1;fill-rule:evenodd;stroke:#e5e5e5;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> | ||||||
|  |     <path | ||||||
|  |        sodipodi:nodetypes="ccccccccc" | ||||||
|  |        inkscape:connector-curvature="0" | ||||||
|  |        id="path3537" | ||||||
|  |        d="m -65,456 h 4 l 1,2 h 5 v -6 h -4 l -1,-2 h -5 z" | ||||||
|  |        style="fill:none;fill-rule:evenodd;stroke:#e5e5e5;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> | ||||||
|  |     <path | ||||||
|  |        style="opacity:1;vector-effect:none;fill:#e5e5e5;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" | ||||||
|  |        d="m -65,456 h 4 l 1,2 h 5 v -6 h -4 l -1,-2 h -5 z" | ||||||
|  |        id="path3539" | ||||||
|  |        inkscape:connector-curvature="0" | ||||||
|  |        sodipodi:nodetypes="ccccccccc" /> | ||||||
|  |     <rect | ||||||
|  |        style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:0.89050001;marker:none;enable-background:new" | ||||||
|  |        id="rect3543" | ||||||
|  |        y="448" | ||||||
|  |        x="-68" | ||||||
|  |        height="16" | ||||||
|  |        width="16" /> | ||||||
|   </g> |   </g> | ||||||
| </svg> | </svg> | ||||||
|   | |||||||
| Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.2 KiB | 
| @@ -1,130 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |  | ||||||
| <!-- Created with Inkscape (http://www.inkscape.org/) --> |  | ||||||
|  |  | ||||||
| <svg |  | ||||||
|    xmlns:dc="http://purl.org/dc/elements/1.1/" |  | ||||||
|    xmlns:cc="http://creativecommons.org/ns#" |  | ||||||
|    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |  | ||||||
|    xmlns:svg="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns="http://www.w3.org/2000/svg" |  | ||||||
|    xmlns:xlink="http://www.w3.org/1999/xlink" |  | ||||||
|    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |  | ||||||
|    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |  | ||||||
|    width="300" |  | ||||||
|    height="80" |  | ||||||
|    id="svg7355" |  | ||||||
|    version="1.1" |  | ||||||
|    inkscape:version="0.48.2 r9819" |  | ||||||
|    sodipodi:docname="logged-in-indicator.svg"> |  | ||||||
|   <metadata |  | ||||||
|      id="metadata4175"> |  | ||||||
|     <rdf:RDF> |  | ||||||
|       <cc:Work |  | ||||||
|          rdf:about=""> |  | ||||||
|         <dc:format>image/svg+xml</dc:format> |  | ||||||
|         <dc:type |  | ||||||
|            rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |  | ||||||
|       </cc:Work> |  | ||||||
|     </rdf:RDF> |  | ||||||
|   </metadata> |  | ||||||
|   <sodipodi:namedview |  | ||||||
|      pagecolor="#2c1cff" |  | ||||||
|      bordercolor="#666666" |  | ||||||
|      borderopacity="1" |  | ||||||
|      objecttolerance="10" |  | ||||||
|      gridtolerance="10" |  | ||||||
|      guidetolerance="10" |  | ||||||
|      inkscape:pageopacity="1" |  | ||||||
|      inkscape:pageshadow="2" |  | ||||||
|      inkscape:window-width="1440" |  | ||||||
|      inkscape:window-height="843" |  | ||||||
|      id="namedview4173" |  | ||||||
|      showgrid="false" |  | ||||||
|      inkscape:zoom="2.8760889" |  | ||||||
|      inkscape:cx="106.00403" |  | ||||||
|      inkscape:cy="80.68078" |  | ||||||
|      inkscape:window-x="0" |  | ||||||
|      inkscape:window-y="27" |  | ||||||
|      inkscape:window-maximized="1" |  | ||||||
|      inkscape:current-layer="g30864" /> |  | ||||||
|   <defs |  | ||||||
|      id="defs7357"> |  | ||||||
|     <radialGradient |  | ||||||
|        xlink:href="#linearGradient36429" |  | ||||||
|        id="radialGradient7461" |  | ||||||
|        gradientUnits="userSpaceOnUse" |  | ||||||
|        gradientTransform="matrix(2.5919312,0,0,0.57582113,-20.687059,48.400487)" |  | ||||||
|        cx="47.428951" |  | ||||||
|        cy="167.16817" |  | ||||||
|        fx="47.428951" |  | ||||||
|        fy="167.16817" |  | ||||||
|        r="37" /> |  | ||||||
|     <linearGradient |  | ||||||
|        id="linearGradient36429"> |  | ||||||
|       <stop |  | ||||||
|          id="stop36431" |  | ||||||
|          offset="0" |  | ||||||
|          style="stop-color:#ffffff;stop-opacity:1;" /> |  | ||||||
|       <stop |  | ||||||
|          id="stop36433" |  | ||||||
|          offset="1" |  | ||||||
|          style="stop-color:#ffffff;stop-opacity:0;" /> |  | ||||||
|     </linearGradient> |  | ||||||
|     <radialGradient |  | ||||||
|        xlink:href="#linearGradient36471" |  | ||||||
|        id="radialGradient7463" |  | ||||||
|        gradientUnits="userSpaceOnUse" |  | ||||||
|        gradientTransform="matrix(1.1891549,0,0,0.55513246,-9.281289,36.12653)" |  | ||||||
|        cx="49.067139" |  | ||||||
|        cy="242.50381" |  | ||||||
|        fx="49.067139" |  | ||||||
|        fy="242.50381" |  | ||||||
|        r="37.00671" /> |  | ||||||
|     <linearGradient |  | ||||||
|        id="linearGradient36471"> |  | ||||||
|       <stop |  | ||||||
|          id="stop36473" |  | ||||||
|          offset="0" |  | ||||||
|          style="stop-color:#ffffff;stop-opacity:1;" /> |  | ||||||
|       <stop |  | ||||||
|          id="stop36475" |  | ||||||
|          offset="1" |  | ||||||
|          style="stop-color:#ffffff;stop-opacity:0;" /> |  | ||||||
|     </linearGradient> |  | ||||||
|     <radialGradient |  | ||||||
|        r="37.00671" |  | ||||||
|        fy="242.50381" |  | ||||||
|        fx="49.067139" |  | ||||||
|        cy="242.50381" |  | ||||||
|        cx="49.067139" |  | ||||||
|        gradientTransform="matrix(3.4218418,0,0,0.03365337,-61.309005,138.5071)" |  | ||||||
|        gradientUnits="userSpaceOnUse" |  | ||||||
|        id="radialGradient7488" |  | ||||||
|        xlink:href="#linearGradient36471" /> |  | ||||||
|   </defs> |  | ||||||
|   <g |  | ||||||
|      id="layer1" |  | ||||||
|      transform="matrix(1.6213276,0,0,1.6213276,-431.6347,-272.5745)"> |  | ||||||
|     <g |  | ||||||
|        style="display:inline" |  | ||||||
|        id="g30864" |  | ||||||
|        transform="translate(255.223,70.118091)"> |  | ||||||
|       <rect |  | ||||||
|          ry="3.4593496" |  | ||||||
|          rx="8.8641119" |  | ||||||
|          y="76.159348" |  | ||||||
|          x="12.596948" |  | ||||||
|          height="71.116341" |  | ||||||
|          width="182.22595" |  | ||||||
|          id="rect14000" |  | ||||||
|          style="opacity:0.371875;fill:url(#radialGradient7461);fill-opacity:1;stroke:none" /> |  | ||||||
|       <path |  | ||||||
|          id="rect34520" |  | ||||||
|          d="m 194.80022,146.83551 -182.559919,0" |  | ||||||
|          style="opacity:0.35;fill:none;stroke:url(#radialGradient7488);stroke-width:0.61184424;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" |  | ||||||
|          connector-curvature="0" |  | ||||||
|          inkscape:connector-curvature="0" |  | ||||||
|          sodipodi:nodetypes="cc" /> |  | ||||||
|     </g> |  | ||||||
|   </g> |  | ||||||
| </svg> |  | ||||||
| Before Width: | Height: | Size: 3.8 KiB | 
| @@ -13,10 +13,102 @@ | |||||||
|    height="64px" |    height="64px" | ||||||
|    id="svg3393" |    id="svg3393" | ||||||
|    version="1.1" |    version="1.1" | ||||||
|    inkscape:version="0.48.5 r10040" |    inkscape:version="0.92.3 (2405546, 2018-03-11)" | ||||||
|    sodipodi:docname="New document 2"> |    sodipodi:docname="no-notifications.svg"> | ||||||
|   <defs |   <defs | ||||||
|      id="defs3395" /> |      id="defs3395"> | ||||||
|  |     <clipPath | ||||||
|  |        id="clipPath6262-0" | ||||||
|  |        clipPathUnits="userSpaceOnUse"> | ||||||
|  |       <rect | ||||||
|  |          style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none" | ||||||
|  |          id="rect6264-6" | ||||||
|  |          width="3.8250003" | ||||||
|  |          height="6.3750005" | ||||||
|  |          x="26.849981" | ||||||
|  |          y="220.75" /> | ||||||
|  |     </clipPath> | ||||||
|  |     <clipPath | ||||||
|  |        id="clipPath6258-0" | ||||||
|  |        clipPathUnits="userSpaceOnUse"> | ||||||
|  |       <rect | ||||||
|  |          style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none" | ||||||
|  |          id="rect6260-6" | ||||||
|  |          width="2.8977275" | ||||||
|  |          height="5.3129687" | ||||||
|  |          x="26.965673" | ||||||
|  |          y="221.28162" /> | ||||||
|  |     </clipPath> | ||||||
|  |     <clipPath | ||||||
|  |        id="clipPath6254-6" | ||||||
|  |        clipPathUnits="userSpaceOnUse"> | ||||||
|  |       <rect | ||||||
|  |          style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none" | ||||||
|  |          id="rect6256-6" | ||||||
|  |          width="1.876245" | ||||||
|  |          height="4.8783236" | ||||||
|  |          x="26.998718" | ||||||
|  |          y="221.50153" /> | ||||||
|  |     </clipPath> | ||||||
|  |     <clipPath | ||||||
|  |        id="clipPath8028-3" | ||||||
|  |        clipPathUnits="userSpaceOnUse"> | ||||||
|  |       <path | ||||||
|  |          style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" | ||||||
|  |          d="m -73,-30 -7,-7 v -4.5 h 16.5 v 4.5 l -7.5,7 z" | ||||||
|  |          id="path8030-6" | ||||||
|  |          inkscape:connector-curvature="0" | ||||||
|  |          sodipodi:nodetypes="ccccccc" /> | ||||||
|  |     </clipPath> | ||||||
|  |     <clipPath | ||||||
|  |        clipPathUnits="userSpaceOnUse" | ||||||
|  |        id="clipPath6810-7-87-7"> | ||||||
|  |       <rect | ||||||
|  |          style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" | ||||||
|  |          id="rect6812-2-4-5" | ||||||
|  |          width="14" | ||||||
|  |          height="11" | ||||||
|  |          x="21" | ||||||
|  |          y="281" /> | ||||||
|  |     </clipPath> | ||||||
|  |     <clipPath | ||||||
|  |        id="clipPath6262" | ||||||
|  |        clipPathUnits="userSpaceOnUse"> | ||||||
|  |       <rect | ||||||
|  |          style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none" | ||||||
|  |          id="rect6264" | ||||||
|  |          width="3.8250003" | ||||||
|  |          height="6.3750005" | ||||||
|  |          x="26.849981" | ||||||
|  |          y="220.75" /> | ||||||
|  |     </clipPath> | ||||||
|  |     <clipPath | ||||||
|  |        id="clipPath6258" | ||||||
|  |        clipPathUnits="userSpaceOnUse"> | ||||||
|  |       <rect | ||||||
|  |          style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none" | ||||||
|  |          id="rect6260" | ||||||
|  |          width="2.8977275" | ||||||
|  |          height="5.3129687" | ||||||
|  |          x="26.965673" | ||||||
|  |          y="221.28162" /> | ||||||
|  |     </clipPath> | ||||||
|  |     <clipPath | ||||||
|  |        id="clipPath6254" | ||||||
|  |        clipPathUnits="userSpaceOnUse"> | ||||||
|  |       <rect | ||||||
|  |          style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none" | ||||||
|  |          id="rect6256" | ||||||
|  |          width="1.876245" | ||||||
|  |          height="4.8783236" | ||||||
|  |          x="26.998718" | ||||||
|  |          y="221.50153" /> | ||||||
|  |     </clipPath> | ||||||
|  |     <inkscape:path-effect | ||||||
|  |        effect="spiro" | ||||||
|  |        id="path-effect3951" | ||||||
|  |        is_visible="true" /> | ||||||
|  |   </defs> | ||||||
|   <sodipodi:namedview |   <sodipodi:namedview | ||||||
|      id="base" |      id="base" | ||||||
|      pagecolor="#ffffff" |      pagecolor="#ffffff" | ||||||
| @@ -24,17 +116,17 @@ | |||||||
|      borderopacity="1.0" |      borderopacity="1.0" | ||||||
|      inkscape:pageopacity="0.0" |      inkscape:pageopacity="0.0" | ||||||
|      inkscape:pageshadow="2" |      inkscape:pageshadow="2" | ||||||
|      inkscape:zoom="5.5" |      inkscape:zoom="1" | ||||||
|      inkscape:cx="32" |      inkscape:cx="125.08157" | ||||||
|      inkscape:cy="32" |      inkscape:cy="-13.805087" | ||||||
|      inkscape:current-layer="layer1" |      inkscape:current-layer="layer1" | ||||||
|      showgrid="true" |      showgrid="true" | ||||||
|      inkscape:document-units="px" |      inkscape:document-units="px" | ||||||
|      inkscape:grid-bbox="true" |      inkscape:grid-bbox="true" | ||||||
|      inkscape:window-width="697" |      inkscape:window-width="1664" | ||||||
|      inkscape:window-height="613" |      inkscape:window-height="1034" | ||||||
|      inkscape:window-x="100" |      inkscape:window-x="1479" | ||||||
|      inkscape:window-y="77" |      inkscape:window-y="252" | ||||||
|      inkscape:window-maximized="0" /> |      inkscape:window-maximized="0" /> | ||||||
|   <metadata |   <metadata | ||||||
|      id="metadata3398"> |      id="metadata3398"> | ||||||
| @@ -54,7 +146,7 @@ | |||||||
|      inkscape:groupmode="layer"> |      inkscape:groupmode="layer"> | ||||||
|     <g |     <g | ||||||
|        style="display:inline" |        style="display:inline" | ||||||
|        transform="matrix(4,0,0,4,0.29733827,-0.35415646)" |        transform="matrix(4,0,0,4,-79.702662,-0.35415646)" | ||||||
|        id="g19245"> |        id="g19245"> | ||||||
|       <g |       <g | ||||||
|          id="g19247" |          id="g19247" | ||||||
| @@ -71,15 +163,15 @@ | |||||||
|          transform="translate(-323.02908,-649.02581)"> |          transform="translate(-323.02908,-649.02581)"> | ||||||
|         <path |         <path | ||||||
|            inkscape:connector-curvature="0" |            inkscape:connector-curvature="0" | ||||||
|            d="m 331.9377,653 c 0.0187,0.16677 0.0625,0.32822 0.0625,0.5 0,2.48528 -2.01472,4.5 -4.5,4.5 -0.11769,0 -0.22834,-0.0224 -0.34375,-0.0312 l 0,2.21875 c 0,1.00412 0.80838,1.8125 1.8125,1.8125 l 1.54511,-5e-5 2,2.04688 2.0625,-2.04688 1.61114,0 c 1.00413,0 1.8125,-0.80838 1.8125,-1.8125 l 0,-5.375 c 0,-1.00412 -0.80837,-1.8125 -1.8125,-1.8125 z" |            d="m 331.9377,653 c 0.0187,0.16677 0.0625,0.32822 0.0625,0.5 0,2.48528 -2.01472,4.5 -4.5,4.5 -0.11769,0 -0.22834,-0.0224 -0.34375,-0.0312 v 2.21875 c 0,1.00412 0.80838,1.8125 1.8125,1.8125 l 1.54511,-5e-5 2,2.04688 2.0625,-2.04688 h 1.61114 c 1.00413,0 1.8125,-0.80838 1.8125,-1.8125 v -5.375 c 0,-1.00412 -0.80837,-1.8125 -1.8125,-1.8125 z" | ||||||
|            id="path19253" |            id="path19253" | ||||||
|            sodipodi:nodetypes="csscsscccssssc" |            sodipodi:nodetypes="csscsscccssssc" | ||||||
|            style="opacity:0.5;color:#000000;fill:#c3c3c3;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |            style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.5;fill:#c3c3c3;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;enable-background:accumulate" /> | ||||||
|         <path |         <path | ||||||
|            inkscape:connector-curvature="0" |            inkscape:connector-curvature="0" | ||||||
|            d="m 327.5002,650 c -1.933,0 -3.5,1.567 -3.5,3.5 0,1.933 1.567,3.5 3.5,3.5 1.933,0 3.5,-1.567 3.5,-3.5 0,-1.933 -1.567,-3.5 -3.5,-3.5 z m -0.53125,1 1.03125,0 -0.0625,1.375 a 0.19951718,0.19951718 0 0 0 0,0.0625 0.19951718,0.19951718 0 0 0 0,0.0312 0.19951718,0.19951718 0 0 0 0.125,0.125 0.19951718,0.19951718 0 0 0 0.0312,0 0.19951718,0.19951718 0 0 0 0.0625,0 0.19951718,0.19951718 0 0 0 0.0625,0 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 l 1.15625,-0.75 0.5,0.90625 -1.21875,0.625 a 0.19951718,0.19951718 0 0 0 -0.0312,0 0.19951718,0.19951718 0 0 0 -0.0312,0.0312 0.19951718,0.19951718 0 0 0 -0.0312,0.0937 0.19951718,0.19951718 0 0 0 0,0.0625 0.19951718,0.19951718 0 0 0 0,0.0312 0.19951718,0.19951718 0 0 0 0.0312,0.0625 0.19951718,0.19951718 0 0 0 0.0312,0.0312 0.19951718,0.19951718 0 0 0 0.0312,0.0312 l 1.25,0.625 -0.53125,0.90625 -1.15625,-0.781 a 0.19951718,0.19951718 0 0 0 -0.0312,0 0.19951718,0.19951718 0 0 0 -0.0625,-0.0312 0.19951718,0.19951718 0 0 0 -0.0625,0 0.19951718,0.19951718 0 0 0 -0.125,0.0937 0.19951718,0.19951718 0 0 0 -0.0312,0.0312 0.19951718,0.19951718 0 0 0 0,0.0312 0.19951718,0.19951718 0 0 0 0,0.0625 l 0.0625,1.3751 -1.03125,0 0.0937,-1.375 a 0.19951718,0.19951718 0 0 0 -0.0312,-0.0937 0.19951718,0.19951718 0 0 0 -0.0312,-0.0625 0.19951718,0.19951718 0 0 0 -0.0625,-0.0312 0.19951718,0.19951718 0 0 0 -0.0625,-0.0312 0.19951718,0.19951718 0 0 0 -0.0312,0 0.19951718,0.19951718 0 0 0 -0.0937,0.0312 l -1.1875,0.78125 -0.5,-0.90625 1.25,-0.625 a 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0625 0.19951718,0.19951718 0 0 0 0,-0.0312 0.19951718,0.19951718 0 0 0 0,-0.0625 0.19951718,0.19951718 0 0 0 0,-0.0312 0.19951718,0.19951718 0 0 0 -0.0312,-0.0625 0.19951718,0.19951718 0 0 0 -0.0312,-0.0312 0.19951718,0.19951718 0 0 0 -0.0312,0 l -1.25,-0.625 0.5,-0.90625 1.1875,0.75 a 0.19951718,0.19951718 0 0 0 0.0312,0.0312 0.19951718,0.19951718 0 0 0 0.0625,0 0.19951718,0.19951718 0 0 0 0.0625,0 0.19951718,0.19951718 0 0 0 0.0312,0 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0625 0.19951718,0.19951718 0 0 0 0,-0.0312 L 326.96895,651 z" |            d="m 327.5002,650 c -1.933,0 -3.5,1.567 -3.5,3.5 0,1.933 1.567,3.5 3.5,3.5 1.933,0 3.5,-1.567 3.5,-3.5 0,-1.933 -1.567,-3.5 -3.5,-3.5 z m -0.53125,1 h 1.03125 l -0.0625,1.375 a 0.19951718,0.19951718 0 0 0 0,0.0625 0.19951718,0.19951718 0 0 0 0,0.0312 0.19951718,0.19951718 0 0 0 0.125,0.125 0.19951718,0.19951718 0 0 0 0.0312,0 0.19951718,0.19951718 0 0 0 0.0625,0 0.19951718,0.19951718 0 0 0 0.0625,0 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 l 1.15625,-0.75 0.5,0.90625 -1.21875,0.625 a 0.19951718,0.19951718 0 0 0 -0.0312,0 0.19951718,0.19951718 0 0 0 -0.0312,0.0312 0.19951718,0.19951718 0 0 0 -0.0312,0.0937 0.19951718,0.19951718 0 0 0 0,0.0625 0.19951718,0.19951718 0 0 0 0,0.0312 0.19951718,0.19951718 0 0 0 0.0312,0.0625 0.19951718,0.19951718 0 0 0 0.0312,0.0312 0.19951718,0.19951718 0 0 0 0.0312,0.0312 l 1.25,0.625 -0.53125,0.90625 -1.15625,-0.781 a 0.19951718,0.19951718 0 0 0 -0.0312,0 0.19951718,0.19951718 0 0 0 -0.0625,-0.0312 0.19951718,0.19951718 0 0 0 -0.0625,0 0.19951718,0.19951718 0 0 0 -0.125,0.0937 0.19951718,0.19951718 0 0 0 -0.0312,0.0312 0.19951718,0.19951718 0 0 0 0,0.0312 0.19951718,0.19951718 0 0 0 0,0.0625 L 328.0002,656 h -1.03125 l 0.0937,-1.375 a 0.19951718,0.19951718 0 0 0 -0.0312,-0.0937 0.19951718,0.19951718 0 0 0 -0.0312,-0.0625 0.19951718,0.19951718 0 0 0 -0.0625,-0.0312 0.19951718,0.19951718 0 0 0 -0.0625,-0.0312 0.19951718,0.19951718 0 0 0 -0.0312,0 0.19951718,0.19951718 0 0 0 -0.0937,0.0312 l -1.1875,0.78125 -0.5,-0.90625 1.25,-0.625 a 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0625 0.19951718,0.19951718 0 0 0 0,-0.0312 0.19951718,0.19951718 0 0 0 0,-0.0625 0.19951718,0.19951718 0 0 0 0,-0.0312 0.19951718,0.19951718 0 0 0 -0.0312,-0.0625 0.19951718,0.19951718 0 0 0 -0.0312,-0.0312 0.19951718,0.19951718 0 0 0 -0.0312,0 l -1.25,-0.625 0.5,-0.90625 1.1875,0.75 a 0.19951718,0.19951718 0 0 0 0.0312,0.0312 0.19951718,0.19951718 0 0 0 0.0625,0 0.19951718,0.19951718 0 0 0 0.0625,0 0.19951718,0.19951718 0 0 0 0.0312,0 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0312 0.19951718,0.19951718 0 0 0 0,-0.0312 0.19951718,0.19951718 0 0 0 0.0312,-0.0625 0.19951718,0.19951718 0 0 0 0,-0.0312 z" | ||||||
|            id="path19255" |            id="path19255" | ||||||
|            style="color:#000000;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |            style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;marker:none;enable-background:accumulate" /> | ||||||
|       </g> |       </g> | ||||||
|       <g |       <g | ||||||
|          id="g19257" |          id="g19257" | ||||||
| @@ -110,5 +202,22 @@ | |||||||
|          style="display:inline" |          style="display:inline" | ||||||
|          transform="translate(-323.02908,-649.02581)" /> |          transform="translate(-323.02908,-649.02581)" /> | ||||||
|     </g> |     </g> | ||||||
|  |     <g | ||||||
|  |        style="opacity:1;vector-effect:none;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:new" | ||||||
|  |        inkscape:label="preferences-system-notifications" | ||||||
|  |        id="g13967" | ||||||
|  |        transform="matrix(4,0,0,4,-1044.0008,-2172)"> | ||||||
|  |       <path | ||||||
|  |          inkscape:connector-curvature="0" | ||||||
|  |          d="m 268.94244,544.94838 c -2.20914,0 -3.33013,1.5 -4,4 l -1,5 c -0.10831,0.54156 -0.44772,1 -1,1 v 1 h 12 v -1 c -0.55229,0 -0.89169,-0.45844 -1,-1 l -1,-5 c -0.53033,-2.5 -1.79086,-4 -4,-4 z" | ||||||
|  |          id="path40220" | ||||||
|  |          sodipodi:nodetypes="ccsccccscc" | ||||||
|  |          style="opacity:1;vector-effect:none;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;paint-order:normal" /> | ||||||
|  |       <path | ||||||
|  |          inkscape:connector-curvature="0" | ||||||
|  |          d="m 269.11822,556.94838 a 1.5,1.5 0 0 0 1.41211,1 1.5,1.5 0 0 0 1.41211,-1 z" | ||||||
|  |          id="path40774" | ||||||
|  |          style="opacity:1;vector-effect:none;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;paint-order:normal" /> | ||||||
|  |     </g> | ||||||
|   </g> |   </g> | ||||||
| </svg> | </svg> | ||||||
|   | |||||||
| Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 11 KiB |