Compare commits
	
		
			542 Commits
		
	
	
		
			3.30.0
			...
			1151-movin
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | fea0192772 | ||
|   | f81ac498fb | ||
|   | 5357e0a18c | ||
|   | d7632bbd3d | ||
|   | 1b5e91e4b3 | ||
|   | 727195c767 | ||
|   | 9158f55360 | ||
|   | 8146e9d527 | ||
|   | 4247251020 | ||
|   | 7eee0e0ed6 | ||
|   | 4f0851ca77 | ||
|   | 911ae49767 | ||
|   | 5af81d4057 | ||
|   | c435889baa | ||
|   | 49f79d9d5d | ||
|   | 1767cd0f6c | ||
|   | 3e0915521a | ||
|   | a298943fac | ||
|   | df9ddf96a5 | ||
|   | 4fa5d701d5 | ||
|   | b05683d586 | ||
|   | 2f3f3fbcdb | ||
|   | 611605a67f | ||
|   | 0427a782be | ||
|   | 32baff5906 | ||
|   | 0089143d06 | ||
|   | 05e55cee23 | ||
|   | 31e7f0340f | ||
|   | 6e317a54fd | ||
|   | 9c1f62c38c | ||
|   | 1341d5557f | ||
|   | b7d79a5f06 | ||
|   | 62233a4db4 | ||
|   | 4a7e2ddff5 | ||
|   | fb737ebde0 | ||
|   | bf77cb44e7 | ||
|   | c72e2bb4a9 | ||
|   | 68c182b1df | ||
|   | 348d303794 | ||
|   | ede0fd8660 | ||
|   | 187c2193e8 | ||
|   | 706bdd8059 | ||
|   | 436861edc8 | ||
|   | 9729a2e772 | ||
|   | 6b924c00c5 | ||
|   | b90f4d29a4 | ||
|   | 47915f8c11 | ||
|   | 5dfdeaa4ea | ||
|   | 98a2a81f2a | ||
|   | c4850027bc | ||
|   | d4202e7f38 | ||
|   | 4f65283f31 | ||
|   | d86d3bbe54 | ||
|   | 6f794738e8 | ||
|   | ef7a93bb07 | ||
|   | 5197a992a6 | ||
|   | 49d8540f6d | ||
|   | 6e1a1f1a57 | ||
|   | c73428247c | ||
|   | fc2caf5794 | ||
|   | b117826ada | ||
|   | 26b44b48ab | ||
|   | 6349f0feb1 | ||
|   | 2ae17cfb50 | ||
|   | 4785093a5c | ||
|   | 859aef78c4 | ||
|   | 20730a5465 | ||
|   | fc5f687afc | ||
|   | 53e56f2395 | ||
|   | da314aff79 | ||
|   | fe89f7c5ac | ||
|   | 8b3be5e063 | ||
|   | 58dc538510 | ||
|   | 6cbef9355d | ||
|   | 22eac5c508 | ||
|   | a2860e9c73 | ||
|   | 1c5258ab68 | ||
|   | 8641eaa538 | ||
|   | 88436383c0 | ||
|   | affdcdcb0e | ||
|   | 06174be777 | ||
|   | fde8401124 | ||
|   | 70ac33d58c | ||
|   | 5a897407d9 | ||
|   | 1b3c26364b | ||
|   | ae07aa7864 | ||
|   | fb80831269 | ||
|   | 561cecf383 | ||
|   | 60ccdc2deb | ||
|   | d7d996b1d3 | ||
|   | 32b8bc39ac | ||
|   | 9dc99ad611 | ||
|   | 628cb4d553 | ||
|   | ad80bce78d | ||
|   | 1c9d821aa2 | ||
|   | 510b060947 | ||
|   | 26e33ff093 | ||
|   | 5f2bd70690 | ||
|   | 6dfa550663 | ||
|   | 252e2420ad | ||
|   | 572d54981e | ||
|   | 61471f9fb4 | ||
|   | 4d0a742d64 | ||
|   | 5f4e0e5ff8 | ||
|   | a4c159ecad | ||
|   | b1f893e998 | ||
|   | 789dc165af | ||
|   | 115eda9650 | ||
|   | d027e35cef | ||
|   | b3e178af9d | ||
|   | 559ec8750a | ||
|   | 02c3980b83 | ||
|   | 6f027ee7dc | ||
|   | 6d6c2e5b99 | ||
|   | 4a4f752459 | ||
|   | 8f1fff1374 | ||
|   | deead2af97 | ||
|   | 9e881ab637 | ||
|   | b6ec02cef2 | ||
|   | 26e3ccda49 | ||
|   | 2bda79cb3a | ||
|   | 19c60ff5c5 | ||
|   | e3c5c9a2e7 | ||
|   | 2c17c186b8 | ||
|   | ef1697d00d | ||
|   | 40e7638a4b | ||
|   | aaf69b2898 | ||
|   | 0464361ca5 | ||
|   | 420697693b | ||
|   | 37f53a42da | ||
|   | 5617ffc79c | ||
|   | ca4d86e9e5 | ||
|   | 0141fef561 | ||
|   | 5d4a804c90 | ||
|   | 6bc3300e5a | ||
|   | 15f69bdc3b | ||
|   | 0bcf76970a | ||
|   | 03c4628cad | ||
|   | 9f4ae9618a | ||
|   | 3590af15bb | ||
|   | c5de7fd20e | ||
|   | 7127fb1fa1 | ||
|   | 7cf11abefc | ||
|   | d78b416e1a | ||
|   | f5144ec899 | ||
|   | 08d1ebe7ee | ||
|   | a665801e9f | ||
|   | 112e3b110b | ||
|   | 94a674c008 | ||
|   | 72be8eeb31 | ||
|   | ad8690bb2e | ||
|   | 76cb08a72a | ||
|   | 2d4989e937 | ||
|   | f248b91f82 | ||
|   | d671eb1969 | ||
|   | 70f4906ca5 | ||
|   | ffb9aa1ace | ||
|   | 823fd855cf | ||
|   | f5ee225362 | ||
|   | ff1ea4b1c9 | ||
|   | 779b5afa51 | ||
|   | 6d870f6ae4 | ||
|   | d3926cbca9 | ||
|   | a308804679 | ||
|   | a4e4da705a | ||
|   | 7a494ec027 | ||
|   | d53ebb101a | ||
|   | f3168d22a6 | ||
|   | be06101e9a | ||
|   | 6e4178981a | ||
|   | b85ea59cda | ||
|   | bbd68626cc | ||
|   | 8490173879 | ||
|   | baed9518c2 | ||
|   | 27d0d9f2b3 | ||
|   | 382282b931 | ||
|   | 23d233857e | ||
|   | 9620bd0f22 | ||
|   | ecfe56ca63 | ||
|   | eabb02d3da | ||
|   | da3953a388 | ||
|   | 2d26dbc96f | ||
|   | 7073471302 | ||
|   | 81f0e7de9e | ||
|   | 33e05f5912 | ||
|   | c1d3e304cb | ||
|   | 1b169655ac | ||
|   | 67393e09c3 | ||
|   | 1ec8d2c531 | ||
|   | a111bfb90a | ||
|   | 7dd326f090 | ||
|   | 24a26e025b | ||
|   | 1eb7ba0506 | ||
|   | d17d99bd6d | ||
|   | fd50b9a45e | ||
|   | a1534dab02 | ||
|   | 7484458b7c | ||
|   | 5ca039c1db | ||
|   | 2294ae0c46 | ||
|   | 4d2b2a12ea | ||
|   | c6d57059ff | ||
|   | 5f13cf767e | ||
|   | 93425b0500 | ||
|   | a87ab6d0fc | ||
|   | 1c117c469a | ||
|   | 8003f8b803 | ||
|   | 7df93458d7 | ||
|   | 753618a19f | ||
|   | e355756758 | ||
|   | 62a3b9e6a3 | ||
|   | dc79393b27 | ||
|   | c334aa2a4c | ||
|   | 9f61a4f5fd | ||
|   | 15d0050994 | ||
|   | 1846f337d8 | ||
|   | a9e63039ce | ||
|   | 7edd5f27d1 | ||
|   | 9b47195974 | ||
|   | 4ef8041be0 | ||
|   | f0a7395b30 | ||
|   | c1a6effea0 | ||
|   | f78efc46e7 | ||
|   | 42ae052da7 | ||
|   | fab390826e | ||
|   | 2a9923628b | ||
|   | 291aa0b053 | ||
|   | 83eb75ad7a | ||
|   | bb215966e5 | ||
|   | 545d49c70d | ||
|   | ace44af815 | ||
|   | 699e97559d | ||
|   | 4aecf4c973 | ||
|   | b092c5f37d | ||
|   | aca8aec94b | ||
|   | 9cfb51c106 | ||
|   | e2352f5126 | ||
|   | 40e624444c | ||
|   | 3cf67b1236 | ||
|   | 5dedb97fcc | ||
|   | 4590094605 | ||
|   | 15e7625c80 | ||
|   | cdd2803498 | ||
|   | 43fb2b38b1 | ||
|   | 95224bd006 | ||
|   | 446183adee | ||
|   | 345a8fe748 | ||
|   | d8593c5b4a | ||
|   | f89d721c12 | ||
|   | af34b7c25e | ||
|   | b108aa1ace | ||
|   | 5dbf09c008 | ||
|   | 680dc18c6b | ||
|   | 73413ac6c0 | ||
|   | f61c8e5e1d | ||
|   | 36713db990 | ||
|   | 6bb7d4002f | ||
|   | aa28d487d3 | ||
|   | a7d974481c | ||
|   | 3730314dd5 | ||
|   | 6b0c8c9fe0 | ||
|   | 28a56d24ad | ||
|   | 5e6629e1a7 | ||
|   | a00b967df0 | ||
|   | 193e4ae31e | ||
|   | 409a27c3b8 | ||
|   | ba97e8da7a | ||
|   | c47e672eea | ||
|   | 43a19739ab | ||
|   | 36f9147b21 | ||
|   | 8647922df9 | ||
|   | df3068d9ca | ||
|   | 036e67049b | ||
|   | f02033acb7 | ||
|   | 91d73d65c3 | ||
|   | 81c4c23016 | ||
|   | fef2bac8ab | ||
|   | c59c5eb893 | ||
|   | a977c1388a | ||
|   | 0f799ae313 | ||
|   | 23c3f3fdea | ||
|   | 82c7090e9e | ||
|   | 0fdfebdb67 | ||
|   | 208c551787 | ||
|   | b10606e884 | ||
|   | f4a64f77f2 | ||
|   | e92477a752 | ||
|   | 37e0a73c8f | ||
|   | 4f76e05058 | ||
|   | 3134222d27 | ||
|   | a9ed128dce | ||
|   | c264cc4131 | ||
|   | a7943ff934 | ||
|   | c353914dd0 | ||
|   | 91319e3963 | ||
|   | dc4ff941bd | ||
|   | b597d5faf0 | ||
|   | f6da36ad3a | ||
|   | 5f4e2749a2 | ||
|   | 69b1fb699f | ||
|   | 259f90bbf6 | ||
|   | 8665045326 | ||
|   | a7bb8ee639 | ||
|   | 8f732e4f45 | ||
|   | 95a31b0c31 | ||
|   | 36b9f45368 | ||
|   | 46575804cc | ||
|   | 86a00b6872 | ||
|   | 23d6d13d80 | ||
|   | 09addfc87c | ||
|   | a2f27a9409 | ||
|   | 412003efbf | ||
|   | 582b3aacf4 | ||
|   | 1af0b54c1e | ||
|   | 74ba2e6634 | ||
|   | 78608a5080 | ||
|   | 7a86637f8d | ||
|   | c2961f2152 | ||
|   | 6845c6f958 | ||
|   | 794a056819 | ||
|   | 69ad75cf48 | ||
|   | 3db52155dd | ||
|   | 38805ae662 | ||
|   | dfa0750ffd | ||
|   | d80e7e0118 | ||
|   | b7e2718bdc | ||
|   | e68dfed1f7 | ||
|   | bacfdbbb03 | ||
|   | 99ce3deeb0 | ||
|   | d75a3484d6 | ||
|   | 3dcb593a71 | ||
|   | 1847a4f4cc | ||
|   | deec0bf255 | ||
|   | 8bb9eb0fc9 | ||
|   | 21de3c327b | ||
|   | 081d94e0f6 | ||
|   | ddd1825162 | ||
|   | 5f223e0bd8 | ||
|   | 809d92129b | ||
|   | 8840608a25 | ||
|   | edbb204332 | ||
|   | 9dc3b73ef9 | ||
|   | a7d618915c | ||
|   | 3e3da8e2f8 | ||
|   | a6763e7731 | ||
|   | 8f15193b40 | ||
|   | 467b7c1bca | ||
|   | 97963a1ca8 | ||
|   | 2fc1f1adbe | ||
|   | 200f4908d5 | ||
|   | 1f864c905d | ||
|   | df77fb6793 | ||
|   | 3fa3889fa5 | ||
|   | 4b28b90e0f | ||
|   | e0a992af73 | ||
|   | 7c4e43c84f | ||
|   | b57832716a | ||
|   | 945a019974 | ||
|   | 22e21ad7d1 | ||
|   | ae48f8bda9 | ||
|   | 62abf3edc7 | ||
|   | f8ce47c24d | ||
|   | ddb3a5c625 | ||
|   | c6d2bc4c57 | ||
|   | e3a0b6d4ee | ||
|   | e5a0dcb47e | ||
|   | 3989cad3db | ||
|   | 2a1f915f9d | ||
|   | a6002652d0 | ||
|   | 25bfe99ed5 | ||
|   | 9a35c9902a | ||
|   | 4259676f6e | ||
|   | 2159d6886f | ||
|   | ca4e563f55 | ||
|   | 8be0c5a58a | ||
|   | 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 | 
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						| @@ -80,3 +80,4 @@ tests/run-test.sh | |||||||
| *~ | *~ | ||||||
| *.patch | *.patch | ||||||
| *.sw? | *.sw? | ||||||
|  | .vscode | ||||||
|   | |||||||
							
								
								
									
										86
									
								
								.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,86 @@ | |||||||
|  | stages: | ||||||
|  |  - review | ||||||
|  |  - source_check | ||||||
|  |  - build | ||||||
|  |  - test | ||||||
|  |  | ||||||
|  | variables: | ||||||
|  |     JS_LOG: "js-report.txt" | ||||||
|  |     POT_LOG: "pot-update.txt" | ||||||
|  |  | ||||||
|  | .only_default: &only_default | ||||||
|  |     only: | ||||||
|  |         - branches | ||||||
|  |         - tags | ||||||
|  |         - merge_requests | ||||||
|  |  | ||||||
|  | check_commit_log: | ||||||
|  |     image: registry.gitlab.gnome.org/gnome/mutter/master:v1 | ||||||
|  |     stage: review | ||||||
|  |     script: | ||||||
|  |         - ./.gitlab-ci/check-commit-log.sh | ||||||
|  |     only: | ||||||
|  |         - merge_requests | ||||||
|  |  | ||||||
|  | js_check: | ||||||
|  |     image: registry.gitlab.gnome.org/gnome/gnome-shell/extension-ci:v1 | ||||||
|  |     stage: source_check | ||||||
|  |     script: | ||||||
|  |         - find js -name '*.js' -exec js60 -c -s '{}' ';' 2>&1 | tee $JS_LOG | ||||||
|  |         - (! grep -q . $JS_LOG) | ||||||
|  |     <<: *only_default | ||||||
|  |     only: | ||||||
|  |         changes: | ||||||
|  |             - js/**/* | ||||||
|  |     artifacts: | ||||||
|  |         paths: | ||||||
|  |             - ${JS_LOG} | ||||||
|  |         when: on_failure | ||||||
|  |  | ||||||
|  | build: | ||||||
|  |     image: registry.gitlab.gnome.org/gnome/gnome-shell/master:v1 | ||||||
|  |     stage: build | ||||||
|  |     before_script: | ||||||
|  |         - .gitlab-ci/checkout-mutter.sh | ||||||
|  |         - meson mutter mutter/build --prefix=/usr -Dtests=false | ||||||
|  |         - ninja -C mutter/build install | ||||||
|  |     script: | ||||||
|  |         - meson . build -Dbuiltype=debugoptimized | ||||||
|  |         - ninja -C build | ||||||
|  |         - ninja -C build install | ||||||
|  |     <<: *only_default | ||||||
|  |     artifacts: | ||||||
|  |         expire_in: 1 day | ||||||
|  |         paths: | ||||||
|  |             - mutter | ||||||
|  |             - build | ||||||
|  |  | ||||||
|  | test: | ||||||
|  |     image: registry.gitlab.gnome.org/gnome/gnome-shell/master:v1 | ||||||
|  |     stage: test | ||||||
|  |     before_script: | ||||||
|  |         - ninja -C mutter/build install | ||||||
|  |     script: | ||||||
|  |         - xvfb-run meson test -C build --no-rebuild | ||||||
|  |     <<: *only_default | ||||||
|  |     artifacts: | ||||||
|  |         expire_in: 1 day | ||||||
|  |         paths: | ||||||
|  |             - build/meson-logs/testlog.txt | ||||||
|  |         when: on_failure | ||||||
|  |  | ||||||
|  | test-pot: | ||||||
|  |     image: registry.gitlab.gnome.org/gnome/gnome-shell/master:v1 | ||||||
|  |     stage: test | ||||||
|  |     before_script: | ||||||
|  |         - ninja -C mutter/build install | ||||||
|  |     script: | ||||||
|  |         # Check that pot files are generated correctly: | ||||||
|  |         # https://savannah.gnu.org/bugs/?50920#comment5 | ||||||
|  |         - ninja -C build gnome-shell-pot 2>&1 | awk ' | ||||||
|  |             BEGIN { start=0; } | ||||||
|  |             start==1 { print $0; } | ||||||
|  |             /gnome-shell-pot/ { start=1; } | ||||||
|  |           ' | tee $POT_LOG | ||||||
|  |         - (! grep -q . $POT_LOG) | ||||||
|  |     <<: *only_default | ||||||
							
								
								
									
										19
									
								
								.gitlab-ci/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,19 @@ | |||||||
|  | FROM registry.gitlab.gnome.org/gnome/mutter/master:v1 | ||||||
|  |  | ||||||
|  | RUN dnf -y update && dnf -y upgrade && \ | ||||||
|  |     dnf install -y 'dnf-command(copr)' && \ | ||||||
|  |     dnf copr enable -y fmuellner/gnome-shell-ci && \ | ||||||
|  |     dnf builddep -y gnome-shell --setopt=install_weak_deps=False && \ | ||||||
|  |  | ||||||
|  |     # bt only exports HAVE_BLUETOOTH to js, rest are outdated build-requires | ||||||
|  |     dnf remove -y gnome-bluetooth-libs-devel dbus-glib-devel \ | ||||||
|  |                   upower-devel python3-devel && \ | ||||||
|  |  | ||||||
|  |     # We'll build mutter ourselves | ||||||
|  |     dnf remove -y --noautoremove mutter mutter-devel && \ | ||||||
|  |  | ||||||
|  |     # Needed for tests | ||||||
|  |     dnf install -y '*/xvfb-run' gdm-lib accountsservice-libs && \ | ||||||
|  |  | ||||||
|  |     dnf clean all && \ | ||||||
|  |     rm -rf /var/cache/dnf | ||||||
							
								
								
									
										18
									
								
								.gitlab-ci/Dockerfile.extension-ci
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,18 @@ | |||||||
|  | FROM registry.fedoraproject.org/fedora:latest | ||||||
|  |  | ||||||
|  | RUN dnf -y update && dnf -y upgrade && \ | ||||||
|  |     dnf install -y 'dnf-command(copr)' && \ | ||||||
|  |  | ||||||
|  |     # For syntax checks with `find . -name '*.js' -exec js60 -c -s '{}' ';'` | ||||||
|  |     dnf install -y findutils mozjs60-devel && \ | ||||||
|  |  | ||||||
|  |     # For static analysis with eslint | ||||||
|  |     dnf install -y nodejs && \ | ||||||
|  |     npm install -g eslint && \ | ||||||
|  |  | ||||||
|  |     # Shameless plug for my own tooling; useful for generating zip | ||||||
|  |     dnf copr enable -y fmuellner/gnome-shell-ci && \ | ||||||
|  |     dnf install -y gnome-extensions-tool meson && \ | ||||||
|  |  | ||||||
|  |     dnf clean all && \ | ||||||
|  |     rm -rf /var/cache/dnf | ||||||
							
								
								
									
										31
									
								
								.gitlab-ci/check-commit-log.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  |  | ||||||
|  | if [ -z "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then | ||||||
|  |   echo Cannot review non-merge request | ||||||
|  |   exit 1 | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | git fetch $CI_MERGE_REQUEST_PROJECT_URL.git $CI_MERGE_REQUEST_TARGET_BRANCH_NAME | ||||||
|  |  | ||||||
|  | branch_point=$(git merge-base HEAD FETCH_HEAD) | ||||||
|  |  | ||||||
|  | commits=$(git log --format='format:%H' $branch_point..$CI_COMMIT_SHA) | ||||||
|  |  | ||||||
|  | if [ -z "$commits" ]; then | ||||||
|  |   echo Commit range empty | ||||||
|  |   exit 1 | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | function commit_message_has_url() { | ||||||
|  |   commit=$1 | ||||||
|  |   commit_message=$(git show -s --format='format:%b' $commit) | ||||||
|  |   echo "$commit_message" | grep -qe "\($CI_MERGE_REQUEST_PROJECT_URL/\(issues\|merge_requests\)/[0-9]\+\|https://bugzilla.gnome.org/show_bug.cgi?id=[0-9]\+\)" | ||||||
|  |   return $? | ||||||
|  | } | ||||||
|  |  | ||||||
|  | for commit in $commits; do | ||||||
|  |   if ! commit_message_has_url $commit; then | ||||||
|  |     echo "Missing merge request or issue URL on commit $(echo $commit | cut -c -8)" | ||||||
|  |     exit 1 | ||||||
|  |   fi | ||||||
|  | done | ||||||
							
								
								
									
										31
									
								
								.gitlab-ci/checkout-mutter.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | |||||||
|  | #!/usr/bin/bash | ||||||
|  |  | ||||||
|  | shell_branch=$(git describe --contains --all HEAD) | ||||||
|  | mutter_target= | ||||||
|  |  | ||||||
|  | git clone https://gitlab.gnome.org/GNOME/mutter.git | ||||||
|  |  | ||||||
|  | if [ $? -ne 0 ]; then | ||||||
|  |   echo Checkout failed | ||||||
|  |   exit 1 | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | cd mutter | ||||||
|  |  | ||||||
|  | if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then | ||||||
|  |   merge_request_remote=${CI_MERGE_REQUEST_SOURCE_PROJECT_URL//gnome-shell/mutter} | ||||||
|  |   merge_request_branch=$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME | ||||||
|  |  | ||||||
|  |   echo Looking for $merge_request_branch on remote ... | ||||||
|  |   if git fetch $merge_request_remote $merge_request_branch >/dev/null 2>&1; then | ||||||
|  |     mutter_target=FETCH_HEAD | ||||||
|  |   fi | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | if [ -z "$mutter_target" ]; then | ||||||
|  |   mutter_target=$(git branch -r -l $shell_branch) | ||||||
|  |   mutter_target=${mutter_target:-origin/master} | ||||||
|  |   echo Using $mutter_target instead | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | git checkout $mutter_target | ||||||
							
								
								
									
										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 | ||||||
|   | |||||||
							
								
								
									
										31
									
								
								.project
									
									
									
									
									
								
							
							
						
						| @@ -1,31 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <projectDescription> |  | ||||||
| 	<name>gnome-shell</name> |  | ||||||
| 	<comment></comment> |  | ||||||
| 	<projects> |  | ||||||
| 	</projects> |  | ||||||
| 	<buildSpec> |  | ||||||
| 		<buildCommand> |  | ||||||
| 			<name>org.eclipse.wst.jsdt.core.javascriptValidator</name> |  | ||||||
| 			<arguments> |  | ||||||
| 			</arguments> |  | ||||||
| 		</buildCommand> |  | ||||||
| 		<buildCommand> |  | ||||||
| 			<name>org.eclipse.linuxtools.cdt.autotools.genmakebuilder</name> |  | ||||||
| 			<arguments> |  | ||||||
| 			</arguments> |  | ||||||
| 		</buildCommand> |  | ||||||
| 		<buildCommand> |  | ||||||
| 			<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> |  | ||||||
| 			<arguments> |  | ||||||
| 			</arguments> |  | ||||||
| 		</buildCommand> |  | ||||||
| 	</buildSpec> |  | ||||||
| 	<natures> |  | ||||||
| 		<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> |  | ||||||
| 		<nature>org.eclipse.linuxtools.cdt.autotools.autotoolsNature</nature> |  | ||||||
| 		<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> |  | ||||||
| 		<nature>org.eclipse.cdt.core.cnature</nature> |  | ||||||
| 		<nature>org.eclipse.wst.jsdt.core.jsNature</nature> |  | ||||||
| 	</natures> |  | ||||||
| </projectDescription> |  | ||||||
| @@ -1,148 +0,0 @@ | |||||||
| #Fri Nov 28 14:33:30 EST 2008 |  | ||||||
| eclipse.preferences.version=1 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_arguments_in_method_invocation=16 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_base_clause_in_type_declaration=80 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_compact_if=0 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_conditional_expression=80 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_declarator_list=16 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_enumerator_list=48 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_expression_list=0 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_expressions_in_array_initializer=16 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_parameters_in_method_declaration=16 |  | ||||||
| org.eclipse.cdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 |  | ||||||
| org.eclipse.cdt.core.formatter.brace_position_for_array_initializer=next_line_shifted |  | ||||||
| org.eclipse.cdt.core.formatter.brace_position_for_block=next_line_shifted |  | ||||||
| org.eclipse.cdt.core.formatter.brace_position_for_block_in_case=next_line_shifted |  | ||||||
| org.eclipse.cdt.core.formatter.brace_position_for_method_declaration=next_line |  | ||||||
| org.eclipse.cdt.core.formatter.brace_position_for_namespace_declaration=next_line |  | ||||||
| org.eclipse.cdt.core.formatter.brace_position_for_switch=next_line_shifted |  | ||||||
| org.eclipse.cdt.core.formatter.brace_position_for_type_declaration=next_line |  | ||||||
| org.eclipse.cdt.core.formatter.compact_else_if=true |  | ||||||
| org.eclipse.cdt.core.formatter.continuation_indentation=2 |  | ||||||
| org.eclipse.cdt.core.formatter.continuation_indentation_for_array_initializer=2 |  | ||||||
| org.eclipse.cdt.core.formatter.format_guardian_clause_on_one_line=false |  | ||||||
| org.eclipse.cdt.core.formatter.indent_access_specifier_compare_to_type_header=false |  | ||||||
| org.eclipse.cdt.core.formatter.indent_body_declarations_compare_to_access_specifier=true |  | ||||||
| org.eclipse.cdt.core.formatter.indent_body_declarations_compare_to_namespace_header=true |  | ||||||
| org.eclipse.cdt.core.formatter.indent_breaks_compare_to_cases=true |  | ||||||
| org.eclipse.cdt.core.formatter.indent_declaration_compare_to_template_header=true |  | ||||||
| org.eclipse.cdt.core.formatter.indent_empty_lines=false |  | ||||||
| org.eclipse.cdt.core.formatter.indent_statements_compare_to_block=true |  | ||||||
| org.eclipse.cdt.core.formatter.indent_statements_compare_to_body=true |  | ||||||
| org.eclipse.cdt.core.formatter.indent_switchstatements_compare_to_cases=true |  | ||||||
| org.eclipse.cdt.core.formatter.indent_switchstatements_compare_to_switch=false |  | ||||||
| org.eclipse.cdt.core.formatter.indentation.size=8 |  | ||||||
| org.eclipse.cdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_new_line_after_template_declaration=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_new_line_before_else_in_if_statement=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_new_line_before_identifier_in_function_declaration=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_new_line_before_while_in_do_statement=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_new_line_in_empty_block=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_assignment_operator=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_binary_operator=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_closing_angle_bracket_in_template_arguments=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_closing_angle_bracket_in_template_parameters=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_closing_brace_in_block=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_closing_paren_in_cast=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_colon_in_base_clause=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_colon_in_case=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_colon_in_conditional=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_array_initializer=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_base_types=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_declarator_list=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_expression_list=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_template_arguments=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_comma_in_template_parameters=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_angle_bracket_in_template_arguments=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_angle_bracket_in_template_parameters=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_bracket=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_postfix_operator=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_prefix_operator=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_question_in_conditional=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_semicolon_in_for=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_after_unary_operator=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_assignment_operator=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_binary_operator=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_angle_bracket_in_template_arguments=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_angle_bracket_in_template_parameters=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_bracket=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_colon_in_base_clause=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_colon_in_case=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_colon_in_conditional=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_colon_in_default=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_base_types=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_declarator_list=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_expression_list=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_template_arguments=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_comma_in_template_parameters=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_angle_bracket_in_template_arguments=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_angle_bracket_in_template_parameters=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_block=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_namespace_declaration=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_switch=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_bracket=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_catch=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_for=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_if=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_switch=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_while=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_postfix_operator=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_prefix_operator=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_question_in_conditional=insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_semicolon=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_semicolon_in_for=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_before_unary_operator=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_between_empty_brackets=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert |  | ||||||
| org.eclipse.cdt.core.formatter.keep_else_statement_on_same_line=false |  | ||||||
| org.eclipse.cdt.core.formatter.keep_empty_array_initializer_on_one_line=false |  | ||||||
| org.eclipse.cdt.core.formatter.keep_imple_if_on_one_line=false |  | ||||||
| org.eclipse.cdt.core.formatter.keep_then_statement_on_same_line=false |  | ||||||
| org.eclipse.cdt.core.formatter.lineSplit=80 |  | ||||||
| org.eclipse.cdt.core.formatter.number_of_empty_lines_to_preserve=1 |  | ||||||
| org.eclipse.cdt.core.formatter.put_empty_statement_on_new_line=true |  | ||||||
| org.eclipse.cdt.core.formatter.tabulation.char=space |  | ||||||
| org.eclipse.cdt.core.formatter.tabulation.size=2 |  | ||||||
| org.eclipse.cdt.core.formatter.use_tabs_only_for_leading_indentations=false |  | ||||||
| @@ -1,4 +0,0 @@ | |||||||
| #Fri Nov 28 14:33:30 EST 2008 |  | ||||||
| eclipse.preferences.version=1 |  | ||||||
| formatter_profile=org.eclipse.cdt.ui.default.gnu_profile |  | ||||||
| formatter_settings_version=1 |  | ||||||
| @@ -1,315 +0,0 @@ | |||||||
| #Fri Nov 28 14:43:43 EST 2008 |  | ||||||
| eclipse.preferences.version=1 |  | ||||||
| org.eclipse.wst.jsdt.core.codeComplete.argumentPrefixes= |  | ||||||
| org.eclipse.wst.jsdt.core.codeComplete.argumentSuffixes= |  | ||||||
| org.eclipse.wst.jsdt.core.codeComplete.fieldPrefixes= |  | ||||||
| org.eclipse.wst.jsdt.core.codeComplete.fieldSuffixes= |  | ||||||
| org.eclipse.wst.jsdt.core.codeComplete.localPrefixes= |  | ||||||
| org.eclipse.wst.jsdt.core.codeComplete.localSuffixes= |  | ||||||
| org.eclipse.wst.jsdt.core.codeComplete.staticFieldPrefixes= |  | ||||||
| org.eclipse.wst.jsdt.core.codeComplete.staticFieldSuffixes= |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.codegen.inlineJsrBytecode=disabled |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.codegen.targetPlatform=1.2 |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.codegen.unusedLocal=preserve |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.compliance=1.4 |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.debug.lineNumber=generate |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.debug.localVariable=generate |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.debug.sourceFile=generate |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.assertIdentifier=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.deprecation=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.deprecationInDeprecatedCode=disabled |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.discouragedReference=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.emptyStatement=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.enumIdentifier=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.fallthroughCase=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.fieldHiding=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.forbiddenReference=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.hiddenCatchBlock=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.indirectStaticAccess=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.localVariableHiding=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.looseVarDecleration=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.missingDeprecatedAnnotation=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.noEffectAssignment=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.nonExternalizedStringLiteral=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.nullReference=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.optionalSemicolon=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.parameterAssignment=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.potentialNullReference=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.redundantNullCheck=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.undefinedField=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.undocumentedEmptyBlock=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unnecessaryElse=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unresolvedFieldReference=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unresolvedMethodReference=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unresolvedTypeReference=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unusedLabel=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unusedLocal=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unusedParameter=ignore |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.problem.unusedPrivateMember=warning |  | ||||||
| org.eclipse.wst.jsdt.core.compiler.source=1.3 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.align_type_members_on_columns=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_arguments_in_enum_constant=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_arguments_in_method_invocation=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_assignment=0 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_binary_expression=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_compact_if=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_conditional_expression=80 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_enum_constants=0 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_expressions_in_array_initializer=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_multiple_fields=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_parameters_in_method_declaration=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_selector_in_method_invocation=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_superclass_in_type_declaration=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_after_imports=1 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_after_package=1 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_before_field=0 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_before_first_class_body_declaration=0 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_before_imports=1 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_before_member_type=1 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_before_method=1 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_before_new_chunk=1 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_before_package=0 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_between_import_groups=1 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.blank_lines_between_type_declarations=0 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_array_initializer=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_block=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_block_in_case=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_constructor_declaration=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_enum_constant=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_enum_declaration=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_method_declaration=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_objlit_initializer=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_switch=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.brace_position_for_type_declaration=end_of_line |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.clear_blank_lines_in_block_comment=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.format_block_comments=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.format_header=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.format_html=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.format_javadoc_comments=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.format_line_comments=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.format_source_code=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.indent_parameter_description=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.indent_root_tags=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.insert_new_line_before_root_tags=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.insert_new_line_for_parameter=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.comment.line_length=80 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.compact_else_if=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.continuation_indentation=2 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.continuation_indentation_for_array_initializer=2 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.continuation_indentation_for_objlit_initializer=1 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.format_guardian_clause_on_one_line=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_body_declarations_compare_to_type_header=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_breaks_compare_to_cases=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_empty_lines=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_statements_compare_to_block=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_statements_compare_to_body=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_switchstatements_compare_to_cases=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indent_switchstatements_compare_to_switch=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.indentation.size=4 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_after_annotation=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_after_comma_in_objlit_initializer=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_after_opening_brace_in_objlit_initializer=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_before_closing_brace_in_objlit_initializer=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_in_empty_block=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_in_empty_enum_constant=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_in_empty_method_body=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_new_line_in_empty_type_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_and_in_type_parameter=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_assignment_operator=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_at_in_annotation=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_binary_operator=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_closing_brace_in_block=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_closing_paren_in_cast=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_colon_in_assert=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_colon_in_case=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_colon_in_conditional=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_colon_in_for=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_annotation=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_array_initializer=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_for_increments=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_for_inits=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_type_arguments=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_type_parameters=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_ellipsis=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_postfix_operator=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_prefix_operator=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_question_in_conditional=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_question_in_wildcard=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_semicolon_in_for=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_after_unary_operator=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_and_in_type_parameter=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_assignment_operator=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_binary_operator=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_colon_in_assert=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_colon_in_case=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_colon_in_conditional=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_colon_in_default=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_colon_in_for=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_annotation=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_ellipsis=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_block=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_switch=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_catch=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_for=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_if=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_switch=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_opening_paren_in_while=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_postfix_operator=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_prefix_operator=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_question_in_conditional=insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_question_in_wildcard=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_semicolon=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_semicolon_in_for=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_before_unary_operator=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.keep_else_statement_on_same_line=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.keep_empty_array_initializer_on_one_line=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.keep_empty_objlit_initializer_on_one_line=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.keep_imple_if_on_one_line=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.keep_then_statement_on_same_line=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.lineSplit=80 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.never_indent_block_comments_on_first_column=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.never_indent_line_comments_on_first_column=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.number_of_empty_lines_to_preserve=1 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.put_empty_statement_on_new_line=true |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.tabulation.char=space |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.tabulation.size=4 |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.use_tabs_only_for_leading_indentations=false |  | ||||||
| org.eclipse.wst.jsdt.core.formatter.wrap_before_binary_operator=true |  | ||||||
| @@ -1,10 +0,0 @@ | |||||||
| #Fri Nov 28 14:39:12 EST 2008 |  | ||||||
| eclipse.preferences.version=1 |  | ||||||
| formatter_profile=_gjs |  | ||||||
| formatter_settings_version=11 |  | ||||||
| org.eclipse.wst.jsdt.ui.exception.name=e |  | ||||||
| org.eclipse.wst.jsdt.ui.gettersetter.use.is=true |  | ||||||
| org.eclipse.wst.jsdt.ui.javadoc=false |  | ||||||
| org.eclipse.wst.jsdt.ui.keywordthis=false |  | ||||||
| org.eclipse.wst.jsdt.ui.overrideannotation=true |  | ||||||
| org.eclipse.wst.jsdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/> |  | ||||||
| @@ -1 +0,0 @@ | |||||||
| org.eclipse.wst.jsdt.launching.baseBrowserLibrary |  | ||||||
| @@ -1 +0,0 @@ | |||||||
| Window |  | ||||||
							
								
								
									
										107
									
								
								HACKING.md
									
									
									
									
									
								
							
							
						
						| @@ -10,15 +10,15 @@ 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. | ||||||
|  | * No space between the function name in a declaration or a call. | ||||||
|  | * One space before the parens in the `if` statements, or `while`, or `for` loops. | ||||||
|  |  | ||||||
| * One space after the `function` keyword.  No space between the function name |  | ||||||
| * in a declaration or a call.  One space before the parens in the `if` |  | ||||||
| * statements, or `while`, or `for` loops. |  | ||||||
| ```javascript | ```javascript | ||||||
|     function foo(a, b) { |     function foo(a, b) { | ||||||
|         let bar; |         let bar; | ||||||
| @@ -80,10 +80,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 | ```javascript | ||||||
|     const GLib = imports.gi.GLib; |     const { GLib, Gio, St } = imports.gi; | ||||||
|     const Gio = imports.gi.Gio; |  | ||||||
|     const Lang = imports.lang; |  | ||||||
|     const St = imports.gi.St; |  | ||||||
|  |  | ||||||
|     const Main = imports.ui.main; |     const Main = imports.ui.main; | ||||||
|     const Params = imports.misc.params; |     const Params = imports.misc.params; | ||||||
| @@ -121,40 +118,34 @@ See [What's new in JavaScript 1.7](https://developer.mozilla.org/en/JavaScript/N | |||||||
|  |  | ||||||
| ## 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 standard ES6 classes | ||||||
| (sigh), which is built in gjs. The advantage is that it supports inheriting from | whenever possible, that is when not inheriting from GObjects. | ||||||
| GObjects, although this feature isn't used very often in the Shell itself. |  | ||||||
| ```javascript | ```javascript | ||||||
|     var IconLabelMenuItem = new Lang.Class({ |     var IconLabelMenuItem = class extends PopupMenu.PopupMenuBaseItem { | ||||||
|         Name: 'IconLabelMenuItem', |         constructor(icon, label) { | ||||||
|         Extends: PopupMenu.PopupMenuBaseItem, |             super({ reactive: false }); | ||||||
|  |  | ||||||
|         _init(icon, label) { |  | ||||||
|             this.parent({ reactive: false }); |  | ||||||
|             this.actor.add_child(icon); |             this.actor.add_child(icon); | ||||||
|             this.actor.add_child(label); |             this.actor.add_child(label); | ||||||
|         }, |         } | ||||||
|  |  | ||||||
|         open() { |         open() { | ||||||
|             log("menu opened!"); |             log("menu opened!"); | ||||||
|         } |         } | ||||||
|     }); |     }; | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| * 'Name' is required. 'Extends' is optional. If you leave it out, you will | For GObject inheritence, we use the GObject.registerClass() function provided | ||||||
|   automatically inherit from Object. | by gjs. | ||||||
|  | ```javascript | ||||||
|  |     var MyActor = GObject.registerClass( | ||||||
|  |     class MyActor extends Clutter.Actor { | ||||||
|  |         _init(params) { | ||||||
|  |             super._init(params); | ||||||
|  |  | ||||||
| * Leave a blank line between the "class header" (Name, Extends, and other |             this.name = 'MyCustomActor'; | ||||||
|   things)  and the "class body" (methods). Leave a blank line between each |         } | ||||||
|   method. |     }); | ||||||
|  | ``` | ||||||
| * No space before the colon, one space after. |  | ||||||
|  |  | ||||||
| * No trailing comma after the last item. |  | ||||||
|  |  | ||||||
| * Make sure to use a semicolon after the closing paren to the class. It's |  | ||||||
|   still a giant function call, even though it may resemble a more |  | ||||||
|   conventional syntax. |  | ||||||
|  |  | ||||||
| ## GObject Introspection | ## GObject Introspection | ||||||
|  |  | ||||||
| @@ -162,19 +153,18 @@ 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 | ```javascript | ||||||
|     var MyClutterActor = new Lang.Class({ |     var MyClutterActor = GObject.registerClass( | ||||||
|         Name: 'MyClutterActor', |     class MyClutterActor extends Clutter.Actor { | ||||||
|         Extends: Clutter.Actor, |  | ||||||
|  |  | ||||||
|         vfunc_get_preferred_width(actor, forHeight) { |         vfunc_get_preferred_width(forHeight) { | ||||||
|              return [100, 100]; |              return [100, 100]; | ||||||
|         }, |         } | ||||||
|  |  | ||||||
|         vfunc_get_preferred_height(actor, forWidth) { |         vfunc_get_preferred_height(forWidth) { | ||||||
|              return [100, 100]; |              return [100, 100]; | ||||||
|         }, |         } | ||||||
|  |  | ||||||
|         vfunc_paint(actor) { |         vfunc_paint() { | ||||||
|              let alloc = this.get_allocation_box(); |              let alloc = this.get_allocation_box(); | ||||||
|              Cogl.set_source_color4ub(255, 0, 0, 255); |              Cogl.set_source_color4ub(255, 0, 0, 255); | ||||||
|              Cogl.rectangle(alloc.x1, alloc.y1, |              Cogl.rectangle(alloc.x1, alloc.y1, | ||||||
| @@ -207,20 +197,18 @@ 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 | ```javascript | ||||||
|     var MyClass = new Lang.Class({ |     var MyClass = class { | ||||||
|         Name: 'MyClass', |         constructor() { | ||||||
|  |  | ||||||
|         _init() { |  | ||||||
|             this.actor = new St.Button({ text: "This is a button" }); |             this.actor = new St.Button({ text: "This is a button" }); | ||||||
|             this.actor._delegate = this; |             this.actor._delegate = this; | ||||||
|  |  | ||||||
|             this.actor.connect('clicked', this._onClicked.bind(this)); |             this.actor.connect('clicked', this._onClicked.bind(this)); | ||||||
|         }, |         } | ||||||
|  |  | ||||||
|         _onClicked(actor) { |         _onClicked(actor) { | ||||||
|             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 | ||||||
| @@ -246,8 +234,6 @@ 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 | ```javascript | ||||||
|     const Lang = imports.lang; |  | ||||||
|  |  | ||||||
|     let closure1 = () => { this._fnorbate(); }; |     let closure1 = () => { this._fnorbate(); }; | ||||||
|     let closure2 = this._fnorbate.bind(this); |     let closure2 = this._fnorbate.bind(this); | ||||||
| ``` | ``` | ||||||
| @@ -255,19 +241,18 @@ notation. | |||||||
| 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 | ```javascript | ||||||
|     const Lang = imports.lang; |  | ||||||
|     const FnorbLib = imports.fborbLib; |     const FnorbLib = imports.fborbLib; | ||||||
|  |  | ||||||
|     var MyClass = new Lang.Class({ |     var MyClass = class { | ||||||
|         _init() { |         _init() { | ||||||
|             let fnorb = new FnorbLib.Fnorb(); |             let fnorb = new FnorbLib.Fnorb(); | ||||||
|             fnorb.connect('frobate', this._onFnorbFrobate.bind(this)); |             fnorb.connect('frobate', this._onFnorbFrobate.bind(this)); | ||||||
|         }, |         } | ||||||
|  |  | ||||||
|         _onFnorbFrobate(fnorb) { |         _onFnorbFrobate(fnorb) { | ||||||
|             this._updateFnorb(); |             this._updateFnorb(); | ||||||
|         } |         } | ||||||
|     }); |     }; | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| ## Object literal syntax | ## Object literal syntax | ||||||
| @@ -301,23 +286,21 @@ property. | |||||||
| ```javascript | ```javascript | ||||||
|     var ANIMATION_TIME = 2000; |     var ANIMATION_TIME = 2000; | ||||||
|  |  | ||||||
|     var MyClass = new Lang.Class({ |     var MyClass = class { | ||||||
|         Name: 'MyClass', |         constructor() { | ||||||
|  |  | ||||||
|         _init() { |  | ||||||
|             this.actor = new St.BoxLayout(); |             this.actor = new St.BoxLayout(); | ||||||
|             this._position = 0; |             this._position = 0; | ||||||
|         }, |         } | ||||||
|  |  | ||||||
|         get position() { |         get position() { | ||||||
|             return this._position; |             return this._position; | ||||||
|         }, |         } | ||||||
|  |  | ||||||
|         set position(value) { |         set position(value) { | ||||||
|             this._position = value; |             this._position = value; | ||||||
|             this.actor.set_position(value, value); |             this.actor.set_position(value, value); | ||||||
|         } |         } | ||||||
|     }); |     }; | ||||||
|  |  | ||||||
|     let myThing = new MyClass(); |     let myThing = new MyClass(); | ||||||
|     Tweener.addTween(myThing, |     Tweener.addTween(myThing, | ||||||
|   | |||||||
							
								
								
									
										167
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						| @@ -1,3 +1,170 @@ | |||||||
|  | 3.32.0 | ||||||
|  | ====== | ||||||
|  | * Fix sizing issues in on-screen-keyboard emoji panel [Carlos; !439] | ||||||
|  | * Fix test linker failure on Debian/Ubuntu [Iain; !442] | ||||||
|  | * Avoid assertion when sizing fallback app icons from CSS [Florian; #1027] | ||||||
|  | * Fix mis-sized menu arrows after texture cache changes [Florian; !452] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Carlos Garnacho, Iain Lane, Florian Müllner | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Gábor Kelemen [hu], Victor Ibragimov [tg], Ryuta Fujii [ja], Piotr Drąg [af, | ||||||
|  |   tg], Mart Raudsepp [et] | ||||||
|  |  | ||||||
|  | 3.31.92 | ||||||
|  | ======= | ||||||
|  | * Fix visual glitch in submenus [Alex; #987] | ||||||
|  | * Support fractional scaling [Jonas, Marco; #765011, !5] | ||||||
|  | * Only consider visible children for :first-child/:last-child [Florian; !312] | ||||||
|  | * Hide trailing separator in search results [verdre; !311] | ||||||
|  | * Remember choice in inhibit-shortcuts dialogue [Olivier; !382] | ||||||
|  | * Don't toggle on-screen keyboard on every focus change [Carlos; !397] | ||||||
|  | * Fix legacy tray icons not responding to events on wayland [Florian; #191] | ||||||
|  | * Fix generating French OSK layout [Florian; #997] | ||||||
|  | * Use borderless round user images [Florian; #811] | ||||||
|  | * Misc. bug fixes and cleanups [Andrea, Robert, Florian, Marco, Niels, | ||||||
|  |   Benjamin; !414, !417, !420, #996, !408, !422, !425, #1006, !427, !315, | ||||||
|  |   #989, !430, !431, !432, #1015, !429, !423, !419, !434] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Jonas Ådahl, Alan, Andrea Azzarone, Benjamin Berg, Olivier Fourdan, | ||||||
|  |   Carlos Garnacho, Niels De Graef, Robert Mader, Alex Monday, Florian Müllner, | ||||||
|  |   Marco Trevisan (Treviño), verdre | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Carmen Bianca BAKKER [eo], Asier Sarasua Garmendia [eu], Stas Solovey [ru], | ||||||
|  |   Changwoo Ryu [ko], Julien Humbert [fr], Milo Casagrande [it], | ||||||
|  |   Марко Костић [sr], Ask Hjorth Larsen [da], Kukuh Syafaat [id], | ||||||
|  |   Daniel Șerbănescu [ro], Bernd Homuth [de], Trần Ngọc Quân [vi], | ||||||
|  |   Nathan Follens [nl], Rūdolfs Mazurs [lv], Aurimas Černius [lt] | ||||||
|  |  | ||||||
|  | 3.31.91 | ||||||
|  | ======= | ||||||
|  | * Don't close on-screen-keyboard's language menu on hover [Florian; #171] | ||||||
|  | * Don't let unfullscreen gesture interfere with top bar taps [Jonas D.; #552] | ||||||
|  | * Always use symbolic user icon in system menu [Florian; #957] | ||||||
|  | * Add flags parameter in GrabAccelerators API [Andrea; #68] | ||||||
|  | * Misc. bug fixes and cleanups [Florian, Jonas A.; !399, !398, !400, !402, | ||||||
|  |   !407, !410, !411] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Jonas Ådahl, Andrea Azzarone, Arnaud Bonatti, Jonas Dreßler, Florian Müllner | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Jordi Mas [ca], Ryuta Fujii [ja], Marek Cernocky [cs], Fran Dieguez [gl], | ||||||
|  |   Jiri Grönroos [fi], Serdar Sağlam [tr], Anders Jonsson [sv], | ||||||
|  |   Matej Urbančič [sl], Gun Chleoc [gd], Kukuh Syafaat [id], | ||||||
|  |   Baurzhan Muftakhidinov [kk], Alan Mortensen [da], Rafael Fontenelle [pt_BR], | ||||||
|  |   Sveinn í Felli [is] | ||||||
|  |  | ||||||
|  | 3.31.90 | ||||||
|  | ======= | ||||||
|  | * Fix input methods after ibus restarts [Takao; #295] | ||||||
|  | * Refresh world clocks and weather sections [Florian; #262] | ||||||
|  | * Port to ES6 classes (update your extensions!) [Florian; !361] | ||||||
|  | * networkAgent: Advise users when WPS support is available [Lubomir; !329] | ||||||
|  | * Performance improvements [Carlos; #832, #815] | ||||||
|  | * Fix drag-and-drop with wacom pens [Carlos; #540] | ||||||
|  | * Fix CAPS LOCK indication on wayland [Carlos; #762881] | ||||||
|  | * Show details of non-sensitive notifications on lock screen [Philip; #726] | ||||||
|  | * Refine extension-prefs' error UI [Florian; !193] | ||||||
|  | * Add switch-to-application-n keybindings [Florian; #648000] | ||||||
|  | * Remove top bar translucency [Florian; #408] | ||||||
|  | * Support emojis and keypads in on-screen keyboard [Carlos; #675] | ||||||
|  | * Don't allow popups to re-enable keyboard shortcuts on lock screen | ||||||
|  |   (CVE-2019-3820) [Florian, Ray; #851] | ||||||
|  | * Replace app menu [Florian; #624] | ||||||
|  | * Include commonly copied+pasted extension helpers [Florian; !150] | ||||||
|  | * Misc. bug fixes and cleanups [Florian, Daniel, Philip, Sergio, Pascal, | ||||||
|  |   Georges, verdre, Carlos, Christopher; #780, #909, !316, !308, !309, #915, | ||||||
|  |   !350, !362, !357, !365, !366, !283, !367, #942, !371, !373, !374, !343, | ||||||
|  |   !375, !292, !317, !377, !379, !346, !383, #953, !388] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Sergio Costas, Christopher Davis, Bilal Elmoussaoui, Takao Fujiwara, | ||||||
|  |   Carlos Garnacho, Niels De Graef, Christian Kellner, Ignat Loskutov, | ||||||
|  |   Florian Müllner, Georges Basile Stavracas Neto, Pascal Nowack, Lubomir Rintel, | ||||||
|  |   Jakub Steiner, Ray Strode, verdre, Daniel van Vugt, Philip Withnall | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Daniel Mustieles [es], Carmen Bianca BAKKER [eo], Charles Monzat [fr], | ||||||
|  |   Pieter Schalk Schoeman [af], Jordi Mas [ca], Matej Urbančič [sl], | ||||||
|  |   Fran Dieguez [gl], Balázs Úr [hu], A S Alam [pa], Fabio Tomat [fur], | ||||||
|  |   Aurimas Černius [lt], Piotr Drąg [pl], Marek Cernocky [cs], Ryuta Fujii [ja] | ||||||
|  |  | ||||||
|  | 3.31.4 | ||||||
|  | ====== | ||||||
|  | * Improve icon grid performance [Daniel; #174] | ||||||
|  | * Remove browser plugin [Michael; #766776] | ||||||
|  | * Add DBus API for introspecting the application state [Jonas, Olivier; !326] | ||||||
|  | * Always allow leaving the overview via the hot-corner [Pascal; #429] | ||||||
|  | * Misc. bug fixes [Florian, Jasper, Andrea, Sam, Dani, Cosimo, Jonas, Carlos; | ||||||
|  |   #643595, #673767, !293, #783, #781, !298, !297, #782, !301, !314, !305, #799, | ||||||
|  |   #632, !327] | ||||||
|  |  | ||||||
|  | Contributors: | ||||||
|  |   Jonas Ådahl, Andrea Azzarone, Michael Catanzaro, Cosimo Cecchi, daniruiz, | ||||||
|  |   Olivier Fourdan, Carlos Garnacho, Sam Hewitt, Andre Klapper, Florian Müllner, | ||||||
|  |   Pascal Nowack, Jasper St. Pierre, RyuzakiKK, Marco Trevisan (Treviño), | ||||||
|  |   João Paulo Rechi Vita, Daniel van Vugt | ||||||
|  |  | ||||||
|  | Translators: | ||||||
|  |   Kristjan SCHMIDT [eo], Matej Urbančič [sl], Daniel Mustieles [es], | ||||||
|  |   Fabio Tomat [fur], Emin Tufan Çetin [tr], Anders Jonsson [sv], | ||||||
|  |   Ryuta Fujii [ja] | ||||||
|  |  | ||||||
|  | 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 | 3.30.0 | ||||||
| ====== | ====== | ||||||
|  |  | ||||||
|   | |||||||
| @@ -11,6 +11,14 @@ see the [project wiki][project-wiki]. | |||||||
|  |  | ||||||
| Bugs should be reported to the GNOME [bug tracking system][bug-tracker]. | Bugs should be reported to the GNOME [bug tracking system][bug-tracker]. | ||||||
|  |  | ||||||
|  | ## Contributing | ||||||
|  |  | ||||||
|  | To contribute, open merge requests at https://gitlab.gnome.org/GNOME/gnome-shell. | ||||||
|  |  | ||||||
|  | Commit messages should follow the [GNOME commit message | ||||||
|  | guidelines](https://wiki.gnome.org/Git/CommitMessages). We require an URL | ||||||
|  | to either an issue or a merge request in each commit. | ||||||
|  |  | ||||||
| ## License | ## 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][license] file for details. | version 2 or later. See the [COPYING][license] file for details. | ||||||
|   | |||||||
							
								
								
									
										40
									
								
								README.mdwn
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,40 @@ | |||||||
|  | cldr2json | ||||||
|  | ========= | ||||||
|  |  | ||||||
|  | This script converts Unicode CLDR android keyboard layouts to JSON usable by | ||||||
|  | GNOME Shell. | ||||||
|  |  | ||||||
|  | CLDR keyboard layouts can be found at | ||||||
|  | <http://www.unicode.org/Public/cldr/latest/keyboards.zip> | ||||||
|  |  | ||||||
|  |  | ||||||
|  | Usage | ||||||
|  | ===== | ||||||
|  |  | ||||||
|  |     ./cldr2json <input file or directory> <output directory> | ||||||
|  |  | ||||||
|  | example: | ||||||
|  |  | ||||||
|  |     ./cldr2json cldr/keyboards/android/ json_layouts/ | ||||||
|  |  | ||||||
|  |  | ||||||
|  | Keyboard layout mapping | ||||||
|  | ======================= | ||||||
|  |  | ||||||
|  | Unicode CLDR layout identifiers are language codes, while XKB layout | ||||||
|  | identifiers are... something else. The mapping between the two currently uses | ||||||
|  | heuristic based on the layout descriptions, in this order: | ||||||
|  |  | ||||||
|  | - if the CLDR layout description matches an XKB layout description, chose its | ||||||
|  |   XKB identifier | ||||||
|  | - if one word of the CLDR layout description matches an XKB layout | ||||||
|  |   description, chose its XKB identifier | ||||||
|  | - if the CLDR layout description matches one word of an XKB layout description, | ||||||
|  |   chose its XKB identifier | ||||||
|  |  | ||||||
|  | That doesn't always work. For instance it fails for "en" language, that should | ||||||
|  | match "us" XKB identifier. For such cases, there is a mapping in | ||||||
|  | LOCALE_TO_XKB_OVERRIDES at the top of the script. If you discover a weird | ||||||
|  | mapping of if you get a "failed to find XKB mapping for <locale>" warning then | ||||||
|  | please consider adding an override there. | ||||||
|  |  | ||||||
| @@ -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 to the GNOME [bug tracking system][bug-tracker]. |  | ||||||
|  |  | ||||||
| ## 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/ |  | ||||||
|  |  | ||||||
| [bug-tracker]: https://gitlab.gnome.org/GNOME/gnome-shell/issues |  | ||||||
| @@ -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_ */ |  | ||||||
							
								
								
									
										208
									
								
								cldr2json.py
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @@ -0,0 +1,208 @@ | |||||||
|  | #!/usr/bin/python3 | ||||||
|  | # | ||||||
|  | # Copyright 2015  Daiki Ueno <dueno@src.gnome.org> | ||||||
|  | #           2016  Parag Nemade <pnemade@redhat.com> | ||||||
|  | #           2017  Alan <alan@boum.org> | ||||||
|  | # | ||||||
|  | # This program is free software; you can redistribute it and/or modify | ||||||
|  | # it under the terms of the GNU Lesser General Public License as | ||||||
|  | # published by the Free Software Foundation; either version 2 of the | ||||||
|  | # License, or (at your option) any later version. | ||||||
|  | # | ||||||
|  | # This program is distributed in the hope that it will be useful, but | ||||||
|  | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | # Lesser General Public License for more details. | ||||||
|  | # | ||||||
|  | # You should have received a copy of the GNU Lesser General Public | ||||||
|  | # License along with this program; if not, see | ||||||
|  | # <http://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | import glob | ||||||
|  | import json | ||||||
|  | import locale | ||||||
|  | import logging | ||||||
|  | import os | ||||||
|  | import re | ||||||
|  | import sys | ||||||
|  | import xml.etree.ElementTree | ||||||
|  |  | ||||||
|  | import gi | ||||||
|  | gi.require_version('GnomeDesktop', '3.0')   # NOQA: E402 | ||||||
|  | from gi.repository import GnomeDesktop | ||||||
|  |  | ||||||
|  | ESCAPE_PATTERN = re.compile(r'\\u\{([0-9A-Fa-f]+?)\}') | ||||||
|  | ISO_PATTERN = re.compile(r'[A-E]([0-9]+)') | ||||||
|  |  | ||||||
|  | LOCALE_TO_XKB_OVERRIDES = { | ||||||
|  |     'af':    'za', | ||||||
|  |     'en':    'us', | ||||||
|  |     'en-GB': 'uk', | ||||||
|  |     'es-US': 'latam', | ||||||
|  |     'fr-CA': 'ca', | ||||||
|  |     'hi':    'in+bolnagri', | ||||||
|  |     'ky':    'kg', | ||||||
|  |     'nl-BE': 'be', | ||||||
|  |     'zu':    None | ||||||
|  | } | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def parse_single_key(value): | ||||||
|  |     def unescape(m): | ||||||
|  |         return chr(int(m.group(1), 16)) | ||||||
|  |     value = ESCAPE_PATTERN.sub(unescape, value) | ||||||
|  |     return value | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def parse_rows(keymap): | ||||||
|  |     unsorted_rows = {} | ||||||
|  |     for _map in keymap.iter('map'): | ||||||
|  |         value = _map.get('to') | ||||||
|  |         key = [parse_single_key(value)] | ||||||
|  |         iso = _map.get('iso') | ||||||
|  |         if not ISO_PATTERN.match(iso): | ||||||
|  |             sys.stderr.write('invalid ISO key name: %s\n' % iso) | ||||||
|  |             continue | ||||||
|  |         if not iso[0] in unsorted_rows: | ||||||
|  |             unsorted_rows[iso[0]] = [] | ||||||
|  |         unsorted_rows[iso[0]].append((int(iso[1:]), key)) | ||||||
|  |         # add subkeys | ||||||
|  |         longPress = _map.get('longPress') | ||||||
|  |         if longPress: | ||||||
|  |             for value in longPress.split(' '): | ||||||
|  |                 subkey = parse_single_key(value) | ||||||
|  |                 key.append(subkey) | ||||||
|  |  | ||||||
|  |     rows = [] | ||||||
|  |     for k, v in sorted(list(unsorted_rows.items()), | ||||||
|  |                        key=lambda x: x[0], | ||||||
|  |                        reverse=True): | ||||||
|  |         row = [] | ||||||
|  |         for key in sorted(v, key=lambda x: x): | ||||||
|  |             row.append(key[1]) | ||||||
|  |         rows.append(row) | ||||||
|  |  | ||||||
|  |     return rows | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def convert_xml(tree): | ||||||
|  |     root = {} | ||||||
|  |     for xml_keyboard in tree.iter("keyboard"): | ||||||
|  |         locale_full = xml_keyboard.get("locale") | ||||||
|  |         locale, sep, end = locale_full.partition("-t-") | ||||||
|  |     root["locale"] = locale | ||||||
|  |     for xml_name in tree.iter("name"): | ||||||
|  |         name = xml_name.get("value") | ||||||
|  |     root["name"] = name | ||||||
|  |     root["levels"] = [] | ||||||
|  |     # parse levels | ||||||
|  |     for index, keymap in enumerate(tree.iter('keyMap')): | ||||||
|  |         # FIXME: heuristics here | ||||||
|  |         modifiers = keymap.get('modifiers') | ||||||
|  |         if not modifiers: | ||||||
|  |             mode = 'default' | ||||||
|  |             modifiers = '' | ||||||
|  |         elif 'shift' in modifiers.split(' '): | ||||||
|  |             mode = 'latched' | ||||||
|  |             modifiers = 'shift' | ||||||
|  |         else: | ||||||
|  |             mode = 'locked' | ||||||
|  |         level = {} | ||||||
|  |         level["level"] = modifiers | ||||||
|  |         level["mode"] = mode | ||||||
|  |         level["rows"] = parse_rows(keymap) | ||||||
|  |         root["levels"].append(level) | ||||||
|  |     return root | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def locale_to_xkb(locale, name): | ||||||
|  |     if locale in sorted(LOCALE_TO_XKB_OVERRIDES.keys()): | ||||||
|  |         xkb = LOCALE_TO_XKB_OVERRIDES[locale] | ||||||
|  |         logging.debug("override for %s → %s", | ||||||
|  |                       locale, xkb) | ||||||
|  |         if xkb: | ||||||
|  |             return xkb | ||||||
|  |         else: | ||||||
|  |             raise KeyError("layout %s explicitely disabled in overrides" | ||||||
|  |                            % locale) | ||||||
|  |     xkb_names = sorted(name_to_xkb.keys()) | ||||||
|  |     if name in xkb_names: | ||||||
|  |         return name_to_xkb[name] | ||||||
|  |     else: | ||||||
|  |         logging.debug("name %s failed" % name) | ||||||
|  |     for sub_name in name.split(' '): | ||||||
|  |         if sub_name in xkb_names: | ||||||
|  |             xkb = name_to_xkb[sub_name] | ||||||
|  |             logging.debug("dumb mapping failed but match with locale word: " | ||||||
|  |                           "%s (%s) → %s (%s)", | ||||||
|  |                           locale, name, xkb, sub_name) | ||||||
|  |             return xkb | ||||||
|  |         else: | ||||||
|  |             logging.debug("sub_name failed") | ||||||
|  |     for xkb_name in xkb_names: | ||||||
|  |         for xkb_sub_name in xkb_name.split(' '): | ||||||
|  |             if xkb_sub_name.strip('()') == name: | ||||||
|  |                 xkb = name_to_xkb[xkb_name] | ||||||
|  |                 logging.debug("dumb mapping failed but match with xkb word: " | ||||||
|  |                               "%s (%s) → %s (%s)", | ||||||
|  |                               locale, name, xkb, xkb_name) | ||||||
|  |                 return xkb | ||||||
|  |     raise KeyError("failed to find XKB mapping for %s" % locale) | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def convert_file(source_file, destination_path): | ||||||
|  |     logging.info("Parsing %s", source_file) | ||||||
|  |  | ||||||
|  |     itree = xml.etree.ElementTree.ElementTree() | ||||||
|  |     itree.parse(source_file) | ||||||
|  |  | ||||||
|  |     root = convert_xml(itree) | ||||||
|  |  | ||||||
|  |     try: | ||||||
|  |         xkb_name = locale_to_xkb(root["locale"], root["name"]) | ||||||
|  |     except KeyError as e: | ||||||
|  |         logging.warn(e) | ||||||
|  |         return False | ||||||
|  |     destination_file = os.path.join(destination_path, xkb_name + ".json") | ||||||
|  |  | ||||||
|  |     with open(destination_file, 'w', encoding="utf-8") as dest_fd: | ||||||
|  |         json.dump(root, dest_fd, ensure_ascii=False, indent=2, sort_keys=True) | ||||||
|  |  | ||||||
|  |     logging.debug("written %s", destination_file) | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def load_xkb_mappings(): | ||||||
|  |     xkb = GnomeDesktop.XkbInfo() | ||||||
|  |     layouts = xkb.get_all_layouts() | ||||||
|  |     name_to_xkb = {} | ||||||
|  |  | ||||||
|  |     for layout in layouts: | ||||||
|  |         name = xkb.get_layout_info(layout).display_name | ||||||
|  |         name_to_xkb[name] = layout | ||||||
|  |  | ||||||
|  |     return name_to_xkb | ||||||
|  |  | ||||||
|  |  | ||||||
|  | locale.setlocale(locale.LC_ALL, "C") | ||||||
|  | name_to_xkb = load_xkb_mappings() | ||||||
|  |  | ||||||
|  |  | ||||||
|  | if __name__ == "__main__": | ||||||
|  |     if "DEBUG" in os.environ: | ||||||
|  |         logging.basicConfig(level=logging.DEBUG) | ||||||
|  |  | ||||||
|  |     if len(sys.argv) < 2: | ||||||
|  |         print("supply a CLDR keyboard file") | ||||||
|  |         sys.exit(1) | ||||||
|  |  | ||||||
|  |     if len(sys.argv) < 3: | ||||||
|  |         print("supply an output directory") | ||||||
|  |         sys.exit(1) | ||||||
|  |  | ||||||
|  |     source = sys.argv[1] | ||||||
|  |     destination = sys.argv[2] | ||||||
|  |     if os.path.isfile(source): | ||||||
|  |         convert_file(source, destination) | ||||||
|  |     elif os.path.isdir(source): | ||||||
|  |         for path in glob.glob(source + "/*-t-k0-android.xml"): | ||||||
|  |             convert_file(path, destination) | ||||||
							
								
								
									
										10
									
								
								data/dbus-interfaces/meson.build
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,10 @@ | |||||||
|  | dbus_interfaces = [ | ||||||
|  |   'org.gnome.Shell.Extensions.xml', | ||||||
|  |   'org.gnome.Shell.Introspect.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> | ||||||
							
								
								
									
										12
									
								
								data/dbus-interfaces/org.gnome.Shell.CalendarServer.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,12 @@ | |||||||
|  | <node> | ||||||
|  |   <interface name="org.gnome.Shell.CalendarServer"> | ||||||
|  |     <method name="GetEvents"> | ||||||
|  |       <arg type="x" direction="in" /> | ||||||
|  |       <arg type="x" direction="in" /> | ||||||
|  |       <arg type="b" direction="in" /> | ||||||
|  |       <arg type="a(sssbxxa{sv})" direction="out" /> | ||||||
|  |     </method> | ||||||
|  |     <property name="HasCalendars" type="b" access="read" /> | ||||||
|  |     <signal name="Changed" /> | ||||||
|  |   </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> | ||||||
							
								
								
									
										61
									
								
								data/dbus-interfaces/org.gnome.Shell.Introspect.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,61 @@ | |||||||
|  | <!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.Introspect: | ||||||
|  |       @short_description: Introspection interface | ||||||
|  |  | ||||||
|  |       The interface used to introspect the state of Shell, such as running | ||||||
|  |       applications, currently active application, etc. | ||||||
|  |   --> | ||||||
|  |   <interface name="org.gnome.Shell.Introspect"> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         RunningApplicationsChanged: | ||||||
|  |         @short_description: Notifies when the running applications changes | ||||||
|  |     --> | ||||||
|  |     <signal name="RunningApplicationsChanged" /> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         GetRunningApplications: | ||||||
|  |         @short_description: Retrieves the description of all running applications | ||||||
|  |  | ||||||
|  |         Each application is associated by an application ID. The details of | ||||||
|  |         each application consists of a varlist of keys and values. Available | ||||||
|  |         keys are listed below. | ||||||
|  |  | ||||||
|  |         'active-on-seats' - (as)   list of seats the application is active on | ||||||
|  |                                    (a seat only has at most one active | ||||||
|  |                                    application) | ||||||
|  |     --> | ||||||
|  |     <method name="GetRunningApplications"> | ||||||
|  |       <arg name="apps" direction="out" type="a{sa{sv}}" /> | ||||||
|  |     </method> | ||||||
|  |  | ||||||
|  |     <!-- | ||||||
|  |         GetWindows: | ||||||
|  |         @short_description: Retrieves the current list of windows and their properties | ||||||
|  |  | ||||||
|  |         A window is exposed as: | ||||||
|  |         * t ID: unique ID of the window | ||||||
|  |         * a{sv} properties: high-level properties | ||||||
|  |  | ||||||
|  |           Known properties: | ||||||
|  |  | ||||||
|  |           - "title"       (s): (readonly) title of the window | ||||||
|  |           - "app-id"      (s): (readonly) application ID of the window | ||||||
|  |           - "wm-class"    (s): (readonly) class of the window | ||||||
|  |           - "client-type" (u): (readonly) 0 for Wayland, 1 for X11 | ||||||
|  |           - "is-hidden"   (b): (readonly) if the window is currently hidden | ||||||
|  |           - "has-focus"   (b): (readonly) if the window currently have | ||||||
|  |                                           keyboard focus | ||||||
|  |           - "width"       (u): (readonly) width of the window | ||||||
|  |           - "height"      (u): (readonly) height of the window | ||||||
|  |     --> | ||||||
|  |     <method name="GetWindows"> | ||||||
|  |       <arg name="windows" direction="out" type="a{ta{sv}}" /> | ||||||
|  |     </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> | ||||||
							
								
								
									
										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> | ||||||
							
								
								
									
										49
									
								
								data/dbus-interfaces/org.gnome.Shell.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,49 @@ | |||||||
|  | <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="modeFlags"/> | ||||||
|  |       <arg type="u" direction="in" name="grabFlags"/> | ||||||
|  |       <arg type="u" direction="out" name="action"/> | ||||||
|  |     </method> | ||||||
|  |     <method name="GrabAccelerators"> | ||||||
|  |       <arg type="a(suu)" 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> | ||||||
|  |     <method name="UngrabAccelerators"> | ||||||
|  |       <arg type="au" 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> | ||||||
							
								
								
									
										15740
									
								
								data/emoji.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										57
									
								
								data/gnome-shell-dbus-interfaces.gresource.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,57 @@ | |||||||
|  | <?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.CalendarServer.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.Extensions.xml</file> | ||||||
|  |     <file preprocess="xml-stripblanks">org.gnome.Shell.Introspect.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> | ||||||
| @@ -6,6 +6,7 @@ | |||||||
|     <file>be.json</file> |     <file>be.json</file> | ||||||
|     <file>bg.json</file> |     <file>bg.json</file> | ||||||
|     <file>by.json</file> |     <file>by.json</file> | ||||||
|  |     <file>ca.json</file> | ||||||
|     <file>cz.json</file> |     <file>cz.json</file> | ||||||
|     <file>de.json</file> |     <file>de.json</file> | ||||||
|     <file>dk.json</file> |     <file>dk.json</file> | ||||||
| @@ -54,5 +55,6 @@ | |||||||
|     <file>us.json</file> |     <file>us.json</file> | ||||||
|     <file>vn.json</file> |     <file>vn.json</file> | ||||||
|     <file>za.json</file> |     <file>za.json</file> | ||||||
|  |     <file>emoji.json</file> | ||||||
|   </gresource> |   </gresource> | ||||||
| </gresources> | </gresources> | ||||||
|   | |||||||
| @@ -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> | ||||||
|   | |||||||
| @@ -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] | ||||||
|  | ] | ||||||
|  | foreach resource : data_resources | ||||||
|  |   gnome.compile_resources( | ||||||
|  |     'gnome-shell-' + resource[0], | ||||||
|  |     'gnome-shell-@0@.gresource.xml'.format(resource[0]), | ||||||
|  |     source_dir: resource[0], | ||||||
|  |     dependencies: resource[1], | ||||||
|     gresource_bundle: true, |     gresource_bundle: true, | ||||||
|     install: true, |     install: true, | ||||||
|     install_dir: pkgdatadir |     install_dir: pkgdatadir | ||||||
| ) |   ) | ||||||
|  | endforeach | ||||||
| osk_layout_resources = gnome.compile_resources( |  | ||||||
|   'gnome-shell-osk-layouts', 'gnome-shell-osk-layouts.gresource.xml', |  | ||||||
|   source_dir: 'osk-layouts', |  | ||||||
|   gresource_bundle: true, |  | ||||||
|   install: true, |  | ||||||
|   install_dir: pkgdatadir |  | ||||||
| ) |  | ||||||
|  |  | ||||||
| perfconf = configuration_data() | perfconf = configuration_data() | ||||||
| perfconf.set('datadir', datadir) | perfconf.set('datadir', datadir) | ||||||
|   | |||||||
| @@ -90,6 +90,14 @@ | |||||||
|         adapter is ever seen not to have devices associated to it. |         adapter is ever seen not to have devices associated to it. | ||||||
|       </description> |       </description> | ||||||
|     </key> |     </key> | ||||||
|  |     <key name="introspect" type="b"> | ||||||
|  |       <default>false</default> | ||||||
|  |       <summary>Enable introspection API</summary> | ||||||
|  |       <description> | ||||||
|  |         Enables a D-Bus API that allows to introspect the application state of | ||||||
|  |         the shell. | ||||||
|  |       </description> | ||||||
|  |     </key> | ||||||
|     <child name="keybindings" schema="org.gnome.shell.keybindings"/> |     <child name="keybindings" schema="org.gnome.shell.keybindings"/> | ||||||
|     <child name="keyboard" schema="org.gnome.shell.keyboard"/> |     <child name="keyboard" schema="org.gnome.shell.keyboard"/> | ||||||
|   </schema> |   </schema> | ||||||
| @@ -137,6 +145,42 @@ | |||||||
|       <summary>Keybinding that pauses and resumes all running tweens, for debugging purposes</summary> |       <summary>Keybinding that pauses and resumes all running tweens, for debugging purposes</summary> | ||||||
|       <description></description> |       <description></description> | ||||||
|     </key> |     </key> | ||||||
|  |     <key name="switch-to-application-1" type="as"> | ||||||
|  |       <default>["<Super>1"]</default> | ||||||
|  |       <summary>Switch to application 1</summary> | ||||||
|  |     </key> | ||||||
|  |     <key name="switch-to-application-2" type="as"> | ||||||
|  |       <default>["<Super>2"]</default> | ||||||
|  |       <summary>Switch to application 2</summary> | ||||||
|  |     </key> | ||||||
|  |     <key name="switch-to-application-3" type="as"> | ||||||
|  |       <default>["<Super>3"]</default> | ||||||
|  |       <summary>Switch to application 3</summary> | ||||||
|  |     </key> | ||||||
|  |     <key name="switch-to-application-4" type="as"> | ||||||
|  |       <default>["<Super>4"]</default> | ||||||
|  |       <summary>Switch to application 4</summary> | ||||||
|  |     </key> | ||||||
|  |     <key name="switch-to-application-5" type="as"> | ||||||
|  |       <default>["<Super>5"]</default> | ||||||
|  |       <summary>Switch to application 5</summary> | ||||||
|  |     </key> | ||||||
|  |     <key name="switch-to-application-6" type="as"> | ||||||
|  |       <default>["<Super>6"]</default> | ||||||
|  |       <summary>Switch to application 6</summary> | ||||||
|  |     </key> | ||||||
|  |     <key name="switch-to-application-7" type="as"> | ||||||
|  |       <default>["<Super>7"]</default> | ||||||
|  |       <summary>Switch to application 7</summary> | ||||||
|  |     </key> | ||||||
|  |     <key name="switch-to-application-8" type="as"> | ||||||
|  |       <default>["<Super>8"]</default> | ||||||
|  |       <summary>Switch to application 8</summary> | ||||||
|  |     </key> | ||||||
|  |     <key name="switch-to-application-9" type="as"> | ||||||
|  |       <default>["<Super>9"]</default> | ||||||
|  |       <summary>Switch to application 9</summary> | ||||||
|  |     </key> | ||||||
|   </schema> |   </schema> | ||||||
|  |  | ||||||
|   <schema id="org.gnome.shell.keyboard" path="/org/gnome/shell/keyboard/" |   <schema id="org.gnome.shell.keyboard" path="/org/gnome/shell/keyboard/" | ||||||
|   | |||||||
							
								
								
									
										599
									
								
								data/osk-layouts/ca.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,599 @@ | |||||||
|  | { | ||||||
|  |   "levels": [ | ||||||
|  |     { | ||||||
|  |       "level": "", | ||||||
|  |       "mode": "default", | ||||||
|  |       "rows": [ | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "q" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "w" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "e", | ||||||
|  |             "é", | ||||||
|  |             "è", | ||||||
|  |             "ê", | ||||||
|  |             "ë", | ||||||
|  |             "%", | ||||||
|  |             "ę", | ||||||
|  |             "ė", | ||||||
|  |             "ē" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "r" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "t" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "y", | ||||||
|  |             "%", | ||||||
|  |             "ÿ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "u", | ||||||
|  |             "ù", | ||||||
|  |             "û", | ||||||
|  |             "%", | ||||||
|  |             "ü", | ||||||
|  |             "ú", | ||||||
|  |             "ū" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "i", | ||||||
|  |             "î", | ||||||
|  |             "%", | ||||||
|  |             "ï", | ||||||
|  |             "ì", | ||||||
|  |             "í", | ||||||
|  |             "į", | ||||||
|  |             "ī" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "o", | ||||||
|  |             "ô", | ||||||
|  |             "œ", | ||||||
|  |             "%", | ||||||
|  |             "ö", | ||||||
|  |             "ò", | ||||||
|  |             "ó", | ||||||
|  |             "õ", | ||||||
|  |             "ø", | ||||||
|  |             "ō", | ||||||
|  |             "º" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "p" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "a", | ||||||
|  |             "à", | ||||||
|  |             "â", | ||||||
|  |             "%", | ||||||
|  |             "æ", | ||||||
|  |             "á", | ||||||
|  |             "ä", | ||||||
|  |             "ã", | ||||||
|  |             "å", | ||||||
|  |             "ā", | ||||||
|  |             "ª" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "s" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "d" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "f" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "g" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "h" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "j" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "k" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "l" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "z" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "x" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "c", | ||||||
|  |             "ç", | ||||||
|  |             "ć", | ||||||
|  |             "č" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "v" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "b" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "n" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "m" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "," | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             " " | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ".", | ||||||
|  |             "#", | ||||||
|  |             "!", | ||||||
|  |             ",", | ||||||
|  |             "?", | ||||||
|  |             "-", | ||||||
|  |             ":", | ||||||
|  |             "'", | ||||||
|  |             "@" | ||||||
|  |           ] | ||||||
|  |         ] | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "level": "shift", | ||||||
|  |       "mode": "latched", | ||||||
|  |       "rows": [ | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "Q" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "W" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "E", | ||||||
|  |             "É", | ||||||
|  |             "È", | ||||||
|  |             "Ê", | ||||||
|  |             "Ë", | ||||||
|  |             "%", | ||||||
|  |             "Ę", | ||||||
|  |             "Ė", | ||||||
|  |             "Ē" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "R" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "T" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "Y", | ||||||
|  |             "%", | ||||||
|  |             "Ÿ" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "U", | ||||||
|  |             "Ù", | ||||||
|  |             "Û", | ||||||
|  |             "%", | ||||||
|  |             "Ü", | ||||||
|  |             "Ú", | ||||||
|  |             "Ū" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "I", | ||||||
|  |             "Î", | ||||||
|  |             "%", | ||||||
|  |             "Ï", | ||||||
|  |             "Ì", | ||||||
|  |             "Í", | ||||||
|  |             "Į", | ||||||
|  |             "Ī" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "O", | ||||||
|  |             "Ô", | ||||||
|  |             "Œ", | ||||||
|  |             "%", | ||||||
|  |             "Ö", | ||||||
|  |             "Ò", | ||||||
|  |             "Ó", | ||||||
|  |             "Õ", | ||||||
|  |             "Ø", | ||||||
|  |             "Ō", | ||||||
|  |             "º" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "P" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "A", | ||||||
|  |             "À", | ||||||
|  |             "Â", | ||||||
|  |             "%", | ||||||
|  |             "Æ", | ||||||
|  |             "Á", | ||||||
|  |             "Ä", | ||||||
|  |             "Ã", | ||||||
|  |             "Å", | ||||||
|  |             "Ā", | ||||||
|  |             "ª" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "S" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "D" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "F" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "G" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "H" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "J" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "K" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "L" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "Z" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "X" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "C", | ||||||
|  |             "Ç", | ||||||
|  |             "Ć", | ||||||
|  |             "Č" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "V" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "B" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "N" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "M" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "," | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             " " | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ".", | ||||||
|  |             "#", | ||||||
|  |             "!", | ||||||
|  |             ",", | ||||||
|  |             "?", | ||||||
|  |             "-", | ||||||
|  |             ":", | ||||||
|  |             "'", | ||||||
|  |             "@" | ||||||
|  |           ] | ||||||
|  |         ] | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "level": "opt", | ||||||
|  |       "mode": "locked", | ||||||
|  |       "rows": [ | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "1", | ||||||
|  |             "¹", | ||||||
|  |             "½", | ||||||
|  |             "⅓", | ||||||
|  |             "¼", | ||||||
|  |             "⅛" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "2", | ||||||
|  |             "²", | ||||||
|  |             "⅔" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "3", | ||||||
|  |             "³", | ||||||
|  |             "¾", | ||||||
|  |             "⅜" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "4", | ||||||
|  |             "⁴" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "5", | ||||||
|  |             "⅝" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "6" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "7", | ||||||
|  |             "⅞" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "8" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "9" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "0", | ||||||
|  |             "ⁿ", | ||||||
|  |             "∅" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "@" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "#" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "$", | ||||||
|  |             "¢", | ||||||
|  |             "£", | ||||||
|  |             "€", | ||||||
|  |             "¥", | ||||||
|  |             "₱" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "%", | ||||||
|  |             "‰" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "&" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "-", | ||||||
|  |             "_", | ||||||
|  |             "–", | ||||||
|  |             "—", | ||||||
|  |             "·" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "+", | ||||||
|  |             "±" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "(", | ||||||
|  |             "<", | ||||||
|  |             "{", | ||||||
|  |             "[" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ")", | ||||||
|  |             ">", | ||||||
|  |             "}", | ||||||
|  |             "]" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "*", | ||||||
|  |             "†", | ||||||
|  |             "‡", | ||||||
|  |             "★" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "\"", | ||||||
|  |             "“", | ||||||
|  |             "”", | ||||||
|  |             "«", | ||||||
|  |             "»" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "'", | ||||||
|  |             "‘", | ||||||
|  |             "’", | ||||||
|  |             "‹", | ||||||
|  |             "›" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ":" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ";" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "!", | ||||||
|  |             "¡" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "?", | ||||||
|  |             "¿" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "_" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "/" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             " " | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "," | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ".", | ||||||
|  |             "…" | ||||||
|  |           ] | ||||||
|  |         ] | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "level": "opt+shift", | ||||||
|  |       "mode": "locked", | ||||||
|  |       "rows": [ | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "~" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "`" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "|" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "•", | ||||||
|  |             "♪", | ||||||
|  |             "♥", | ||||||
|  |             "♠", | ||||||
|  |             "♦", | ||||||
|  |             "♣" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "√" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "Π", | ||||||
|  |             "π" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "÷" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "×" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "¶", | ||||||
|  |             "§" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "∆" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "£" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "¢" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "€" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "¥" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "^", | ||||||
|  |             "↑", | ||||||
|  |             "↓", | ||||||
|  |             "←", | ||||||
|  |             "→" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "°", | ||||||
|  |             "′", | ||||||
|  |             "″" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "=", | ||||||
|  |             "≠", | ||||||
|  |             "≈", | ||||||
|  |             "∞" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "{" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "}" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "\\" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "©" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "®" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "™" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "℅" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "[" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "]" | ||||||
|  |           ] | ||||||
|  |         ], | ||||||
|  |         [ | ||||||
|  |           [ | ||||||
|  |             "<", | ||||||
|  |             "‹", | ||||||
|  |             "≤", | ||||||
|  |             "«" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ">", | ||||||
|  |             "›", | ||||||
|  |             "≥", | ||||||
|  |             "»" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             " " | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "," | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             ".", | ||||||
|  |             "…" | ||||||
|  |           ] | ||||||
|  |         ] | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "locale": "fr-CA", | ||||||
|  |   "name": "French Canada" | ||||||
|  | } | ||||||
| @@ -6,10 +6,20 @@ | |||||||
|       "rows": [ |       "rows": [ | ||||||
|         [ |         [ | ||||||
|           [ |           [ | ||||||
|             "q" |             "a", | ||||||
|  |             "à", | ||||||
|  |             "â", | ||||||
|  |             "%", | ||||||
|  |             "æ", | ||||||
|  |             "á", | ||||||
|  |             "ä", | ||||||
|  |             "ã", | ||||||
|  |             "å", | ||||||
|  |             "ā", | ||||||
|  |             "ª" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "w" |             "z" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "e", |             "e", | ||||||
| @@ -71,17 +81,7 @@ | |||||||
|         ], |         ], | ||||||
|         [ |         [ | ||||||
|           [ |           [ | ||||||
|             "a", |             "q" | ||||||
|             "à", |  | ||||||
|             "â", |  | ||||||
|             "%", |  | ||||||
|             "æ", |  | ||||||
|             "á", |  | ||||||
|             "ä", |  | ||||||
|             "ã", |  | ||||||
|             "å", |  | ||||||
|             "ā", |  | ||||||
|             "ª" |  | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "s" |             "s" | ||||||
| @@ -106,11 +106,14 @@ | |||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "l" |             "l" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "m" | ||||||
|           ] |           ] | ||||||
|         ], |         ], | ||||||
|         [ |         [ | ||||||
|           [ |           [ | ||||||
|             "z" |             "w" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "x" |             "x" | ||||||
| @@ -131,7 +134,11 @@ | |||||||
|             "n" |             "n" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "m" |             "'", | ||||||
|  |             "‘", | ||||||
|  |             "’", | ||||||
|  |             "‹", | ||||||
|  |             "›" | ||||||
|           ] |           ] | ||||||
|         ], |         ], | ||||||
|         [ |         [ | ||||||
| @@ -161,10 +168,20 @@ | |||||||
|       "rows": [ |       "rows": [ | ||||||
|         [ |         [ | ||||||
|           [ |           [ | ||||||
|             "Q" |             "A", | ||||||
|  |             "À", | ||||||
|  |             "Â", | ||||||
|  |             "%", | ||||||
|  |             "Æ", | ||||||
|  |             "Á", | ||||||
|  |             "Ä", | ||||||
|  |             "Ã", | ||||||
|  |             "Å", | ||||||
|  |             "Ā", | ||||||
|  |             "ª" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "W" |             "Z" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "E", |             "E", | ||||||
| @@ -226,17 +243,7 @@ | |||||||
|         ], |         ], | ||||||
|         [ |         [ | ||||||
|           [ |           [ | ||||||
|             "A", |             "Q" | ||||||
|             "À", |  | ||||||
|             "Â", |  | ||||||
|             "%", |  | ||||||
|             "Æ", |  | ||||||
|             "Á", |  | ||||||
|             "Ä", |  | ||||||
|             "Ã", |  | ||||||
|             "Å", |  | ||||||
|             "Ā", |  | ||||||
|             "ª" |  | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "S" |             "S" | ||||||
| @@ -261,11 +268,14 @@ | |||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "L" |             "L" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "M" | ||||||
|           ] |           ] | ||||||
|         ], |         ], | ||||||
|         [ |         [ | ||||||
|           [ |           [ | ||||||
|             "Z" |             "W" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "X" |             "X" | ||||||
| @@ -286,7 +296,11 @@ | |||||||
|             "N" |             "N" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "M" |             "'", | ||||||
|  |             "‘", | ||||||
|  |             "’", | ||||||
|  |             "‹", | ||||||
|  |             "›" | ||||||
|           ] |           ] | ||||||
|         ], |         ], | ||||||
|         [ |         [ | ||||||
| @@ -369,10 +383,10 @@ | |||||||
|             "#" |             "#" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "$", |             "€", | ||||||
|             "¢", |             "¢", | ||||||
|             "£", |             "£", | ||||||
|             "€", |             "$", | ||||||
|             "¥", |             "¥", | ||||||
|             "₱" |             "₱" | ||||||
|           ], |           ], | ||||||
| @@ -511,13 +525,14 @@ | |||||||
|             "£" |             "£" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|  |             "¥" | ||||||
|  |           ], | ||||||
|  |           [ | ||||||
|  |             "$", | ||||||
|             "¢" |             "¢" | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "€" |             "¢" | ||||||
|           ], |  | ||||||
|           [ |  | ||||||
|             "¥" |  | ||||||
|           ], |           ], | ||||||
|           [ |           [ | ||||||
|             "^", |             "^", | ||||||
| @@ -594,6 +609,6 @@ | |||||||
|       ] |       ] | ||||||
|     } |     } | ||||||
|   ], |   ], | ||||||
|   "locale": "fr-CA", |   "locale": "fr", | ||||||
|   "name": "French Canada" |   "name": "French" | ||||||
| } | } | ||||||
| @@ -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 |