From a065e04d529da1d847b5062a12c46d916408bf32 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 21:46:22 -0500 Subject: update based on https://github.com/mdn/yari/issues/2028 --- files/el/_wikihistory.json | 362 ---------------- .../archive/b2g_os/api/domapplication/index.html | 94 ---- files/el/archive/b2g_os/api/index.html | 10 - .../el/archive/b2g_os/automated_testing/index.html | 91 ---- files/el/archive/b2g_os/debugging/index.html | 80 ---- .../index.html" | 61 --- .../b2g_os/developing_firefox_os/index.html | 45 -- .../index.html" | 96 ----- .../index.html" | 44 -- .../index.html" | 38 -- files/el/archive/b2g_os/index.html | 74 ---- files/el/archive/b2g_os/introduction/index.html | 44 -- .../b2g_os/phone_guide/geeksphone/index.html | 96 ----- files/el/archive/b2g_os/phone_guide/index.html | 32 -- .../b2g_os/phone_guide/phone_specs/index.html | 477 --------------------- .../b2g_os/platform/gaia/hacking/index.html | 126 ------ files/el/archive/b2g_os/platform/gaia/index.html | 75 ---- files/el/archive/b2g_os/platform/index.html | 82 ---- .../index.html" | 59 --- .../index.html" | 63 --- .../index.html" | 58 --- .../index.html" | 257 ----------- files/el/archive/index.html | 20 - files/el/archive/mozilla/index.html | 13 - files/el/mozilla/connect/index.html | 124 ------ files/el/mozilla/marketplace/index.html | 159 ------- files/el/mozilla/marketplace/publishing/index.html | 9 - .../index.html" | 67 --- .../index.html" | 153 ------- files/el/mozilla/projects/index.html | 15 - files/el/mozilla/projects/midas/index.html | 330 -------------- .../projects/midas/security_preferences/index.html | 67 --- 32 files changed, 3321 deletions(-) delete mode 100644 files/el/_wikihistory.json delete mode 100644 files/el/archive/b2g_os/api/domapplication/index.html delete mode 100644 files/el/archive/b2g_os/api/index.html delete mode 100644 files/el/archive/b2g_os/automated_testing/index.html delete mode 100644 files/el/archive/b2g_os/debugging/index.html delete mode 100644 "files/el/archive/b2g_os/debugging/\317\200\316\261\316\257\317\201\316\275\316\277\316\275\317\204\316\261\317\202_\317\203\317\204\316\271\316\263\316\274\316\271\317\214\317\204\317\205\317\200\316\261_\316\277\316\270\317\214\316\275\316\267\317\202/index.html" delete mode 100644 files/el/archive/b2g_os/developing_firefox_os/index.html delete mode 100644 "files/el/archive/b2g_os/developing_firefox_os/m\316\265\317\204\316\261\317\206\317\201\316\254\316\266\316\277\316\275\317\204\316\261\317\202_\317\204\316\277_firefox_os/index.html" delete mode 100644 "files/el/archive/b2g_os/developing_firefox_os/\316\264\316\271\316\261\316\274\316\277\317\201\317\206\317\216\316\275\316\277\316\275\317\204\316\261\317\202_\317\204\316\277_script_b2g.sh/index.html" delete mode 100644 "files/el/archive/b2g_os/developing_firefox_os/\317\204\317\201\316\277\317\200\316\277\317\200\316\277\316\271\317\216\316\275\317\204\316\261\317\202_\317\204\316\277_\316\261\317\201\317\207\316\265\316\257\316\277_hosts/index.html" delete mode 100644 files/el/archive/b2g_os/index.html delete mode 100644 files/el/archive/b2g_os/introduction/index.html delete mode 100644 files/el/archive/b2g_os/phone_guide/geeksphone/index.html delete mode 100644 files/el/archive/b2g_os/phone_guide/index.html delete mode 100644 files/el/archive/b2g_os/phone_guide/phone_specs/index.html delete mode 100644 files/el/archive/b2g_os/platform/gaia/hacking/index.html delete mode 100644 files/el/archive/b2g_os/platform/gaia/index.html delete mode 100644 files/el/archive/b2g_os/platform/index.html delete mode 100644 "files/el/archive/b2g_os/\316\261\317\203\317\206\316\254\316\273\316\265\316\271\316\261/index.html" delete mode 100644 "files/el/archive/b2g_os/\316\265\316\263\316\272\316\261\317\204\316\254\317\203\317\204\316\261\317\203\316\267_\317\203\316\265_\316\272\316\271\316\275\316\267\317\204\316\256_\317\203\317\205\317\203\316\272\316\265\317\205\316\256/index.html" delete mode 100644 "files/el/archive/b2g_os/\316\265\317\200\316\271\316\273\316\255\316\263\316\277\316\275\317\204\316\261\317\202_\317\200\317\211\317\202_\316\275\316\261_\316\265\316\272\317\204\316\265\316\273\316\255\317\203\316\265\317\204\316\265_\317\204\316\277_gaia_\316\256_\317\204\316\277_b2g/index.html" delete mode 100644 "files/el/archive/b2g_os/\317\207\317\201\316\267\317\203\316\271\316\274\316\277\317\200\316\277\316\271\317\216\316\275\317\204\316\261\317\202_\317\204\316\277\316\275_\316\264\316\271\316\261\317\207\316\265\316\271\317\201\316\271\317\203\317\204\316\256_\316\265\317\206\316\261\317\201\316\274\316\277\316\263\317\216\316\275/index.html" delete mode 100644 files/el/archive/index.html delete mode 100644 files/el/archive/mozilla/index.html delete mode 100644 files/el/mozilla/connect/index.html delete mode 100644 files/el/mozilla/marketplace/index.html delete mode 100644 files/el/mozilla/marketplace/publishing/index.html delete mode 100644 "files/el/mozilla/marketplace/publishing/\316\265\317\200\316\271\316\273\316\277\316\263\316\255\317\202_\316\264\316\267\316\274\316\277\317\203\316\257\316\265\317\205\317\203\316\267\317\202/index.html" delete mode 100644 "files/el/mozilla/marketplace/\317\203\317\205\317\207\316\275\316\255\317\202_\316\265\317\201\317\211\317\204\316\256\317\203\316\265\316\271\317\202/index.html" delete mode 100644 files/el/mozilla/projects/index.html delete mode 100644 files/el/mozilla/projects/midas/index.html delete mode 100644 files/el/mozilla/projects/midas/security_preferences/index.html (limited to 'files/el') diff --git a/files/el/_wikihistory.json b/files/el/_wikihistory.json deleted file mode 100644 index ad7c7639a9..0000000000 --- a/files/el/_wikihistory.json +++ /dev/null @@ -1,362 +0,0 @@ -{ - "Glossary": { - "modified": "2020-10-07T11:07:46.598Z", - "contributors": [ - "peterbe", - "SphinxKnight", - "wbamberg", - "Epameinondas-Soufleros", - "klez" - ] - }, - "Glossary/AJAX": { - "modified": "2019-03-23T22:21:36.224Z", - "contributors": [ - "dspentzos" - ] - }, - "Glossary/Abstraction": { - "modified": "2019-03-23T22:30:01.944Z", - "contributors": [ - "Epameinondas-Soufleros" - ] - }, - "Glossary/Computer_Programming": { - "modified": "2019-03-23T22:30:01.059Z", - "contributors": [ - "Epameinondas-Soufleros" - ] - }, - "Glossary/ECMA": { - "modified": "2019-03-23T22:30:01.699Z", - "contributors": [ - "Epameinondas-Soufleros" - ] - }, - "Glossary/Falsy": { - "modified": "2019-03-23T22:24:42.968Z", - "contributors": [ - "SpirosBaden" - ] - }, - "Glossary/HTML": { - "modified": "2019-03-23T22:30:01.581Z", - "contributors": [ - "Epameinondas-Soufleros" - ] - }, - "Glossary/Hoisting": { - "modified": "2019-03-23T22:08:53.838Z", - "contributors": [ - "mathiou", - "mplexus" - ] - }, - "Glossary/Java": { - "modified": "2019-03-23T22:09:04.953Z", - "contributors": [ - "mplexus" - ] - }, - "Glossary/Null": { - "modified": "2020-03-23T10:56:53.087Z", - "contributors": [ - "K.Gialouris" - ] - }, - "Glossary/ltr": { - "modified": "2019-03-23T22:16:47.243Z", - "contributors": [ - "ncdempelis" - ] - }, - "Glossary/Δείκτης": { - "modified": "2019-01-17T02:27:54.053Z", - "contributors": [ - "ValentinHacker" - ] - }, - "Glossary/Προσβασιμότητα": { - "modified": "2019-03-18T21:43:32.407Z", - "contributors": [ - "ValentinHacker" - ] - }, - "Learn": { - "modified": "2020-07-16T22:43:39.483Z", - "contributors": [ - "dspentzos", - "SphinxKnight", - "hermesorder", - "sideshowbarker" - ] - }, - "Learn/Common_questions": { - "modified": "2020-07-16T22:35:22.667Z", - "contributors": [ - "stephaniehobson" - ] - }, - "Learn/Common_questions/Πώς_δουλεύει_το_Διαδίκτυο": { - "modified": "2020-07-16T22:35:36.513Z", - "contributors": [ - "Amalchen" - ] - }, - "Learn/Common_questions/Σελίδες_τόποι_διακομιστές_και_μηχανές_αναζήτησης": { - "modified": "2020-07-16T22:35:39.520Z", - "contributors": [ - "Amalchen" - ] - }, - "Learn/Common_questions/Τι_είναι_οι_υπερσύνδεσμοι": { - "modified": "2020-07-16T22:35:42.895Z", - "contributors": [ - "Amalchen" - ] - }, - "Learn/Getting_started_with_the_web": { - "modified": "2020-07-16T22:33:50.911Z", - "contributors": [ - "c-vradis" - ] - }, - "Learn/HTML": { - "modified": "2020-07-16T22:22:16.075Z", - "contributors": [ - "Sheppy" - ] - }, - "Learn/HTML/Forms": { - "modified": "2020-07-16T22:20:55.179Z", - "contributors": [ - "Jeffrey_Yang" - ] - }, - "Learn/HTML/Forms/Επικύρωση_δεδομένων_φόρμας": { - "modified": "2020-07-16T22:21:48.424Z", - "contributors": [ - "stratis-vip" - ] - }, - "Learn/JavaScript": { - "modified": "2020-07-16T22:29:37.459Z", - "contributors": [ - "k33theod" - ] - }, - "Learn/JavaScript/Πρώτα_βήματα": { - "modified": "2020-07-16T22:29:49.269Z", - "contributors": [ - "kriminals" - ] - }, - "MDN": { - "modified": "2019-03-24T00:08:44.846Z", - "contributors": [ - "wbamberg", - "Jeremie", - "teoli", - "syssgx" - ] - }, - "MDN/About": { - "modified": "2019-09-10T08:52:06.488Z", - "contributors": [ - "SphinxKnight", - "wbamberg", - "dspentzos" - ] - }, - "MDN/Contribute": { - "modified": "2020-12-07T17:30:14.240Z", - "contributors": [ - "wbamberg", - "chrisdavidmills" - ] - }, - "MDN/Contribute/Getting_started": { - "modified": "2020-09-30T17:09:53.346Z", - "contributors": [ - "chrisdavidmills", - "kmavrikakis", - "wbamberg", - "dspentzos", - "ValentinHacker", - "Jeremie", - "jswisher", - "stayros" - ] - }, - "MDN/Contribute/Howto": { - "modified": "2020-12-07T19:29:58.398Z", - "contributors": [ - "wbamberg", - "Sheppy" - ] - }, - "MDN/Contribute/Howto/Dhmiourgia_logariasmou_MDN": { - "modified": "2019-01-17T03:15:07.858Z", - "contributors": [ - "wbamberg", - "dspentzos" - ] - }, - "MDN_at_ten": { - "modified": "2019-03-23T22:31:03.705Z", - "contributors": [ - "andreaschoukas" - ] - }, - "Mozilla": { - "modified": "2019-03-23T23:34:03.331Z", - "contributors": [ - "teoli", - "nikvourlos.gr", - "ethertank" - ] - }, - "Mozilla/Developer_guide": { - "modified": "2019-03-23T22:03:06.576Z", - "contributors": [ - "glasserc" - ] - }, - "Mozilla/Πρόσθετα": { - "modified": "2019-09-09T11:54:45.286Z", - "contributors": [ - "SphinxKnight", - "dspentzos" - ] - }, - "Web": { - "modified": "2019-03-23T23:26:04.468Z", - "contributors": [ - "ethertank" - ] - }, - "Web/API": { - "modified": "2019-03-23T23:19:20.206Z", - "contributors": [ - "teoli" - ] - }, - "Web/API/CanvasRenderingContext2D": { - "modified": "2019-03-23T22:18:55.663Z", - "contributors": [ - "chrisdavidmills" - ] - }, - "Web/API/CanvasRenderingContext2D/imageSmoothingEnabled": { - "modified": "2019-03-23T22:18:54.552Z", - "contributors": [ - "theodoros_1234" - ] - }, - "Web/API/Geolocation": { - "modified": "2019-03-23T22:59:10.619Z", - "contributors": [ - "fscholz" - ] - }, - "Web/API/Geolocation/getCurrentPosition": { - "modified": "2019-03-23T22:44:30.774Z", - "contributors": [ - "giatzo1702" - ] - }, - "Web/CSS": { - "modified": "2019-09-11T03:35:20.869Z", - "contributors": [ - "SphinxKnight", - "MariosPitsali", - "AlexKapellas" - ] - }, - "Web/HTML": { - "modified": "2020-12-07T19:30:03.073Z", - "contributors": [ - "SphinxKnight" - ] - }, - "Web/HTML/Element": { - "modified": "2020-12-06T23:30:01.351Z", - "contributors": [ - "chrisdavidmills" - ] - }, - "Web/HTML/Element/embed": { - "modified": "2020-12-05T05:47:59.307Z", - "contributors": [ - "chefkafantaris.gr" - ] - }, - "Web/JavaScript": { - "modified": "2020-04-15T17:15:42.022Z", - "contributors": [ - "tassosvallas", - "SphinxKnight", - "webfornet", - "masmanidis" - ] - }, - "Web/JavaScript/Reference": { - "modified": "2020-03-12T19:46:27.026Z", - "contributors": [ - "sideshowbarker" - ] - }, - "Web/JavaScript/Reference/Functions": { - "modified": "2020-10-15T22:02:48.163Z", - "contributors": [ - "utkarshbhatt12" - ] - }, - "Web/JavaScript/Reference/Functions/Προεπιλεγμένες_παράμετροι": { - "modified": "2020-10-15T22:02:41.992Z", - "contributors": [ - "mankal111" - ] - }, - "Web/JavaScript/Reference/Global_Objects": { - "modified": "2020-03-12T19:46:50.495Z", - "contributors": [ - "fscholz" - ] - }, - "Web/JavaScript/Reference/Operators": { - "modified": "2020-03-12T19:46:26.398Z", - "contributors": [ - "mathiou" - ] - }, - "Web/JavaScript/Reference/Operators/Comma_Operator": { - "modified": "2020-03-12T19:46:47.274Z", - "contributors": [ - "wheniturnintoamartian" - ] - }, - "Web/Tutorials": { - "modified": "2019-03-18T21:31:21.372Z", - "contributors": [ - "dspentzos" - ] - }, - "Εργαλεία": { - "modified": "2020-07-16T22:44:14.171Z", - "contributors": [ - "SphinxKnight", - "sotos", - "gremlin", - "sro", - "Simaioforos", - "dspentzos" - ] - }, - "Εργαλεία/about:debugging": { - "modified": "2020-07-16T22:36:32.137Z", - "contributors": [ - "minasloykas65" - ] - } -} \ No newline at end of file diff --git a/files/el/archive/b2g_os/api/domapplication/index.html b/files/el/archive/b2g_os/api/domapplication/index.html deleted file mode 100644 index e85a3f80ae..0000000000 --- a/files/el/archive/b2g_os/api/domapplication/index.html +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: Εφαρμογή -slug: Archive/B2G_OS/API/DOMApplication -translation_of: Archive/B2G_OS/API/DOMApplication ---- -
- {{non-standard_header()}}
-

Στο JavaScript API των Ανοιχτών εφαρμογών Ιστού, ένα αντικείμενο App είναι ένα αντικείμενο JavaScript που αντιπροσωπεύει μια εφαρμογή που έχει ή θα μπορούσε να έχει εγκατασταθεί στην αποθήκη της εφαρμογής του χρήστη.

-

Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescriptionType
manifestThe currently stored instance of the manifest of the app.object
manifestURLWhere the manifest was found.string
originThe origin of the app (protocol, host, and optional port number). For example: http://example.comstring
installOriginThe origin of the site that triggered the installation of the app.string
installTimeThe time that the app was installed. This is generated using Date().getTime(), represented as the number of milliseconds since midnight of January 1st, 1970.integer
receiptsAn object containing an array of one or more receipts. Each receipt is a string. If there are no receipts, this is null.object or null
-

Μέθοδοι

- - - - - - - - - - - - - - - - - -
ΜέθοδοςΠεριγραφή
launch()Εκκινεί την εφαρμογή. Δεν επιστρέφει καμία τιμή.
checkForUpdate() -

Check to see if the app has been updated. Returns a DOMRequest object.

-

Για συσκευασμένες εφαρμογές: ελέγξτε για ενημερώσεις και επισημάνετέ το ως downloadavailable εάν χρειαστεί.

-

For hosted apps: check for updates on app manifest and application cache and update it if needed.

-
-

Παράδειγμα αντικειμένου Εφαρμογής

-
{
-  manifest: {
-    name: "Add-on Builder",
-    default_locale: "en",
-    installs_allowed_from: [
-      "https://apps-preview-dev.example.com/",
-      "https://apps-preview.example.com/"
-    ],
-    description: "Add-on Builder makes it easy to write, build and test Firefox extensions using common web technologies.",
-    version: "0.9.16.1",
-    developer: {
-      url: "https://builder.addons.mozilla.org/",
-      name: "Mozilla Flightdeck Team"
-    }
-  },
-  origin: "https://builder-addons-dev.example.com",
-  installTime: 1321986882773,
-  installOrigin: "https://apps-preview-dev.example.com",
-  receipts: ["h0dHBzOi8v (most of receipt removed here) Tg2ODtkUp"]
-}
diff --git a/files/el/archive/b2g_os/api/index.html b/files/el/archive/b2g_os/api/index.html deleted file mode 100644 index 4fcbdac757..0000000000 --- a/files/el/archive/b2g_os/api/index.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: B2G OS APIs -slug: Archive/B2G_OS/API -translation_of: Archive/B2G_OS/API ---- -

(el translation)

- -

List of B2G OS APIs

- -

{{APIListAlpha('/en-US/docs/Archive/B2G_OS/API')}}

diff --git a/files/el/archive/b2g_os/automated_testing/index.html b/files/el/archive/b2g_os/automated_testing/index.html deleted file mode 100644 index 8f23d88dd5..0000000000 --- a/files/el/archive/b2g_os/automated_testing/index.html +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: Αυτοματοποιημένη Δοκιμή του Firefox OS -slug: Archive/B2G_OS/Automated_testing -translation_of: Archive/B2G_OS/Automated_testing ---- -
-

Δεδομένου ότι το Firefox OS είναι ακόμη υπό ανάπτυξη και ότι η υποστήριξη για νέο hardware πρόκειται να είναι προσεχής για το κοντινό μέλλον, είναι σημαντικό να ξέρετε πως να το δοκιμάσετε. Αυτή η σελίδα προσφέρει άρθρα που παρέχουν πληροφορίες σχετικά με τις διάφορες πλευρές δοκιμής του Firefox OS, συμπεριλαμβανομένης της εκτέλεσης διαφορετικών test, της αυτοματοποίησης, ώστε να καταλήξετε στην αναφορά και την παρακολούθηση.

-
- -

Ξεκινώντας

- -
-
 "Τρέξιμο" test στο Firefox OS: Ένας οδηγός για προγραμματιστές
-
A quick, developer-focused guide to getting started with running the tests. This is where you should start if you are not experienced in running Mozilla's tests and automation systems. If you are, then you will probably have an idea of what tests you want to run and how, and you can skip on to the more specific detailed guides below.
-
- -

Test για το Gaia

- -

These articles cover the primary test suites designed to put Gaia through its paces.

- -
-
Gaia UI tests
-
Python tests for Gaia UI interactions and features.
-
Gaia integration tests
-
JavaScript integration tests for Gaia, based on Marionette.
-
Gaia unit tests
-
Gaia unit tests with no UI interaction; written in JavaScript, not Marionette-based.
-
Gaia performance tests
-
Measures Gaia app performance based on internal instrumentation. The testing harness is in-tree.
-
- -

Test για το B2G

- -

The guides below cover a number of different test harnesses that test various aspects of B2G functionality.

- -
-
Mochitests
-
Gecko functional and API tests; HTML & JS based.  No Gaia interaction.
-
Reftests
-
Gecko rendering correctness tests.
-
WebAPI tests
-
Gecko JS-based WebAPI tests; most of these require an emulator.
-
xpcshell tests
-
Headless tests of Gecko XPCOM APIs.
-
B2GPerf
-
Measures Gaia app performance based on internal instrumentation.
-
Eideticker
-
Provides performance measurements for Firefox OS based on video captures.
-
Endurance tests
-
Long-running repetitive tests designed to find memory leaks and stability problems.
-
MTBF test
-
This is a test framework based on non-restart gaia-ui-test. It tries to locate all kinds of issue prevents tests from running in a long time. (Currently, it is owned by Taiwan QA team and still a developing test framework)
-
Memory tests - coming soon
-
Repetitive tests run per-commit to mozilla-central, reporting to https://areweslimyet.com/, designed to find problems with memory usage.
-
- -

Supporting documentation

- -

This section provides links to some of the supporting technologies that underpin Mozilla's tests, which you may want to find more information about.

- -
-
Marionette
-
A remote test driver based on Selenium WebDriver.
-
Marionette JavaScript tests
-
A node.js-based runner for Marionette.
-
Marionette Python tests
-
A Python runner for Marionette.
-
- -

Continuous integration and result reporting

- -

The following articles cover the continuous integration and result reporting mechanisms Mozilla uses to store and intepret test data.

- -
-
TBPL
-
Understand the tests and builds that run on TBPL.
-
Jenkins
-
Understand the tests that are run on real devices via Jenkins.
-
Datazilla
-
Understand which performance tests are reporting to the Datazilla dashboard, and what those tests measure.
-
Test execution chart
-
A chart showing which tests are being run — on what devices and where — and which platforms are supported for each test.
-
- -

Unit testing framework video

- -
- -
-
 
-
diff --git a/files/el/archive/b2g_os/debugging/index.html b/files/el/archive/b2g_os/debugging/index.html deleted file mode 100644 index a83bb6ae67..0000000000 --- a/files/el/archive/b2g_os/debugging/index.html +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: Debugging on Firefox OS -slug: Archive/B2G_OS/Debugging -tags: - - B2G - - Debugging - - Firefox OS - - NeedsTranslation - - QA - - Testing - - TopicStub -translation_of: Archive/B2G_OS/Debugging ---- -
-

There are two main types of debugging you'll want to with Firefox OS: debugging apps, and debugging other aspects of the system. This section of the site provides articles covering the different tools at your disposal to debug your Firefox OS code.

-
-

Debugging apps

-

When debugging your web apps, the best tool at your disposal is Mozilla's powerful App Manager, which allows you to run your apps directly on a real device or simulator, update any changes instantly, and debug them directly on the device using Mozilla's excellent developer tools. This should be your first choice, especially for app/Gaia debugging.

-
-
- Using the App Manager
-
- The App Manager is a new tool available in Firefox for Desktop, which provides a number of useful tools to help you test, deploy and debug HTML5 web apps on Firefox OS phones and the Firefox OS Simulator, directly from your browser.
-
- Debugging out of memory errors on Firefox OS
-
- This article describes how B2G's multiprocess architecture affects what the phone does when we run out of memory, and how to understand and debug OOM crashes.
-
-

Debugging Gaia/B2G

-

If you want to debug code from the Gaia apps suite or B2G itself, the following tools will be of use to you.

-
-
- Debugging using the desktop B2G client
-
- You can use the dedicated B2G desktop application (and associated tools) to debug multiple aspects of B2G and Gaia.
-
- Quickstart guide to Gaia development
-
- This guide provides a very quick easy guide to developing and debugging Gaia apps, including running Gaia inside desktop Firefox, and debugging Gaia with App Manager.
-
- Debugging B2G using gdb
-
- The popular gdb debugger can be used to debug Firefox OS and web apps running on a device, or on an emulator. This guide will show you how it's done.
-
- Debugging B2G using Valgrind
-
- Valgrind gives developers access to information about memory allocations, threads, and other information important to performance. This guide shows how to run Valgrind either on desktop B2G or select phone hardware.
-
- Getting NSPR logs in B2G
-
- You can use NSPR logs to record HTTP and other networking.
-
- Debugging OpenGL
-
- How to debug OpenGL code on Firefox OS.
-
-

General setup and information

-

The following articles provide information on individual aspects of setup for Firefox OS development. The chances are that you won't need these, especially if you are just debugging apps using the App Manager. But we have made them available here in case you do.

-
-
- Developer settings for Firefox OS
-
- There are a number of settings options available for developers on Firefox OS. This guide explains what they do and how to take advantage of them.
-
- Installing and using ADB
-
- Many aspects of Firefox OS development require installation of adb, the Android Debug Bridge. This article explains how to do that, and shares some common useful ADB commands.
-
- On-device console logging
-
- How to log to console on a Firefox OS device, and how to access the resulting logs for review on your computer.
-
- Connecting a Firefox OS device to the desktop
-
- This short guide explains how to set up your Firefox OS device and your desktop so that the desktop can communicate with the device over USB.
-
- Setting up to debug Firefox OS code
-
- Before you can begin using most of the tools integrated into Firefox for debugging code running under Firefox OS, you need to do a little configuration work. This article explains what you need to do.
-
diff --git "a/files/el/archive/b2g_os/debugging/\317\200\316\261\316\257\317\201\316\275\316\277\316\275\317\204\316\261\317\202_\317\203\317\204\316\271\316\263\316\274\316\271\317\214\317\204\317\205\317\200\316\261_\316\277\316\270\317\214\316\275\316\267\317\202/index.html" "b/files/el/archive/b2g_os/debugging/\317\200\316\261\316\257\317\201\316\275\316\277\316\275\317\204\316\261\317\202_\317\203\317\204\316\271\316\263\316\274\316\271\317\214\317\204\317\205\317\200\316\261_\316\277\316\270\317\214\316\275\316\267\317\202/index.html" deleted file mode 100644 index e65d6c163a..0000000000 --- "a/files/el/archive/b2g_os/debugging/\317\200\316\261\316\257\317\201\316\275\316\277\316\275\317\204\316\261\317\202_\317\203\317\204\316\271\316\263\316\274\316\271\317\214\317\204\317\205\317\200\316\261_\316\277\316\270\317\214\316\275\316\267\317\202/index.html" +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: '"Παίρνοντας" στιγμιότυπα οθόνης' -slug: Archive/B2G_OS/Debugging/παίρνοντας_στιγμιότυπα_οθόνης -translation_of: Archive/B2G_OS/Debugging/taking_screenshots ---- -
-

Η λήψη στιγμιότυπου οθόνης των εφαρμογών σας μπορεί να είναι χρήσιμη σε πολλές περιπτώσεις, για παράδειγμα όταν δείχνετε τη δουλειά σας σε έναν πελάτη, ή όταν δημσιεύετε την εφαρμογή σας στο Marketplace. Αυτό το άρθρο εξηγεί πως να "πάρετε" στιγμιότυπα οθόνης στο τηλέφωνό σας με Firefox OS.

-
-
-

Σημείωση: Οι προγραμματιστές του Android θα το βρουν οικείο: Τα βήματα είναι πραγματικά παρόμοια.

-
-

Προετοιμάζοντας το τηλέφωνό σας

-
    -
  1. Στο τηλέφωνό σας, πηγαίνετε στις Ρυθμίσεις Προγραμματιστή και επιλέξτε τον Απομακρυσμένο Εντοπισμό Σφαλμάτων & το Κονσόλα Ενεργοποιημένη.
  2. -
  3. Βεβαιωθείτε ότι στο τηλέφωνό σας έχει εγκατασταθεί το ADB και λειτουργεί.
  4. -
  5. Συνδέστε το τηλέφωνό σας στον υπολογιστή σας μέσω USB.
  6. -
-

"Παίρνοντας" ένα στιγμιότυπο οθόνης

-

Τώρα έχετε τέσσερις επιλογές: χρησιμοποιώντας το Τερματικό, χρησιμοποιώντας το DDMS στο Eclipse, χρησιμοποιώντας τον αφιερωμένο συνδυασμό κουμπιών στο τηλέφωνο, ή χρησιμοποιώντας τον Διαχειριστή Εφαρμογών.

-

Τερματικό

-

Ανοίξτε ένα παράθυρο τερματιοκού, έπειτα εισάγετε τις τρεις ακόλουθες εντολές:

-
    -
  1. "Πάρτε" ένα στιγμιότυπο οθόνης χρησιμοποιώντας την ακόλουθη εντολή (μπορείτε να αλλάξετε το screenshot.png αν θέλετε να το ονομάσετε κάπως αλλιώς):
    - adb shell screencap -p /sdcard/screenshot.png
  2. -
  3. "Τραβήξτε" την εικόνα στον υπολογιστή σας:
    - adb pull /sdcard/screenshot.png
  4. -
  5. Διαγράψτε το στιγμιότυπο οθόνης από τη συσκευή σας:
    - adb shell rm /sdcard/screenshot.png
  6. -
-

Εναλλακτικά, μπορείτε να χρησιμοποιήσετε το ffmpeg:

-
    -
  1. Βεβαιωθείτε ότι έχετε εγκαταστήσει το ffmpeg: -
      -
    1. Σε Mac, αν χρησιμοποιείτε το MacPorts, μπορείτε να το κάνετε με το sudo port install ffmpeg. Για το homebrew, κάντε brew install ffmpeg.
    2. -
    3. Σε Linux (Ubuntu/Debian), χρησιμοποιήστε το sudo apt-get install ffmpeg.
    4. -
    -
  2. -
  3. cd στην διαδρομή B2G/gaia.
  4. -
  5. Χρησιμοποιήστε την εντολή make screenshot για να "πάρετε" στιγμιότυπο οθόνης.
  6. -
  7. Τώρα έχετε ονομάσει το στιγμιότυπο οθόνης screenshot.png.
  8. -
-

DDMS

-

Ανοίξτε το Eclipse.

-
    -
  1. Ανοίξτε το DDMS: Παράθυρο > Άνοιγμα Προοπτικής > Άλλα > DDMS.
  2. -
  3. Στον πίνακα της αριστερής πλευράς, στην καρτέλα Συσκευές, κάντε κλικ στο κουμπί Στιγμιότυπο οθόνης.
  4. -
  5. Ένα νέο παράθυρο εμφανίζεται με πολλές επιλογές: κάντε κλικ στο κουμπί Αποθήκευση για να αποθηκεύσετε το στιγμιότυπο οθόνης.
  6. -
-
-

Σημείωση: Για να μάθετε περισσότερα σχετικά με το DDMS, ρίξτε μια ματιά στα  Έγγραφα DDMS.

-
-

Συνδυασμός πλήκτρων τηλεφώνου

-
    -
  1. Πατήστε ταυτόχρονα τα κουμπιά Home και Power για μερικά δευτερόλεπτα. Αυτό παίρνει ένα στιγμιότυπο οθόνης, το οποίο αποθηκεύεται στη Γκαλερί σας.
  2. -
  3. Αντιγράψτε την εικόνα από την κάρτα SD στον υπολογιστή σας χρησιμοποιώντας οποιαδήποτε μέθοδο σας ταιριάζει καλύτερα.
  4. -
-

Διαχειριστής Εφαρμογών/Προσομοιωτής

-
    -
  1. Πηγαίνετε στον Διαχειριστή Εφαρμογών, συνδεθείτε στο τηλέφωνό σας και πλοηγηθείτε στην καρτέλα Συσκευή στα αριστερά.
  2. -
  3. Πατήστε το κουμπί Στιγμιότυπο οθόνης πάνω από τις Εγκατεστημένες Εφαρμογές.
  4. -
diff --git a/files/el/archive/b2g_os/developing_firefox_os/index.html b/files/el/archive/b2g_os/developing_firefox_os/index.html deleted file mode 100644 index 7aceb1f5a9..0000000000 --- a/files/el/archive/b2g_os/developing_firefox_os/index.html +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: Developing Firefox OS -slug: Archive/B2G_OS/Developing_Firefox_OS -tags: - - NeedsTranslation - - TopicStub -translation_of: Archive/B2G_OS/Developing_Firefox_OS ---- -
-

This section provides useful documentation covering different ways in which the Firefox OS experience can be modified/customized during the build or app writing process, and how you can help to develop the platform.

-
-
-
- Quickstart guide to Gaia development
-
- Gaia is the collection of web apps which make up the front end of Firefox OS. Everything you see on the screen in Firefox OS is built using open Web technologies. This includes the home screen and all the default apps. This guide provides a quick and simple guide to getting started with modifying Gaia.
-
- Build system primer
-
- This article explains how Gaia's build system works, including the makefile, the build process, environment variables, and potential customizations.
-
- Hacking Gaia
-
- This article provides a detailed guide to modifying Gaia.
-
- Market customizations guide
-
- Market customizations allow you to specify build-time customization instructions (for example, which apps should be included in your build) in separate directories, without modifying the core Gaia repo. You can include your own customizations in distinct directories, or use the preexisting directories that come with the source. These customizations are specified with build options. In this article we look in detail at how to create and use these customizations.
-
- Modifying the hosts file
-
- A guide to what can be achieved by modifying the Firefox OS hosts file.
-
- Customization with the .userconfig file
-
- How to customize the build and execution of Firefox OS by changing the .userconfig file.
-
- Customizing the keyboard in Firefox OS apps
-
- This guide shows how to customize the keyboard in your Firefox OS apps.
-
- Localizing Firefox OS
-
- A guide to localising the Firefox OS platform, making it available in your preferred languages.
-
diff --git "a/files/el/archive/b2g_os/developing_firefox_os/m\316\265\317\204\316\261\317\206\317\201\316\254\316\266\316\277\316\275\317\204\316\261\317\202_\317\204\316\277_firefox_os/index.html" "b/files/el/archive/b2g_os/developing_firefox_os/m\316\265\317\204\316\261\317\206\317\201\316\254\316\266\316\277\316\275\317\204\316\261\317\202_\317\204\316\277_firefox_os/index.html" deleted file mode 100644 index 3af02725fd..0000000000 --- "a/files/el/archive/b2g_os/developing_firefox_os/m\316\265\317\204\316\261\317\206\317\201\316\254\316\266\316\277\316\275\317\204\316\261\317\202_\317\204\316\277_firefox_os/index.html" +++ /dev/null @@ -1,96 +0,0 @@ ---- -title: Μεταφράζοντας το Firefox OS -slug: Archive/B2G_OS/Developing_Firefox_OS/Mεταφράζοντας_το_Firefox_OS -translation_of: Archive/B2G_OS/Developing_Gaia/Localizing_B2G_OS ---- -
-

Σε αυτό τον οδηγό, θα σας δείξουμε πόσο εύκολη μπορεί να είναι η μετάφραση του Firefox OS, συγκεκριμένα αυτή της επιφάνειας Gaia και των εφαρμογών. Θα αρχίσουμε βοηθώντας σας να "στήσετε" τον υπολογιστή σας, να μεταφράσετε strings του Gaia και τελικά να κάνετε δοκιμή l10n στη δουλειά σας.

-
-

Συγκεντρώνοντας τα εργαλεία σας

-

Για να μπορέσετε να πάρετε τα πηγαία αρχεία του Gaia και να δοκιμάσετε την μετάφρασή σας στην επιφάνεια εργασίας σας, θα πρέπει να βεβαιωθείτε ότι τα ακόλουθα εργαλεία και γλώσσες είναι εγκατεστημένα στον υπολογιστή σας:

-
-
- GNU make
-
- Το make είναι ένα χρήσιμο και μικρό εργαλείο για τη δημιουργία builds από τον πηγαίο κώδικα. Θα φανεί πολύ βολικό όταν θα είστε έτοιμος να δοκιμάσετε την δουλειά  l10n σας στον υπολογιστή σας. Η λήψη και η εγκατάσταση του make είναι εύκολη και μπορεί να γίνει κατ' ευθείαν από την ιστοσελίδα του GNU. Εάν χρησιμοποιείτε Mac OSX, θα χρειαστεί να εγκαταστήσετε τα εργαλεία XCode και  Γραμμή εντολών του XCode από το App Store.
-
- git
-
- Το git είναι το σύστημα ελέγχου έκδοσης που χρησιμοποιείται για την αποθήκευση του ενεργά αναπτυσσόμενου πηγαίου κώδικα του Gaia. Η λήψη και η εγκατάσταση του git είναι εύκολη και μπορεί να γίνει κατ' ευθείαν από την ιστοσελίδα τους.
-
- Python
-
- Το Python είναι μια γλώσσα προγραμματισμού που επίσης θα σας βοηθήσει με τη δημιουργία των builds του Firefox OS για δοκιμή l10n. Η λήψη και η εγκατάσταση του Python είναι εύκολη και μπορεί να γίνει κατ' ευθείαν από την ιστοσελίδα τους.
-
- Mercurial (hg)
-
- Το Mercurial (hg) είναι άλλο ένα σύστημα ελέγχου έκδοσης που φιλοξενεί σταθερές εκδόσεις του Gaia που χρησιμοποιούνται για l10n, καθώς και αποθετήρια μετάφρασης. Η λήψη και η εγκατάσταση του Mercurial είναι εύκολη και μπορεί να γίνει κατ' ευθείαν από την ιστοσελίδα τους.
-
- compare-locales
-
- Το compare-locales είναι ένα script του Python που βοηθά τους μεταφραστές να αξιολογήσουν τη δουλειά τους και να ξεχωρίσουν το νέο περιεχόμενο για μετάφραση από το ήδη μεταφρασμένο υλικό (που ονομάζεται diff). Η λήψη και εγκατάσταση του compare-locales είναι εύκολη και μπορεί να γίνει κατ' ευθείαν από τη σελίδα wiki του compare-locales. Παρακαλώ σημειώστε ότι αυτό είναι απαραίτητο μόνο εάν μεταφράζετε το Gaia χρησιμοποιώντας μόνο τη γραμμή εντολών ή έναν επεξεργαστή κειμένου. Αν χρησιμοποιείτε ένα εργαλείο όπως τα Pootle, Transifex, ή Pontoon, δε το χρειάζεστε αυτό.
-
-

"Στήνοντας" ένα τοπικό repo

-

Μόλις βεβαιωθείτε ότι έχετε κατεβάσει και εγκαταστήσει το λογισμικό από τη λίστα παραπάνω, είναι ώρα να πάρετε τα πηγαία και μεταφρασμένα strings στον υπολογιστή σας.

-
    -
  1. Στην γραμμή εντολών σας, πλοηγηθείτε στην τοποθεσία όπου θα αποθηκεύσετε την πηγή του Gaia και τα αποθηκευμένα strings.
  2. -
  3. Χρησιμοποιώντας το hg, κλωνοποιήστε το repo en-US εισάγοντας αυτή την εντολή: -
    hg clone https://hg.mozilla.org/gaia-l10n/en-US
    -
  4. -
  5. Τώρα κλωνοποιήστε το repo της μετάφρασής σας χρησιμοποιώντας αυτή την εντολή: -
    hg clone https://hg.mozilla.org/gaia-l10n/your-locale-code
    -
  6. -
  7. Τέλος, εισάγετε αυτή την εντολή για να δημιουργήσετε ένα diff της μετάφρασης του repo ενάντια σ' αυτό του en-US: -
    compare-dirs en-US your-locale-code
    -
  8. -
-

Τώρα θα πρέπει να έχετε ένα diff μη μεταφρασμένων strings έτοιμα για μετάφραση! Παρακαλώ σημειώστε ότι αν ξεκινάτε μια νέα μετάφραση του Firefox OS, δε χρειάζεται να δημιουργήσετε ένα diff καθώς όλα τα strings είναι νέα strings για να μεταφραστούν.

-

Μεταφράζοντας strings του Gaia

-

Η πρόοδος εργασίας της μετάφρασης των strings του Gaia εξαρτάται σε μεγάλο βαθμό από το τα εργαλεία που χρησιμοποιείτε για τη μετάφραση. Αυτό το μέρος της προόδου είναι παρόμοιο με τη φάση τακτικής μετάφρασης για άλλα προϊόντα της Mozilla. Η Σελίδα Φάσης Μετάφρασης του Οδηγού Γρήγορης Εκκίνησης Μεταφράσεων περιέχει μια λίστα όλων των εργαλείων που χρησιμοποιούνται για τη μετάφραση των strings μέσω των προϊόντων της Mozilla μαζί με tutorials σχετικά με το πως να μεταφράσετε με αυτά τα εργαλεία. Αυτή η σελίδα θα σας φανεί χρήσιμη αν είστε μέλος μιας ομάδας l10n που προσπαθεί να αποφασίσει ποιο εργαλείο να χρησιμοποιήσει για τη μετάφραση των strings του Gaia ή αν ψάχνετε το σωστό tutorial για το εργαλείο που χρησιμοποιεί αυτό τον καιρό η ομάδα σας. 

-

Δοκιμή l10n για το Firefox OS

-

Υπάρχουν δύο κύριες μέθοδοι για να κάνετε δοκιμή l10n στο Firefox OS: τα builds στον υπολογιστή και τα builds στο κινητό. Αυτή τη στιγμή, η μέθοδος του υπολογιστή είναι η πιο ευρέως χρησιμοποιούμενη μέθοδος για δοκιμή l10n.

-

Δοκιμή l10n στον υπολογιστή

-
    -
  1. Κατεβάστε και εκαταστήστε το πιο πρόσφατο nightly build για υπολογιστές του boot2gecko αφού επισκεφθείτε το http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g18/ και κατεβάσετε το πακέτο που αντιστοιχεί στο λειτουργικό σας σύστημα. Ψάξτε για τα πακέτα που περιέχουν τη λέξη localizer. Αυτό δείχνει πως το build έχει όλες τις μεταφράσεις που είναι καταγεγραμμένες στο languages-all.json ενεργοποιημένες.
  2. -
  3. Κλωνοποιήστε την πιο πρόσφατη έκδοση του Gaia αφού πλοηγηθείτε στη διαδρομή στον υπολογιστή σας όπου θα θέλατε να την κατεβάσετε και εισάγετε αυτή την εντολή στη γραμμή εντολών: git clone git://github.com/mozilla-b2g/gaia.git
  4. -
  5. Αν η ομάδα σας μεταφράζει το Firefox OS για πρώτη φορά, θα χρειαστεί να ενεργοποιήσετε την μετάφρασή σας. Αν όχι, πάρτε στον εαυτό σας ένα αναψυκτικό ενώ όλοι οι άλλοι ενεργοποιούν την μετάφρασή τους. -
      -
    1. Ενώ  είστε στην γραμμή εντολών, πλοηγηθείτε μέσα στον κλώνο gaia σας εκτελέστε αυτή την εντολή για να κλωνοποιήστε το repo της μετάφρασής σας: hg clone ssh://hg.mozilla.org/gaia-l10n/your-locale-code
    2. -
    3. Ανοίξτε το αρχείο languages.json που βρίσκεται στη διαδρομή shared/resources στην αποθήκη gaia που μόλις κλωνοποιήσατε.
    4. -
    5. Προσθέστε τις πληροφορίες μετάφρασής σας σύμφωνα με αυτή τη μορφή: "en-US" : "English (US)", και αποθηκεύστε το αρχείο.
    6. -
    7. Τέλος, εκτελέστε την εντολή: make multilocale Αυτό σας επιτρέπει τη μετάφρασή σας στο build για υπολογιστές.
    8. -
    -
  6. -
  7. Δημιουργήστε το προφίλ Gaia σας εκτελώντας αυτή την εντολή: DEBUG=1 make -C gaia profile
  8. -
  9. Τέλος, μπορείτε να εκτελέσετε το Firefox OS με το προφίλ μετάφρασής σας και να ξεκινήσετε τη δοκιμή. Κάντε το εισάγοντας αυτή την εντολή: b2g/b2g -profile gaia/profile. Αν χρησιμοποιείτε Mac OS X, εκτελέστε αυτή την εντολή: /Applications/B2G.app/Contents/MacOS/b2g -profile gaia/profile
  10. -
  11. Για να ενημερώσετε τα builds σας για υπολογιστή, απλά πλοηγηθείτε στον κλώνο repo σας του Gaia και εισάγετε αυτή την εντολή: git pull
  12. -
-

Δοκιμή l10n στο κινητό

-

- - Αυτή η ενότητα θα μεγαλώσει όταν περισσότερες συσκευές που υποστηρίζουν το Firefox OS γίνουν διαθέσιμες στους μεταφραστές. -

-

Τι να προσέξω όταν κάνω δοκιμές l10n

-

Η δοκιμή μετάφρασης για ένα λειτουργικό σύστημα για κινητά έχει κάποιες ομοιότητες με τη δοκιμή μετάφρασης για εφαρμογές υπολογιστή. Ορίστε μερικές οδηγίες σχετικά με το τι προσέξετε όταν κάνετε δοκιμές μετάφρασης στη δουλειά σας:

-
    -
  1. Δείτε αν οι μεταφράσεις σας ταιριάζουν μέσα στα στοιχεία κειμένου του UI.
  2. -
  3. Βεβαιωθείτε ότι ο τόνος, το στυλ, και η ορολογία είναι ίδια σε ολόκληρο το προϊόν.
  4. -
  5. Ψάξτε μη μεταφρασμένα Αγγλικά strings στο UI. Αυτά ίσως να είναι δύσκολα κωδικοποιημένα μέσα στο Gaia ή έχουν προκληθεί από σφαλματα στοιχείων ID.
  6. -
  7. Βεβαιωθείτε ότι η ώρα και οι ημερομηνίες εμφανίζονται σύμφωνα με τα πρότυπα της περιοχής σας.
  8. -
-

Βρίσκοντας συγκεκριμένα bugs μετάφρασης

-

Ορίστε μερικοί σύνδεσμοι για το bugzilla για να σας δωθούν παραδείγματα μερικών bugs που έχουν αντιμετωπιστεί κατά τη χρήση των τηλεφώνων. Αυτό θα σας δώσει μια ιδέα για το που να κοιτάξετε για bugs καθώς και ένα παράδειγμα για το πως να υποβάλετε τέτοιου είδους bugs.

- -

Γενικοί κανόνες όταν υποβάλετε ένα bug Μετάφρασης:

- -

Για εσάς που χρησιμοποιείτε το Moztrap, ένας ακόμη καλός τρόπος να δοκιμάσετε την μετάφρασή σας για το FirefoxOS είναι να κοιτάξτε τις υπάρχουσες υποθέσεις δοκιμών στις ετικέτες "μετάφραση" του FirefoxOS και να δείτε αν μπορείτε να περάσετε τα τεστ στη συσκευή σας.

-

Στη συνέχεια;

-

Τώρα είστε έτοιμος να ξεκινήσετε να μεταφράζετε! Οπότε ανοίξτε το αγαπημένο εργαλείο l10n σας και ξεκινήστε! Όπως πάντα, αν έχετε ερωτήσεις που δεν έχουν καλυφθεί σε αυτό έγγραφο, παρακαλούμε στείλτε τες στο mozilla.dev.l10n newsgroup.

diff --git "a/files/el/archive/b2g_os/developing_firefox_os/\316\264\316\271\316\261\316\274\316\277\317\201\317\206\317\216\316\275\316\277\316\275\317\204\316\261\317\202_\317\204\316\277_script_b2g.sh/index.html" "b/files/el/archive/b2g_os/developing_firefox_os/\316\264\316\271\316\261\316\274\316\277\317\201\317\206\317\216\316\275\316\277\316\275\317\204\316\261\317\202_\317\204\316\277_script_b2g.sh/index.html" deleted file mode 100644 index 1e8203328b..0000000000 --- "a/files/el/archive/b2g_os/developing_firefox_os/\316\264\316\271\316\261\316\274\316\277\317\201\317\206\317\216\316\275\316\277\316\275\317\204\316\261\317\202_\317\204\316\277_script_b2g.sh/index.html" +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: Διαμορφώνοντας το script b2g.sh -slug: Archive/B2G_OS/Developing_Firefox_OS/Διαμορφώνοντας_το_script_b2g.sh -translation_of: Archive/B2G_OS/Developing_Firefox_OS/Customizing_the_b2g.sh_script ---- -
-

Στο τηλέφψνο, η εφαρμογή b2g (που παρέχει τα API του Firefox OS ανάμεσα σε άλλα πράγματα) εκκινείται μέσω του script /system/bin/b2g.sh . Μπορείτε να διαμορφώσετε αυτό το script για να αλλάξετε τη συμπεριφορά του Firefox OS και αυτό το άρθρο εξηγεί το πως.

-
-

Set environment variables

-

If you just want to set an environment variable for a single run of B2G, then you can do the following:

-
adb shell stop b2g
-adb shell "export ENV_VAR=value && /system/bin/b2g.sh"
-
-

If you want to use the same environment variables all of the time, then you can edit b2g.sh, as described in the next section.

-

Επεξεργάζοντας το b2g.sh

-

For debugging, you may want to set environment variables to get logging information or to otherwise affect how the b2g program runs. You can do this by editing the b2g.sh script. There aren't any tools included on the phone to edit the file in place, so you'll need to copy it to your computer first.

-
    -
  1. Connect the phone to your computer, open a terminal window, and execute the following command to edit the script: -
    adb pull /system/bin/b2g.sh
    -
  2. -
  3. Edit the script to make the changes you want. For example, suppose you'd like to see some logging output (which requires a debug build), then you might add something like: -
    export NSPR_LOG_FILE=/data/local/tmp/mylog.txt
    -export NSPR_LOG_MODULES=Layers:5
    -
    -
  4. -
  5. Εκτελέστε τις ακόλουθες εντολές για να αποθηκεύσετε το ενημερωμένο script b2g.sh σας στο τηλέφωνο και να επανεκκινήστε το b2g: -
    adb shell stop b2g
    -adb remount
    -adb push b2g.sh /system/bin
    -adb shell chmod 0755 /system/bin/b2g.sh
    -adb shell start b2g
    -
    -
  6. -
-
-

Σημείωση: Το /data/local/tmp είναι το μόνο μέρος στο filesystem που είναι εγγράψιμο από τις περιεχόμενες διεργασίες.

-
-

Δείτε επίσης

- -

 

diff --git "a/files/el/archive/b2g_os/developing_firefox_os/\317\204\317\201\316\277\317\200\316\277\317\200\316\277\316\271\317\216\316\275\317\204\316\261\317\202_\317\204\316\277_\316\261\317\201\317\207\316\265\316\257\316\277_hosts/index.html" "b/files/el/archive/b2g_os/developing_firefox_os/\317\204\317\201\316\277\317\200\316\277\317\200\316\277\316\271\317\216\316\275\317\204\316\261\317\202_\317\204\316\277_\316\261\317\201\317\207\316\265\316\257\316\277_hosts/index.html" deleted file mode 100644 index 703279f670..0000000000 --- "a/files/el/archive/b2g_os/developing_firefox_os/\317\204\317\201\316\277\317\200\316\277\317\200\316\277\316\271\317\216\316\275\317\204\316\261\317\202_\317\204\316\277_\316\261\317\201\317\207\316\265\316\257\316\277_hosts/index.html" +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Τροποποιώντας το αρχείο hosts -slug: Archive/B2G_OS/Developing_Firefox_OS/τροποποιώντας_το_αρχείο_hosts -translation_of: Archive/B2G_OS/Developing_Firefox_OS/modifying_hosts_file ---- -
-

Κάποιες φορές χρειάζεται να επεξεργαστείτε το αρχείο hosts στο "μηχάνημά" σας εξαιτίας μιας επίθεσης, για να μπλοκάρετε ανεπιθύμητες συνδέσεις, για να ανακατευθείνετε αιτήματα σε μια συγκκριμένη IP, κλπ. Αυτό το άρθρο εξηγεί πως This article explains how to modify the hosts file of your Firefox OS phone. It is located under /system/etc .

-
-

Preparing your phone

-

On the phone, go the Developer settings panel and check:

- -

Then plug your phone to your computer.

-

At this point the steps for modifying the hosts file are the same as for Android. Android developers will quickly settle into the swing of things.

-

Steps in the terminal

-
    -
  1. Open a terminal window.
  2. -
  3. Remount the /system partition on the device to get read-write permissions -
    adb remount
    -
  4. -
  5. Get the hosts file on your computer -
    adb pull /system/etc/hosts /tmp
    -
  6. -
  7. Modify the hosts file in /tmp/hosts as needed and save the file. For example: -
    127.0.0.1         localhost
    -ip.to.re.direct   hostName
    -
  8. -
  9. Push the modified hosts file to the device -
    adb push /tmp/hosts /system/etc/hosts
    -
  10. -
-

Αυτό ήταν: το αρχείο hosts σας θα πρέπει να έχει ενημερωθεί τώρα.

-
-

Σημείωση: Θέλετε να μάθετε περισσότερα για το ADB; Ρίξτε μια ματιά στην Τεκμηρίωση ADB.

-
-

 

diff --git a/files/el/archive/b2g_os/index.html b/files/el/archive/b2g_os/index.html deleted file mode 100644 index 78d519a28b..0000000000 --- a/files/el/archive/b2g_os/index.html +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: B2G OS -slug: Archive/B2G_OS -tags: - - B2G - - Firefox OS - - Gaia - - NeedsTranslation - - TopicStub -translation_of: Archive/B2G_OS ---- -

ο Firefox OS είναι ένα νέο λειτουργικό σύστημα για κινητά που έχει αναπτυχθεί από το έργο Boot to Gecko (B2G) της Mozilla. Χρησιμοποιεί τον πυρήνα Linux και εκκινείται σε μια μηχανή εκτέλεσης βασισμένη στο Gecko, η οποία επιτρέπει στους χρήστες να εκτελούν εφαρμογές που έχουν αναπτυχθεί εξ' ολοκλήρου χρησιμοποιώντας το HTML, JavaScript, και άλλα API ανοχτών εφαρμογών ιστού.

- -

Το Firefox OS είναι αυτό το διάστημα υπό βαριά ανάπτυξη, δουλεύουμε συνεχώς τρόπους για να κάνουμε τη χρήση του, το "χακάρισμα" του Gaia και τη δημιουργία  εφαρμογών πιο εύκολη για σας. Ωστόσο, χρειάζεται να γνωρίζετε για τα συστήματα για να κάνετε πράγματα όπως να αναπτύξετε ολόκληρο το Firefox OS, ή να "φλασάρετε" σε ένα τηλέφωνο μια έκδοση του Firefox OS. Οι σύνδεσμοι παρακάτω είναι οδηγοί για προγραμματιστές Ιστού που ενδιαφέρονται να εκτελέσουν και να κάνουν αλλάγες στο ή να αναπτύξουν εφαρμογές για συσκευές με Firefox OS.

- - - - - - - - -
-

Τεκμηρίωση για το Firefox OS

- -
-
Εισαγωγή στο Firefox OS
-
Εισαγωγικές πηροφορίες για το τι είναι το Firefox OS και πωε λειτουργεί.
-
Γράφοντας εφαρμογές για το Firefox OS
-
Τεκμηρίωση για τη δημιουργία εφαρμογών για το Firefox OS.
-
Η πλατφόρμα Firefox OS
-
Τεκμηρίωση σχετικά με την πλατφόρμα του Firefox OS, συμπεριλαμβανομένου του Gonk, του Gaia, και τα πάντα ανάμεσα τους. Αυτό περιλαμβάνει τεκμηρίσωση για την ανάπτυξη και την εγκατάσταση της πλατφόρμας σε συσκευές, καθώς και την ανάπτυξη προσομοιωτών και εξομοιωτών.
-
Security
-
Documentation about security in Firefox OS; this includes topics about security devices from every perspective: for app developers, device integrators, and so forth.
-
Performance
-
Articles about optimizing Firefox OS applications.
-
Troubleshooting
-
A guide to resolving common problems with Firefox OS.
-
Debugging on Firefox OS
-
A guide to debugging both your mobile apps and Firefox OS itself.
-
Firefox OS developer phone guide
-
A guide to the Firefox OS developer phones Mozilla provides to some developers. This guide also applies if someone installed Firefox OS on your phone for you.
-
- -

View All...

-
-

Getting help from the community

- -

If you're working with Firefox OS, or developing applications you'd like to run on Firefox OS devices, there are community resources to help you!

- -
    -
  • Ask your question on Mozilla's Boot to Gecko IRC channel: #b2g
  • -
- -

Don't forget about the netiquette...

- - - - - - -

Resources

- - -
diff --git a/files/el/archive/b2g_os/introduction/index.html b/files/el/archive/b2g_os/introduction/index.html deleted file mode 100644 index 7b8d90e803..0000000000 --- a/files/el/archive/b2g_os/introduction/index.html +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: Εισαγωγή στο Firefox OS -slug: Archive/B2G_OS/Introduction -translation_of: Archive/B2G_OS/Introduction ---- -
-

Το Firefox OS είναι το λειτουργικό σύστημα ανοιχτού κώδικα της Mozilla για κινητά βασισμένο στο Linux, τα πρότυπα ανοιχτού ιστού και την τεχνολογία Gecko της Mozilla. Όχι μόνο αυτό, είναι ένα project ανοιχτού κώδικα που σκοπεύει να παρέχει μια "επανεφεύρεση" του τι μπορεί να είναι οι πλατφόρμες κινητών τηλεφώνων. Το Firefox OS είναι ελεύθερο από ιδιόκτητες τεχνολογίες ενώ παρέχει ακόμη τη δύναμη για να επιτρέψει στους προγραμματιστές εφαρμογών να δημιουργήσουν εξαιρετικά προϊόντα. Επιπλέον, είναι ευέλικτο και αρκετά ικανό να κάνει τον τελικό χρήστη χαρούμενο.

-
- -
-

Σε ποιους απευθύνεται

- -

Αυτό το σύνολο εγγράφων απευθύνεται κυρίως προγραμματιστές ιστού και πλατφόρμας που θέλουν να μάθουν πως λειτουργεί το Firefox OS, πως να συνεισφέρουν στο project, και πως να αναπτύξουν τις δικές τους προσαρμοσμένες εκδόσεις λογισμικού και να τις εγκαθιστούν σε συσκευές. Για αυτούς που θέλουν να δημιουργήσουν και διανέμουν τις δικές τους εφαρμογές ιστού, το Κέντρο Εφαρμογών και η Ζώνη Marketplace είναι καλά μέρη για να ξεκινήσετε.

- -

Η βασική υπόσχεση του Firefox OS

- -

Για τους προγραμματιστές Ιστού/πλατφόρμας, το πιο σημαντικό μέρος που χρειάζεται να καταλάβουν είναι ότι ολόκληρη επιφάνεια χρήση είναι μια Εφαρμογή Ιστού, μια επιφάνεια που είναι ικανή να εμφανίσει και να εκκινήσει άλλες Εφαρμογές ιστού. Οποιεσδήποτε τοποποιήσεις κάνετε στην επιφάνεια χρήστη και οποιεσδήποτε εφαρμογές δημιουργήσετε για να εκτελέσετε στο Firefox OS θα εμπλέξουν ορισμένες τεχνολογίες ιστού, αλλά με ενισχυμένη πρόσβαση στο μηχανικό μέρος και τις υπηρεσίες της κινητής συσκευής.

- -

Από τις προοπτικές ενός τηλεφώνου, το Firefox OS είναι το branding της Mozilla και οι υπηρεσίες υποστήριξης στην κορυφή του Boot to Gecko (B2G), το οποίο είναι η μηχανική κωδική ονομασία του λειτουργικού συστήματος. Η επιφάνεια χρήστη του Firefox OS ονομάζεται Gaia, και περιλαμβάνει τις προεγκατεστημένες εφαρμογές και λειτουργίες συστήματος του ΛΣ.

- -

Για να βρείτε περισσότερα σχετικά με την αρχιτεκτονική της πλατφόρμας, πηγαίνετε στον Οδηγό πλατφόρμας.

- -

Τωρινά και μελλοντικά σχέδια

- -

Η έκδοση 1.4 του Firefox OS βρίσκεται υπό ανάπτυξη αυτή τη στιγμή, με την 1.3 να κοντεύει να γίνει σταθερό build προς κυκλοφορία. Υπάρχουν πολλά διαθέσιμα τηλέφωνα, και εμπορικά μοντέλα και μοντέλα προγραμματιστών. Για να βρείτε περισσότερα σχετικά με τις κυκλοφορίες μας, δείτε τις σημειώσεις κυκλοφορίας προγραμματιστών μας του Firefox OS και τον οδηγό τηλεφώνων.

- -

Η κοινότητα

- -

Το Boot to Gecko και το Gaia έχουν αναπτυχθεί από ομάδες τεχνικών στη Mozilla, μαζί με πολλούς εξωτερικούς συνεισφέροντες από την ευρύτερη κοινότητα της Mozilla/ανοιχτού κώδικα. Αν θέλετε να μιλήσετε στην κοινότητα σχετικά με οποιαδήποτε πλευρά της ανάπτυξης του Firefox OS ή του Gaia, ένα καλό μέρος για να ξεκινήσετε είναι οι λίστες mailing μας και τα κανάλια IRC, που επεξηγούνται στο παρακάτω κουτί πληροφοριών.

- -

Για να υποβάλετε bugs, χρησιμοποιήστε το σύστημα του Bugzilla, και υποβάλτε τα bugs στα Περιεχόμενα του Firefox OS. Εάν δεν είστε σίγουρος σε ποιο περιεχόμενο να υποβάλετε το bug, νιώστε ελεύθερος να ρωτήσετε.

- -

Αναπτύσσοντας το λειτουργικό σύστημα

- -

Το λειτουργικό σύστημα B2G βασίζεται στην αποδοτική μηχανή Gecko της Mozilla, και "κάθεται" στην κορυφή ενός kernel του Linux και το στρώμα αφαίρεσης μηχανικού μέρους του χώρου χρήστη (HAL) που ονομάζεται Gonk. Το Gecko το οποίο αναφέρεται εδώ είναι βασικά το ίδιο με το Gecko που χρησιμοποιείται στο Firefox για Android, ή για Windows, ή για Mac OS X, κλπ. Το Gonk είναι βασικά  ένας ακόμη στόχος θυρίδων του Gecko.

- -

Για να μάθετε πως να αναπτύξετε και να εγκαταστήσετε το Firefox OS, συμβουλευτείτε τον οδηγό μας στο Αναπτύσσοντας και εγκαθιστώντας το Firefox OS. Μπορείτε να βρείτε τον Ανοιχτό κώδικα του B2G στο Github.

- -

Συνεισφέροντας στο Gaia

- -

Για να συνεισφέρετε στο Gaia, δε χρειάζεται τίποτα άλλο παρά μια συμπαγής γνώση προγραμματισμού ιστού. Για να μάθετε σχετικά με την ανάπτυξη και την εκτέλεση, συμβουλευτείτε τον Οδηγό γρήγορης εκκίνησης για την ανάπτυξη του Gaia.

- -

Υπάρχει ένας αριθμός χρήσιμων εργαλείων διαθέσιμα σε εσάς για τον εντοπισμό σφαλμάτων του Gaia και άλλων εφαρμογών ιστού που εκτελούνται στο Firefox OS. Για να μάθετε σχετικά με αυτά και πολλά περισσότερα, συμβουλευτείτε τον οδηγό μας "Χακάροντας" το Gaia.

-
diff --git a/files/el/archive/b2g_os/phone_guide/geeksphone/index.html b/files/el/archive/b2g_os/phone_guide/geeksphone/index.html deleted file mode 100644 index 9ac503a614..0000000000 --- a/files/el/archive/b2g_os/phone_guide/geeksphone/index.html +++ /dev/null @@ -1,96 +0,0 @@ ---- -title: Geeksphone -slug: Archive/B2G_OS/Phone_guide/Geeksphone -translation_of: Archive/B2G_OS/Phone_guide/Geeksphone ---- -
-

Οι εκδόσεις Developer Preview των τηλεφώνων με Firefox OS γίνονται τώρα ευρέως διαθέσιμα στην κοινότητα, κυρίως μέσω της Geeksphone. Αφού αυτά είναι για προγραμματιστές, θέλουμε να σας ενθαρρύνουμε να τα "πειράξετε" και να "παίξετε" μαζί τους όσο το δυνατόν περισσότερο! Σε αυτό το άρθρο καλύπτουμε κάποιες βασικές συμβουλές σχετικά με το πως να διατηρήσετε το τηλέφωνό σας ενημερωμένο και πως να "πειράξετε" τις εφαρμογές συστήματος του Gaia.

-
-

Ενημερώνοντας το Geeksphone σας στις τελευταίες εκδόσεις

-

Οι  ενημερώσεις του Firefox OS μπορούν να ληφθούν μέσω της εφαρμογής Ρυθμίσεις, στην κατηγορία Πληροφορίες συσκευής. Το τηλέφωνο μπορεί να ρυθμιστεί ώστε να ελέγχει για ενημερώσεις καθημερινά, εβδομαδιαία, ή μηνιαία. Επιπλέον παρέχεται ένα κουμπί “Έλεγχος τώρα”. Όταν μια ενημέρωση είναι διαθέσιμη θα ειδοποιηθείτε για να κατεβάσετε και να εγκαταστήσετε την τρέχουσα έκδοση.

-

The screen for checking updates on the Firefox OS settings app

-

"Φλασάροντας" το τηλέφωνό σας

-

Η ομάδα στην Geeksphone παρέχει επίσης τα τελευταία, σταθερά και nightly builds σας αυτο-περιεχόμενες λήψεις για να "φλασάρετε" το τηλέφωνό σας.

-

Προετοιμάστε το τηλέφωνο και τον υπολογιστή σας

-

Πριν προσπαθήσετε να "φλασάρετε" το τηλέφωνό σας, βεβαιωθείτε ότι το έχετε προετοιμάσει όπως περιγράφεται στην ενότητα “Προετοιμάζοντας την Συσκευή Geeksphone” στο "Ωθώντας" Εφαρμογές Firefox OS στο Geeksphone. Αυτό θα εξασφαλίσει ότι μπορείτε να "ωθήσετε" δεδομένα στο τηλέφωνό. Στην ίδια ενότητα, ακολουθήστε τις οδηγίες για να βεβαιωθείτε ότι ο υπολογιστής σας έχει τους σωστούς οδηγούς USB.

-
-

Σημείωση: Είναι ιδιαίτερα σημαντικό οι υπολογιστές με Windows να έχουν τους σωστούς οδηγούς USB.

-
-

Οι εκδόσεις βρίσκονται στην ιστοσελίδα λήψεων της Geeksphone. Σ' αυτή την ιστοσελίδα θα σας παρουσιαστούν επιλογές για επιλογή της συσκευής σας και ποιο τύπο έκδοσης θέλετε να χρησιμοποιήσετε.

-

Two phone images side by side, the Geeksphone Keon and Peak, with different software download options below each one.

-

Download your particular build and extract the archive to your filesystem. The archive contains the images and commands required to flash the phone using Windows, Mac OS, or Linux. Before attempting to flash the phone make sure that you have enabled Remote debugging on the phone. This option can be set by launching the Settings app and navigating to the Device information -> More information -> Developer tab. Also do not attempt to flash the phone if the power level is below 50%.

-

Enabling remote debugging on the Firefox OS Settings app

-

Windows

-
-

Note: You might need to install USB drivers on Windows. For instructions, see the section “Setting Up the Geeksphone Device” in Pushing Firefox OS Apps to the Geeksphone.

-
-

Open a Command Prompt (start -> type cmd in search -> enter on Windows 7, Windows key + X -> select Command Prompt on Windows 8) and cd to the directory containing the extracted files. Run:

-
flash.bat
-
-

Mac OS

-

Open a Terminal (Cmd + space -> type terminal -> enter) window and cd to the directory containing the extracted files. Run:

-
./flash_mac.sh
-
-

Linux

-

To flash a Keon from Ubuntu add the following rules to /etc/udev/rules.d/51-android.rules

-
- SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", ATTR{idProduct}=="8013", MODE="0666"
-
- SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", MODE="0666"
-
-  
-

Open a Terminal (control-alt-t on Ubuntu) window and cd to the directory containing the extracted files. Run:

-
./flash.sh
-
-

This should flash the new image to the phone. The phone will need to be set up again as all data will be cleared. If you want to backup your data and restore afterwards, you can follow the instructions at Backup the phone system partition.

-

If you have an 'unagi' or developer preview phone that is not a Geeksphone

-

If you have a developer phone that is not a Geeksphone such as an 'unagi' or a previously Android-based device, you may need to perform the following steps. If this is not you, please skip to the next section.

-

You will need to install adb and fastboot. These utilities can be found in the Android Developer Toolkit.

-

It is not necessary to install the entire toolkit. Download the toolkit from here and extract the contents. adb and fastboot are found in the /platform-tools/ folder. They can be copied to the /usr/bin of your Linux or Mac OS machine, or copied to another folder as long as that folder is added to your $PATH.

-

If you are attempting to flash your device and have another device plugged in via USB, your phone may not be detected by these utilities correctly. Only have your phone plugged in while trying to flash it.

-

Tweaking Gaia

-

If you are the industrious sort, you may want to tweak the default applications in Gaia — the UI in Firefox OS. In this section we will cover some of the basics for cloning Gaia and making changes to the default system apps. Bear in mind these tips are “at your own risk” and may involve you later referring to the section “Ok, I bricked my phone”. Before proceeding make sure that you have adb and fastboot installed on your system. To verify if these are installed open a terminal and type adb devices with your phone connected. You should see your phone listed under the attached devices.

-

You should also be able to run fastboot from the terminal. If you run fastboot, a set of parameter options should be displayed. If you do not have adb or fastboot installed, a quick Google search with your operating system will return several quick starts on how to install them. In addition to adb and fastboot you will need Git. If you do not currently have Git installed, have a look at this setup guide. Finally make sure your phone is set up for remote debugging as described in the previous section.

-

Once you have the prerequisites you can open a terminal and cd to the directory you would like to clone the Gaia source code to. Type the following commands:

-
git clone git://github.com/mozilla-b2g/gaia.git gaia
-cd gaia
-
-

This will clone the current Gaia code to your system.

-
-

If you plan on submitting changes back to the Gaia source, be sure to fork the source before cloning as described in Hacking Gaia.

-
-

Currently the Geeksphone Keon uses the v1.0.1 branch of Gaia code, so set the proper branch using the following command before you do anything else:

-
git checkout -b v1.0.1 origin/v1.0.1
-
-

Most of the system apps are located in the apps subdirectory of gaia. You can now make any changes to these Firefox OS apps you wish. Once you have made changes, make sure your device is mounted properly by first running:

-
adb remount
-

Next, run the following command to push the modified apps to your phone. This will by default push all the system apps to the phone:

-
B2G_SYSTEM_APPS=1 make install-gaia
-
-

If you only changed one of the apps you can specify the particular app using similar syntax. In this example only the calendar app will be pushed to the phone:

-
APP=calendar B2G_SYSTEM_APPS=1 make install-gaia
-
-

If you have issues while making the changes, you can reset the phone to default values using either of the following commands:

-
make production
-make reset-gaia
-
-
-

Note: Bear in mind that either of the above commands will clear any data or apps that you have pushed to the phone. If you want to backup your data and restore afterwards, you can follow the instructions at Backup the phone system partition.

-
-

"Ok, I bricked my phone"

-

If you are in the process of modifying your phone and it becomes “unresponsive” you should be able to recover it using fastboot with a simple procedure. The following illustrates resetting the Keon but other phones should have a similar process. You will also need to verify that you have fastboot installed.

-

First remove the USB cable and then remove the battery from the phone for 30 seconds. Then reinsert the battery and press the volume down button while holding the power button for a few seconds. Next reconnect the USB cable and run the following commands from a terminal window in the directory that contains the latest img files described in the first section of this post:

-
fastboot flash recovery recovery.img
-fastboot flash boot boot.img
-fastboot flash userdata userdata.img
-fastboot flash system system.img
-fastboot reboot
-
-

This process should recover your phone. If it doesn't seem to work, you may have to try it a second time.

-

Go play!

-

We hope these instructions are useful to you, and naturally we want you to be as happy about Firefox OS and the possibilities as we are! Feel free to play around with updating your devices, make changes/updates to Gaia apps, and also be inspired to build you own open web apps.

-

Δείτε επίσης

- diff --git a/files/el/archive/b2g_os/phone_guide/index.html b/files/el/archive/b2g_os/phone_guide/index.html deleted file mode 100644 index ebf484964e..0000000000 --- a/files/el/archive/b2g_os/phone_guide/index.html +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: Οδηγός τηλεφώνων με Firefox OS για προγραμματιστές -slug: Archive/B2G_OS/Phone_guide -tags: - - B2G - - Firefox OS - - NeedsContent - - NeedsTranslation - - TopicStub -translation_of: Archive/B2G_OS/Phone_guide ---- -
-

Αυτή η ενότητα περιέχει πληροφορίες για προγραμματιστές σχετικές με συγκεκριμένα τηλέφωνα με Firefox OS. Έχουμε γενικές πληροφορίες για τα Αναπτύσσοντας και εγκαθιστώντας το Firefox OS και "Χακάροντας" το Firefox OS, οπότε παρακαλούμε πηγαίνετε εκεί για πληροφορίες σχετικά με την ανάπτυξη και την εγκατάσταση της πλατφόρμας από το scratch. Ώστοσο, οι προγραμματιστές με συγκεκριμένα τηλέφωνα στην κατοχή τους ίσως βρουν τα ακόλουθα άρθρα χρήσιμα.

-
-
-
- Τηλέφωνα με Firefox OS
-
- Σε αυτό το άρθρο έχουμε καταγράψει τα διάφορα, διαθέσιμα τηλεφωνα με Firefox OS με πληροφορίες όπως τις κωδικές τους ονομασίες και την διαθεσιμότητά τους.
-
- Geeksphone
-
- Σε αυτό το άρθρο καλύπτουμε κάποιες βασικές συμβουλές σχετικά με το πως να κρατήσετε το Geeksphone σας ενημερωμένο και πως να "πειράξετε" τις εφαρμογές συστήματος του Gaia.
-
- Το ZTE OPEN με Firefox OS
-
- Αυτό το άρθρο υπάρχει για να μοιραστούμε τις πληροφορίες που έχουμε διαθέσιμες για τη συσκευή ZTE OPEN με Firefox OS.
-
- Επίλυση προβλημάτων
-
- Αυτό το άρθρο παρέχει συμβουλές για την επίλυση των συνηθισμένων προβλημάτων που ίσως αντιμετωπίσετε ενώ χρησιμοποιείτε το Firefox OS.
-
diff --git a/files/el/archive/b2g_os/phone_guide/phone_specs/index.html b/files/el/archive/b2g_os/phone_guide/phone_specs/index.html deleted file mode 100644 index acd368d1fe..0000000000 --- a/files/el/archive/b2g_os/phone_guide/phone_specs/index.html +++ /dev/null @@ -1,477 +0,0 @@ ---- -title: Τηλέφωνο και τεχνικά χαρακτηριστικά συσκευής -slug: Archive/B2G_OS/Phone_guide/Phone_specs -translation_of: Archive/B2G_OS/Phone_guide/Phone_specs ---- -
-

Αυτό το άρθρο παρέχει γενικές πληροφορίες σχετικά με συσκευές με Firefox OS, συμπεριλαμβανομένων των υλικών χαρακτηριστικών και των ελάχιστων τεχνικών χαρακτηριστικών, καθώς και πληροφορίες σχετικά με συγκεκριμένες συσκευές που έχουν ήδη κυκλοφορήσει.

-
-

Πλήκτρα ελέγχου

-

Μια τυπική συσκευή με Firefox OS έχει ένα μικρό αριθμό φυσικών πλήκτρων:

-
-
- Πλήκτρο Home
-
- Αυτό το πλήκτρο γενικά βρίσκεται στο κέντρο κάτω από την οθόνη. Πατώντας το επιστρέφετε στον εκκινητή εφαρμογών. Πατώντας το παρατεταμένα ανοίγει η επισκόπηση εναλλασσόμενων καρτών: εδώ σύροντας προς τα πάνω μια εφαρμογή, την τερματίζετε.
-
- Πλήκτρο έντασης
-
- Στην αριστερή πλευρά βρίσκεται το πλήκτρο έντασης: πατώντας το πάνω μισό του πλήκτρου αυξάνετε την ένταση του ήχου και πατώντας το κάτω μισό μειώνετε την ένταση.
-
- Πλήκτρο τροφοδοσίας
-
- Το πλήκτρο τροφοδοσίας είναι στην πάνω δεξιά γωνία της συσκευής.
-
-

Διαθέσιμες συσκευές με Firefox OS

-

Κατά τη διάρκεια της ανάπτυξης σε διάφορα στάδια είχαμε διάφορα τηλέφωνα. Τώρα με την εμπορική κυκλοφορία, έχουμε μερικά μοντέλα από συνεργάτες πώλησης.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ΌνομαΗμερομηνία κυκλοφορίαςΑρχική έκδοση FxOSΣημειώσεις έκδοσης FxOSΚωδική ονομασίαΔιαθεσιμότηταΣχόλια
Alcatel One Touch Fire12 Ιουλίου, 20131.0.1Προγραμματιστής
- Καταναλωτής
hamachi, buriΔιαθέσιμοΔημόσια διαθέσιμο σε Βραζιλία, Ελλάδα, Ιταλία, Ουρουγουάη, Γερμανία, Σερβία, Ουγγαρία και Πολωνία.
- Διαθέσιμο από μεταπωλητές στο eBay.
    otoro, unagi, inari μη εμπορικό τηλέφωνο ZTE που χρησιμοποιήθηκε για προγραμματισμό πριν το ZTE Open.
ZTE Open2 Ιουλίου, 20131.0.1Προγραμματιστής
- Καταναλωτής
ikuraΔιαθέσιμοπαρόμοιο με το inari: δημόσια διαθέσιμο στο eBay.
LG Fireweb24 Οκτωβρίου, 20131.1Προγραμματιστής
- Καταναλωτής
leoΔιαθέσιμοΔημόσια διαθέσιμο στη Βραζιλία.
Geeksphone Keon24 Απριλίου, 20131.0.1Προγραμματιστής
- Καταναλωτής
keonΕκτός αποθέματοςΣυσκευή μόνο για προγραμματιστές
Geeksphone Peak24 Απριλίου, 20131.0.1 -

Προγραμματιστής  Καταναλωτής   

-
peakΕκτός αποθέματοςΕίχε την κωδική ονομασία "twist" για λίγο; συσκευή μόνο για προγραμματιστές
Geeksphone Peak+-----ακυρώθηκε
Geeksphone Revolution4 Μαρτίου, 20141.3pre--ΔιαθέσιμοΔιαθέσιμο online
LG Google Nexus 4   nexus-4 Πειραματικό. Δεν υποστηρίζεται από την LG ή την Google. Δεν παράγεται πλέον.
-

Firefox OS κατά έκδοση

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ΈκδοσηΗμερομηνία Ολοκλήρωσης Λειτουργιών (FC)Ημερομηνία Κυκλοφορίας Σε Συνεργάτες (RTP) Κωδική ονομασίαΈκδοση GeckoΣυμπεριλαμβανόμενες διορθώσεις ασφαλείας
1.022 Δεκεμβρίου, 201221 Φεβρουαρίου, 2013TEFGecko 18Gecko 18
1.0.115 Ιανουαρίου, 20136 Σεπτεμβρίου, 2013ShiraGecko 18Gecko 20
1.1.029 Μαρτίου, 20139 Οκτωβρίου, 2013LeoGecko 18+ (νέα API)Gecko 23
1.1.1 TBDHDΊδιο με 1.1.0 με WVGAGecko 23
1.2.015 Σεπτεμβρίου, 20139 Δεκεμβρίου, 2013KoiGecko 26[39]Gecko 26
1.3.09 Δεκεμβρίου, 2013TBD Gecko 28Gecko 28
1.4.017 Μαρτίου, 2014TBD Gecko 30Gecko 30
-

Τεχνικά χαρακτηριστικά συσκευών

-

Σημειώστε ότι υπάρχουν μερικές περιπτώσεις όπου υπάρχει μια επερχόμενη συσκευή που δεν έχει ανακοινωθεί αλλά μπορούμε να μοιραστούμε την κωδική ονομασία της συσκευής και (κάποιες από) τις δυνατότητες της συσκευής. ΜΗΝ γράψετε επιπλέον πληροφορίες για αυτές τις συσκευές εκτός κι αν ο Andreas Gal ή κάποιος άλλος, το ίδιο ικανός να ευλογήσει την δημόσια αποκάλυψη της πληροφορίας, το έχει αποκαλύψει.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ΌνομαΚωδική ονομασίαΕκδόσειςΑνάλυσηΟθόνη (ίντσες)CPUΚάμερα(ες), MpxRAMROMΑποθηκευτικός χώροςΜπαταρία (mAh)
Alcatel One Touch Firehamachi, buriv1.0.1/v1.1 -

320 x 480
- PX=1

-
3.5Qualcomm MSM7227A 1 GHzΠίσω: 3.2256MB512MB/δεδομένα: ίσως τον ίδιο με το inari; τα τεχνικά χαρακτηριστικά λένε 160MB "μνήμη τελικού χρήστη"
-  Ίσως καθόλου εσωτερικός Χώρος Συσκευής, απαιτείται κάρτα MicroSD (έως και 32GB)
-  
1400
ZTE Open / παραλλαγέςikurav1.0.1 (όταν αποστέλλεται)320 x 480
- PX=1
3.5Qualcomm MSM7225A 800 MHzΠίσω: 3.2256MB512MB -

/δεδομένα: 152M
- Καθόλου εσωτερικός Χώρος Συσκευής, απαιτείται κάρτα MicroSD

-
1200
LG Firewebleov1.1320 x 480
- PX=1
4Qualcomm 1 GHzΠίσω: 5512MB4GB -

/δεδομένα: 1007.90M
- εσωτερικός Χώρος Συσκευής: ναι, αβέβαιο μέγεθος. ίσως 3.7G, αλλά ίσως είναι κακά μαθηματικά.  (Σε μια δύστηχη συσκευή /sys/devices/platform/msm_sdcc.3/mmc_host/mmc0/mmc0:0001/block/mmcblk0/block είναι 7733248, και τότε υποθέτοντας το μέγεθος ενός block των 12 byte, παίρνουμε 3.7G)

-
1540
Geeksphone Keonkeon -

v1.0.1 - λήψεις nightly εδώ

-
320 x 480
- PX=1
3.5Qualcomm Snapdragon S1 7225AB 1 GHzΠίσω: 3512MB4GB -

/δεδομένα: 1.5G
- εσωτερικός Χώρος Συσκευής: 1023.4M

-
1580
Geeksphone Peakpeakv1.0.1 - λήψεις nightly εδώ540 x 960
- PX=1.5
4.3Qualcomm Snapdragon S4 8225 1.2 GHz διπύρηνος -

Μπροστά: 2
- Πίσω: 8

-
512MB4GB/δεδομένα: 1.5G
- εσωτερικός Χώρος Συσκευής: 1023.4M
1800
Geeksphone Revolution-v1.3pre (όταν αποστέλλεται)540 x 960 PX=1.54.7Διπύρηνος επεξεργαστής Intel® Atom™ Z2560 έως και 1.6GHz -

Μπροστά: 1.3 Πίσω: 8

-
1GB4GB -

/δεδομένα: 2G
- εσωτερικός Χώρος Συσκευής: 2.5GB

-
2000
Nexus 4nexus-4v1.3 - nightly768 x 1280
- 720p
4.7 -

Qualcomm
- Snapdragon S4 Pro
- 1.5 GHz τετραπύρηνος

-
Πίσω: 82GB8 ή 16GBόλα υπάρχουν σε μια μεγάλη σούπα, δεν υπάρχει εξωτερικός χώρος (MicroSD). Το μέγεθος της σούπας διαφέρει ανάλογα με το ποιο μοντέλο του Nexus 4 έχετε.2100
Foxconn InFocusflatfish 1280 x 80010A31 (Arm Cortex A7) Τετραπύρηνος 1.0 GHz -

Μπροστά: 2
- Πίσω: 5

-
2GB16GB 7000
some phone thingfuguv1.2f (κλάδος) per320 x 480   256MB   
Spreadtrum SC6821tarakov1.3 perHVGA
- 320 x 480
3.5Cortex A5 1GHz0.3 (μόνο πίσω;)128MB (zram)2GB NAND flash (εξωτερική) + 1GB LPDDR1 (ενσωματωμένη)32GB κάρτα micro SD1100
VIA Vixenπροσαρμογή του flatfish βασισμένη στην κοινό-τητα; per 1024 x 6007Cortex-A9 Διπύρηνος 1.2 GHz -

Μπροστά: 0.3 Πίσω: 2
-  

-
1GB8GB  
Flameη "συσκευή αναφοράς"v1.3854 × 4804.5Qualcomm MSM8210 Snapdragon, 1.2GHZ Διπύρηνος επεξεργαστήςΜπροστά: 2
- Πίσω: 5
256MB -1GB (προσαρμόσιμη από τον προ-γραμματιστή)8GB 1800
-

Εξηγήσεις στηλών:

- -

Ελάχιστες απαιτήσεις hardware

-

Οι πιο πρόσφατες κινητές συσκευές βασισμένες στο ARM είναι αρκετά δυνατές για να υποστηρίξουν το Firefox OS. Αυτή η ενότητα καλύπτει τις βασικές απαιτήσεις hardware καθώς και τα προτεινόμενα χαρακτηριστικά hardware.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ΕξάρτημαΕλάχιστοΠροτεινόμενο
CPUARMv6Κλάσσης Cortex A5 ή καλύτερο
- ARMv7a με NEON
GPUΚλάσσης Adreno 200 ή καλύτερη
ΣυνδεσιμότηταWiFi
- 3G
ΑισθητήρεςΕπιταχυνσιόμετρο
- Εγγυήτητας
- Φωτός περιβάλλοντος
- A-GPS
-
-

Σημείωση: Για μια καλή εμπειρία χρήσης, είναι καλή ιδέα να επιλέξετε μια συσκευή που να προσφέρει ένα προφιλ χρώματος στολής (υλοποιημένο από τον οδηγό της συσκευής γραφικών) και υποστήριξη ακουστικού για σίγαση και μη σίγαση και για παύση και αναπαραγωγή πολυμέσων. Αυτά τα χαρακτηριστικά είναι συνηθισμένα στα σύγχρονα smartphones.

-
-

 

diff --git a/files/el/archive/b2g_os/platform/gaia/hacking/index.html b/files/el/archive/b2g_os/platform/gaia/hacking/index.html deleted file mode 100644 index 299f0a2d89..0000000000 --- a/files/el/archive/b2g_os/platform/gaia/hacking/index.html +++ /dev/null @@ -1,126 +0,0 @@ ---- -title: Hacking Gaia -slug: Archive/B2G_OS/Platform/Gaia/Hacking -translation_of: Firefox_OS/Developing_Gaia ---- -
-

Αυτή η σελίδα απευθύνεται σε Gaia developers. Αν όμως αναζητάτε πληροφορίες σχετικά με το πώς να δημιουργήσετε μια έκδοση (build) και να εκτελέσετε το Firefox OS, θα πρέπει να συμβουλευθείτε το Building and installing Firefox OS page.

-
-

Gaia λέγεται η συλλογή εφαρμογών ιστού (web apps) που αποτελεί το ορατό μέρος του Firefox OS. Ο,τιδήποτε βλέπετε στην οθόνη στο Firefox OS είναι υλοποιημένο με την χρήση ανοικτών τεχνολογιών Ιστού (Open Web technologies), συμπεριλαμβανομένων και την αρχικής οθόνης (home screen) και όλων των προεγκατεστημένων εφαρμογών.

-

Πως να λάβετε τον πηγαίο κώδικα

-

Για να λάβετε τον πηγαίο κώδικα του Gaia, μπορείτε να δημιουργήσετε μια διακλάδωση (fork) στο GitHub και στη συνέχεια να κλωνοποιησετε (clone) τη νεα σας διακλαδωση χρησιμοποιωντας το git.

-
$ git clone https://github.com/mozilla-b2g/gaia.git
-

Εκτέλεση του Gaia

-

Μπορείτε να εκτελέσετε το Gaia τόσο στο desktop, μέσω του Firefox, όσο και μέσω μιας συμβατής φορητής συσκευής.

-

B2G desktop

-

Το B2G desktop είναι μία εκδοχή (build) για το desktop του περιβάλλοντος εκτέλεσης (runtime) εφαρμογών το οποίο χρησιμοποιείται σε συσκευές Firefox OS και μπορεί να χρησιμοποιηθεί για εκτέλεση του Gaia στον υπολογιστή σας.

-

Μπορείτε να κατεβάσετε (download) μια πειραματική εκδοχή (nightly build) του B2G desktop από εδώ. Ανάλογα με την έκδοση στην οποία στοχεύετε, ίσως να χρειάζεστε μια συγκεκριμένη έκδοση του latest-mozilla-b2g18. Υπάρχουν εκδοχές για Linux (32 bit καί 64 bit), Mac OS X καί Windows.

-

Οι πειραματικές εκδοχές συμπεριλαμβάνουν μία πρόσφατη έκδοση του gaia. Μετά τη λήψη του αρχείου, το μόνο που χρειάζεται να κάνετε είναι να το αποσυμπιέσετε σε ένα φάκελο και να τρέξετε το εκτελέσιμο b2g μέσα από τον αποσυμπιεσμένο φάκελο.

-
$ cd b2g
-$ ./b2g
-

Για να τρέξετε το B2G με μια δική σας έκδοση του Gaia για σκοπούς ανάπτυξης, πρέπει πρώτα να εκδόσετε (build) ένα προφίλ (profile) από το δικό σας αρχείο:

-
$ cd /path/to/gaia
-$ DEBUG=1 DESKTOP=0 make
-

Αυτό θα δημιουργήσει (generate) ένα υποφάκελο στο φάκελο gaia με όνομα profile. Το μέρος DEBUG εκτελεί το Gaia σαν μια φιλοξενούμενη (hosted) εφαρμογή μέσω ενός ενσωματωμένου (built-in) web server, σε αντίθεση με την προεπιλεγμένη μορφή των "πακεταρισμένων" εφαρμογών που χρειάζονται πακετάρισμα μετά από κάθε αλλαγή. Μπορείτε να βρείτε τη διαδρομή πρός το φάκελο του προφίλ (profile directory) κοιτάζοντας την τελευταία γραμμή της εξόδου (output) μετά την εκτέλεση της πιό πάνω εντολής, θα πρέπει να μοιάζει κάπως έτσι:

-
Profile Ready: please run [b2g|firefox] -profile /path/to/gaia/profile
-

Θα μπορούσατε να τρέξετε την έκδοση Desktop του B2G με το νέο σας προφίλ με την ακόλουθη εντολή:

-
$ ./b2g /path/to/gaia/profile
-

Μπορείτε να εκδόσετε (build) το δικό σας desktop B2G από τον πηγαίο κώδικα αν το επιθυμείτε.

-

Χρήση του Gaia στο Firefox

-

Το Gaia μπορεί επίσης να τρέξει μέσα από το Firefox. Αυτό έχει το πλεονέκτημα ότι κάνει τον κύκλο ανάπτυξης γρήγορο και επιπλέον παρέχει τυποποιημένα εργαλεία ανάπτυξης Ιστού (web development tools) και απαλοιφής σφαλμάτων (debuggers). Δείτε πως να το κάνετε αυτό και για περισσότερες λεπτομέρειες, στο Χρήση του Gaia στο Firefox .

-

Χρήση του Gaia σε μια συσκευή

-

Αν διαθέτετε μια συμβατή κινητή συσκευή μπορείτε επίσης να εκτελέσετε το Gaia εγκαθιστώντας σε αυτή το Firefox OS. Δείτε το Προετοιμασία έκδοσης και εγκατάσταση του Firefox OS για περισσότερες λεπτομέρειες και οδηγίες για να το πετύχετε αυτό. Επιπλέον, έχουμε τεκμηρίωση (documentation) για το πως να δοκιμάσετε το Firefox OS.

-

Δοκιμές μονάδων (Unit tests)

-

Δείτε το  Δοκιμές μονάδων του Gaia για τεκμηρίωση σχετικά με τη δημιουργία και την εκτέλεση δοκιμών μονάδων του Gaia.

-

Υποβολή αναφορών προβλημάτων (bugs)

-

Οι αναφορές για προβλήματα (bugs)υποβάλλονταιστο Bugzilla στη θέση Boot2Gecko > Gaia. Υποβάλλετε μια νέα αναφορά προβλήματος στη θέση του Gaia component (ή ενός από τα sub-components).

-

Συνεισφορά στο Gaia

-

Το Mozilla βασίζεται σε συνεισφορές που προέρχονται από την κοινότητα open source για βοήθεια στην ανάπτυξη εφαρμογών Gaia και θα μας άρεσε πολύ να δούμε και τη δική σας συμμετοχή.

-

Κάποιες πολύ καλές πηγές για να βρείτε προβλήματα (bugs) πάνω στα οποία θα μπορούσατε να αρχίσετε το hacking:

- -

Βασικά στοιχεία συγγραφής κώδικα (coding style)

- -

Επιπρόσθετοι κανόνες

-

Λάθος:

-
if (expression) doSomething();
-
-

Σωστό:

-
if (expression) {
-  doSomething();
-}
-
-

Αν εργάζεστε στην εφαρμογή συστήματος (the system app), συμβουλευθείτε τις οδηγίες που παρέχονται εδώ.

-

Πρίν την υποβολή ενός patch συστήνουμε να εφαρμόσετε το gjslint επάνω του για να ελέγξετε για τυχόν λάθη στη μορφή του:

-
gjslint --nojsdoc my_file.js
-

Υποβολή ενός patch

-

Για αρχή, υποβάλλετε ή αναθέστε μια αναφορά προβλήματος (bug) στον εαυτό σας στο Bugzilla, θα χρειαστείτε ένα λογαριασμό Bugzilla.

-

Στη συνέχεια δημιουργήστε μία διακλάδωση (ένα νέο τμήμα) στο δικό σας fork του Gaia:

-
$ git branch branchname
-$ git checkout branchname
-

Οριστικοποιήστε (commit) τις αλλαγές σας:

-
$ git add /file/to/add
-$ git commit -m "Bug XXXXX - Fix the broken Gaia and save the world"
-

Προωθήστε (push) το τμήμα σας (branch):

-
$ git push origin branchname
-

Υποβάλλετε ένα αίτημα pull πηγαίνοντας στο τμήμα μέσα στο δικό σας fork στο GitHub και εντοπίζοντας το πλήκτρο pull request.

-

Για να ζητήσετε τον έλεγχο του νέου σας patch, επισυνάπτετε το αίτημα (pull request) στην αναφορά προβλήματος στο Bugzilla παραθέτοντας το URL του αιτήματος pull, και ορίζοντας την ένδειξη έλέγχος (review -"r"- flag) σε "?" και δίνοντας το bugzilla ID ενός από τους  κατόχους τμήματος (module) και συνεργαζόμενους (κάτι πολύ σημαντικό - διαφορετικά πιθανότατα δεν θα δεί κανένας την αναφορά προβλήματος που θα έχετε υποβάλλει). Το Github tweaks for bugzilla extension on AMO μπορεί να βοηθήσει στον αυτοματισμό αυτής της διαδικασίας, επισυνάπτοντας αυτόματα τις πληροφορίες στην αναφορά προβλήματος. Θα πρέπει όμως εσείς να ορίσετε τηνένδειξη (flag) review στο Bugzilla.

-

Το πρόσωπο που θα κάνει τον έλεγχο ενδέχεται να σας ζητήσει να κάνετε κάποιες αλλαγές -ίσως χρειαστεί να  προσθέσετε το αρχικό commit και να επιβάλλετε την προώθηση (force push) του στον αρχικό κλάδο/αίτημα pull (branch/pull request). Απότη στιγμή που θα γίνει αποδεκτό το τμήμα του κώδικά σας (patch), θα το συγχωνέυσουν (merge) στον κύριο κλάδο (master branch) για εσάς. Θα προτιμούσαν, πρίντοκάνουν αυτό να έχετε συμπτύξει τις αλλαγές σας σε ένα μοναδικό commit, ώστε να μπορεί εύκολα να παρακολουθήσει κανείς τις συνεισφορές σας.

-

Το πρόσωπο που θα συγχωνέυσει το commit (συνήθως αυτός που έκανετονέλεγχο) θα εισαγάγει ένα r= flag στα σχόλια του commitτης συγχώνευσης.

-

Επιλογές Make

-

Υπάρχουν πολλές μή τεκμηριωμένες και μή υποστηριζόμενες μεταβλητές περιβάλλοντος στο Makefile. Μην βασίζεστε σε αυτές καθώς μπορεί να αφαιρεθούν στο μέλλον.

-

Προεπιλογή

-
make
-

Δημιουργήστε ένα προφίλ για πακεταρισμένες εφαρμογές, με δυνατότητα εκκίνησης από το Desktop του B2G και οι οποίες μπορούν να προωθηθούν σε συσκευή.

-

Debug make

-
DEBUG=1 make
-

Το μέρος DEBUG εκτελεί το Gaia ως φιλοξενούμενη εφαρμογή σε ένα ενσωματωμένο web server, σε αντίθεση με τις κατά προεπιλογή πακεταρισμένες εφαρμογές οι οποίες πρέπει να επαναπακεταριστούν μετά από κάθε αλλαγή. Εκκινήστε το προφίλ με την πιό πρόσφατη Firefox Nightly η οποία θα σας δώσει χρήσιμα panels, ειδικά για το B2G στα Firefox Developer Tools.

-

Προώθηση σε συσκευή

-
make install-gaia
-
-make reset-gaia
-

Με το setup adb (Android Debug Bridge), οι παραπάνω εντολές θα προωθήσουν το Gaia στη συσκευή. Η reset-gaia θα εκκαθαρίσει το προφίλ και όλες τις άλλες webapps πριν προωθήσει το νέο αντίγραφο του Gaia.

-

Επιλεκτική εκδοχή (build)

-
APP=system make
-
-APP=system make install-gaia
-

Με ένα ήδη υπάρχον προφίλ, το APP επιτρέπει την επιλογή της εφαρμογής που θα επαναπακεταριστεί, αντί να επαναπακεταριστούν και επαναπροωθηθούν όλες οι εφαρμογές Gaia.

-

Εικόνες υψηλής ανάλυσης

-
GAIA_DEV_PIXELS_PER_PX=1.5 make
-

Κατά το πακετάρισμα της εφαρμογής, να αντικατασταθούν  οι εικόνες με τις αντίστοιχες *@1.5x.(gif|jpg|png) αν αυτές υπάρχουν.

-

Το Gaia αυτή την στιγμήστοχεύει μόνο στις μορφές HBGA (320x240), qHD (540×960) και WVGA (480×800), χρησιμοποιήστε το GAIA_DEV_PIXELS_PER_PX για να σιγουρευθείτε ότι οι εικόνες εμφανίζονται σωστά σε συσκευές qHD και WVGA. Δείτε το A pixel is not a pixel για περισσότερες πληροφορίες σχετικά με τη διαφορά ανάμεσα σε pixels css και αυτά των φυσικών συσκευών.

-

Συμπίεση και βελτιστοποίηση Script

-
GAIA_OPTIMIZE=1 make
-

Συμπιέστε και βελτιστοποιήστε τον κώδικα javascript των προεγκατεστημένων εφαρμογών για να βελτιώσετε χρόνο εκκίνησης.

-

Συντομεύσεις προτιμήσεων

-
NOFTU=1
-
-

Απενεργοποίηση της εμφάνισης του οδηγού για νέους χρήστεςκατά την πρώτη χρήση.

-
REMOTE_DEBUGGER=1
-

Ενεργοποίησης της αποσφαλμάτωσης με το εργαλείο adb

-
DEVICE_DEBUG=1
-

Για τις εκδόσεις > 1.2 του OS, ελέγχει την χρήση αποσφαλμάτωσης webapp του FirefoxOS με τον Διαχειριστή Εφαρμογών (App Manager)

-

Εκδοχή διανομής και εμπορικής τροποποίησης

-
GAIA_DISTRIBUTION_DIR=./dir
-

Διαβάστε το Customization Overview για περισσότερες πληροφορίες.

-

Επικοινωνία με την ομάδα

- diff --git a/files/el/archive/b2g_os/platform/gaia/index.html b/files/el/archive/b2g_os/platform/gaia/index.html deleted file mode 100644 index 9fcfc619f0..0000000000 --- a/files/el/archive/b2g_os/platform/gaia/index.html +++ /dev/null @@ -1,75 +0,0 @@ ---- -title: Gaia -slug: Archive/B2G_OS/Platform/Gaia -tags: - - B2G - - Gaia - - Mobile - - NeedsTranslation - - TopicStub -translation_of: Archive/B2G_OS/Platform/Gaia ---- -

Gaia is the user interface level of Firefox OS. Everything that appears on the screen after Firefox OS starts up is drawn by Gaia, including the lock screen, home screen, dialer, and other applications. Gaia is written entirely in HTML, CSS, and JavaScript. Its only interface to the underlying operating system and hardware is through standard Web APIs, which are implemented by Gecko.

-

Because of this design, Gaia can not only be run on Firefox OS devices, but on other operating systems and in other web browsers (albeit with potentially degraded functionality depending on the capabilities of the browser).

-

Third party applications onto the device installed alongside Gaia can be launched by Gaia.

- - - - - - - -
-

Documentation about Gaia

-
-
- Introduction to Gaia
-
- Gaia is the user interface application for Firefox OS devices; it's simply a Web application running atop the Firefox OS software stack. This guide introduces Gaia at a high level.
-
- Gaia apps
-
- Information on each of the default apps available in the Gaia family, including tips on how to use them, and how to modify them.
-
- Gaia hacking guide
-
- A guide to hacking and modifying the Gaia interface.
-
- Gaia Build System Primer
-
- Most of the meaningful work for the build steps are performed by the scripts that live inside the build/ subdirectory of Gaia.
-
- Gaia Hacking Tips And FAQ
-
- A list of helpful tips and frequently asked questions around hacking on Gaia.
-
-

View All...

-
-

Getting help from the community

-

If you're working with Gaia, or developing Gaia applications, there are community resources to help you!

-
    -
  • Consult the Boot to Gecko project forum: {{ DiscussionList("dev-gaia", "mozilla.dev.gaia") }}
  • -
-
    -
  • Ask your question on Mozilla's Gaia IRC channel: #gaia
  • -
-

Don't forget about the netiquette...

-
- - -

Resources

- -
-

 

diff --git a/files/el/archive/b2g_os/platform/index.html b/files/el/archive/b2g_os/platform/index.html deleted file mode 100644 index 5708ef1ee5..0000000000 --- a/files/el/archive/b2g_os/platform/index.html +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: The Firefox OS platform -slug: Archive/B2G_OS/Platform -tags: - - B2G - - Firefox OS - - Landing - - NeedsTranslation - - TopicStub -translation_of: Archive/B2G_OS/Platform ---- -

The Firefox OS platform consists of many components. While you don't need to understand its architecture in order to build applications that run on Firefox OS, if you're working on developing or porting the platform—or are simply curious—the following documentation may be of interest to you.

- - - - - - - -
-

Documentation about the Firefox OS platform

-
-
- Gaia
-
- Documentation about Gaia, the user interface application for Firefox OS devices; this is a Web application running atop the Firefox OS software stack.
-
- Gonk
-
- Documentation about Gonk, the operating system layer underneath Gaia. This consists of a Linux kernel and a hardware abstraction layer to which Gecko communicates.
-
- Gecko
-
- Gecko is the layer of Firefox OS that provides the same open web standards implementation used by Firefox and Thunderbird, as well as many other applications.
-
-  Security
-
- Documentation about security in Firefox OS; this includes topics about security devices from every perspective: for app developers, device integrators, and so forth.
-
- Feature support chart
-
- A chart of which features are available in which types of Firefox OS builds.
-
- Firefox OS architecture overview
-
- An overview of how Firefox OS is structured internally; this is primarily of interest to platform developers and people doing porting work.
-
- Firefox OS apps architecture
-
- An overview of the application model on Firefox OS.
-
- Firefox OS settings list
-
- A list of common setting names that can be used with the Settings API.
-
-

View All...

-
-

Getting help from the community

-

If you're working with Firefox OS, or developing applications you'd like to run on Firefox OS devices, there are community resources to help you!

-
    -
  • Consult the Boot to Gecko project forum: {{ DiscussionList("dev-b2g", "mozilla.dev.b2g") }}
  • -
-
    -
  • Ask your question on Mozilla's Boot to Gecko IRC channel: #b2g
  • -
-

Don't forget about the netiquette...

-
- - -

Resources

- -
-

 

diff --git "a/files/el/archive/b2g_os/\316\261\317\203\317\206\316\254\316\273\316\265\316\271\316\261/index.html" "b/files/el/archive/b2g_os/\316\261\317\203\317\206\316\254\316\273\316\265\316\271\316\261/index.html" deleted file mode 100644 index cd9e24e393..0000000000 --- "a/files/el/archive/b2g_os/\316\261\317\203\317\206\316\254\316\273\316\265\316\271\316\261/index.html" +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: Ασφάλεια του Firefox OS -slug: Archive/B2G_OS/Ασφάλεια -translation_of: Archive/B2G_OS/Security ---- -

Τα ακόλουθα άρθρα καλύπτουν θέματα σχετικά με την ασφάλεια για το Firefox OS. Αυτό περιλαμβάνει γενικά τα χαρακτηριστικά ασφαλείας καθώς και την ασφάλεια των εφαρμογών και το πως η διαδικασία εγκατάστασης διατηρείται ασφαλής.

- - - - - - - -
-

Τεκμηρίωση ασφαλείας του Firefox OS

-
-
-  Το πρότυπο ασφαλείας του Firefox OS
-
- Μια επισκόπηση του πρότυπου ασφαλείας του OS security.
-
- Ασφάλεια συστήματος
-
- Λεπτομέρειες για την ασφάλεια του FirefoxOS.
-
- Ασφάλεια εφαρμογών στο Firefox OS
-
- Μια επισκόπηση του πως οι εφαρμογές γίνονται ασφαλείς στο Firefox OS.
-
- Εγκαθιστώντας και ενημερώνοντας εφαρμογές με ασφάλεια
-
- Πως το Firefox OS εγκαθιστά και ενημερώνει τις εφαρμογές με ασφάλεια.
-
- Αποσφαλμάτωση και δοκιμή ασφαλείας με το Firefox OS
-
- Αυτός ο οδηγός σας δείχνει τα βασικά βήματα δοκιμής ασφαλείας, από το άνοιγμα ενός απομακρυσμένου debugger JavaScript εώς και τη ρύθμιση ενός proxy παρακολούθησης HTTP(S) ενάντια σε μια έκδοση για υπολογιστές του Firefox OS.
-
-

Προβολή Όλων...

-
-

Λαμβάνοντας βοήθεια από την κοινότητα

-

Εάν δουλεύετε με το Firefox OS, ή προγραμματίζετε εφαρμογές που θα θέλατε να "τρέξετε" σε συσκευές με Firefox OS devices, υπάρχει η κοινότητα για να σας βοηθήσει!

-
    -
  • Συμβουλευτείτε το φόρουμ του project Boot to Gecko: {{ DiscussionList("dev-b2g", "mozilla.dev.b2g") }}
  • -
-
    -
  • Κάντε την ερώτησή σας στο κανάλι IRC του Boot to Gecko της Mozilla: #b2g
  • -
-

Μην ξαχνάτε το netiquette...

-
- - -
-

 

-
-
- Firefox OS
diff --git "a/files/el/archive/b2g_os/\316\265\316\263\316\272\316\261\317\204\316\254\317\203\317\204\316\261\317\203\316\267_\317\203\316\265_\316\272\316\271\316\275\316\267\317\204\316\256_\317\203\317\205\317\203\316\272\316\265\317\205\316\256/index.html" "b/files/el/archive/b2g_os/\316\265\316\263\316\272\316\261\317\204\316\254\317\203\317\204\316\261\317\203\316\267_\317\203\316\265_\316\272\316\271\316\275\316\267\317\204\316\256_\317\203\317\205\317\203\316\272\316\265\317\205\316\256/index.html" deleted file mode 100644 index 451a278ec9..0000000000 --- "a/files/el/archive/b2g_os/\316\265\316\263\316\272\316\261\317\204\316\254\317\203\317\204\316\261\317\203\316\267_\317\203\316\265_\316\272\316\271\316\275\316\267\317\204\316\256_\317\203\317\205\317\203\316\272\316\265\317\205\316\256/index.html" +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: Εγκαθιστώντας το firefox OS σε μία κινητή συσκευή -slug: Archive/B2G_OS/Εγκατάσταση_σε_κινητή_συσκευή -translation_of: Archive/B2G_OS/Installing_on_a_mobile_device ---- -
-

Προσοχή: Αυτή είναι μία ημιτελής μετάφραση

-
-

Μόλις  χτίσετε το Boot to Gecko για μια κινητή συσκευή, μπορείτε να το εγκαταστήσετε. Αυτό το άρθρο θα σας οδηγήσει στην διαδικασία.

-
- Σημείωση: Την πρώτη φορά που θα φλασάρετε το κινητό σας, πρέπει να έχει εγκατεστημένο το Android 4 (Ice Cream Sandwich)
-

Flashing your phone

-

To flash everything to your phone, simply connect your phone and type:

-
./flash.sh
-
-

That's it. The B2G you've currently got built will flash onto your device.

-

Configuring the udev rule for your device

-

On Linux, if you get this,

-
< waiting for device >
-

that probably means that you haven't added a udev rule for the fastboot device, which is not the same as the one for adb. You can get the USB vendor ID by running lsusb now, but typically it's Google's: 18d1, so adding this line in your /etc/udev/rules.d/51-android.rules would work:

-
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
-
- Note: If you get a very helpful libusb error "-3" on Linux, it means you need to be root to have the needed access to the USB device. Run the script again using sudo.
-
- Note 2: If you have a Unagi phone, you need two lines like this - one for the original phone vendor's ID, and one for Google's.
-

Special notes for the Samsung Galaxy S2

-

If your phone is a Galaxy S2 and you are using heimdall 1.3.2 (the latest version; use heimdall version to check), you may see an alarming error "FACTORYFS upload failed!" followed by "Heimdall flashing failed" and some additional information. This is actually a success condition, and you can ignore the advice.

-

To get rid of this strange behavior, grab a source copy of heimdall, downgrading to the 1.3.1 release ("git checkout fbbed42c1e5719cc7a4dceeba098981f19f37c06"), then compile it  according to the README, then install that to make the error go away. However, this isn't strictly necessary.

-

All versions of heimdall are unable to flash a system.img larger than 100MB. Do:

-
ls -l ./out/target/product/galaxys2/system.img
-
-

to see how big yours is. If it's too large, ask in IRC for advice; there are ways to do it in two stages.

-

Added step for the Samsung Galaxy S2

-

If you're flashing onto the Galaxy S2, there is an additional step to follow. Gaia does not get flashed automatically by the flash.sh script; you'll need to also do:

-
./flash.sh gaia
-
-

Flashing specific partitions to fastboot phones

-

You can flash specific partitions to fastboot phones (that is, any phone other than the Samsung Galaxy S2). For example:

-
./flash.sh system
-./flash.sh boot
-./flash.sh user
-
-

Updating specific modules

-

You can update specific components of B2G by specifying their names when flashing. For example:

-
./flash.sh gaia
-./flash.sh gecko
-
-

In order to update only one application you can use BUILD_APP_NAME environment variable:

-
BUILD_APP_NAME=calendar ./flash.sh gaia
-

Next steps

-

At this point, your phone should be running Boot to Gecko! It's time to experiment, write some code, test, or do some debugging!

-
- Note: A helpful usage tip: if your build of B2G starts up with the lock screen requesting a pass code to unlock the phone, the default code is 0000.
-

Troubleshooting

-

Here are a some tips for what to do if your device doesn't work right after installing B2G, or updating it to a new version

-

If the UI doesn't start up

-

If you update your phone and the user interface doesn't start up, you can reset it to clear out out-of-date configuration and the like. This may bring it back to life. Here's how:

-
cd gaia
-make reset-gaia
-
-

"image is too large" error message on ./flash.sh execution

-

It might mean that you phone needs to be rooted first before flashing it. As b2g needs to be written on root partition, your phone needs to be rooted in order to install it.

-

 

diff --git "a/files/el/archive/b2g_os/\316\265\317\200\316\271\316\273\316\255\316\263\316\277\316\275\317\204\316\261\317\202_\317\200\317\211\317\202_\316\275\316\261_\316\265\316\272\317\204\316\265\316\273\316\255\317\203\316\265\317\204\316\265_\317\204\316\277_gaia_\316\256_\317\204\316\277_b2g/index.html" "b/files/el/archive/b2g_os/\316\265\317\200\316\271\316\273\316\255\316\263\316\277\316\275\317\204\316\261\317\202_\317\200\317\211\317\202_\316\275\316\261_\316\265\316\272\317\204\316\265\316\273\316\255\317\203\316\265\317\204\316\265_\317\204\316\277_gaia_\316\256_\317\204\316\277_b2g/index.html" deleted file mode 100644 index 334e38c8df..0000000000 --- "a/files/el/archive/b2g_os/\316\265\317\200\316\271\316\273\316\255\316\263\316\277\316\275\317\204\316\261\317\202_\317\200\317\211\317\202_\316\275\316\261_\316\265\316\272\317\204\316\265\316\273\316\255\317\203\316\265\317\204\316\265_\317\204\316\277_gaia_\316\256_\317\204\316\277_b2g/index.html" +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: Επιλέγοντας πως να εκτελέσετε το Gaia ή το B2G -slug: Archive/B2G_OS/Επιλέγοντας_πως_να_εκτελέσετε_το_Gaia_ή_το_B2G -translation_of: Archive/B2G_OS/Choosing_how_to_run_Gaia_or_B2G ---- -

{ B2GMain() }}

-

Ανάλογα με τις συγκεκριμένες σας ανάγκες, έχετε μια ποικιλία επιλογών να σκεφτείτε όταν πειραματίζεστε με το Firefox OS ή τη διεπαφή χρήστη Gaia. Μπορείτε να διαλέξετε ανάμεσα από τις ακόλουθες επιλογές: κάθε μια έχει τα πλεονεκτήματα και τα μειονεκτήματα της για να τα σκεφτείτε ενώ κάποιες είναι πιο ευέλικτες από κάποιες άλλες.

-

Εκτελώντας το B2G στον υπολογιστή

-

Είναι δυνατό να έχετε ένα εξομοιωτή του Firefox OS και να εκτελέσετε το Gaia σ' αυτόν. Το λογισμικό αυτό βασίζεται στον Firefox αλλά συμπεριφέρεται πιο πολύ σαν την εμπειρία του Firefox OS σε συσκευή. Αυτό τον καιρό η Mozilla παρέχει nightly εκδόσεις αυτής της εφαρμογής για τους προγραμματιστές. Εάν είστε εξοικειωμένος με την ανάπτυξη του βασικού κώδικα του Firefox ή των C++ projects, μπορείτε να αναπτύξετε αυτή την εφαρμογή μόνος σας.

-

Πλεονεκτήματα

- -

Μειονεκτήματα

- -

Γιατί να εκτελέσετε τον εξομοιωτή B2G

-

This is a good middle-of-the-road testing and development solution. It's a good way to get a better feel for how your app or other code will work in a device-like environment without actually having to flash a phone every time you want to test something.

-
- Note: Before shipping an app, you will absolutely want to test on real hardware!
-

Simulator varieties

-

There are several varieties of the Firefox OS Simulator available:

-
-
- Firefox OS Simulator add-on
-
- This extension is the primary tool for testing apps running on Firefox OS, and is the recommended solution for most users. It includes support for developer tools, adding apps to the test environment, and so forth.
-
- Developer desktop builds
-
- These builds of the simulator are stand-alone applications that are primarily intended to help core Firefox OS developers to verify technical features.
-
- Localizer desktop builds
-
- The localizer builds are primarily useful for localization teams to work on and test their localizations of Firefox OS and of Firefox OS apps.
-
-

Running B2G on a mobile device

-

The most thorough way to test your B2G or Gaia development work, or your web app, is to build and install Firefox OS on a real mobile device. This is also the most complicated process.

-

Advantages

- -

Disadvantages

- -

Why to run B2G on a mobile device

-

This is, obviously, the most accurate way to test any code or web project on B2G or Gaia. By running on actual mobile hardware, you can ensure that your project performs well and looks good, and uses all device APIs correctly. In addition, you should always test on real hardware before shipping any code; failing to do so can have unfortunate effects that can be hard to predict.

diff --git "a/files/el/archive/b2g_os/\317\207\317\201\316\267\317\203\316\271\316\274\316\277\317\200\316\277\316\271\317\216\316\275\317\204\316\261\317\202_\317\204\316\277\316\275_\316\264\316\271\316\261\317\207\316\265\316\271\317\201\316\271\317\203\317\204\316\256_\316\265\317\206\316\261\317\201\316\274\316\277\316\263\317\216\316\275/index.html" "b/files/el/archive/b2g_os/\317\207\317\201\316\267\317\203\316\271\316\274\316\277\317\200\316\277\316\271\317\216\316\275\317\204\316\261\317\202_\317\204\316\277\316\275_\316\264\316\271\316\261\317\207\316\265\316\271\317\201\316\271\317\203\317\204\316\256_\316\265\317\206\316\261\317\201\316\274\316\277\316\263\317\216\316\275/index.html" deleted file mode 100644 index 7a8fb976fe..0000000000 --- "a/files/el/archive/b2g_os/\317\207\317\201\316\267\317\203\316\271\316\274\316\277\317\200\316\277\316\271\317\216\316\275\317\204\316\261\317\202_\317\204\316\277\316\275_\316\264\316\271\316\261\317\207\316\265\316\271\317\201\316\271\317\203\317\204\316\256_\316\265\317\206\316\261\317\201\316\274\316\277\316\263\317\216\316\275/index.html" +++ /dev/null @@ -1,257 +0,0 @@ ---- -title: Χρησιμοποιώντας τον Διαχειριστή Εφαρμογών -slug: Archive/B2G_OS/Χρησιμοποιώντας_τον_Διαχειριστή_Εφαρμογών -translation_of: Archive/B2G_OS/Using_the_App_Manager ---- -
-

Ο Διαχειριστής Εφαρμογών είναι ένα νέο εργαλείο διαθέσιμο στον Firefox για Υπολογιστές, το οποίο παρέχει έναν αριθμό χρήσιμων εργαλείων για να σας βοηθήσουν να δοκιμάσετε, να αναπτύξετε και να αποσφαλματώσετε εφαρμογές ιστού HTML5 σε τηλέφωνα Firefox OS και το Firefox OS Simulator, κατ' ευθείαν από τον περιηγητή σας.

- -

Ο Διαχειριστής Εφαρμογών είναι για προγραμματιστές που σκοπεύουν το Firefox OS 1.2 ή νεότερο. Αν αποσφαλματώνετε εφαρμογές για το Firefox OS 1.1, τότε θα πρέπει να ελέγξετε τα έγγραφα για το Firefox OS 1.1 Simulator.

-
- -

{{EmbedYouTube("z1Bxg1UJVf0")}}

- -

The App Manager is composed of:

- - - -

Quick setup:

- -

This section is designed to get you up and running as soon as possible; if you need some more detail please skip forward to the {{ anch("Device and system configuration") }} section and start reading from there.  Also see the {{ anch("Troubleshooting") }} section for help if you are having trouble.

- -
    -
  1. Make sure you have Firefox Desktop 26+ installed
  2. -
  3. Open the App Manager (in the URL bar, type about:app-manager)
  4. -
  5. If you don't have a real device: -
      -
    1. Install the Firefox OS Simulator
    2. -
    3. In App Manager's bottom toolbar, click on Start Simulator, then click on the name of the installed simulator, which should appear there.
    4. -
    -
  6. -
  7. If you have a real device: -
      -
    1. Make sure your device is running Firefox OS 1.2+
    2. -
    3. On Windows, make sure to install the drivers provided by your phone manufacturer
    4. -
    5. In the Settings of your device, disable Screen Lock (Settings > Screen Lock) and enable Remote Debugging (Settings > Device information > More information > Developer)
    6. -
    7. Install the ADB Helper add-on in Firefox Desktop
    8. -
    9. Connect your device to your machine via a USB cable
    10. -
    11. You should see the name of your device in the App Manager's bottom bar. Click on it.
    12. -
    -
  8. -
  9. The bottom bar should show "Connected to: xxx"
  10. -
  11. Click on the Apps panel and add an app (packaged or hosted)
  12. -
  13. The Refresh button validates your app and installs it on the Simulator/Device
  14. -
  15. The Debug button connects the developer tools to the running app
  16. -
  17. See the {{ anch("Troubleshooting") }} section for help if you are having trouble
  18. -
- -

Device and system configuration

- -

The first thing you'll need to do when using the App Manager is make sure your system and phone are set up correctly. This section will run through all the steps required.

- -

Firefox 1.2+ required

- -

Make sure your device is running Firefox OS 1.2/Boot2Gecko 1.2 or higher. To check which version of Firefox OS the device is runing, go to Settings > Device Information > Software.

- -

If you don't have a high enough version installed, depending on what phone you have you will need to either install an available nightly build of Firefox 1.2+, or configure and build it yourself from source.

- -

Builds available:

- - - -

To build your own Firefox OS 1.2+ distribution, follow the instructions located at Building and installing Firefox OS, starting with Firefox OS build prerequisites.

- -

Remote debugging

- -

Next, you need to enable remote debugging in Firefox OS. To do so, go to Settings > Device information > More information > Developer and check the Remote Debugging checkbox.

- -

ADB or ADB helper

- -

The process uses the Android Debug Bridge (ADB) to handle the device-computer connection and communication. There are two options for running ADB:

- - - -
-

Note: There's no need to run this command if you installed the ADB Helper Add-on.

-
- -

Connecting your device to the App Manager

- -

With all your configuration done, it's now time to plug your device into your computer and start the App Manager:

- -
    -
  1. Plug the device into your computer via USB.
  2. -
  3. Disable Screen lock on your device by going to Settings > Screen Lock and unchecking the Lock Screen checkbox. This is a good idea because when the screen gets locked, the phone connection gets lost, meaning it is no longer available for debugging.
  4. -
  5. Start the App Manager — In Firefox Desktop select the Tools > Web Developer > App Manager menu option, or type about:app-manager in the URL bar.
  6. -
  7. At the bottom of the App Manager tab, you will see a connection status bar (see screenshot below). You should be able to connect your device by clicking the "Connect to localhost:6000" button.
  8. -
  9. If this works successfully, a prompt should appear on your device: "An incoming request to permit remote debugging connection was detected. Allow connection?". Tap the OK button (You may also have to press the power button on the phone so you can see the prompt.) The connection status bar should update to say "Connected to B2G", with a Disconnect button available to press if you want to cancel the connection.
  10. -
- -

- -
-

Note: The other controls in the connection status bar allow you to connect a simulator to the App Manager, which we cover in the next section, below, and change the port that the connection happens on. If you change the port, you'll also need to enable port forwarding for this port as well, as instructed in the {{anch("Enable port forwarding")}} section, above.

-
- -

Using a Firefox OS Simulator Add-on

- -

If you haven't got a real device available to use with App Manager, you can still try it out using a Firefox OS Simulator Add-on. To start off, install the simulator with the following button (multiple versions are available; you are advised to install them all, for maximum flexibility):

- -

Install Simulator

- -

Once you've installed the simulator(s), you need to go to about:app-manager to see the connection status bar at the bottom of the App Manager tab, and click the "Start simulator" button. At least three buttons will appear:

- - - -
-

Note: The Simulator (v 1.2 and 1.3) currently reports an incorrect Gecko user agent string: see {{ Bug("964598") }} for more details.

-
- -

Apps panel

- -

Now everything is working, let's review the functionality available inside the App Manager, starting with the Apps panel. From here, you can import an existing app to push onto your device and debug:

- - - -

Information about your app should appear on the right hand side of the window, as seen below:

- -

- -

Manifest editor

- -

From Firefox 28 onwards, the Apps Panel includes an editor for the app manifest:

- -

- -

Debugging

- -

Clicking on "Update" will update (install) the app on the device. Clicking on "debug" will connect a toolbox to the app, allowing you to debug its code directly:

- -

- -
-

Note: You'll enjoy playing around with the toolbox — try altering the DOM, CSS etc. and you'll see the updates reflected on the device in realtime. Such updates will be saved on the installed app code; you'll see them next time you open the app on the device.

-
- -

Before Firefox 28, the tools are launched in a separate window. From Firefox 28 onwards, the tools are launched in a separate tab in the App Manager itself, alongside the Apps and Device tabs. The tab is given your app's icon so it's easy to find:

- -

- -

Errors

- -

If an app was not added successfully — for example if the URL was incorrect, or you selected a packaged app folder — an entry will be added to the page for this app, but this will include error information.

- -

- -

You can also delete an app from this view, by hovering over the App name/description on the left of the window, and pressing the "X" button that appears in each case. This however doesn't remove the app from the device. To do that you need to manually remove the app using the device itself.

- -

Device panel

- -

The Device tab displays information about the connected device. From the "Installed Apps" window, apps on the device can be started and debugged.

- -

- -
-

Note: Certified Apps are not listed by default. See how to debug certified apps.

-
- -

The "Permissions" window shows the required priviledges for different Web APIs on the current device:

- -

- -

Finally, you can take a screenshot of the current device display by clicking the "Screenshot" button. The screenshot appears in a new tab on Firefox, and from there you can save or discard it as you wish.

- -

Debugging Certified Apps

- -

Currently only devices running a development build of Firefox OS 1.2 are capable of debugging certified apps. If you have a development build, you can enable certified app debugging by changing the pref devtools.debugger.forbid-certified-apps to false in your profile. To do this, follow the steps below:

- -
    -
  1. -

    On your computer, enter the following command in Terminal/console to enter your device's filesystem via the shell:

    - -
    adb shell
    - -

    Your prompt should change to root@android.

    -
  2. -
  3. -

    Next, stop B2G running using the following command:

    - -
    stop b2g
    -
  4. -
  5. -

    Navigate to the following directory:

    - -
    cd /data/b2g/mozilla/*.default/
    -
  6. -
  7. -

    Here, update the prefs.js file with the following line:

    - -
    echo 'user_pref("devtools.debugger.forbid-certified-apps", false);' >> prefs.js
    -
  8. -
  9. -

    After you've finished editing and saving the file, start B2G again using the following command:

    - -
    start b2g
    -
  10. -
  11. -

    Exit the android filesystem using the exit command; this will return you to your normal terminal prompt.

    -
  12. -
  13. -

    Next, reconnect to the App Manager and you should see certified apps appear for debugging.

    -
  14. -
- -
-

Note: If you want to add this preference to your Gaia build you can run make DEVICE_DEBUG=1 reset-gaia.

-
- -

Running custom builds in the App Manager

- -

You can run custom B2G Desktop and Gaia builds in the App Manager via the simulator. Read Running custom Firefox OS/Gaia builds in the App Manager for more details.

- -

Troubleshooting

- -

If the device is not recognized:

- - - -

Can't connect your device to the App Manager or start the simulator? Let us know or file a bug.

diff --git a/files/el/archive/index.html b/files/el/archive/index.html deleted file mode 100644 index 987002bd40..0000000000 --- a/files/el/archive/index.html +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Archive of obsolete content -slug: Archive -translation_of: Archive ---- -

(el translation)

- -

Here at MDN, we try to avoid outright deleting content that might be useful to people targeting legacy platforms, operating systems, and browsers. Perhaps your target audience is people that are using older hardware, for example, and can't upgrade to the latest and greatest browsers. Or for "reasons," your company is required to use very old software and you need to build Web content that runs on that software. Or perhaps you're just curious about the history of an obsolete feature or API, and how it worked.

- -

There are many reasons older documentation can be useful. So, we've established this area into which we can archive older documentation. Material in this Archived content zone should not be used for building new Web sites or apps for modern browsers. It's here for historical reference only.

- -
-

Note to writers: We need to try to keep the subpages here organized instead of all dumped into one large folder. Try to create subtrees for categories of material. Also, only move pages here that are extremely obsolete. If anyone might realistically need the information in a living product, it may not be appropriate to move it here. In general, it may be best to discuss it in the MDN Web Docs chat room before moving content here.

-
- -

{{SubpagesWithSummaries}}

- - - -

{{ListSubpages("/en-US/docs/Archive", 2, 0, 1)}}

diff --git a/files/el/archive/mozilla/index.html b/files/el/archive/mozilla/index.html deleted file mode 100644 index 6a948509cd..0000000000 --- a/files/el/archive/mozilla/index.html +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Archived Mozilla and build documentation -slug: Archive/Mozilla -tags: - - NeedsTranslation - - TopicStub -translation_of: Archive/Mozilla ---- -

These articles are archived, obsolete documents about Mozilla, Gecko, and the process of building Mozilla projects.

-
ActiveX Control for Hosting Netscape Plug-ins in IE
Microsoft has removed support for Netscape plug-ins from IE 5.5 SP 2 and beyond. If you are a plug-in author, you may find this project saves you a lot of work!
ant script to assemble an extension
This ant script helps to package an extension
Archived SpiderMonkey docs
This section contains old SpiderMonkey documentation.
Autodial for Windows NT
This document is intended to explain how the autodial helper feature implemented for bug 93002 works and why it works that way.
Automated testing tips and tricks
Automatic Mozilla Configurator
Ankh8
Automatically Handle Failed Asserts in Debug Builds
As of 2004-12-8, it is now possible to automatically handle failed asserts in debug builds of Mozilla for Windows.
BlackConnect
Blackwood
Bonsai
It is a tool that lets you perform queries on the contents of a CVS archive; you can: get a list of checkins, see what checkins have been made by a given person, or on a given CVS branch, or in a particular time period. It also includes tools for looking at checkin logs (and comments); doing diffs between various versions of a file; and finding out which person is responsible for changing a particular line of code ("cvsblame").
Bookmark Keywords
Practically every Web surfer has bookmarks, of course, and power surfers usually have hundreds stuffed into folders within folders. In addition to being handy pointers to useful resources, bookmarks in Mozilla can be used to make the address bar itself a power tool. Searches, lookups, package tracking, and even word definitions can all be retrieved from user-customized bookmarks.
Building TransforMiiX standalone
calICalendarView
An object implementing calICalendarView is generally intended to serve as a way of manipulating a set of DOM nodes corresonding to a visual representation of calIEvent and calITodo objects. Because of this close association between methods and attributes on the one hand, and content on the other, calICalendarView implementations are particularly well suited to XBL. There is, however, no practical obstacle to the interface being implemented by any javascript object associated with a group of DOM nodes, even non-anonymous XUL nodes.
calICalendarViewController
A calICalendarViewController provides a way for a calICalendarView to create, modify, and delete items. Implementing a calICalendarViewController allows for these actions to be performed in a manner consistent with the rest of the application in which the calICalendarView is included.
calIFileType
The calIFileType interface provides information about a specific file type.
Chromeless
[This project may not be active — check Github https://github.com/mozilla/chromeless]
Creating a Firefox sidebar extension
This article describes how to create a registered sidebar for Firefox 2 or greater. See the references section for information on creating extension in earlier browsers.
Creating a hybrid CD
Creating a Microsummary
A microsummary generator is a set of instructions for creating a microsummary from the content of a page. Web pages can reference generators via <link rel="microsummary"> elements in their <head> elements. Generators can also be independently downloaded and installed by users if they include a list of pages to which they apply.
Creating a Mozilla Extension
A Mozilla extension is an installable enhancement to the Mozilla browser that provides additional functionality (for example Linky, which adds an item to the context menu for opening multiple links in a document or selection). This tutorial walks you through the process of building a Mozilla extension that adds an icon to Mozilla's status bar showing the current status of the Mozilla source code (i.e. whether or not the latest version of the code is compiling successfully and passing tests). The extension will access Tinderbox, mozilla.org's webtool for tracking source code status, to get the status of the code.
Creating a Skin for Firefox/Getting Started
Download the latest version of Firefox and install it. Be sure to install the DOM Inspector extension as well.
Creating a Skin for Mozilla
In order to create a skin for mozilla, you will need to know three things. How to edit images, extract zip files, and how to modify CSS. Mozilla uses standard gif, png, and jpeg images for the buttons and CSS to style everything else in the interface.
Creating a Skin for SeaMonkey 2.x
You're going to make a theme for SeaMonkey 2, but don't know how? I hope this manual will help you.
Creating regular expressions for a microsummary generator
A regular expression is a special kind of string (i.e. a sequence of characters) that matches patterns of characters in other strings. Microsummary generators use them to identify the pages that the generators know how to summarize by matching patterns in those pages' URLs.
Dehydra
The development focus switched to DXR (where the "D" comes from "Dehydra"), which is based on clang instead of gcc. Try DXR instead, or else try the gcc python plugin: https://fedorahosted.org/gcc-python-plugin/.
Developing New Mozilla Features
Tips For Contributing New Features To Mozilla.
Devmo 1.0 Launch Roadmap
Comments, ideas, questions and other discussion should be added on the Devmo talk:1.0 Launch Roadmap page. Further details on smaller tasks being done are available at User:Dria:TODO page. See also Current Events.
Download Manager improvements in Firefox 3
Firefox 3 offers improvements to the Download Manager that allow multiple progress listeners, use of the Storage API for data management, download resuming, and more. In addition, you can augment or replace the Download Manager's user interface by implementing the new nsIDownloadManagerUI interface.
Download Manager preferences
There are several preferences used by the Download Manager. This article provides a list of them.
Drag and Drop
This section describes how to implement objects that can be dragged around and dropped onto other objects.
DTrace
 DTrace is Sun Microsystem's dynamic tracing framework that allows developers to instrument a program with probes that have little to no effect on performance when not in use and very little when active. Probe data can be collected with scripts written in D (no, not that one). Mozilla DTrace support has been added by the Sun DTrace team and can be used on Solaris 10 and Mac OS X 10.5.
Embedding FAQ
Embedding Mozilla in a Java Application using JavaXPCOM
XULRunner ships with the JavaXPCOM component, which allows Java code to interact with XPCOM objects. As you will see in this article, working with XPCOM objects in Java is not that much different than doing so in C++.
Error Console
The Error Console is a tool available in most Mozilla-based applications that is used for reporting errors in the application chrome and in web pages user opens. It reports JavaScript-related errors and warnings, CSS errors and arbitrary messages from chrome code. In Firefox, the Error Console can be opened from the tools menu or by Ctrl-Shift-J.
Exception logging in JavaScript
Technical review completed.
Existing Content
This is a list of existing mozilla.org documentation. It needs to be checked, prioritized, and migrated.
Extension Frequently Asked Questions
This is quick set of answers to the most common issues with extension development. They are currently written with mostly Firefox in mind, but most if not all should easily translate to SeaMonkey, Thunderbird or any of the other applications. For Thunderbird, you may also find the extension HowTo or FAQ pages helpful.
Fighting Junk Mail with Netscape 7.1
Summary: Is your mail account drowning in a flood of spam? Netscape 7.1 includes built-in junk mail filtering that you can train to meet your specific needs. Eric Meyer share his experiences with making the junk mail controls more effective, and looks at other preferences you might want to set to keep your account safe.
Firefox Sync
Sync refers to a family of related components and services which provide synchronization of data between Mozilla application instances. These components and services include:
Force RTL
(This is a temporary placeholder/stub for the Force RTL page)
Gecko Coding Help Wanted
Take a look through LXR, and you'll realize that Mozilla's source code is a big place.
GRE
Hacking wiki
To be able to hack the MDC wiki software, you'll need a local webserver install, which can run MediaWiki.
Help Viewer
Help Viewer: Allows information to be shown to the user inside Mozilla.
Helper Apps (and a bit of Save As)
Hidden prefs
-This page has been flagged by editors or users as needing technical review. -Until it is fully reviewed, it may contain inaccurate or incorrect information. -
How to Write and Land Nanojit Patches
Adobe and Mozilla share a copy of Nanojit. This means that landing nanojit patches is a bit complicated, but experience has taught us that this is much better than having separate versions of nanojit.
HTTP Class Overview
This document provides an overview of the classes used by the Mozilla HTTP implementation. It's meant as a guide to developers wishing to understand or extend the Mozilla HTTP implementation.
Introducing the Audio API extension
The Audio Data API extension extends the HTML5 specification of the <audio> and <video> media elements by exposing audio metadata and raw audio data. This enables users to visualize audio data, to process this audio data and to create new audio data.
Java in Firefox Extensions
If you are in need of calling Java code from within a Firefox extension, you can make use of LiveConnect. LiveConnect gives your extension's JavaScript code (linked from or contained in XUL code) access to 2 objects: java and Packages (note that per this thread, although the new documentation for the LiveConnect reimplementation states that these globals will be deprecated (in the context of applets), "Firefox and the Java Plug-In will continue to support the global java/Packages keywords, in particular in the context of Firefox extensions."). These 2 objects let you make use of the standard JDK classes, e.g.,
JavaScript crypto
Mozilla defines a special JavaScript object to allow web pages access to certain cryptographic-related services. These services are a balance between the functionality web pages need and the requirement to protect users from malicious web sites. Most of these services are available via the DOM window object as window.crypto.
Jetpack
Litmus tests
Litmus tests are (non-automated) tests that are documented in the litmus database. See http://litmus.mozilla.org.
Makefile.mozextension.2
This Makefile is a modification of the Makefile.mozextention, found in Makefile for packaging an extension - MozillaZine Knowledge Base (2005).
Microsummary topics
To programmatically install a microsummary generator -- for example, in an extension that helps users create custom generators for their favorite sites -- obtain a reference to the nsIMicrosummaryService interface implemented by the nsIMicrosummaryService component, then call its installGenerator() method, passing it an XML document containing the generator.
Migrate apps from Internet Explorer to Mozilla
When Netscape started the Mozilla browser, it made the conscious decision to support W3C standards. As a result, Mozilla is not fully backwards-compatible with Netscape Navigator 4.x and Microsoft Internet Explorer legacy code; for example, Mozilla does not support <layer> as I will discuss later. Browsers, like Internet Explorer 4, that were built before the conception of W3C standards inherited many quirks. In this article, I will describe Mozilla's quirks mode, which provides strong backwards HTML compatibility with Internet Explorer and other legacy browsers.
Monitoring downloads
Firefox 3 makes it easier than ever to monitor the status of downloads. Although it was possible to do so in previous versions of Firefox, it was previously only possible for one observer to do so at a time. Firefox 3 introduces new API that allows any number of listeners to observe downloads.
Mozilla Application Framework
The Mozilla Application Framework: for powerful, easy to develop cross-platform applications
Mozilla Crypto FAQ
In this document I try to answer some frequently asked questions about the Mozilla web browser and mail/news client and its support for SSL, S/MIME, and related features based on cryptographic technology. Note that this document is for your information only and is not intended as legal advice. If you wish to develop and distribute cryptographic software, particularly for commercial sale or distribution, then you should consult an attorney with expertise in the particular laws and regulations that apply in your jurisdiction.
Mozilla Modules and Module Ownership
REDIRECT http://www.mozilla.org/hacking/module-ownership.html
Mozprocess
mozprocess provides python process management via an operating system and platform transparent interface to Mozilla platforms of interest. Mozprocess aims to provide the ability to robustly terminate a process (by timeout or otherwise), along with any child processes, on Windows, OS X, and Linux. Mozprocess utilizes and extends subprocess.Popen to these ends.
Nanojit
Nanojit is a small, cross-platform C++ library that emits machine code. Both the Tamarin JIT and the SpiderMonkey JIT (a.k.a. TraceMonkey) use Nanojit as their back end.
New Skin Notes
Devmo has a new skin that is ready for testing. If you go to your user preferences, you can change the skin to "Devmo". This is currently just a preview, but we would appreciate help with testing.
Persona
Mozilla Persona is a cross-browser login system for the Web, that's easy to use and easy to deploy. It works on all major browsers, and you can get started today.
Plug-n-Hack
Plug-n-Hack (PnH) is a proposed standard from the Mozilla security team for defining how security tools can interact with browsers in a more useful and usable way.
Plugin Architecture
This page contains some notes on how plugins work internally in Gecko. It is mainly of interest to Gecko developers.
Porting NSPR to Unix Platforms
Last modified 16 July 1998
Priority Content
Update: I've removed documents from this list that have been migrated into the wiki. The list of completed documents is available through the DevEdge page.
Prism
Prism is a simple XULRunner-based browser that hosts web applications without the normal web browser user interface. Prism is based on a concept called Site-Specific Browsers (SSB). An SSB is designed to work exclusively with a single web application. It doesn’t have the menus, toolbars and other accoutrements of a traditional web browser. An SSB also offers tighter integration with the operating system and desktop than a typical web application running through a web browser. Applications running in an SSB are therefore able to benefit from many of the advantages of the desktop and of the web at the same time.
Proxy UI
(Recently Added - some support for reading OS and account settings.)
Remote XUL
How to use XUL delivered from a webserver, not as part of chrome.
Space Manager Detailed Design
The Space Manager and related classes and structures are an important of the Gecko Layout system, specifically Block Layout. See the High Level Design document for an overview of the Space Manager, and as an introduction to the classes, structures and algorithms container in this, the Detailed Design Document.
Space Manager High Level Design
The Space Manager and associated classes and structures are used by Block and Line layout to manage rectangular regions that are occupied and available, for correct handling of floated elements and the elements that flow around them. When elements are floated to the left or right in a layout, they take up space and influence where other elements can be placed. The Space Manager is responsible for keeping track of where space is taken up and where it is available. This information is used by block layout to correctly compute where other floated elements should be placed, and how much space is available to normal in-flow elements that flow around the floated bits.
Standalone XPCOM
Standalone XPCOM is a tree configuration that builds a minimal set of libraries (shared mostly) that can be used to get all features of XPCOM. The contents of this standalone XPCOM in general are:
Stress testing
Consume.exe from the Windows Server 2003 Resource Kit Tools can consume various resources: physical memory, CPU time, page file, disk space and even the kernel pool. Although for Win2003, it should install into WinXP fine (Win2000 compatibility is unknown). The only downside is you can't specify how much of the resource to use, only which one to consume. Also be warned: always remember the -time option, or you may be hitting that physical reset button sooner than you would have liked!
Structure of an installable bundle
XULRunner applications, extensions, and themes all share a common directory structure, and in some cases the same bundle can be used as a standalone XULRunner application as well as an installable application extension.
Supporting private browsing mode
Firefox 3.5 introduced private browsing mode, in which potentially private information is not recorded. This includes cookies, history information, download information, and so forth.
SXSW 2007 presentations
Presentations about the Mozilla project given at the SXSW 2007 event in Austin, Texas.
Table Cellmap
The table layout use the cellmap for two purposes:
Table Cellmap - Border Collapse
This document describes the additional information that is stored for border collapse tables in the cellmap.
Table Layout Regression Tests
Changes in layout, parser and content code can have unintended side effects, also known as regressions. It is good style to check for these unwanted regressions and fixing them before checkin rather than causing Bugzilla avalanches.
Table Layout Strategy
The table layout algorithm is based on two W3C recommendations: HTML 4.01 (Chapter 11) and CSS2.1 (Chapter 17).In CSS2 a distinction between fixed and auto layout of tables has been introduced. The auto-layout mechanism is implemented in BasicTableLayoutStrategy.cpp the fixed-layout in FixedTableLayoutStrategy.cpp. All these files are in the layout/html/table/src subdirectory.
Tamarin
The Download Manager schema
The Download Manager uses an SQLite table to keep track of downloads in progress as well as queued and past downloads.
The life of an HTML HTTP request
The new nsString class implementation (1999)
This document is intended to briefly describe the new nsString class architecture, and discuss the implications on memory management, optimizations, internationalization and usage patterns.
TraceVis
TraceVis is a performance visualization system for TraceMonkey. If TraceMonkey is built with TraceVis, and run with TraceVis enabled, then TraceMonkey will output a log of all its activity transitions. The log can be postprocessed into a visualization that can be used to rapidly diagnose many tracing-related performance issues.
Treehydra
Try the gcc python plugin instead: https://fedorahosted.org/gcc-python-plugin/.
URIs and URLs
Handling network and locally retrievable resources is a central part of Necko. Resources are identified by URI "Uniform Resource Identifier" (Taken from RFC 2396):
URIScheme
List of Mozilla supported URI schemes
Using addresses of stack variables with NSPR threads on win16
This is a cautionary note that may be old information for some of you. However, since it affects the portability of code, it was deemed prudent to include a short memo describing the issue.
Using Monotone With Mozilla CVS
Using SVK With Mozilla CVS
When working with Mozilla, you tend to accumulate patches which need to be reviewed, super-reviewed, and/or approved before they can be committed to the trunk. When you have only a few uncommitted patches, you can get by using cvs diff, and just editing the output to remove other patches before submitting. However, this approach quickly becomes unscalable, especially when you have different fixes in the same tree. Using a distributed versioning system like SVK takes out much of the hassle of managing your patches.
Venkman
Venkman is the code name for Mozilla's JavaScript Debugger. It aims to provide a powerful JavaScript debugging environment for Mozilla based browsers namely Firefox, Netscape 7.x/9.x and SeaMonkey. Note that it is not included in the Gecko-based browsers such as K-Meleon, Galeon and Netscape 8.x. Venkman has been provided as part of the Mozilla install distribution since October 2001, as well as an extension package in XPI format.
Video presentations
Mozilla is actively working to produce video presentations that can help you learn how the Mozilla codebase works and how to take advantage of its technology in your own applications and extensions. This article is a jumping-off point to help you find those presentations.
Why Embed Gecko
Gecko - the Smart Embedding Choice
xbDesignMode.js
XML in Mozilla
Mozilla has a relatively good support for XML. Several World Wide Web Consortium (W3C) Recommendations and drafts from the XML family of specifications are supported, as well as other related technologies.
XPInstall
XPJS Components Proposal
Draft 1.0
XRE
XTech 2005 Presentations
XTech 2006 Presentations
XUL Explorer
XUL Explorer is a XULRunner application that provides an easy way to experiment with XUL. It’s a simple editor that can preview XUL inline or in a separate popup window. It has a list of code snippets (small fragments of XUL or JavaScript) that can be quickly inserted into the editor. The XUL can be loaded from and saved to files. A XUL validator and the Error Console are both available to help debug problems. The help menu provides access to XUL information on MDC. There is even simple “keyword” help lookup for XUL elements.
XULRunner
XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications that are as rich as Firefox and Thunderbird. It provides mechanisms for installing, upgrading, and uninstalling these applications.
diff --git a/files/el/mozilla/connect/index.html b/files/el/mozilla/connect/index.html deleted file mode 100644 index cc02cc1ede..0000000000 --- a/files/el/mozilla/connect/index.html +++ /dev/null @@ -1,124 +0,0 @@ ---- -title: Connect with Mozilla -slug: Mozilla/Connect -translation_of: Mozilla/Connect ---- -
-

Enable, inspire and collaborate to make the Web the primary platform used to create experiences across all connected devices.

-
- -
-
-
- -
- -
- -
- -
- -
-
- -
-

Connect with Mozilla

- -

Developers are creating the future by building services and apps for people all over the world. The goal of Mozilla Developer Relations is to help developers to use open and standardized web technologies to succeed in achieving their goals. In addition to the documentation here on MDN, we offer help and other resources towards this goal, through various channels. We invite you to connect, learn, and share your knowledge.

- -

We are offering help through Q&A on Stack Overflow, to solve specific technical issues and challenges you might have. We also have a newsletter keeping you informed about the latest happenings in the web scene around web apps and more. Subscribe to the Apps & Hacks newsletter.

- -

If you share Mozilla's mission and principles and want to help spread them to more developers, check out the ways you can get involved with technical evangelism, and join our evangelism discussion group.

- -

We have a lot of plans and ideas for iteratively expanding our Developer Relations offerings, and we want you involved as we do so! So, follow the tags on Stack Overflow, subscribe to the Hacks blog, subscribe to the newsletter, and sign up for an account!

- -

Join Mozilla

- -

If you want to go beyond connecting with Mozilla, you can join Mozilla and help realize Mozilla's mission of building a better Internet. As a developer, you have skills to contribute in many areas, as well as the opportunity to enhance your skills. Mozilla is an open source project, so we "default to open." You can "view source" and contribute to our software development projects, like the Firefox browser for desktop and Android, Firefox OS, and Mozilla's websites. You can become part of an international community and get recognition for your efforts. Here are some of the advantages of contributing to the Mozilla project.

- -

Opportunity to learn something new

- -
-

In writing code for an open source project, you may face problems you have not encountered before, which present learning opportunities for you. You can try out new tools and techniques in an open source project. If for example, if you have never done unit testing, and cannot get permission to do so at work then coding for an open source project would be an excellent place to learn more about it. Contributing to open source gives you the opportunity to collaborate with and get to know many people around the world who have similar interests. Moreover, an open source organization like Mozilla has many contributors who can help you in solving problems you encounter. If you're just getting started contributing, you can look for "mentored" bugs, where an experienced contributor has offered to help a newcomer fix them.

- -

What can I get by contributing?

- -

Exploring many things and gain recognition in the community -- these are the intangible benefits of contributing to Mozilla. While we can't guarantee specific tangible benefits, many valued contributors receive free Mozilla gear and invitations to Mozilla-related events, and are first in line to be considered for internships. Moreover, your experience in contributing to an open source project might help you find a job. More and more employers of developers are looking at open source contributions. They like to see that you're blogging and contributing to mailing lists, and they like to see you listed as a contributor to an open source project. It may also help with the work experience section of your CV/resumé.

- -

How you can contribute to Mozilla

- -

There are many project area for which you can contribute to Mozilla. You can find a current, complete list on the main Mozilla Get Involved page. Some areas that may interest you as a developer include:

- - -
-
- -
-
-

Q&A on Stack Overflow See all Q&A

- -

We have Q&A to discuss challenges and issues when developing, in particular for Firefox OS and the Open Web on mobile. It's available on Stack Overflow under the easy URL http://stackoverflow.com/r/mozilla.

- -
Stack form
- -

Latest Q&A Topics

-
- -
 
-
- -

Developers at a Firefox OS workshop in Madrid.

- -
-
-

Where is Mozilla? View attendees and details on our Events page...

- -

Here is a listing of events where Mozilla representatives will be speaking. Make sure to talk to them!

-
- - -
-
diff --git a/files/el/mozilla/marketplace/index.html b/files/el/mozilla/marketplace/index.html deleted file mode 100644 index db868b42a8..0000000000 --- a/files/el/mozilla/marketplace/index.html +++ /dev/null @@ -1,159 +0,0 @@ ---- -title: Firefox Marketplace -slug: Mozilla/Marketplace -tags: - - Apps - - B2G - - Firefox OS - - Marketplace - - Mobile - - NeedsTranslation - - TopicStub -translation_of: Archive/Mozilla/Marketplace ---- -

The Firefox Marketplace is an open and non-proprietary online marketplace for web apps. In this zone you'll find all the information you need to prepare and publish apps on the Firefox Marketplace. Find guidance on how to make apps successful, delivery options, publishing and updating apps, and the libraries and APIs to make use of Marketplace features.

- -

Mozilla is bringing its core values — openness, freedom, user choice — to the world of app publishing.

- -

Using standard Web technologies, languages, and tools, the Firefox Marketplace enables you to publish Open Web Apps. These apps can be packaged, running within Firefox OS, or hosted on your own web server. Published apps are available to users of Firefox OS phones wherever they are in the world. Users discover your apps easily in Firefox Marketplace using the featured apps section, app categories, and powerful search. Users are then able to install free apps instantly, or buy paid apps with the growing support for credit card payments and operator billing.

- -
-
-

Preparing for success

- -

Whether you're creating apps for pleasure or profit, you'll want people to discover, use, and enjoy them. This section explains how to spread the word and build communities of satisfied users.

- -

Publication options

- -

Packaged or Hosted, that is the question. Find out about delivering your app content and the options for making your apps available on Android devices and desktops, in addition to Firefox OS.

- -

Publishing apps

- -

Unleash your apps on the waiting world. Find out how to get your apps on Firefox Marketplace, including the processes for submitting your apps, the review process, updating your apps, monitoring their performance, and reviewing user feedback.

-
- -
-

Tools for app development

- -
-
Firefox Marketplace Libraries and APIs
-
Get an overview and find links to the libraries and APIs available to add features to your Marketplace apps.
-
App developer tools
-
Find a complete list of the tools you can use to make Open Web App development efficient and fun.
-
WebIDE
-
Your primary tool to test, deploy, and debug Firefox OS apps using the Firefox OS Simulator or a real Firefox OS device.
-
-
-
- -
-
-

Join the Marketplace community

- -
-
Choose your preferred method for joining the discussion:
- - -
- -
- -
-
-
- - - - diff --git a/files/el/mozilla/marketplace/publishing/index.html b/files/el/mozilla/marketplace/publishing/index.html deleted file mode 100644 index e2b172a388..0000000000 --- a/files/el/mozilla/marketplace/publishing/index.html +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Publishing -slug: Mozilla/Marketplace/Publishing -tags: - - NeedsTranslation - - TopicStub -translation_of: Archive/Mozilla/Marketplace/Publishing/Introduction ---- -

Marketplace publishing

diff --git "a/files/el/mozilla/marketplace/publishing/\316\265\317\200\316\271\316\273\316\277\316\263\316\255\317\202_\316\264\316\267\316\274\316\277\317\203\316\257\316\265\317\205\317\203\316\267\317\202/index.html" "b/files/el/mozilla/marketplace/publishing/\316\265\317\200\316\271\316\273\316\277\316\263\316\255\317\202_\316\264\316\267\316\274\316\277\317\203\316\257\316\265\317\205\317\203\316\267\317\202/index.html" deleted file mode 100644 index a246c819d1..0000000000 --- "a/files/el/mozilla/marketplace/publishing/\316\265\317\200\316\271\316\273\316\277\316\263\316\255\317\202_\316\264\316\267\316\274\316\277\317\203\316\257\316\265\317\205\317\203\316\267\317\202/index.html" +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Επιλογές δημοσίευσης εφαρμογών -slug: Mozilla/Marketplace/Publishing/Επιλογές_δημοσίευσης -translation_of: Archive/Mozilla/Marketplace/Options/Self_publishing ---- -
-

Μόλις τελειώσετε την εφαρμογή σας, χρειάζεται να την αναπτύξετε και να την δημιεύσετε. Αυτό εμπλέκει και το να την κάνετε διαθέσιμη στους χρήστες για κατανάλωση (εάν πρόκειται απλώς να πλοηγηθούν σε αυτήν με έναν περιηγητή και να την χρησιμοποιήσουν σαν μια κανονική ιστοσελίδα, ή να την κατεβάσουν και να την εγκαταστήσουν σε μια συσκευή (όπως ένα κινητό με Firefox OS), ενημερώνοντας τους ανθρώπους ότι είναι διαθέσιμη και παρέχοντας υποστηρικτικές πληροφορίες όπως οδηγίες χρήσης και πόρους βοήθειας. Αυτό το άρθρο κοιτά σύντομα τις επιλογές που είναι διαθέσιμες σε εσάς.

-
-

Δημοσιεύοντας στο Firefox Marketplace

-

Το Firefox Marketplace είναι το δικό μας αφιερωμένο κατάστημα εφαρμογών για τη διανομή δωρεάν και πληρωμένων εφαρμογών. Η υποβολή μιας εφαρμογής στο Firefox Marketplace είναι μια απλή διαδικασία, που εμπλέκει τη μεταφόρτωση της ίδιας της εφαρμογής καθώς και σχετικές πληροφορίες και την αναμονή για αυτό να περάσει από την λεπτομερή διαδικασία κριτικής για να βεβαιωθούμε ότι είναι υψηλής ποιότητας και όχι κακόβουλο. Η υποβολή στο Firefox Marketplace επίσης παρέχει και άλλα πλεονεκτήματα όπως αυξημένη δημοτικότητα, καμία ανάγκη για την υλοποίηση ειδικών API στη δική σας ιστοσελίδα και την πιθανότητα δημοσίευσης πληρωμένων εφαρμογλων πιο εύκολα. Μπορείτε να υποβάλετε και φιλοξενούμενες (hosted) εφαρμογές και συσκευασμένες (packaged) εφαρμογές στο Firefox Marketplace.

-

Φιλοξενούμενες (hosted) εφαρμογές

-

Μια φιλοξενούμενη (hosted) εφαρμογές είναι βασικά μια εφαρμογή που φιλοξενείται σε ένα διακομιστή ιστού όπως ακριβώς μια ιστοσελίδα. Εάν θέλετε να αφήσετε τους ανθρώπους να εγκαταστήσουν μια φιλοξενούμενη εφαρμογή κατ' ευθείαν από την ιστοσελίδα, πρέπει να υλοποιήσετε μερικούς κώδικες JavaScript στην ιστοσελίδα σας για να διαχειριστείτε την εγκατάσταση και την ενημέρωση της εφαρμογής στους περιηγητές των χρηστών και να βεβαιωθείτε ότι ο κώδικας της εφαρμογής περιλαμβάνει ένα έγκυρο αρχείο manifest. Παρακαλούμε δείτε τα δημοδιευμένα αρχεία manifest and τη Λειτουργία εγκατάστασης API για το πόσο απλή είναι η υλοποίηση αυτών των βημάτων.

-

Το που θα "φιλοξενήσετε" την εφαρμογή εξαρτάται πραγματικά από εσάς, αλλά οι δύο επιλογές που έχουν καταγραφεί παρακάτω είναι πιθανόν οι πιο συνηθισμένες και εύκολες.

-

GitHub

-

Εάν η εφαρμογή ιστού είναι καθαρά στατιστική (HTML/CSS/JavaScript, αλλά όχι επεξεργασία πλευράς διακομιστή), οι Σελίδες GitHub είναι μια σταθερή επιλογή "φιλοξενίας". Θα παρέχει στο manifest σας το σωστό τύπο MIME αν του δώσετε μια προσθήκη .webapp.

-

Γενικές λύσεις "φιλοξενίας"

-

Για δυναμικές ιστοσελίδες, χρησιμοποιήστε μια γενική επιλογή "φιλοξενίας" (όπως μια υπηρεσία Ιστού της όποιας ίσως είστε ιδιοκτήτης ή στην οποία έχετε πρόσβαση) με τις σωστές ικανότητες ή ένα πάροχο φιλοξενίας ειδικά ραμμένο στις ανάγκες της εφαρμογής σας, όπως το Heroku ή η  Μηχανή Εφαρμογών Google.

-
-

Σημείωση:  Οι εγκαταστάσιμες ανοιχτές εφαρμογές ιστού έχουν μια πολιτική ασφαλείας "μια εφαρμογή ανά καταγωγή": βασικά, δεν μπορείτε να "φιλοξενήσετε" περισσότερες από μια εγκαταστάσιμη εφαρμογή ανά "καταγωγή". Αυτό κάνει τη δοκιμή λίγο πιο δύσκολη, αλλά υπάρχουν ακόμη μερικοί τρόποι για αυτό, όπως η δημιουργία διαφορετικών υποτομέων για εφαρμογές, η δοκιμή αυτών χρησιμοποιώντας τον Εξομοιωτή Firefox OS, ή δοκιμάζοντας την λειτουργία εγκατάστασης στο Firefox Aurora/Nightly, που επιτρέπει στις εγκατάστασιμες εφαρμογές ιστού να εγκατασταθούν στον υπολογιστή. Δείτε το Συχνές ερωτήσεις σχετικά με τα manifest εφαρμογών για περισσότερες πληροφορίες σχετικά με τις "καταγωγές".

-
-

Συσκευασμένες (packaged) εφαρμογές

-

Μια συσκευασμένη (packaged) εφαρμογή είναι μια Ανοιχτή Εφαρμογή Ιστού που έχει όλους τους πόρους της (HTML, CSS, JavaScript, manifest εφαρμογής, κ.ο.κ) συμπεριλαμβανομένους σε ένα αρχείο zip, αντί να έχει τους πόρους της σε ένα διακομιστή Ιστού. Μια συσκευασμένη εφαρμογή είναι απλά ένα αρχείο zip με το manifest εφαρμογής στη ριζική διαδρομή της. Το manifest πρέπει να ονομάζεται manifest.webapp.

-

Μια διαφορά μεταξύ αυτής και της φιλοξενούμενης (hosted) εφαρμογής είναι ότι μια συσκευασμένη εφαρμογή πρέπει να καθορίσει ένα launch_path στο manifest, ενώ είναι ένα προαιρετικό πεδίο του manifest για μια φιλοξενούμενη εφαρμογή. Για περισσότερες πληροφορίες, ρίξτε μια ματιά στο άρθρο μας για τις  Συσκευασμένες (packaged) Εφαρμογές.

-

Αυτο-εκδιδόμενες εφαρμογές

-

Μπορείτε επίσης να επιλέξτε να αυτο-εκδώσετε εφαρμογές. Για τις φιλοξενούμενες εφαρμογές, αυτό απλά εμπλέκει την τοποθέτησή τους σε μια ιστοσελίδα "φιλοξενίας", όπως περιγράφεται παραπάνω.

-

Μπορείτε να αυτο-εκδώσετε μια συσκευασμένη (packaged) εφαρμογή "φιλοξενώντας" τη σε ένα διακομιστή μαζί με ένα mini-manifest στην ίδια διαδρομή που προσδιορίζει την εφαρμογή και χρησιμοποιείται στη διαδικασία εγκατάστασης. Ας εκτελέσουμε αυτή τη διακασία:

-
    -
  1. Έχετε διαθέσιμο το αρχείο zip της συσκευασμένης εφαρμογής σας και δώστε του το όνομα package.zip. Αυτό το αρχείο περιέχει όλα τα αρχεία πόρων της εφαρμογής, συμπεριλαμβανομένου και του manifest.
  2. -
  3. Δημιουργήστε ένα αρχείο με το όνομα package.manifest και δώστε του το παρακάτω περιεχόμενο. Αυτό είναι ένα mini-manifest που χρησιμοποιείται για σκοπούς εγκατάστασης της συσκευασμένης εφαρμογής. Δεν είναι το κύριο manifest της εφαρμογής σας που είναι μέσα στο αρχείο zip.
    -
    {
    -    "name": "My sample app",
    -    "package_path" : "http://my-server.com/my-app-directory/my-app.zip",
    -    "version": "1",
    -    "developer": {
    -        "name": "Chris Mills",
    -        "url": "http://my-server.com"
    -    }
    -}
    -
  4. -
  5. Δημιουργήστε ένα αρχείο με όνομα index.html με το ακόλουθο περιεχόμενο. Αυτό περιέχει δέιγμα JavaScript που "καλεί" την αυσκευασμένη εφαρμογή (installPackage()) και επανακαλεί για ειδοποίηση επιτυχίας και αποτυχίας. -
    <html>
    -  <body>
    -    <p>Packaged app installation page</p>
    -    <script>
    -      // This URL must be a full url.
    -      var manifestUrl = 'http://my-server.com/my-app-directory/package.manifest';
    -      var req = navigator.mozApps.installPackage(manifestUrl);
    -      req.onsuccess = function() {
    -        alert(this.result.origin);
    -      };
    -      req.onerror = function() {
    -        alert(this.error.name);
    -      };
    -    </script>
    -  </body>
    -</html>
    -
  6. -
  7. Αντιγράψτε το package.zip, package.manifest, και το index.html στην ριζική διαδρομή της εφαρμογής σας (my-app-directory στα παραδείγματα).
  8. -
  9. Χρησιμοποιώντας μια συμβατή συσκευή (όπως ένα τηλέφωνο με Firefox OS), πλοηγηθείτε στην τοποθεσία στο διακομιστή σας όπου θα τοποθετήσετε τα αρχεία-παραδείγματα και επιβεβαιώστε την ένδειξη για εγκατάσταση της εφαρμογής. Το script θα δώσει ένδειξη επιτυχίας ή αποτυχίας εγκατάστασης.
  10. -
-
-

Σημείωση: Δεν μπορείτε να εγκαταστήσετε προνομιούχες ή πιστοποιημένες εφαρμογές από αυτο-φιλοξενούμενα πακέτα, καθώς χρειάζονται να υπογραφούν χρησιμοποιώντας την διαδικασία υποβολής του Firefox Marketplace.

-
-
-

Σημείωση: Μπορείτε ακόμη και να δημιουργήσετε το δικό σας κατάστημα εφαρμογών σας, το οποίο έχει έναν αριθμό διαθέσιμων επιλογών.

-
-

 

diff --git "a/files/el/mozilla/marketplace/\317\203\317\205\317\207\316\275\316\255\317\202_\316\265\317\201\317\211\317\204\316\256\317\203\316\265\316\271\317\202/index.html" "b/files/el/mozilla/marketplace/\317\203\317\205\317\207\316\275\316\255\317\202_\316\265\317\201\317\211\317\204\316\256\317\203\316\265\316\271\317\202/index.html" deleted file mode 100644 index ab60cda23b..0000000000 --- "a/files/el/mozilla/marketplace/\317\203\317\205\317\207\316\275\316\255\317\202_\316\265\317\201\317\211\317\204\316\256\317\203\316\265\316\271\317\202/index.html" +++ /dev/null @@ -1,153 +0,0 @@ ---- -title: Συχνές ερωτήσεις για το Firefox Marketplace -slug: Mozilla/Marketplace/Συχνές_ερωτήσεις -translation_of: Archive/Mozilla/Marketplace/FAQ ---- -
-

Αυτό το άρθρο απαντά σε μια ποικιλία συνηθισμένων ερωτήσεων σχετικά με τη δημοσίευση στο Firefox Marketplace.

-
- -

Διαχείριση λογαριασμού

- -

Πως αλλάζω τις πληροφορίες στο λογαριασμό προγραμματιστή μου;

- -

Πηγαίνετε στο Firefox Marketplace, βεβαιωθείτε ότι είστε συνδεδεμένος στο λογαριασμό, μετακινηθείτε πάνω από το εικονίδιο του γραναζιού και πατήστε το Επεξεργασία Ρυθμίσεων Λογαριασμού.

- -

Πως αλλάζω τις πληροφορίες πληρωμής προγραμματιστή μου; 

- -

Πηγαίνετε στο Firefox Marketplace, βεβαιωθείτε ότι έχετε συνδεθεί στο λογαριασμό σας, περάστε τον κέρσορα πάνω από το εικονίδιο γραναζιού και κάντε κλικ στο Οι Υποβολές μου. Βρείτε την εφαρμογή για την οποία επιθυμείτε να αλλάξετε τις ρυθμίσεις της και κάντε κλικ στο Ρύθμιση Πληρωμών.

- -

Where can I find reporting and reconciliation information for my sales?

- -

In the Firefox Marketplace, click the "My Apps" link on the home page settings menu (the gear icon), and select the app you want to find data on.

- -

How do I manage access to account information for multiple members of my team or company?

- -

In the Firefox Marketplace, click the "My Apps" link on the home page settings menu (the gear icon), and select the app you want to change team details on.

- -

Μπορώ να μετονομάσω μια εφαρμογή;

- -

Αν αλλάξετε το όνομα της εφαρμογής σας μετά την έγκρισή της από το Marketplace, θα πρέπει να υποβάλετε την εφαρμογή σας για έγκριση ξανά. Δείτε το Ενημερώνοντας τις εφαρμογές για περισσότερες λεπτομέρειες.

- -

How do I access the Firefox Marketplace debug settings?

- -

While logged in, go to the Firefox Marketplace, type ":debug" into the search form, and submit it.

- -

This should bring you to the debug screen for your Marketplace account, where you can clear cookies and localStorage associated with the Marketplace site, submit logs, view settings and activity logs, and more.

- -

How can I view apps I submitted in a region different to where I currently am?

- -

If you have published an app in a region other than where you are currently located or have a SIM for, you can view it by:

- -
    -
  1. Going to the Firefox Marketplace debug settings (see previous question.)
  2. -
  3. Selecting your desired region and/or carrier using the "Region Override" and "Carrier Override" select menus (these settings will update as soon as you make a selection.)
  4. -
  5. Reloading the Marketplace.
  6. -
- -

You should try selecting the category your app resides in, to make sure the setting updates have had the desired effect.

- -

Υποβολή εφαρμογής και διαδικασία αξιολόγησης

- -

Πως μπορώ να υποβάλλω μια νέα εφαρμογή;

- -

Για ένα λεπτομερή οδηγό, συμβουλευτείτε το Υποβάλλοντας μια εφαρμογή στο Firefox Marketplace.

- -

Ποια είναι η διαδικασία έγκρισης;

- -

Δείτε τον οδηγό Κριτήρια αξιολόγησης του Marketplace για μια πλήρη λίστα κριτηρίων που χρησιμοποιούνται στη διαδικασία αξιολόγησής μας.

- -

Is there an expedited review process? Are there different criteria for this?

- -

Developers can request expedited reviews if they're trying to catch their own great opportunity, or if they need to release critical fixes. To do this, post to our group mozilla.appreview or join the #app-reviewers IRC channel on irc.mozilla.org and explain the situation. We'll do the best we can to accommodate expedited requests, but there's no guarantee that a reviewer will be able to meet any specific timeframe.

- -
-

Note: Expedited reviews of your own apps is also one of the perks of contributing to the app review team. Anyone interested can apply for consideration using our Firefox app reviewer application form.

-
- -

Do my apps need to comply with a content policy?

- -

Yes. See the "Content" section in the Marketplace review criteria for details on Mozilla's content policy.

- -

How do I submit an appeal for a rejected or removed app?

- -

To appeal an app rejection, either reply to the rejection email (the footer of every Marketplace notice says you can reply to the email if you have questions or concerns) or come talk to us in the #app-reviewers IRC channel on irc.mozilla.org.

- -

Payments

- -

How do payments work in the Firefox Marketplace?

- -

Mozilla offers several payment models, including paid apps, freemium apps, and in-app payments. For more information, read our Marketplace Payments guide.

- -

What is the developer's revenue share?

- -

Developers receive 70% of the pre-VAT and fee amount. For instance, if the US price is $.99 (Tier 10), the Euro price is €.89, and the VAT is 20% (based on a UK standard VAT rate), the pre-VAT price is €.74, which is around $.99 (sometimes the equivalent price tier may be higher and sometimes lower). Developers receive 70% of the €.74.
-  For more information on price tiers and pricing, read App pricing.

- -

Does Mozilla take a share of the revenue?

- -

Yes, to support the operation of the Firefox Marketplace and to improve our apps platform, as well as to cover the transaction fee associated with each purchase. Mozilla automatically receives a share from the 30% pre-VAT revenue, which is split between Mozilla, the mobile network operator, and the payment provider (e.g. Bango).

- -

Do I have to use the Firefox Marketplace payments system?

- -

The Firefox Marketplace payments system is required for paid downloads from the Firefox Marketplace. We don't require the Marketplace payments system for in-app purchases, but currently the only implementation of the {{ domxref("navigator.mozPay()") }} function (used for in-app purchases) is in Firefox OS, and it uses the Firefox Marketplace payments system. Eventually you will be able to use any payment system you choose for in-app payments.

- -

What are the transaction fees associated with offering my app on the Firefox Marketplace?

- -

30% of the pre-tax price. In other words, since the Marketplace tax-inclusive price tiers already have VAT built into the prices (where applicable), the VAT is taken out on settlement and the developer is given 70%.

- -

Do I have to set a sales tax or VAT rate?

- -

No. The Marketplace price tiers include VAT in areas that are "tax-inclusive." For sales tax, it is added to the bill by the payment provider.

- -

How do I manage split payments?

- -

The Firefox Marketplace cannot split payments at this time.

- -

Can I submit a free app? Am I charged?

- -

Yes, free apps are very welcome in the Firefox Marketplace. Mozilla does not take a share or charge for any free app downloads.

- -

Μπορεί μια επι πληρωμή εφαρμογή να έχει επίσης πληρωμές μέσα της;

- -

Ναι.

- -

What is the chargeback process?

- -

Chargebacks are refunds. They can be initiated by a mobile operator (cellular company) in the case of mobile billing, or by a credit card company, or by the payment provider (e.g. Bango). For mobile billing, the refund policy is up to the operator. Currently, none of them give refunds. Bango is the front line support for credit cards. For developers, any refunds are deducted from their earnings.

- -

There is a refund policy in the Terms of Service and the Developer's Agreement. Generally, the Marketplace can't give refunds but can request that Bango give a refund. For operator billing the purchaser must ask the mobile operator and protest a charge to their bill.

- -

How are fraudulent purchases handled?

- -

TBD

- -

How are multiple currencies handled on the Marketplace?

- -

A price is shown in the default currency for the region that the user has selected. On payment, if in fact the user is not in the region they have set it to, they will be billed in their billing region (for their SIM) or based on their location. This is done to prevent scamming.

- -

What is the payout schedule? How often will I be paid my portion of app sales?

- -

This is up to the payment provider, which is currently Bango for all regions. Developers have a direct relationship with Bango, and will receive a self-billing invoice each month. The payout rates vary since the mobile operator must collect from the end user and remit these funds. It will vary by country. Most likely for credit cards, payment will happen quickly. For operator billing, it might take 30 to 90 days.

- -

How do I process refunds?

- -

See {{SectionOnPage("/en-US/docs/Web/Apps/Publishing/Marketplace_Payments", "Refunds")}} for more details.

- -

Will the Firefox Marketplace allow for temporary sales or price changes?

- -

We are planning to support price tier changes that would allow developers to set different prices for "trial" periods or "sales".

- -

Can I sell Firefox add-ons too?

- -

At this time, only apps can be sold in the Firefox Marketplace. We hope to make payments available to other types of content soon.

- -

Technical questions

- -

Who hosts the app?

- -

You host all the files for your app on your own server. When you submit an app to the Firefox Marketplace, you provide the URL of your app's manifest file, which the Marketplace reads and verifies. You can upload icons, screenshots, etc. to promote the app on the Firefox Marketplace; see Submitting an app to the Firefox Marketplace for more details.

- -

How can I launch the Marketplace from my app?

- -

You can use Web Activities to launch the Marketplace from your website or app. The activities that the Marketplace supports are documented on Github.

diff --git a/files/el/mozilla/projects/index.html b/files/el/mozilla/projects/index.html deleted file mode 100644 index d7e62c6882..0000000000 --- a/files/el/mozilla/projects/index.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Projects -slug: Mozilla/Projects -tags: - - Landing - - Mozilla - - NeedsContent - - NeedsTranslation - - Projects - - TopicStub -translation_of: Mozilla/Projects ---- -

Here you'll find links to documentation about various Mozilla projects; these are often parts of Firefox or other products, but may also be used in other projects as well.

- -

{{ LandingPageListSubpages() }}

diff --git a/files/el/mozilla/projects/midas/index.html b/files/el/mozilla/projects/midas/index.html deleted file mode 100644 index d2eeeec668..0000000000 --- a/files/el/mozilla/projects/midas/index.html +++ /dev/null @@ -1,330 +0,0 @@ ---- -title: Midas -slug: Mozilla/Projects/Midas -tags: - - DOM - - Midas - - NeedsContent - - NeedsHelp - - NeedsTranslation - - Reference - - Référence(2) - - TopicStub -translation_of: Mozilla/Projects/Midas ---- -

Introduction

- -

Midas is the code name for Gecko's built-in rich text editor. Midas can be enabled via JavaScript on an HTML document. When Midas is enabled, the document becomes editable by the user. Scripting for Midas is based on the DHTML commands supported by Internet Explorer. Internet Explorer supports the ability to make an entire document editable by setting the designMode property of the {{domxref("document")}} object; this is how Midas is invoked in Gecko. Internet Explorer also supports the ability to edit specific elements using the contentEditable attribute; Starting with Firefox 3, Gecko also supports contentEditable. Once Midas is invoked, a few more methods of the document object become available.

- -

Properties

- -
-
document.designMode
-
By setting this property to "on", the document becomes editable.
-
- -

Notes

- -

Since an entire document becomes editable, authors often load the editable document into an IFRAME and do the bulk of the scripting in the parent document. According to standards, The IFRAME element has the contentDocument property that refers to the document in the inline frame. It also has a property called contentWindow that refers to the window object inside the inline frame. This also avoids problems with {{bug(198155)}}.

- -

In addition to the built-in commands, advanced editing can be done by manipulating the {{domxref("Selection")}} and {{domxref("range")}} objects. It is beneficial to be familiar with these objects when working with an editable document.

- -

Examples

- -

This example shows the basic structure described in the Notes section :

- -
<html>
-	<head>
-		<title>Simple Edit Box</title>
-	</head>
-	<body>
-		<iframe
-			id="MidasForm"
-			src="about:blank"
-			onload="this.contentDocument.designMode='on';"
-		></iframe>
-	</body>
-</html>
-
- -

Methods

- -
-
{{domxref("Document.execCommand")}}
-
Executes the given command.
-
{{domxref("Document.queryCommandEnabled")}}
-
Determines whether the given command can be executed on the document in its current state.
-
{{domxref("Document.queryCommandIndeterm")}}
-
Determines whether the current selection is in an indetermined state.
-
{{domxref("Document.queryCommandState")}}
-
Determines whether the given command has been executed on the current selection.
-
{{domxref("Document.queryCommandValue")}}
-
Determines the current value of the document, range, or current selection for the given command.
-
- -

Supported Commands

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CommandValueDescription
backcolorA color code.This command will set the background color of the document.
bold If there is no selection, the insertion point will set bold for subsequently typed characters. -

If there is a selection and all of the characters are already bold, the bold will be removed. Otherwise, all selected characters will become bold.

-
contentReadOnly This command will make the editor readonly(true)or editable(false). Anticipated usage is for temporarily disabling input while something else is occurring elsewhere in the web page.
copy If there is a selection, this command will copy the selection to the clipboard. If there isn't a selection, nothing will happen. -

note: this command won't work without setting a pref or using signed JS. See: more about security preferences

- -

note: the shortcut key will automatically trigger this command (typically accel-C) with or without the signed JS or any code on the page to handle it.

-
createlinkA URI.This command will not do anything if no selection is made. If there is a selection, a link will be inserted around the selection with the url parameter as the href of the link.
cut If there is a selection, this command will copy the selection to the clipboard and remove the selection from the edit control. If there isn't a selection, nothing will happen. -

note: this command won't work without setting a pref or using signed JS. See: more about security preferences

- -

note: the shortcut key will automatically trigger this command (typically accel-X) with or without the signed JS or any code on the page to handle it.

-
decreasefontsize This command will add a <small> tag around selection or at insertion point.
delete This command will delete all text and objects that are selected. If no text is selected it deletes one character to the right. This is similar to the Delete button on the keyboard.
fontnameA font nameThis command will set the font face for a selection or at the insertion point if there is no selection. -

The given string is such as would be used in the "face" attribute of the font tag, i.e., a comma-separated list of font names.

-
fontsizeA numberThis command will set the fontsize for a selection or at the insertion point if there is no selection. -

The given number is such as would be used in the "size" attribute of the font tag.

-
forecolorA color codeThis command will set the text color of the selection or at the insertion point.
formatblockH1, H2, H3, H4, H5, H6, P, DIV, ADDRESS, BLOCKQUOTE (more?)The selection surrounded by the given block element.
headingH1, H2, H3, H4, H5, H6Selected block will be formatted as the given type of heading.
hilitecolorA color codeThis command will set the hilite color of the selection or at the insertion point. It only works with styleWithCSS enabled.
increasefontsize This command will add a <big> tag around selection or at insertion point.
indent Indent the block where the caret is located. If the caret is inside a list, that item becomes a sub-item one level deeper.
insertbronreturntrue/falseSelects whether pressing return inside a paragraph creates another paragraph or just inserts a <br> tag.
inserthorizontalrulenull/string (when string is the Line's id)This command will insert a horizontal rule (line) at the insertion point. -

Does it delete the selection? Yes!

-
inserthtmlA string.This command will insert the given html into the <body> in place of the current selection or at the caret location. -

The given string is the HTML to insert.

-
insertimageA URI.This command will insert an image (referenced by the given url) at the insertion point.
insertorderedlist Depends on the selection. If the caret is not inside a non-LI block, that block becomes the first LI and an OL. If the caret is inside a bulleted item, the bulleted item becomes a numbered item.
insertunorderedlist Depends on the selection. If the caret is not inside a non-LI block, that block becomes the first LI and UL. If the caret is inside a numbered item, the numbered item becomes a bulleted item.
insertparagraph Inserts a new paragraph.
italic If there is no selection, the insertion point will set italic for subsequently typed characters. -

If there is a selection and all of the characters are already italic, the italic will be removed. Otherwise, all selected characters will become italic.

-
justifycenter Center-aligns the current block.
justifyfull Fully-justifies the current block.
justifyleft Left-aligns the current block.
justifyright Right aligns the current block.
outdent Outdent the block where the caret is located. If the block is not indented prior to calling outdent, nothing will happen. -

If the caret is in a list item, the item will bump up a level in the list or break out of the list entirely.

-
paste This command will paste the contents of the clipboard at the location of the caret. If there is a selection, it will be deleted prior to the insertion of the clipboard's contents. -

note: this command won't work without setting a pref or using signed JS. user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess"); See: more about security preferences

- -

note: the shortcut key will automatically trigger this command (typically accel-V) with or without the signed JS or any code on the page to handle it.

-
redo This command will redo the previous undo action. If undo was not the most recent action, this command will have no effect. -

note: the shortcut key will automatically trigger this command (typically accel-shift-Z)

-
removeformat Removes inline formatting from the current selection.
selectall This command will select all of the contents within the editable area. -

note: the shortcut key will automatically trigger this command (typically accel-A)

-
strikethrough If there is no selection, the insertion point will set strikethrough for subsequently typed characters. -

If there is a selection and all of the characters are already striked, the strikethrough will be removed. Otherwise, all selected characters will have a line drawn through them.

-
styleWithCSS This command is used for toggling the format of generated content. By default (at least today), this is true. An example of the differences is that the "bold" command will generate <b> if the styleWithCSS command is false and generate css style attribute if the styleWithCSS command is true.
subscript If there is no selection, the insertion point will set subscript for subsequently typed characters. -

If there is a selection and all of the characters are already subscripted, the subscript will be removed. Otherwise, all selected characters will be drawn slightly lower than normal text.

-
superscript If there is no selection, the insertion point will set superscript for subsequently typed characters. -

If there is a selection and all of the characters are already superscripted, the superscript will be removed. Otherwise, all selected characters will be drawn slightly higher than normal text.

-
underline If there is no selection, the insertion point will set underline for subsequently typed characters. -

If there is a selection and all of the characters are already underlined, the underline will be removed. Otherwise, all selected characters will become underlined.

-
undo This command will undo the previous action. If no action has occurred in the document, then this command will have no effect. -

note: the shortcut key will automatically trigger this command (typically accel-Z)

-
unlink If the insertion point is within a link or if the current selection contains a link, the link will be removed and the text will remain.
{{Deprecated_header}}
readonly This command has been replaced with contentReadOnly. It takes the same values as contentReadOnly, but the meaning of true and false are inversed.
useCSS This command has been replaced with styleWithCSS. It takes the same values as styleWithCSS, but the meaning of true and false are inversed.
- -

 

diff --git a/files/el/mozilla/projects/midas/security_preferences/index.html b/files/el/mozilla/projects/midas/security_preferences/index.html deleted file mode 100644 index 25d317aaa0..0000000000 --- a/files/el/mozilla/projects/midas/security_preferences/index.html +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Midas editor module security preferences -slug: Mozilla/Projects/Midas/Security_preferences -translation_of: Mozilla/Projects/Midas/Security_preferences ---- -
Αυτή η λειτουργία αφαιρέθηκε πλήρως από 2013-12-14 18:23 PST, βλέπε: bugs 38966 και 913734
- -
-

Σημείωση: Αν οδηγηθήκατε σε αυτή τη σελίδα από ένα πλαίσιο κειμένου του Firefox ή από άλλο προϊόν Mozilla, δοκιμάστε τις συντομεύσεις πληκτρολογίου για τις εντολές αποκοπή, αντιγραφή και επικόλληση:

- - - -

Οι πληροφορίες στο υπόλοιπο της σελίδας προορίζονται για προγραμματιστές ιστού και προχωρημένους χρήστες. Παρακαλούμε μην δοκιμάσετε να τροποποιήσετε αυτή τη σελίδα.

-
- -

To protect users' private information, unprivileged scripts cannot invoke the Cut, Copy, and Paste commands in Midas, which is Mozilla's rich text editor component. This means that the corresponding buttons on the Mozilla Rich Text Editing demo page will not work. To enable these functions, you must modify your browser preferences.

- -
-

Warning: Changing these preferences can leave your browser insecure, especially if you grant permission to untrusted sites. Only change these settings as needed to try the demo above and to test your own add-on or Firefox-internal code, and be sure to restore the default settings when you're done!

-
- -

Changing the preferences in Firefox

- -
    -
  1. Quit Firefox. If you have Quick Launch running (on Windows, this is an icon in the toolbar), quit that too.
  2. -
  3. Find your Firefox profile directory.
  4. -
  5. Open the user.js file from that directory in a text editor. If there's no user.js file, create one.
  6. -
  7. Add these lines to user.js: -
    user_pref("capability.policy.policynames", "allowclipboard");
    -user_pref("capability.policy.allowclipboard.sites", "https://www-archive.mozilla.org");
    -user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
    -user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
    -
    -
  8. -
  9. Change the URL https://www.mozilla.org to the site for which you want to enable this function.
  10. -
  11. Save the file and restart Firefox. The Clipboard buttons in the demo, or similar buttons on the sites you listed, should now function.
  12. -
- -
Note: The preference is site as well as protocol specific. For example: - -
user_pref("capability.policy.allowclipboard.sites", "http://www-archive.mozilla.org")
-
- -

is not the same as:

- -
user_pref("capability.policy.allowclipboard.sites", "https://www-archive.mozilla.org")
-
- -

This is because the first uses HTTP while the second uses HTTPS.

-If you want to allow multiple URLs to access the Paste operation, separate the URLs with a space. For example: - -
user_pref("capability.policy.allowclipboard.sites", "https://www-archive.mozilla.org https://developer.mozilla.org")
-
-
- -

Again, keep in mind the security risks involved here and be sure to remove permission to access the clipboard once you no longer need it enabled.

- -

See also

- - -- cgit v1.2.3-54-g00ecf