diff options
Diffstat (limited to 'files/ca/archive')
18 files changed, 2039 insertions, 0 deletions
diff --git a/files/ca/archive/add-ons/implementació_de_suggeriments_en_els_connectors_de_cerca/index.html b/files/ca/archive/add-ons/implementació_de_suggeriments_en_els_connectors_de_cerca/index.html new file mode 100644 index 0000000000..26372a1fb7 --- /dev/null +++ b/files/ca/archive/add-ons/implementació_de_suggeriments_en_els_connectors_de_cerca/index.html @@ -0,0 +1,49 @@ +--- +title: Implementació_de_suggeriments_en_els_connectors_de_cerca +slug: Archive/Add-ons/Implementació_de_suggeriments_en_els_connectors_de_cerca +tags: + - Complements + - Connectors_de_cerca +translation_of: Archive/Add-ons/Supporting_search_suggestions_in_search_plugins +--- +<h2 id="Implementaci.C3.B3_de_suggeriments_en_el_connector_de_cerca" name="Implementaci.C3.B3_de_suggeriments_en_el_connector_de_cerca">Implementació de suggeriments en el connector de cerca</h2> +<p>Per a utilitzar suggeriments de cerca, un connector de cerca cal que defineixi un element addicional <code><Url></code> amb el seu atribut <code>type</code> definit com <code>"application/x-suggestions+json"</code>. (Això vol dir que el connector d'un motor que implementi els suggeriments tindrà dos elements <code><Url></code>, essent l'altre l'URL de cerca <code>text/html</code> principal.) +</p><p>Per exemple, el connector de cerca de Yahoo té aquesta entrada <code><Url></code>: +</p> +<pre><Url type="application/x-suggestions+json" template="http://ff.search.yahoo.com/gossip?output=fxjson&command={searchTerms}"/> +</pre> +<p>Si l'usuari tecleja «fir» a la barra de cerca, i llavors s'atura, el Firefox inserirà «fir» en comptes de <code>{searchTerms}</code> i ho trametrà a aqueix URL: +</p> +<pre><Url type="application/x-suggestions+json" template="http://ff.search.yahoo.com/gossip?output=fxjson&command=fir"/> +</pre> +<p>Els resultats s'utilitzaran per a construir el diàleg de la llista de suggeriments. +</p><p>Vegeu <a href="ca/Creaci%c3%b3_de_connectors_MozSearch">Creació de connectors MozSearch</a> per a aprendre més sobre com implementar connectors de cerca. +</p> +<h2 id="Implementaci.C3.B3_de_suggeriments_de_cerca_en_el_servidor" name="Implementaci.C3.B3_de_suggeriments_de_cerca_en_el_servidor">Implementació de suggeriments de cerca en el servidor</h2> +<p>Gran bona part de la feina de gestionar els suggeriments de cerca s'implementa en el servidor. Si sou dissenyador d'un lloc web i voleu incorporar-hi suggeriments de cerca, cal que hi implementeu la possibilitat que es retornin els suggeriments en <a class="external" href="http://www.json.org/">Notació d'objectes de JavaScript</a> (JSON) havent-hi donat un terme de cerca. +</p><p>Quan el navegador vulgui recollir les possibles coincidències d'un terme de cerca, s'envia una sol·licitud HTTP GET a l'URL especificat per l'element <code><Url></code>. +</p><p>El vostre servidor haurà llavors de decidir quins suggeriments oferirà amb els mitjans que més s'escaiguin, i construir un JSON que consisteixi com a mínim de dos, i fins a quatre, elements: +</p> +<dl><dt> <b>cadena de consulta</b> +</dt><dd> El primer element en el JSON és la cadena de consulta original. Això permet al Firefox verificar que els suggeriments coincedeixen amb el terme de cerca actual. +</dd></dl> +<dl><dt> <b>llista de compleció</b> +</dt><dd> Una matriu de termes de cerca suggerits. Ha de tancar-se la matriu en claudàtors. Per exemple: <tt>{{ mediawiki.external('\"terme 1\", \"terme 2\", \"terme 3\", \"terme 4\"') }}</tt> +</dd></dl> +<dl><dt> <b>descripcions</b> +</dt><dd> Aquest element opcional és una matriu de descripcions per a cada un dels suggeriments a la <i>llista de compleció</i>. Pot ser qualsevol informació que el motor de cerca pugui voler retornar quan es mostri en el navegador, com ara el nombre de resultats disponibles per a la cerca. +</dd></dl> +<div class="note">Les descripcions no funcionen al Firefox 2, i s'ignoraran si se n'especifica cap.</div> +<dl><dt> <b>URL de consulta</b> +</dt><dd> Aquest element opcional és una matriu d'URL alternatius per a cada suggeriment de la <i>llista de compleció</i>. Per exemple, si voleu oferir un enllaç a un mapa en comptes de simplement una pàgina de resultats de cerca per a un suggeriment, podeu retornar un URL al mapa en aquesta matriu. +</dd></dl> +<dl><dd> Si no especifiqueu un URL de consulta, la consulta per defecte que s'utilitza es basa en la cerca descrita per l'element <code><Url></code> en la descripció XML del connector de cerca. +</dd></dl> +<div class="note">Els URL de consulta no funcionen al Firefox 2, i llavors s'ignoraran.</div> +<p>Per exemple, si el terme de cerca és «fir», i no us cal que es retorni descripcions d'URL alternatius, podeu retorneu el següent JSON: +</p> +<pre class="eval">["fir", ["firefox", "first choice", "mozilla firefox"]] +</pre> +<p>Tingueu en compte que en aquest exemple només s'especifica la cadena de consulta i la matriu de compleció, excloent-ne els elements opcionals. +</p><p>La vostra llista de compleció pot incloure tants suggeriments com vulgueu, encara que és recomanable que sigui de fàcil gestió, atès que la mostra de suggeriments s'actualitzarà mentre l'usuari estigui escrivint la seua cadena de cerca. Endemés, el mètode que utilitzeu per a seleccionar els suggeriments és plenament al vostre guts. +</p>{{ languages( { "en": "en/Supporting_search_suggestions_in_search_plugins", "it": "it/Supportare_i_suggerimenti_nei_plugin_di_ricerca" } ) }} diff --git a/files/ca/archive/add-ons/index.html b/files/ca/archive/add-ons/index.html new file mode 100644 index 0000000000..caac45ae4c --- /dev/null +++ b/files/ca/archive/add-ons/index.html @@ -0,0 +1,8 @@ +--- +title: Add-ons +slug: Archive/Add-ons +translation_of: Archive/Add-ons +--- +<p>In progress. Archived add-ons documentation.</p> + +<p>{{SubpagesWithSummaries}}</p> diff --git a/files/ca/archive/b2g_os/index.html b/files/ca/archive/b2g_os/index.html new file mode 100644 index 0000000000..ecaa1b9296 --- /dev/null +++ b/files/ca/archive/b2g_os/index.html @@ -0,0 +1,219 @@ +--- +title: B2G OS +slug: Archive/B2G_OS +tags: + - B2G + - Firefox OS + - Gaia + - NeedsTranslation + - TopicStub +translation_of: Archive/B2G_OS +--- +<div class="summary"><span class="seoSummary">B2G OS is (was) a complete, standalone operating system for the open web. It is an open source project developed by the Mozilla community and forms the basis of Firefox OS products. As of 2017 it is<strong> no longer maintained</strong>.</span></div> + +<p><strong>B2G OS </strong>is a community maintained open source operating system for<strong> </strong>smartphones, tablets, smart TVs and other connected devices. The project was <a href="https://wiki.mozilla.org/Booting_to_the_Web">started</a> in 2011 and is based on the Linux kernel and Gecko rendering engine. The entire user interface is built using web technologies (HTML, CSS and JavaScript) and can be used to launch and use <a href="/en-US/Apps">web applications</a>. Since Mozilla <a href="https://discourse.mozilla-community.org/t/firefox-os-connected-devices-announcement/6864">discontinued</a> their commercial Firefox OS smartphone program the smartphone part of the project is entirely maintained by Mozilla's volunteer community, and branded as B2G OS.</p> + +<p><img alt="" src="https://mdn.mozillademos.org/files/13140/B2g_wordmark.png" style="display: block; margin: 0 auto;"></p> + +<h2 id="Index_of_pages">Index of pages</h2> + +<dl> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Automated_testing">Automated Testing of B2G OS</a></dt> + <dd class="landingPageList">This page offers articles that provide information about various aspects of testing B2G OS, including running different tests, automation, and result reporting and tracking.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Add-ons">B2G OS add-ons</a></dt> + <dd class="landingPageList">You should follow the below steps to get set up to start developing extensions.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/API">B2G OS APIs</a></dt> + <dd class="landingPageList">List of B2G OS APIs</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Architecture">B2G OS architecture</a></dt> + <dd class="landingPageList">This article is a high-level overview of the architecture of the B2G OS platform, introducing key concepts and explaining how its components interact at a basic level.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/B2G_OS_build_prerequisites">B2G OS build prerequisites</a></dt> + <dd class="landingPageList">Before obtaining the code to build B2G OS, even if you are simply trying to build Gaia, you need a properly configured <a href="https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions" title="https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions">build system</a> — this page shows you how. You can currently build on 64-bit Linux distributions and OS X.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Phone_guide">B2G OS phone guide</a></dt> + <dd class="landingPageList">This section contains developer information relevant to specific phones that run B2G OS — both developer and consumer devices.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Building_and_installing_B2G_OS">Building and installing B2G OS</a></dt> + <dd class="landingPageList">The articles listed on this page will guide you through building and installing B2G OS on an emulator or compatible device, or the <a href="/en-US/docs/Mozilla/B2G_OS/Platform/Gaia/Introduction_to_Gaia" title="Mozilla/B2G_OS/Platform/Gaia/Introduction to Gaia">Gaia</a> user interface in the Firefox browser.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Building">Building B2G OS</a></dt> + <dd class="landingPageList">Once you've <a href="/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites" title="Mozilla/Firefox_OS/Firefox_OS_build_prerequisites">set up your build system</a> and performed your <a href="/en-US/docs/Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build" title="Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build">initial pull and configure</a> the code, you can build Boot to Gecko. This guide explains how.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Building_the_B2G_OS_simulator">Building the B2G OS Simulator</a></dt> + <dd class="landingPageList">Just like <a href="http://nightly.mozilla.org" title="http://nightly.mozilla.org">Firefox Nightlies</a>, the B2G OS simulator desktop client (identified by <em>b2g-</em>) is automatically built every day from the latest source code. The latest build is <a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/" title="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/">available from the Mozilla FTP server</a>. Be sure to pick the latest version and the right archive for your operating system. This lets you bypass having to build it yourself. In addition, you don't have to download Gaia on your own either.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Choosing_how_to_run_Gaia_or_B2G">Choosing how to run Gaia or B2G</a></dt> + <dd class="landingPageList">Depending on your specific needs, you have an assortment of options to consider when experimenting with Firefox OS or the <a href="/en/Mozilla/Boot_to_Gecko/Introduction_to_Gaia" title="en/Mozilla/Boot_to_Gecko/Introduction_to_Gaia">Gaia</a> user interface. You can choose among the following options; each has its advantages and disadvantages to consider, and some are more flexible than others.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Crash_Reporting_Guide_for_Firefox_OS_Partners">Crash Reporting Guide for Firefox OS Partners</a></dt> + <dd class="landingPageList">Mozilla has a world-class system for collecting, analyzing, and fixing crashes and other stability issues such as hangs. Firefox OS partners need to work with Mozilla to correctly enable crash reporting and upload symbols.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Customization_with_the_.userconfig_file">Customization with the .userconfig file</a></dt> + <dd class="landingPageList">The <code>.userconfig</code> file isn't checked into source code control, so your changes won't be overwritten when you update your source tree. It needs to be created in the <a href="https://github.com/mozilla-b2g/B2G">root of the B2G tree</a>; that is, in the same directory as <code>flash.sh</code>, <code>build.sh</code>, and so forth. You should add this before you run your config and build steps.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Debugging">Debugging on Firefox OS</a></dt> + <dd class="landingPageList">There are two main types of debugging you'll want to with Firefox OS: debugging apps, and debugging other aspects of the system.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Developer_Mode">Developer Mode</a></dt> + <dd class="landingPageList">The current Firefox OS permissions model precludes modification and installation of certified/internal apps, which makes some device APIs completely unavailable to Marketplace and web apps. <strong>Developer Mode (DM)</strong> allows the user to indicate that they would like to relax the permissions model and expose all device APIs to content, as well as setting a group of related preferences. This article provides a high-level overview.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Developing_Firefox_OS">Developing Firefox OS</a></dt> + <dd class="landingPageList">This section provides useful documentation covering different ways in which Firefox OS (codename Boot2Gecko, or B2G) can be modified/customized during the build process, and how you can help to develop the low level platform areas such as <a href="/en-US/docs/Mozilla/Gecko">Gecko</a> and <a href="/en-US/Firefox_OS/Platform/Gonk">Gonk</a>.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Firefox_OS_apps">Firefox OS apps</a></dt> + <dd class="landingPageList">This section of the Firefox OS docs covers the specific techniques required — and available tools — for building Firefox OS apps. You'll find a number of details below, from Firefox OS building blocks/web components, to device APIs and App installation.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Board_guide">Firefox OS board guide</a></dt> + <dd class="landingPageList">This section contains developer information relevant to specific phones that run Firefox OS — both developer and consumer devices.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Releases">Firefox OS developer release notes</a></dt> + <dd class="landingPageList">This section provides articles covering each new release of Gaia and Gecko for Firefox OS, explaining what features were added and bugs eliminated in each update. There is also a linked summary table showing what APIs are supported by each version of Firefox OS.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Security">Firefox OS security</a></dt> + <dd class="landingPageList">The following articles cover security-related topics about Firefox OS. This includes overall security features as well as application security and how the install process is kept secure.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Simulator">Firefox OS Simulator</a></dt> + <dd class="landingPageList"><span style="line-height: 1.5;">The Firefox OS Simulator is <span style="line-height: 1.5;">a version of the higher layers of Firefox OS</span> that simulates a Firefox OS device, but runs on the desktop</span><span style="line-height: 1.5;">. This means that in many cases, you don't need a real device to test and debug your app. </span><span style="line-height: 1.5;">It runs in a window the same size as a Firefox OS device, includes the Firefox OS user interface and built-in apps, and simulates many of the Firefox OS device APIs.</span></dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Firefox_OS_usage_tips">Firefox OS usage tips</a></dt> + <dd class="landingPageList">Explains all of the developer features on the phone and what they do (Settings > Device information > More information > Developer)</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia">Gaia</a></dt> + <dd class="landingPageList">Gaia is B2G OS's user interface and suite of default apps: it includes the lock screen, home screen, dialer, and other applications. Essentially, Gaia is a set of complex web apps that runs on top of the B2G OS platform. This set of articles covers all you need to know to contribute to the Gaia project.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Installing_on_a_mobile_device">Installing B2G OS on a mobile device</a></dt> + <dd class="landingPageList">Once you've built Boot to Gecko for a <a href="/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#Have_a_compatible_device_or_use_an_emulator">supported mobile device</a>, you can install it. This article will guide you through the process.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Introduction">Introduction to Firefox OS</a></dt> + <dd class="landingPageList">This set of documentation is aimed mainly at web developers and platform developers who want to learn how Firefox OS works, how to contribute to the project, and how to build their own custom versions of the software and install it on devices. For those who want to create and distribute their own web apps, the <a href="/en-US/Apps">App Center</a> and <a href="/en-US/Marketplace">Marketplace Zone</a> are good places to go.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Mulet">Mulet</a></dt> + <dd class="landingPageList">Following this guide you're going to run Gaia inside of a special build of Firefox called Firefox Mulet. This gives you the advantages of having a rapid development cycle, as well as standard web development tools and debuggers available to work with. First of all, you need to have the <a class="external external-icon" href="https://github.com/mozilla-b2g/gaia">Gaia</a> repo cloned on your machine and build your own profile. Then, you have to install mulet and run it, passing your Gaia profile as the profile to use.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Quickstart">Open web apps quickstart</a></dt> + <dd class="landingPageList">Quickstart information on coding Open Web Apps.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Pandaboard">Pandaboard</a></dt> + <dd class="landingPageList">This is a guide to setting up Firefox OS on a <a href="http://pandaboard.org/" title="http://pandaboard.org/">PandaBoard</a>. The PandaBoard is a low-cost OMAP 4 based development board for developing mobile operating systems.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/PasscodeHelper_Internals">PasscodeHelper Internals</a></dt> + <dd class="landingPageList">PasscodeHelper is a Gaia helper library for modifying and checking the Firefox OS lockscreen passcode (i.e., pin) from within Gaia, performing functions such as checking whether an entered passcode is correct, and changing the code. This article documents how PasscodeHelper works.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Porting_B2G_OS">Porting B2G OS</a></dt> + <dd class="landingPageList">This page lists the available resources for porting B2GOS.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Preparing_for_your_first_B2G_build">Preparing for your first B2G build</a></dt> + <dd class="landingPageList">Depending on your internet connection, the configuration steps may take several hours to download everything you need to build B2G OS. Waiting is not as fun as doing, so after you have read through this page and have kicked off the configure script, consider using the time to set up and try out the <a class="vt-p" href="/en-US/docs/Mozilla/Firefox_OS/Using_Firefox_OS_Simulator" title="/en-US/docs/Mozilla/Firefox_OS/Using_Firefox_OS_Simulator">B2G OS simulator</a>, begin familiarizing yourself with <a class="vt-p" href="/en-US/docs/Apps" title="/en-US/docs/Apps">Documentation for app developers</a> including Designing and Building an App, or familiarize yourself with the information on upcoming steps.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Resources">Resources</a></dt> + <dd class="landingPageList"><em>Resources for App hackers, as generated from our workshops</em></dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Running_Tests_on_Firefox_OS_for_Developers">Running tests on Firefox OS: A guide for developers</a></dt> + <dd class="landingPageList">If you are a Gecko developer, then you should review the Firefox OS-specific documentation for the test automation you are already familar with: <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Automated_testing/Mochitests">mochitest</a>, <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Automated_testing/Reftests">reftest</a>, and <a href="https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/XPCShell">xpcshell</a>.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Platform">The B2G OS platform</a></dt> + <dd class="landingPageList">The B2G OS platform consists of many components. While you don't need to understand its architecture in order to build applications that run on B2G OS, if you're working on developing or porting the platform — or are simply curious — the following documentation may be of interest to you.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Troubleshooting">Troubleshooting B2G OS</a></dt> + <dd class="landingPageList">This article provides tips for resolving common problems you may have while using B2G OS.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Using_the_App_Manager">Using the App Manager</a></dt> + <dd class="landingPageList">The App Manager is a tool for Firefox Desktop which provides a number of useful tools to help developers test, deploy and debug HTML5 web apps on Firefox OS phones & Simulator, directly from Firefox browser. This page documents how to use the App Manager.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Using_the_B2G_emulators">Using the B2G emulators</a></dt> + <dd class="landingPageList">This article provides a brief guide to some key things you should know when using the boot to Gecko emulators. This doesn't appear to be a complete user manual; instead, it simply tells you a few useful things that you might not learn on your own.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Web_applications">Web applications</a></dt> + <dd class="landingPageList">This page is intended to be a first, non thorough, attempt to collect web apps.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Bluetooth_API">Web Bluetooth API (Firefox OS)</a></dt> + <dd class="landingPageList">The Web Bluetooth API lets an open web app discover, pair with, and connect to Bluetooth devices. As it is a completely experimental and non-standard API, the Bluetooth API is currently available for certified applications only. However, there is some traction to have such an API available for regular Web content; this will be discussed as part of the <a href="http://www.w3.org/2012/sysapps/">W3C's System Applications Working Group</a>.</dd> + <dt class="landingPageList"><a href="/en-US/docs/Archive/B2G_OS/Web_Telephony_API">Web Telephony API</a></dt> + <dd class="landingPageList">Web Telephony is an API that makes it possible for web content to handle voice phone calls using JavaScript.</dd> +</dl> + +<h2 id="Old_page_content">Old page content</h2> + +<div class="blockIndicator note"> +<p><strong>Note</strong>: <a href="https://wiki.mozilla.org/B2G/Transition_Project/Call_For_Contribution">Call for contribution</a> & <a href="https://discourse.mozilla-community.org/t/updated-9th-july-call-for-app-maintainers-adopt-an-app/9300/1">Call for App adoption</a> has been made to gather more people, feel free to share it !</p> +</div> + +<div class="column-container"> +<div class="column-third"> +<h2 id="How_you_can_help">How you can help</h2> + +<ul> + <li>File & fix bugs (meta bug is <a class="external text" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1252143" rel="nofollow">bug 1252143</a>)</li> + <li>Help us fix failing <a class="external text" href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Automated_testing" rel="nofollow">tests</a></li> + <li>Port a gaia <a href="https://mozilla-b2g.github.io/gaia/">smartphone app</a>: + <ol> + <li>Turn it into a webapp (or)</li> + <li>Turn it into chrome:// (<a href="https://discourse.mozilla-community.org/t/why-gaia-apps-are-turned-to-chrome/8011">why?</a>) & report back<span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span></li> + </ol> + </li> + <li><a href="https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/Porting_B2G_OS">Port B2G OS to your phone</a> or help us to maintain a port</li> + <li>Help improve translate this documentation & wiki</li> + <li>Propose & implement new smartphone features</li> +</ul> +</div> + +<div class="column-third"> +<h2 id="Get_involved"> Get involved</h2> + +<ul> + <li>Mailing list (<a class="external text" href="https://lists.mozilla.org/listinfo/dev-fxos" rel="nofollow">dev-fxos</a>)</li> + <li><a class="external text" href="https://wiki.mozilla.org/IRC" rel="nofollow">IRC</a> (irc.mozilla.org Channel: #b2g)</li> + <li><a href="https://discourse.mozilla-community.org/c/b2g-os-participation">Discourse </a></li> + <li><a class="external text" href="https://telegram.me/B2GOS" rel="nofollow">Telegram Group</a></li> + <li>Follow us on <a href="https://twitter.com/Boot2Gecko">Twitter</a>, or just look for <a href="https://twitter.com/hashtag/B2GOS?src=hash">#B2GOS</a></li> + <li><a href="https://wiki.mozilla.org/B2G/Transition_Project/Working_Groups">Working Groups</a></li> + <li>Documentation issues tracker on <a href="https://github.com/mozilla-b2g/B2GOS-community/issues">GitHub</a></li> + <li><a class="external text" href="https://wiki.mozilla.org/B2G/Meeting" rel="nofollow">B2G Weekly Meeting</a> for engineering status updates</li> +</ul> + +<p>To participate in meetings and community Working Groups meetings, register on this <a href="https://calendar.google.com/calendar/embed?src=mozilla.com_2d3638353137343333373332@resource.calendar.google.com">Calendar</a>. They are announced on <a href="https://discourse.mozilla-community.org/c/b2g-os-participation">Discourse</a>, where you can find information about how to attend & notes.</p> +</div> + +<div class="column-third"> +<h2 id="Compatible_devices">Compatible devices</h2> + +<ul> + <li><a href="https://discourse.mozilla-community.org/t/building-b2g-os-for-aries-z3c/8082">Sony Xperia Z3C</a> (developer phone)</li> + <li><a href="https://discourse.mozilla-community.org/t/flame-builds/8548">Flame </a>(developer phone)</li> + <li><a href="https://discourse.mozilla-community.org/t/zte-open-c/8402">ZTE Open C</a></li> + <li><a href="https://discourse.mozilla-community.org/t/test-b2gos-on-nexus-5/9405/1">Nexus 5</a></li> + <li>WileyFox Swift</li> + <li>Nexus 4 (WIP*)</li> + <li><a href="https://discourse.mozilla-community.org/t/fairphone-2-support-for-b2g-installer-landed/8334">Fairphone 2 </a> (WIP*)</li> + <li><a href="https://discourse.mozilla-community.org/t/b2g-os-flamingo-sony-xperia-e3-builds/8361">Sony Xperia E3 </a> (WIP*)</li> + <li><a href="https://discourse.mozilla-community.org/t/support-for-amami-xperia-z1c-building-debugging-providing-builds/8348">Sony Xperia Z1C</a> (WIP*)</li> + <li><a href="https://discourse.mozilla-community.org/t/wip-xiaomi-redmi-1s-hongmi-1s/10273">Xiaomi Redmi 1S</a> (WIP*)</li> +</ul> + +<p>For more information see this <a href="/en-US/docs/Mozilla/B2G_OS/Building_and_installing_B2G_OS/Compatible_Devices">page</a>.<br> + Flash you device easily with <a href="/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS/B2G_installer_add-on">B2G installer</a>.<br> + Your device is not in the list ? Try <a href="https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/Mulet">Mulet </a>on desktop.</p> + +<p>*WIP = Work In Progress.</p> +</div> +</div> + +<div class="hidden"> +<h2 id="Subnav">Subnav</h2> + +<section class="Quick_links" id="Quick_Links"> +<ol> + <li><strong><a href="/en-US/docs/Archive/B2G_OS">B2G OS</a></strong></li> + <li><strong><a href="/en-US/docs/Archive/B2G_OS/Firefox_OS_apps">Firefox OS apps</a></strong></li> + <li class="toggle"> + <details><summary><a href="/en-US/docs/Archive/B2G_OS/Building_and_installing_B2G_OS">Build and install</a></summary> + <ol> + <li><a href="/en-US/docs/Archive/B2G_OS/Building_and_installing_B2G_OS/B2G_OS_build_process_summary">B2G OS build process summary</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/B2G_OS_build_prerequisites">Build prerequisites</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Preparing_for_your_first_B2G_build">Preparing for your first build</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Building">Building B2G OS</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Building_and_installing_B2G_OS/B2G_installer_add-on">B2G installer add-on</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Building_and_installing_B2G_OS/Building_for_Flame_on_OS_X">Building B2G OS for Flame on Mac OS X</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Choosing_how_to_run_Gaia_or_B2G">Choosing how to run Gaia or B2G OS</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Building_and_installing_B2G_OS/Compatible_Devices">Compatible Devices</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Installing_on_a_mobile_device">Installing B2G OS on a mobile device</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Building_and_installing_B2G_OS/B2G_OS_update_packages">Creating and applying B2G OS update packages</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Building/FOTA_community_builds">Building and installing FOTA community builds</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Building_and_installing_B2G_OS/B2G_Build_Variables_Reference_Sheet">B2G build variables reference sheet</a></li> + </ol> + </details> + </li> + <li class="toggle"> + <details><summary><a href="/en-US/docs/Archive/B2G_OS/Porting_B2G_OS">Porting B2G OS</a></summary> + <ol> + <li><a href="/en-US/docs/Archive/B2G_OS/Porting_B2G_OS/basics">Porting basics</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Porting_B2G_OS/Porting_on_CyanogenMod">Porting on CyanogenMod</a></li> + </ol> + </details> + </li> + <li class="toggle"> + <details><summary><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia">Developing Gaia</a></summary> + <ol> + <li><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia/Running_the_Gaia_codebase">Running the Gaia codebase</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Mulet">Run Gaia on desktop using Mulet</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia/Understanding_the_Gaia_codebase">Understanding the Gaia codebase</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia/Making_Gaia_code_changes">Making Gaia code changes</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia/Testing_Gaia_code_changes">Testing Gaia code changes</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia/Submitting_a_Gaia_patch">Submitting a Gaia patch</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia/Build_System_Primer">Gaia build system primer</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia/Different_ways_to_run_Gaia">Different ways to run Gaia</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia/make_options_reference">Make options reference</a></li> + <li><a href="/en-US/docs/Archive/B2G_OS/Developing_Gaia/Gaia_tools_reference">Gaia tools reference</a></li> + </ol> + </details> + </li> + <li><a href="/en-US/docs/Archive/B2G_OS/API">B2G OS APIs</a></li> +</ol> +</section> +</div> diff --git a/files/ca/archive/b2g_os/introduction/index.html b/files/ca/archive/b2g_os/introduction/index.html new file mode 100644 index 0000000000..45154f5cc2 --- /dev/null +++ b/files/ca/archive/b2g_os/introduction/index.html @@ -0,0 +1,106 @@ +--- +title: Introducció a Firefox OS +slug: Archive/B2G_OS/Introduction +translation_of: Archive/B2G_OS/Introduction +--- +<p><strong>Firefox OS</strong> (també conegut amb el nom en codi "Boot to Gecko" o "B2G") és el sistema mòbil de codi obert desenvolupat per Mozilla basat en la Linux i la tecnologia Mozilla Gecko. Firefox OS és un sistema operatiu per mòbils lliure de tecnologia propietària mentre és una potent plataforma que prové als desenvolupadors d'aplicacions la oportunitat de crear productes excel·lents. A més, és flexible i prou capaç de fer feliç a l’usuari final.</p> +<p>Per als desenvolupadors web, la part més important d'entendre és que la interfície d'usuari sencera és una aplicació web, que és capaç de mostrar i llançar altres aplicacions web. Qualsevol modificació que es faci en la interfície d'usuari i l'aplicació que es crea per córrer sota Firefox OS son pàgines web, tot i que amb un accés millorat al maquinari del dispositiu mòbil i els seus serveis.</p> +<p>Pots aprendre com compilar i instal·lar Firefox OS <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS" title="en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS">seguint la nostra guia pràctica</a>.</p> +<div> + <h2 id="Necessitats_de_maquinari"><strong>Necessitats de maquinari</strong></h2> +</div> +<p>Pot ser possible transportar a Firefox OS els dispositius més actuals basats en ARM. Aquesta secció cobreix les necessitats bàsiques de maquinari i també les característiques recomanades.</p> +<table> + <thead> + <tr> + <th> + <p align="center"><strong>Component</strong></p> + </th> + <th> + <p align="center"><strong>Mínim</strong></p> + </th> + <th> + <p align="center"><strong>Recomanat</strong></p> + </th> + </tr> + </thead> + <tbody> + <tr> + <td> + <p align="center"><strong>CPU</strong></p> + </td> + <td> + <p>ARMv6</p> + </td> + <td> + <p>Cortex classe A5 o superior<br> + ARMv7a amb NEON</p> + </td> + </tr> + <tr> + <td> + <p align="center"><strong>GPU</strong></p> + </td> + <td> + <p>—</p> + </td> + <td> + <p>Adreno classe 200 o superior</p> + </td> + </tr> + <tr> + <td> + <p align="center"><strong>Connectivitat</strong></p> + </td> + <td> + <p>—</p> + </td> + <td> + <p>WiFi<br> + 3G</p> + </td> + </tr> + <tr> + <td> + <p align="center"><strong>Sensors</strong></p> + </td> + <td> + <p>—</p> + </td> + <td> + <p>Acceleròmetre<br> + Proximitat<br> + Lluminositat ambient<br> + A-GPS</p> + </td> + </tr> + </tbody> +</table> +<p>També és recomana que el dispositiu ofereixi un perfil de color uniforme (que serà implementat per el driver gràfic del dispositiu) i suport als auriculars amb funcions silenci/so i atura/reprodueix. Aquestes son unes característiques comuns en la majoria de smarthphones moderns.</p> +<div> + <h2 id="Consells_d'ús"><strong>Consells d'ús</strong></h2> + <p>Aquesta secció proporciona alguns consells alguns consells que t’ajudaran realment utilitzen Firefox OS. Això és una cosa d'un marcador de posició fins que tinguem documentació d'ús real.</p> + <h3 id="Desbloquejant_el_Telèfon"><strong>Desbloquejant el Telèfon</strong></h3> + <p>Si la teva versió de Firefox OS s'inicia sol · licitant un codi d'accés per desbloquejar el dispositiu, el codi predeterminat és 0000. Algunes versions és fan mentre es desenvolupa i prova la pantalla de bloqueig.</p> + <h3 id="Captura_d'una_captura_de_pantalla"><strong>Captura d'una captura de pantalla</strong></h3> + <p>Capturar una imatge és tan senzill com prémer el botó d'alimentació i Inici al mateix temps. La imatge de la pantalla estarà en / sdcard / captures de pantalla del seu dispositiu.</p> + <p>Si per alguna raó això no funciona, també pot fer-ho des de la terminal de Linux o Mac OS X que tingui un Firefox OS sistema de generació instal·lada.</p> +</div> +<p> </p> +<p>1. Assegurat que tens ffmpeg instal·lat.</p> +<p>1. A Mac, si utilitzes els ports del Mac, ho pots fer amb sudo port install ffmpeg. Per homebrew, fes brew install ffmpeg.</p> +<p>2. A Linux (Ubuntu/Debian), utilitza sudo apt-get install ffmpeg.</p> +<p>2. Connecta el teu telèfon a l’ordinador mitjançant un cable USB.</p> +<p>3. Navega per el teu telèfon fins on vulguis la captura de pantalla.</p> +<p>4. cd dins el directori B2G/gaia </p> +<p>5. make screenshot (fes captura de pantalla)</p> +<p>6. Ara disposaràs duna captura de pantalla anomenada screenshot.png.</p> +<h3 id="Botons_i_controls"><strong>Botons i controls</strong></h3> +<p>Un dispositiu típic Firefox OS te un petit nombre de botons físics.</p> +<p><em>Botó Home</em></p> +<p style="margin-left: 36.0pt;">Aquest botó normalment està centrat sota la pantalla. Pressionant-lo et retornarà al llançador d’aplicacions. Mantenint-lo obre la commutació de vista; llisca a munt sobre una aplicació per tancar-la.</p> +<p><em>Control rotatiu de volum</em></p> +<p style="margin-left: 36.0pt;">Al llarg de la part esquerra està el control de volum; pressionant la part superior augmenta el volum i pressionant la part inferior disminuirà el volum.</p> +<p><em>Botó d'encesa</em></p> +<p style="margin-left: 36.0pt;">El botó d'encesa està situat a la part superior dreta del dispositiu.</p> +<p> </p> diff --git a/files/ca/archive/b2g_os/platform/gaia/hacking/index.html b/files/ca/archive/b2g_os/platform/gaia/hacking/index.html new file mode 100644 index 0000000000..5db1c70186 --- /dev/null +++ b/files/ca/archive/b2g_os/platform/gaia/hacking/index.html @@ -0,0 +1,126 @@ +--- +title: Hacking Gaia +slug: Archive/B2G_OS/Platform/Gaia/Hacking +translation_of: Firefox_OS/Developing_Gaia +--- +<div class="warning"> + <p>Aquesta pàgina està dirigida a desenvolupadors Gaia. Si busques sobre com crear i arrencar una aplicació Firefox OS, tindries que consultar <a href="/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS" title="/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS">Creant i instal·lant una pàgina Firefox OS</a>.</p> +</div> +<p>Gaia és un conjunt <a href="https://developer.mozilla.org/apps" rel="nofollow">d'aplicacions web</a> que formen la cara visible de <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS">Firefox OS</a>. Tot el que veus a la pantalla de Firefox OS està creat amb tecnología web de codi obert. Això inclou la pantalla inicial i les seves aplicacions inicials. </p> +<h2 id="Obtenint_el_codi">Obtenint el codi</h2> +<p>Per obternir el codi font de Gaia, <a href="https://github.com/mozilla-b2g/gaia" title="https://github.com/mozilla-b2g/gaia">fork us on GitHub</a> and then clone your fork using <a href="http://git-scm.com/" title="http://git-scm.com/">git</a>.</p> +<pre>$ git clone https://github.com/mozilla-b2g/gaia.git</pre> +<h2 id="Running_Gaia">Running Gaia</h2> +<p>You can either run Gaia on the desktop, in Firefox, or on a compatible mobile device.</p> +<h3 id="B2G_desktop">B2G desktop</h3> +<p>B2G desktop is a desktop build of the app runtime used on Firefox OS devices which you can use to run Gaia on your desktop computer.</p> +<p>You can download a nightly build of B2G desktop from <a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/" title="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/">here</a>. Depending on what version you are targeting, you may want a specific version of latest-mozilla-b2g18. There are builds for Linux (32 bit and 64 bit), Mac OS X and Windows.</p> +<p>Nightly builds come packaged with a recent version of gaia. Once you've downloaded the archive, all your need to do is extract it to a folder and run the b2g binary from the extracted folder.</p> +<pre>$ cd b2g +$ ./b2g</pre> +<p>To run B2G with your own version of Gaia for development purposes you first need to build a profile from your clone:</p> +<pre>$ cd /path/to/gaia +$ DEBUG=1 DESKTOP=0 make</pre> +<p>This will generate a directory in your <code>gaia</code> directory called <code>profile</code>. The <code>DEBUG</code> part runs Gaia as hosted apps on a built-in web server, rather than the default packaged apps which have to be re-packaged after every change. You can find the path to the profile directory by taking a look at last line of output after running the above command, which should look like:</p> +<pre>Profile Ready: please run [b2g|firefox] -profile /path/to/gaia/profile</pre> +<p>You can then run B2G Desktop with your generated profile like so:</p> +<pre>$ ./b2g /path/to/gaia/profile</pre> +<p>If you want to you can build your own B2G desktop from source.</p> +<h3 id="Using_Gaia_in_Firefox">Using Gaia in Firefox</h3> +<p>It's also possible to run Gaia inside of Firefox. This gives you the advantages of having a rapid development cycle, as well as standard web development tools and debuggers. See <a href="/en-US/docs/Mozilla/Firefox_OS/Using_Gaia_in_Firefox" title="/en-US/docs/Mozilla/Firefox_OS/Using_Gaia_in_Firefox">Using Gaia in Firefox</a> for details on how to do this.</p> +<h3 id="Using_Gaia_on_a_device">Using Gaia on a device</h3> +<p>If you have a compatible mobile device you can also run Gaia by flashing it with Firefox OS. See <a href="/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS" title="Mozilla/Firefox_OS/Building_and_installing_Firefox_OS">Building and installing Firefox OS</a> for details on how to do this. We also have documentation for <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Testing" title="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing">how to test Firefox OS</a>.</p> +<h2 id="Unit_tests">Unit tests</h2> +<p>See <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/Gaia_unit_tests" title="Mozilla/Firefox_OS/Platform/Testing/Gaia_unit_tests">Gaia unit tests</a> for documentation about how to create and run unit tests for Gaia.</p> +<h2 id="Filing_bugs">Filing bugs</h2> +<p>Bugs are filed on Bugzilla under <a href="https://bugzilla.mozilla.org/buglist.cgi?product=Boot2Gecko&component=Gaia&resolution=---" rel="nofollow">Boot2Gecko > Gaia</a>. File a new bug <a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Boot2Gecko" title="https://bugzilla.mozilla.org/enter_bug.cgi?product=Boot2Gecko">under the Gaia component</a> (or one of the sub-components).</p> +<h2 id="Contributing_to_Gaia">Contributing to Gaia</h2> +<p>Mozilla depends on contributions from the open source community to help develop Gaia apps and we'd love you to get involved.</p> +<p>Some great places to find some bugs to start hacking on:</p> +<ul> + <li><a href="https://bugzilla.mozilla.org/buglist.cgi?quicksearch=component:gaia%20sw:polish%20@nobody;list_id=4566236" rel="nofollow">Unowned Gaia polish bugs on Bugzilla</a></li> + <li><a href="http://www.joshmatthews.net/bugsahoy/?b2g=1" rel="nofollow">Mentored bugs</a></li> +</ul> +<h3 id="Coding_style_basics">Coding style basics</h3> +<ul> + <li>Background: + <ul> + <li><a href="/en-US/docs/Developer_Guide/Coding_Style#General_practices" title="Developer_Guide/Coding_Style#General_practices">Coding Style: General practices</a></li> + <li><a href="/en-US/docs/Developer_Guide/Coding_Style#JavaScript_practices" title="Developer_Guide/Coding_Style#JavaScript_practices">Coding Style: JavaScript practices</a></li> + <li><a href="/en-US/docs/Developer_Guide/Coding_Style#Naming_and_formatting_guide" title="Developer_Guide/Coding_Style#Naming_and_formatting_guide">Coding Style: Naming and formatting guide</a></li> + </ul> + </li> + <li>Make sure HTML files are declared <code><!DOCTYPE html></code> (that is, as HTML5 documents). If you don't, Internet Explorer 9 and later will load them in compatibility mode.</li> + <li>Include the <code>"use strict";</code> statement (just like that, including the quotes) to the top of your JavaScript files to put them into strict mode.</li> + <li>Always use two spaces for indentation, rather than tabs.</li> + <li>Please use line breaks to separate logical bits of code!</li> + <li>Multi-word file names should use the "underscore" character to separate words, <code>like_this.js</code>.</li> + <li>Use single quotes instead of double quotes for strings.</li> +</ul> +<h4 id="Additional_rules">Additional rules</h4> +<p>Bad:</p> +<pre>if (expression) doSomething(); +</pre> +<p>Correct:</p> +<pre>if (expression) { + doSomething(); +} +</pre> +<p>If you're working on the system app, check out the guidance listed <a href="https://groups.google.com/d/msg/mozilla.dev.gaia/rEhSrw6XmT4/UNvE7qW9pgYJ" title="See_here_for_some_rules._https://groups.google.com/d/msg/mozilla.dev.gaia/rEhSrw6XmT4/UNvE7qW9pgYJ">here</a>.</p> +<p>Before submitting a patch we recommend you run <a href="http://closure-linter.googlecode.com/svn/trunk/closure_linter/gjslint.py" title="http://closure-linter.googlecode.com/svn/trunk/closure_linter/gjslint.py">gjslint</a> on it to check for any style errors:</p> +<pre>gjslint --nojsdoc my_file.js</pre> +<h3 id="Submitting_a_patch">Submitting a patch</h3> +<p>First file or assign a bug to yourself on <a href="https://bugzilla.mozilla.org/buglist.cgi?product=Boot2Gecko&component=Gaia&resolution=---" title="https://bugzilla.mozilla.org/buglist.cgi?product=Boot2Gecko&component=Gaia&resolution=---">Bugzilla</a>, you'll need a Bugzilla account.</p> +<p>Then create a branch on your fork of Gaia:</p> +<pre>$ git branch branchname +$ git checkout branchname</pre> +<p>Commit your changes:</p> +<pre>$ git add /file/to/add +$ git commit -m "Bug XXXXX - Fix the broken Gaia and save the world"</pre> +<p>Push your branch:</p> +<pre>$ git push origin branchname</pre> +<p>Send a pull request by navigating to the branch in your fork on GitHub and finding the pull request button.</p> +<p>To request a review of your patch, <a href="http://globau.wordpress.com/2013/10/21/github-pull-requests-and-bugzilla/">attach the pull request</a> to the bug in Bugzilla by referencing the URL of the pull request, and set the review ("r") flag to "?" and enter the bugzilla ID of one of the <a href="https://wiki.mozilla.org/Modules/FirefoxOS" title="https://wiki.mozilla.org/Modules/FirefoxOS">module owners and peers</a> (very important - otherwise your bug will not likely be seem by anyone). The <a href="https://addons.mozilla.org/en-US/firefox/addon/github-tweaks-for-bugzilla/" title="https://addons.mozilla.org/en-US/firefox/addon/github-tweaks-for-bugzilla/">Github tweaks for bugzilla extension on AMO</a> can help automate this process by automatically creating the attachment and adding it to the bug; you will still need to set the review flag on Bugzilla.</p> +<p>The reviewer may ask you to make some changes; you may need to amend the original commit and force push it to the original branch/pull request. Once they're is happy with your patch, they will merge it into the master branch for you. Before they do this they would prefer it if you could squash all your changes into a single commit, so your contribution can be tracked easily.</p> +<p>The person who merge the commit (usually the reviewer) would add a <code>r=</code> flag in the comment of the merge commit.</p> +<h2 id="Make_options">Make options</h2> +<p>There are many undocumented nor unsupported environment variable presists in the Makefile. Do not depend on them as they may be removed in the future.</p> +<h3 id="Default">Default</h3> +<pre>make</pre> +<p>Make a profile with packaged apps, lunachable by B2G Desktop and can be pushed to device.</p> +<h3 id="Debug_make">Debug make</h3> +<pre>DEBUG=1 make</pre> +<p>The <code>DEBUG</code> part runs Gaia as hosted apps on a built-in web server, rather than the default packaged apps which have to be re-packaged after every change. Launch the profile with the latest Firefox Nightly will also give you nice B2G specific panels on the Firefox Developer Tools.</p> +<h3 id="Push_to_device">Push to device</h3> +<pre>make install-gaia + +make reset-gaia</pre> +<p>With <code>adb</code> (Android Debug Bridge) setup, these make targets will push Gaia to the device. <code>reset-gaia</code> will purge the profile and all other webapps before pushing the new Gaia copy.</p> +<h3 id="Selective_build">Selective build</h3> +<pre>APP=system make + +APP=system make install-gaia</pre> +<p>With a profile already exists, <code>APP</code> allow you to specify which app to re-package, instead of re-pack and re-push all the Gaia apps.</p> +<h3 id="High_resolution_image_assets">High resolution image assets</h3> +<pre>GAIA_DEV_PIXELS_PER_PX=1.5 make</pre> +<p>When packaging the app, replace images with their <code>*@1.5x.(gif|jpg|png)</code> ones if such image exists.</p> +<p>Gaia is currently targetting HBGA (320x240), qHD (540×960) and WVGA (480×800) only; use GAIA_DEV_PIXELS_PER_PX to make sure the images looks sharp on qHD and WVGA devices. see <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag#A_pixel_is_not_a_pixel" title="https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag#A_pixel_is_not_a_pixel">A pixel is not a pixel</a> for more information about device pixels per css pixels.</p> +<h3 id="Script_compression_and_optimization">Script compression and optimization</h3> +<pre>GAIA_OPTIMIZE=1 make</pre> +<p>Concate and optimize build-in app's javascript to improve load time.</p> +<h3 id="Preference_shortcuts">Preference shortcuts</h3> +<pre>NOFTU=1 +</pre> +<p>Disable First time user guide.</p> +<pre>REMOTE_DEBUGGER=1</pre> +<p>Enable debug with adb tool</p> +<pre>DEVICE_DEBUG=1</pre> +<p>While in OS version > 1.2, specify this param when you want debug FirefoxOS webapp with App Manager</p> +<h3 id="Distribution_and_market_customization_build">Distribution and market customization build</h3> +<pre>GAIA_DISTRIBUTION_DIR=./dir</pre> +<p>Read <a href="https://wiki.mozilla.org/B2G/MarketCustomizations" title="https://wiki.mozilla.org/B2G/MarketCustomizations">Customization Overview</a> for detail.</p> +<h2 id="Contacting_the_Team">Contacting the Team</h2> +<ul> + <li><a href="https://lists.mozilla.org/listinfo/dev-gaia" rel="nofollow">Gaia Mailing List</a></li> + <li>#gaia IRC channel on irc.mozilla.org</li> +</ul> diff --git a/files/ca/archive/b2g_os/platform/gaia/index.html b/files/ca/archive/b2g_os/platform/gaia/index.html new file mode 100644 index 0000000000..9fcfc619f0 --- /dev/null +++ b/files/ca/archive/b2g_os/platform/gaia/index.html @@ -0,0 +1,75 @@ +--- +title: Gaia +slug: Archive/B2G_OS/Platform/Gaia +tags: + - B2G + - Gaia + - Mobile + - NeedsTranslation + - TopicStub +translation_of: Archive/B2G_OS/Platform/Gaia +--- +<p>Gaia is the user interface level of <a href="/en-US/docs/Mozilla/Firefox_OS" title="Mozilla/Firefox_OS">Firefox OS</a>. 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 <a href="/en-US/docs/en-US/HTML" title="HTML">HTML</a>, <a href="/en-US/docs/CSS" title="CSS">CSS</a>, and <a href="/en-US/docs/JavaScript" title="JavaScript">JavaScript</a>. Its only interface to the underlying operating system and hardware is through standard Web APIs, which are implemented by <a href="/en-US/docs/Gecko" title="Gecko">Gecko</a>.</p> +<p>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).</p> +<p>Third party applications onto the device installed alongside Gaia can be launched by Gaia.</p> +<table class="topicpage-table"> + <tbody> + <tr> + <td> + <h2 class="Documentation" id="Documentation" name="Documentation">Documentation about Gaia</h2> + <dl> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Introduction_to_Gaia" title="Mozilla/Boot_to_Gecko/Introduction to Gaia">Introduction to Gaia</a></dt> + <dd> + 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.</dd> + <dt> + <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Gaia_apps">Gaia apps</a></dt> + <dd> + Information on each of the default apps available in the Gaia family, including tips on how to use them, and how to modify them.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Hacking" title="Mozilla/Boot_to_Gecko/Gaia hacking guide">Gaia hacking guide</a></dt> + <dd> + A guide to hacking and modifying the Gaia interface.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Build_System_Primer" title="/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Build_System_Primer">Gaia Build System Primer</a></dt> + <dd> + Most of the meaningful work for the build steps are performed by the scripts that live inside the build/ subdirectory of Gaia.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Hacking_Tips_And_FAQ" title="/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Hacking_Tips_And_FAQ">Gaia Hacking Tips And FAQ</a></dt> + <dd> + A list of helpful tips and frequently asked questions around hacking on Gaia.</dd> + </dl> + <p><span class="alllinks"><a href="/en-US/docs/tag/Gaia" title="tag/B2G">View All...</a></span></p> + </td> + <td> + <h2 class="Community" id="Community" name="Community">Getting help from the community</h2> + <p>If you're working with Gaia, or developing Gaia applications, there are community resources to help you!</p> + <ul> + <li>Consult the Boot to Gecko project forum: {{ DiscussionList("dev-gaia", "mozilla.dev.gaia") }}</li> + </ul> + <ul> + <li>Ask your question on Mozilla's Gaia IRC channel: <a href="irc://irc.mozilla.org/gaia" title="irc://irc.mozilla.org/gaia">#gaia</a></li> + </ul> + <p><span class="alllinks"><a class="external" href="http://www.catb.org/~esr/faqs/smart-questions.html" title="http://www.catb.org/~esr/faqs/smart-questions.html">Don't forget about the <em>netiquette</em>...</a></span></p> + <br> + <h2 class="Related_Topics" id="Related_Topics" name="Related_Topics">Related topics</h2> + <ul> + <li><a href="/en-US/docs/Mobile" title="Mobile">Mobile</a></li> + <li><a href="/en-US/docs/Web" title="/en-US/docs/Web">Web Technology for developer</a> + <ul> + <li><a href="/en-US/docs/HTML" title="HTML">HTML</a></li> + <li><a href="/en-US/docs/CSS" title="CSS">CSS</a></li> + <li><a href="/en-US/docs/JavaScript" title="JavaScript">JavaScript</a></li> + </ul> + </li> + <li><a href="/en-US/docs/WebAPI" title="/en-US/docs/WebAPI">WebAPI</a></li> + </ul> + <h2 class="Tools" id="Resources" name="Resources">Resources</h2> + <ul> + <li><a href="/en-US/docs/Mozilla/Firefox_OS/Architecture" title="Mozilla/Firefox_OS/Architecture">Firefox OS architecture overview</a></li> + </ul> + </td> + </tr> + </tbody> +</table> +<p> </p> diff --git a/files/ca/archive/b2g_os/platform/index.html b/files/ca/archive/b2g_os/platform/index.html new file mode 100644 index 0000000000..5708ef1ee5 --- /dev/null +++ b/files/ca/archive/b2g_os/platform/index.html @@ -0,0 +1,82 @@ +--- +title: The Firefox OS platform +slug: Archive/B2G_OS/Platform +tags: + - B2G + - Firefox OS + - Landing + - NeedsTranslation + - TopicStub +translation_of: Archive/B2G_OS/Platform +--- +<p>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.</p> +<table class="topicpage-table"> + <tbody> + <tr> + <td> + <h2 class="Documentation" id="Documentation" name="Documentation">Documentation about the Firefox OS platform</h2> + <dl> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia" title="/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia">Gaia</a></dt> + <dd> + Documentation about Gaia, the user interface application for Firefox OS devices; this is a Web application running atop the Firefox OS software stack.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Gonk" title="/en-US/docs/Mozilla/Firefox_OS/Platform/Gonk">Gonk</a></dt> + <dd> + Documentation about Gonk, the operating system layer underneath Gaia. This consists of a Linux kernel and a hardware abstraction layer to which Gecko communicates.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Gecko" title="/en-US/docs/Mozilla/Gecko">Gecko</a></dt> + <dd> + 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.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Security" title="/en-US/docs/Mozilla/Firefox_OS/Security"> Security</a></dt> + <dd> + Documentation about security in Firefox OS; this includes topics about security devices from every perspective: for app developers, device integrators, and so forth.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Feature_support_chart" title="/en-US/docs/Mozilla/Firefox_OS/Platform/Feature_support_chart">Feature support chart</a></dt> + <dd> + A chart of which features are available in which types of Firefox OS builds.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Architecture" title="/en-US/docs/Mozilla/Firefox_OS/Platform/Architecture">Firefox OS architecture overview</a></dt> + <dd> + An overview of how Firefox OS is structured internally; this is primarily of interest to platform developers and people doing porting work.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Apps_architecture" title="/en-US/docs/Mozilla/Firefox_OS/Platform/Apps_architecture">Firefox OS apps architecture</a></dt> + <dd> + An overview of the application model on Firefox OS.</dd> + <dt> + <a href="/en-US/docs/Mozilla/Firefox_OS/Platform/Settings_list" title="/en-US/docs/Mozilla/Firefox_OS/Platform/Settings_list">Firefox OS settings list</a></dt> + <dd> + A list of common setting names that can be used with the <a href="/en-US/docs/WebAPI/Settings" title="/en-US/docs/WebAPI/Settings">Settings</a> API.</dd> + </dl> + <p><span class="alllinks"><a href="/en-US/docs/tag/B2G" title="/en-US/docs/tag/B2G">View All...</a></span></p> + </td> + <td> + <h2 class="Community" id="Community" name="Community">Getting help from the community</h2> + <p>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!</p> + <ul> + <li>Consult the Boot to Gecko project forum: {{ DiscussionList("dev-b2g", "mozilla.dev.b2g") }}</li> + </ul> + <ul> + <li>Ask your question on Mozilla's Boot to Gecko IRC channel: <a class="link-irc" href="irc://irc.mozilla.org/b2g" title="irc://irc.mozilla.org/b2g">#b2g</a></li> + </ul> + <p><span class="alllinks"><a class="external" href="http://www.catb.org/~esr/faqs/smart-questions.html" title="http://www.catb.org/~esr/faqs/smart-questions.html">Don't forget about the <em>netiquette</em>...</a></span></p> + <br> + <h2 class="Related_Topics" id="Related_Topics" name="Related_Topics">Related topics</h2> + <ul> + <li><a href="/en-US/docs/Mobile" title="en-US/docs/Mobile">Mobile</a></li> + <li><a href="/en-US/docs/HTML" title="en-US/docs/HTML">HTML</a></li> + <li><a href="/en-US/docs/CSS" title="en-US/docs/CSS">CSS</a></li> + <li><a href="/en-US/docs/JavaScript" title="en-US/docs/JavaScript">JavaScript</a></li> + </ul> + <h2 class="Tools" id="Resources">Resources</h2> + <ul> + <li><a class="link-https" href="https://wiki.mozilla.org/B2G/FAQ" title="B2G/FAQ">Mozilla wiki FAQ</a></li> + <li><a class="link-https" href="https://wiki.mozilla.org/B2G/Schedule_Roadmap" title="https://wiki.mozilla.org/B2G/Schedule_Roadmap">Roadmap</a></li> + <li><a href="/en-US/docs/Mozilla/Firefox_OS/Feature_support_chart" title="/en-US/docs/Mozilla/Firefox_OS/Feature_support_chart">Feature support chart</a></li> + </ul> + </td> + </tr> + </tbody> +</table> +<p> </p> diff --git a/files/ca/archive/b2g_os/using_the_b2g_emulators/index.html b/files/ca/archive/b2g_os/using_the_b2g_emulators/index.html new file mode 100644 index 0000000000..412c1d6236 --- /dev/null +++ b/files/ca/archive/b2g_os/using_the_b2g_emulators/index.html @@ -0,0 +1,75 @@ +--- +title: Ús de l'emulador B2G +slug: Archive/B2G_OS/Using_the_B2G_emulators +translation_of: Archive/B2G_OS/Using_the_B2G_emulators +--- +<p><span id="result_box" lang="ca"><span class="hps">Aquest</span> <span class="hps">article</span> <span class="hps">proporciona una</span> <span class="hps">guia</span> abreujada <span class="hps atn">d'</span><span>alguns</span> <span class="hps">punts</span> <span class="hps">clau que</span> <span class="hps">has</span><span class="hps"> de saber</span> <span class="hps">quan</span> <span class="hps">s'utilitza</span> <span class="hps">l'arrencada</span> <span class="hps">per</span> <span class="hps">emular Gecko</span><span>.</span> <span class="hps">Això no</span> <span class="hps">pretén ser un</span> <span class="hps">manual d'usuari</span><span>,</span> <span class="hps">sinó</span> <span class="hps">que simplement</span> <span class="hps">et</span> <span class="hps">dirà</span> <span class="hps">algunes</span> <span class="hps">coses</span> <span class="hps">útils</span> <span class="hps">que</span> <span class="hps">no</span> <span class="hps">pot</span>s <span class="hps">aprendre</span> <span class="hps">pel teu</span> <span class="hps">compte</span><span>.</span><br> + <br> + <span class="hps">Aquesta</span> <span class="hps">guia</span> <span class="hps">assumeix</span> <span class="hps">que</span> <span class="hps">ja ha</span>s <span class="hps">construït</span> <span class="hps">un dels</span> <span class="hps">emuladors</span><span>,</span> <span class="hps">i</span> <span class="hps">si</span> <span class="hps">no</span> <span class="hps">és</span> <span class="hps">així</span><span>,</span> <span class="hps">retornar a </span></span> <a href="/en/Mozilla/Boot_to_Gecko/Building_and_installing_Boot_to_Gecko" title="en/Mozilla/Boot_to_Gecko/Building_and_installing_Boot_to_Gecko">Construint i instal·lant l'arrencada amb Gecko</a>!</p> +<h2 id="Sobre_els_emulators_B2G">Sobre els emulators B2G</h2> +<p><span id="result_box" lang="ca"><span class="hps">Hi ha dos</span> <span class="hps">emuladors</span> <span class="hps">B2G</span><span> (Built to Gecko).</span> <span class="hps">El primer</span><span>,</span> <span class="hps">construït</span> <span class="hps">mitjançant</span> <span class="hps">la configuració de</span> <span class="hps atn">"</span><span>emulador</span> <span class="hps">x86</span><span>"</span> <span class="hps">quan</span> <span class="hps">s'executa</span> <span class="hps">config.sh</span><span>,</span> <span class="hps">és</span> <span class="hps">un emulador</span> <span class="hps">de dispositius</span> <span class="hps">x86</span><span>.</span> <span class="hps">Si</span> <span class="hps">bé</span> <span class="hps">això és</span> <span class="hps">molt</span> <span class="hps">més</span> <span class="hps">ràpid que</span> <span class="hps">emula</span>r <span class="hps">el processador</span> <span class="hps">ARM</span><span>,</span> <span class="hps">no</span> <span class="hps">és</span> <span class="hps">tan precis</span> <span class="hps">una representació</span> <span class="hps">de com funcionarà en un</span> <span class="hps">dispositiu</span> <span class="hps">real</span><span>.</span> <span class="hps">Configuri l'</span> <span class="hps atn">"</span><span>emulador</span><span>"</span> <span class="hps">quan</span> <span class="hps">s'executa</span> <span class="hps">config.sh</span> <span class="hps">per mostra</span>r <span class="hps">l'emulador</span> <span class="hps">de dispositius</span> <span class="hps">ARM</span><span>.</span></span></p> +<div class="note"> + <strong>Nota:</strong> <span id="result_box" lang="ca"><span class="hps">En</span> <span class="hps">els</span> <span class="hps">últims</span> <span class="hps">mesos</span> <span class="hps">l'equip</span> <span class="hps">d'automatització</span> <span class="hps">ha</span> <span class="hps">deixat</span> <span class="hps">d'usar</span> <span class="hps">l'emulador</span> <span class="hps">x86</span> per <span class="hps">causes de</span> <span class="hps">problemes</span> <span class="hps">d'estabilitat</span><span>.</span> <span class="hps">Per</span> <span class="hps">tant</span><span>,</span> <span class="hps">hi ha una</span> <span class="hps">bona</span> <span class="hps">possibilitat que</span> <span class="hps">les</span> <span class="hps">coses</span> <span class="hps">podrien no</span><span class="hps"> funcionar</span> <span class="hps">en absolut en</span> <span class="hps">un emulador</span> <span class="hps">x86</span><span>.</span> <span class="hps">Utilitzeu</span> <span class="hps">l'emulador</span> <span class="hps">ARM</span> <span class="hps">si no</span> <span class="hps">teniu molt bones raons</span> <span class="hps">per</span> <span class="hps">fer el</span> <span class="hps">contrari</span></span>.</div> +<p><span id="result_box" lang="ca"><span class="hps">Quan hagueu</span> <span class="hps">seleccionat</span><span>,</span> <span class="hps">configurat</span> <span class="hps">i</span> <span class="hps">construït un</span> <span class="hps">emulador</span><span>,</span> <span class="hps">la resta</span> <span class="hps">funciona de la</span> <span class="hps">mateixa</span> <span class="hps">manera</span> <span class="hps">des del</span> <span class="hps">punt de</span> <span class="hps">vista de l'usuari</span><span>,</span> <span class="hps">de manera que</span> <span class="hps">la resta</span> <span class="hps">d'aquesta</span> <span class="hps">guia</span> <span class="hps">és</span> <span class="hps">comuna a</span> <span class="hps">tots dos</span><span>.</span></span></p> +<div class="note"> + <strong>Nota:</strong> <span id="result_box" lang="ca"><span class="hps">En</span> <span class="hps">Mac</span> <span class="hps">OS</span> <span class="hps">X</span><span>,</span> <span class="hps">l'emulador</span> <span class="hps">B2G</span> <span class="hps">requereix un</span> <span class="hps">processador</span> <span class="hps">Core</span> <span class="hps">2 Duo</span> <span class="hps">o</span> <span class="hps">superior</span><span>,</span> <span class="hps">és a dir</span><span>,</span> <span class="hps">un sistema</span> <span class="hps">que</span> <span class="hps">sigui</span> <span class="hps">compatible</span> <span class="hps">amb</span> <span class="hps">Mac</span> <span class="hps">OS</span> <span class="hps">X</span> <span class="hps">10.7</span> <span class="hps atn">"</span><span>Lion</span><span>"</span><span>.</span> <span class="hps">En</span> <span class="hps">realitat</span> <span class="hps">no ha d'estar</span> <span class="hps atn">executant </span><span>Lion</span><span>,</span> <span class="hps">només</span> <span class="hps">ha de ser</span> <span class="hps">compatible</span> <span class="hps">amb</span> <span class="hps">ell</span></span>.</div> +<h2 id="Iniciant_lemulador">Iniciant l'emulador</h2> +<p><span id="result_box" lang="ca"><span class="hps">Per iniciar</span> <span class="hps">l'emulador</span> <span class="hps">B2G</span><span>,</span> <span class="hps">escriviu el següent ordre</span></span>:</p> +<pre>./run-emulator.sh +</pre> +<p><span id="result_box" lang="ca"><span class="hps">Aquest</span> <span class="hps">s'encarregarà</span> <span class="hps">de</span> <span class="hps">totes</span> <span class="hps">les</span> <span class="hps">tasques</span> <span class="hps">d'inici</span> <span class="hps">de l'emulador per a tu</span><span>.</span> <span class="hps">Ara</span> <span class="hps">a esperar</span> <span class="hps">pacientment que</span> <span class="hps">l'emulador</span> <span class="hps">s'inicii</span> <span class="hps">i</span> <span class="hps">arrenqui</span> <span class="hps">Gecko</span><span>.</span> <span class="hps">Es</span> <span class="hps">pot</span> <span class="hps">prendre un</span> <span class="hps">parell</span> <span class="hps">de minuts</span><span>,</span> <span class="hps">així</span> <span class="hps">que</span> <span class="hps">sigui</span> <span class="hps">pacient</span><span>.</span></span></p> +<h2 id="Quan_lemulador_no_funciona">Quan l'emulador no funciona</h2> +<p><span id="result_box" lang="ca"><span class="hps">De vegades</span><span>,</span> <span class="hps">l'emulador</span> <span class="hps">no s'inicia</span><span>.</span> <span class="hps">Benvingut</span> <span class="hps">a la vora sagnant</span> <span class="hps">de la tecnologia</span><span>!</span> <span class="hps">Aquests</span> <span class="hps">són</span> <span class="hps">alguns</span> <span class="hps">consells</span> <span class="hps">per a la</span> <span class="hps">resolució</span> <span class="hps">de problemes</span></span>.</p> +<h3 id="Assegureu-vos_que_el_servidor_adb_sestà_executant"><span class="short_text" id="result_box" lang="ca"><span class="hps">Assegureu-vos que</span> <span class="hps">el servidor</span> <span class="hps">adb s'està</span> <span class="hps">executant</span></span></h3> +<p><span id="result_box" lang="ca"><span class="hps">Això</span> <span class="hps">sol succeir</span> <span class="hps">perquè</span> <span class="hps">el servidor</span> <span class="hps">adb</span> <span class="hps">que s'encarrega</span> <span class="hps">d'interactuar</span> <span class="hps">amb</span> <span class="hps">el dispositiu</span> <span class="hps">emulat</span> <span class="hps">no</span> <span class="hps">està</span> <span class="hps">funcionant</span> <span class="hps">bé</span> <span class="hps">o</span> <span class="hps">funciona malament</span><span>.</span></span></p> +<div class="note"> + <p><strong>Nota:</strong> <span id="result_box" lang="ca"><span class="hps">Si</span> <span class="hps"> estàs</span> <span class="hps">utilitzant el</span> <span class="hps">adb</span> <span class="hps">construït</span> <span class="hps">pel sistema</span> <span class="hps">de construcció</span> <span class="hps">B2G</span> <span class="hps atn">(</span><span>que</span> <span class="hps">probablement</span> <span class="hps">és</span><span>)</span><span>,</span> <span class="hps">és que</span> <span class="hps">està al directoti </span></span><code>$B2G/out/host/<platform>/bin</code><span id="result_box" lang="ca"><span>.</span> <span class="hps">En</span> <span class="hps">Mac</span><span>,</span> <span class="hps">és a </span></span><code>$B2G/out/host/darwin-x86/bin</code><span id="result_box" lang="ca"><span>,</span> <span class="hps">per</span> <span class="hps">exemple</span><span>.</span></span></p> +</div> +<p>Mira a veure si <code>adb</code> el feu treballar mentre s'executa:</p> +<pre>ps aux | grep adb +</pre> +<p><span id="result_box" lang="ca"><span class="hps">Si</span> <span class="hps">ho fa</span><span>, fes</span> <span class="hps">el següent</span> <span class="hps">per</span> <span class="hps">eliminar-lo,</span> <span class="hps">perquè</span> <span class="hps">és</span> <span class="hps">probable</span> <span class="hps">que</span> <span class="hps">no</span> <span class="hps">funcioni</span> <span class="hps">correctament</span></span>.</p> +<pre>adb kill-server +</pre> +<p>Si no ho fa, fes això:</p> +<pre>adb start-server +</pre> +<p><span id="result_box" lang="ca"><span class="hps">A</span> <span class="hps">continuació</span><span>,</span> <span class="hps">prova d'executar</span> <span class="hps">l'emulador de</span> <span class="hps">nou</span><span>.</span> <span class="hps">Si</span> <span class="hps">encara no</span> <span class="hps">funciona</span><span>,</span> <span class="hps">és hora</span> <span class="hps">de visitar</span>l'</span><span id="result_box" lang="ca"><span class="hps">ajuda</span></span><span id="result_box" lang="ca"> <a href="irc://irc.mozilla.org/b2g" title="irc://irc.mozilla.org/b2g"><span class="hps">#</span> <span class="hps">b2g</span></a> <span class="hps">a</span> <span class="hps">irc.mozilla.org</span></span></p> +<h3 id="Esborra_els_valors_de_configuració"><span class="short_text" id="result_box" lang="ca"><span class="hps">Esborra</span> <span class="hps">els</span> <span class="hps">valors</span> <span class="hps">de configuració</span></span></h3> +<p><span id="result_box" lang="ca"><span class="hps">De vegades</span><span>,</span> <span class="hps">les no actualitzacions</span> <span class="hps">de configuració</span> <span class="hps">del</span> <span class="hps">dispositiu</span> <span class="hps">emulat</span> <span class="hps">pot</span> <span class="hps">fer que</span> <span class="hps">es</span> <span class="hps">comportin malament</span><span>.</span> <span class="hps">Pots</span> <span class="hps">eliminar la</span> <span class="hps">base</span> <span class="hps">de dades</span> <span class="hps">IndexedDB</span> <span class="hps">per fixar-ho, per fer això</span> <span class="hps">és de la següent manera</span><span>:</span><br> + <br> + <span class="hps">Assegura't que</span> <span class="hps">adb</span> <span class="hps">està en</span> <span class="hps">marxa</span><span>,</span> <span class="hps">tal com</span> <span class="hps">es</span> <span class="hps">descriu</span> <span class="hps">en</span> <span class="hps atn">{</span><span class="atn">{</span><span>anch</span> <span class="hps atn">(</span><span class="hps atn">"</span><span>Comproveu que el</span> <span class="hps">servidor</span> adb <span class="hps">s'està</span> <span class="hps">executant</span><span>"</span><span>)</span><span>}</span><span>}</span><span>.</span><br> + <span class="hps">Inicieu</span> <span class="hps">l'emulador</span><span>.</span><br> + <span class="hps">al terminal</span> <span class="hps">de l'amfitrió</span><span>,</span> <span class="hps">aneu al directori</span> <span class="hps">arrel</span> <span class="hps">de construcció</span> <span class="hps">de codi</span> <span class="hps">per</span> <span class="hps">l'emulador</span><span>,</span> <span class="hps">a continuació</span><span>,</span> <span class="hps">escriviu</span><span>:</span> </span><code>out/host/<platform>/bin/adb -e shell</code><span id="result_box" lang="ca"><span>,</span> <span class="hps">pel</span> <span class="hps">Mac</span><span>,</span> <span class="hps">aquest</span> <span class="hps">seria</span> </span><br> + <code>out/host/darwin-x86/bin/adb -e shell</code>.</p> +<p><span id="result_box" lang="ca"> <span class="hps">Ara</span> <span class="hps">ets al</span> <span class="hps">terminal</span> <span class="hps">adb</span><span>,</span> <span class="hps">i</span> <span class="hps">pot</span>s <span class="hps">executar</span> <span class="hps">comandaments </span><span class="hps">del dispositiu</span> <span class="hps">emulat</span><span>.</span> <span class="hps">Anem</span> <span class="hps">a aturar el</span> <span class="hps">B2G</span> <span class="hps">al</span> <span class="hps">dispositiu</span><span>:</span> </span><code>stop b2g</code><br> + <span id="result_box" lang="ca"> <span class="hps">Elimina la</span> <span class="hps">base</span> <span class="hps">de dades</span> <span class="hps">IndexedDB</span><span>:</span> </span><code>rm -rf /data/local/indexedDB</code>.<span id="result_box" lang="ca"><span>.</span><br> + <span class="hps">Reinicieu</span> <span class="hps">B2G</span> <span class="hps">al</span> <span class="hps">dispositiu</span> <span class="hps">emulat</span><span>:</span> </span><code>start b2g</code>.</p> +<p><br> + <span lang="ca"><span class="hps">Esperem</span> <span class="hps">que en aquest</span> <span class="hps">punt</span> <span class="hps">siguis</span><span class="hps"> a la</span> <span class="hps">interfície</span> <span class="hps">de Gaia</span> <span class="hps">i</span> <span class="hps">tot vagi</span> <span class="hps">bé</span><span>.</span></span></p> +<h2 id="Configurant_lemulador">Configurant l'emulador</h2> +<p><span id="result_box" lang="ca"><span class="hps">Hi ha diverses</span> <span class="hps">opcions que</span> <span class="hps">es</span> <span class="hps">poden</span> <span class="hps">canviar</span> <span class="hps">per ajustar</span> <span class="hps">l'emulador</span> <span class="hps">per ser</span> <span class="hps">més</span> <span class="hps">similar al</span> <span class="hps">dispositiu que</span> <span class="hps">voleu</span> <span class="hps">emular</span><span>.</span> <span class="hps">Aquesta</span> <span class="hps">secció</span> <span class="hps">proporciona informació</span> <span class="hps">bàsica</span> <span class="hps">sobre com</span> <span class="hps">fer això</span><span>.</span> <span class="hps">Podeu ajustar</span> <span class="hps">la configuració</span> <span class="hps">de l'emulador</span> <span class="hps">editant</span> <span class="hps">l'script</span> </span><code>run-emulator.sh</code><span id="result_box" lang="ca"> <span class="hps atn">(</span><span>o</span><span>,</span> <span class="hps">ideal</span><span>,</span> <span class="hps">fent una còpia</span> <span class="hps">de la mateixa)</span><span>.</span> <span class="hps">Només</span> <span class="hps">alguns</span> <span class="hps">dels</span> <span class="hps">paràmetres</span> <span class="hps">més</span> <span class="hps">útils</span> <span class="hps">són</span> <span class="hps">discutits</span> <span class="hps">aquí</span><span>,</span> <span class="hps">hauràs de buscar</span> <span class="hps">en el<a href="http://www.qemu.org/" title="http://www.qemu.org/"> lloc</a></span><a href="http://www.qemu.org/" title="http://www.qemu.org/"> <span class="hps">de</span> <span class="hps">qemu</span></a> <span class="hps">per</span> <span class="hps">obtenir</span> <span class="hps">detalls</span> <span class="hps">sobre</span> <span class="hps">la resta</span><span>.</span></span></p> +<div class="note"> + <strong>Apunt:</strong> <span id="result_box" lang="ca"><span class="hps">Crear una</span> <span class="hps">còpia</span> </span><code>run-emulator.sh</code><span id="result_box" lang="ca"> <span class="hps">per a cada</span> <span class="hps">dispositiu que voleu</span> <span class="hps">simular</span><span>, el que</span> <span class="hps">fa</span>rà <span class="hps">que</span> <span class="hps">sigui</span> <span class="hps">fàcil</span> <span class="hps">de posar en</span> <span class="hps">marxa</span> <span class="hps">amb</span> <span class="hps">diferents</span> <span class="hps">configuracions</span></span>.</div> +<h3 id="Canviant_skins">Canviant skins</h3> +<p><br> + <span id="result_box" lang="ca"><span class="hps">Per defecte</span><span>,</span> <span class="hps">l'emulador</span> <span class="hps">s'inicia</span> <span class="hps">en mode</span> <span class="hps">HVGA</span><span>,</span> <span class="hps">això</span> <span class="hps">és mig</span><span class="atn">-</span><span>VGA</span><span>,</span> <span class="hps">o 320x480</span> <span class="hps">píxels</span><span>.</span> <span class="hps">Això</span> <span class="hps">s'especifica</span> <span class="hps">amb el </span><span>paràmetre</span> </span><code>-skin </code><span id="result_box" lang="ca"><span class="hps">donat</span> <span class="hps">per</span> <span class="hps">l'emulador</span> <span class="hps">quan</span> <span class="hps">s'arrenca</span><span>.</span> P<span class="hps">ots</span> <span class="hps">canviar</span> <span class="hps">a una </span><span class="hps">visualització</span> <span class="hps">diferent</span> <span class="hps">en editar</span> <span class="hps">l'script</span> </span><code>run-emulator.sh</code><span id="result_box" lang="ca"> <span class="hps atn">(</span><span>o</span><span>,</span> <span class="hps">ideal</span><span>,</span> <span class="hps">fent una còpia</span> <span class="hps">de la mateixa)</span><span>.</span> <span class="hps">Els skins</span> <span class="hps">són</span><span>:</span></span></p> +<ul> + <li>HVGA (320x480)</li> + <li>QVGA (240x320)</li> + <li>WQVGA (240x400)</li> + <li>WQVGA432 (240x432)</li> + <li>WSVGA (1024x600)</li> + <li>WVGA800 (480x800)</li> + <li>WVGA854 (480x854)</li> + <li>WXGA720 (1280x720)</li> + <li>WXGA800 (1280x800)</li> +</ul> +<p><span id="result_box" lang="ca"><span class="hps">Els</span> <span class="hps">aspectes</span> <span class="hps">es</span> <span class="hps">troben</span> <span class="hps">al directori</span> </span><code>B2G/development/tools/emulator/skins</code><span id="result_box" lang="ca"><span>.</span> <span class="hps">Val la</span> <span class="hps">pena</span> <span class="hps">assenyalar que</span> <span class="hps">el format</span> <span class="hps">dels skins</span> <span class="hps">és</span> <span class="hps">molt simple</span><span>,</span> <span class="hps">si</span> <span class="hps">ens</span> <span class="hps">fixem</span> <span class="hps">en ells</span><span>,</span> <span class="hps">són</span> <span class="hps">simplement</span> <span class="hps">carpetes</span> <span class="hps">plenes</span> <span class="hps">d'arxius</span> <span class="hps">PNG</span> <span class="hps">per als diversos</span> <span class="hps">objectes de la</span> <span class="hps">interfície</span> <span class="hps">d'usuari</span> <span class="hps">i</span> <span class="hps">un arxiu</span> <span class="hps">de text</span> <span class="hps">anomenat</span> </span><code>layout</code><span id="result_box" lang="ca"><span class="hps"> que</span> <span class="hps">descriu</span> <span class="hps">el disseny de la</span> <span class="hps">interfície</span> <span class="hps">i</span> <span class="hps">l'àrea de la</span> <span class="hps">pantalla</span><span>.</span> <span class="hps">És</span> <span class="hps">bastant simple</span> <span class="hps">de crear</span> <span class="hps">skins</span> <span class="hps">personalitzats</span> <span class="hps">si cal</span><span>.</span></span></p> +<h3 id="Canviant_la_capacitat_de_la_memoria">Canviant la capacitat de la memoria</h3> +<p><span id="result_box" lang="ca"><span class="hps">Una altra</span> <span class="hps">opció</span> <span class="hps">que potser desitgis o</span> <span class="hps">necessiti</span>s <span class="hps">és configurar</span> <span class="hps">el tamany</span> <span class="hps">de la memòria del</span> <span class="hps">dispositiu</span><span>.</span> <span class="hps">El valor</span> <span class="hps">per</span> <span class="hps">defecte</span> <span class="hps">és</span> <span class="hps">de 512</span> <span class="hps">MB</span><span>, però,</span> <span class="hps">si</span> <span class="hps">el</span> <span class="hps">dispositiu que</span> <span class="hps">està</span> <span class="hps">emulant</span> <span class="hps">té </span></span><span id="result_box" lang="ca"><span class="hps">més</span> <span class="hps">o menys</span></span><span id="result_box" lang="ca"> <span class="hps">memòria</span> <span>,</span> <span class="hps">és</span> <span class="hps">important</span> <span class="hps">que ho</span> <span class="hps">ajustis</span><span> a</span> mida<span>,</span> <span class="hps">per garantir</span> <span class="hps">que la teva aplicació</span> <span class="hps">s'executarà en el</span> <span class="hps">dispositiu</span> <span class="hps">d'inici on </span><span class="hps">desitjis</span> <span class="hps">treballar</span><span>.</span> <span class="hps">Per</span> <span class="hps">fer això</span><span>, canvia el</span> <span class="hps">valor</span> <span class="hps">del</span><span class="hps"> paràmetre </span></span><code>-memory </code><span id="result_box" lang="ca"> <span class="hps">per a la mida</span> <span class="hps">que necessites</span> <span class="hps">en megabytes</span><span>.</span> <span class="hps">Altres</span> <span class="hps">de</span> <span class="hps">la predeterminada</span> <span class="hps">de 512</span> <span class="hps">MB</span><span>, com son la de 256</span> <span class="hps">MB</span> <span class="hps">i 1024</span> <span class="hps">MB</span> <span class="hps">les capacitats </span> <span class="hps">probables</span> <span class="hps">que </span><span class="hps">voldràs</span> <span class="hps">provar</span><span>.</span><br> + <br> + <span class="hps">Per canviar</span> <span class="hps">la quantitat</span> <span class="hps">de capacitat</span> <span class="hps">d'emmagatzematge</span> <span class="hps">emulada</span> <span class="hps">per al</span> <span class="hps">dispositiu</span> <span class="hps atn">(</span><span>és a dir</span><span>,</span> <span class="hps">l'espai d'emmagatzematge</span> <span class="hps">per a les dades</span> <span class="hps">locals</span><span>,</span> <span class="hps">com</span> <span class="hps">l'emmagatzematge</span> <span class="hps">flaix</span> <span class="hps">en un telèfon</span> <span class="hps">mòbil</span> <span class="hps">o</span> <span class="hps">el disc</span> <span class="hps">dur</span> <span class="hps">d'un</span> <span class="hps">ordinador</span><span>)</span><span>, canvieu el</span> <span class="hps">valor</span> <span class="hps">del</span> <span class="hps">paràmetre</span><span> </span></span><code>-partition-size</code><span id="result_box" lang="ca"><span>.</span> <span class="hps">El valor</span> <span class="hps">per</span> <span class="hps">defecte</span> <span class="hps">és</span> <span class="hps">de 512</span> <span class="hps">MB</span><span>,</span> <span class="hps">però pot</span>s <span class="hps">especificar</span> <span class="hps">qualsevol</span> <span class="hps">mida</span> <span class="hps">en MB</span> <span class="hps">per tal</span> <span class="hps">de simular</span> <span class="hps">el tipus</span> <span class="hps">de dispositiu</span> <span class="hps">que necessites</span> <span class="hps">provar</span></span></p> +<h3 id="Connectivitat_de_la_xarxa">Connectivitat de la xarxa</h3> +<p><span id="result_box" lang="ca"><span class="hps">Si</span> <span class="hps">per</span> <span class="hps">alguna raó</span> <span class="hps">no</span> <span class="hps">pot</span>s <span class="hps">connectar</span> <span class="hps">l'emulador</span> <span class="hps">a Internet pots</span> <span class="hps">executar</span> l'ordre <span class="hps">següent</span> <span class="hps">des de la teva</span> <span class="hps">línia</span> <span class="hps">de comandament</span><span>:</span></span></p> +<pre>adb shell setprop net.dns1 10.0.2.3</pre> diff --git a/files/ca/archive/estàndards_web/index.html b/files/ca/archive/estàndards_web/index.html new file mode 100644 index 0000000000..f8c413f55c --- /dev/null +++ b/files/ca/archive/estàndards_web/index.html @@ -0,0 +1,48 @@ +--- +title: Estàndards web +slug: Archive/Estàndards_web +tags: + - Estàndards_web +translation_of: Archive/Web_Standards +--- +<p> +</p> +<div>Els <b>estàndards web</b> estan dissenyats amb la idea de poder oferir el major nombre beneficis al major nombre d'usuaris, i al mateix temps, garantir la major viabilitat possible per als documents que es publiquen a la Web. Acostumar-se a utilitzar aquests estàndards, simplifica i redueix els costs de producció, i al mateix temps, es proporciona llocs que són accessibles a més gent i també més tipus de dispositius d'Internet. Aquells llocs que segueixen aquestes indicacions, continuaran funicionant correctament paral·lalelament a l'evolució dels navegadors d'escriptori, com també a mesura que altres dispositius d'Internet arribin al mercat. {{ Ref(1) }}</div> +<table class="topicpage-table"> +<tbody><tr><td> +<h4 id="Documentaci.C3.B3" name="Documentaci.C3.B3"> <a>Documentació</a> </h4> +<dl><dt> <a class="external" href="http://www.mozilla.org/docs/web-developer/upgrade_2.html">Fer servir els estàndards web a les vostres pàgines web (en anglès)</a> +</dt><dd> <small>Aquest article explica com actualitzar el contingut de les vostres pàgines web per tal que siguin compatibles amb els estàndards web del W3C.</small> +</dd><dt> <a class="external" href="http://www.neuroticweb.com/benefits/ca/Els%20beneficis%20dels%20Estandards%20Web">Els beneficis dels Estàndards Web pels teus visitants, pels teus clients i per tu!</a> +</dt></dl> +<dl><dt><a class="external" href="http://www.softcatala.org/articles/article11.htm">Els estàndards oberts garanteixen la llibertat a escollir</a> +</dt></dl> +<p><span class="alllinks"><a>Vegeu-ho tot...</a></span> +</p> +</td> +<td> +<h4 id="Comunitat" name="Comunitat"> Comunitat </h4> +<ul><li> Els fòrums de Mozilla... +</li></ul> +<p>{{ DiscussionList("dev-web-development", "mozilla.dev.web-development") }} +</p> +<ul><li> <a class="external" href="http://webstandards.org/">The Web Standards Project</a> +</li><li> <a class="external" href="http://webdevfeedhouse.com/">WebDev FeedHouse</a> +</li></ul> +<h4 id="Eines" name="Eines"> Eines </h4> +<ul><li> <a class="link-https" href="https://addons.mozilla.org/extensions/moreinfo.php?id=60&application=firefox">Extensió Web Developer</a> +</li><li> <a class="external" href="http://validator.w3.org/">Servei de validació del codi web (W3C)</a> +</li><li> <a class="external" href="http://jigsaw.w3.org/css-validator/">Servei de validació dels fulls CSS (W3C)</a> +</li></ul> +<p><span class="alllinks"><a>Vegeu-ho tot...</a></span> +</p> +<h4 id="Temes_relacionats" name="Temes_relacionats"> Temes relacionats </h4> +<dl><dd> <a href="ca/CSS">CSS</a>, <a href="ca/DHTML">DHTML</a>, <a href="ca/HTML">HTML</a>, <a href="ca/Web_Development">Web Development</a>, <a href="ca/XHTML">XHTML</a>, <a href="ca/XML">XML</a> +</dd></dl> +</td></tr></tbody></table> +<hr> +<p><small>{{ Note(1) }} - <a class="external" href="http://webstandards.org/">The Web Standards Project</a></small> +</p><p><span class="comment">Categories</span> +</p><p><span class="comment">Interwiki Language Links</span> +</p><p><br> +</p>{{ languages( { "de": "de/Web-Standards", "en": "en/Web_Standards", "fr": "fr/Standards_du_Web" } ) }} diff --git a/files/ca/archive/index.html b/files/ca/archive/index.html new file mode 100644 index 0000000000..ecede3f417 --- /dev/null +++ b/files/ca/archive/index.html @@ -0,0 +1,20 @@ +--- +title: Archive of obsolete content +slug: Archive +translation_of: Archive +--- +<p>(ca translation)</p> + +<p>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.</p> + +<p>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 <strong>not</strong> be used for building new Web sites or apps for modern browsers. It's here for historical reference only.</p> + +<div class="note"> +<p><strong>Note to writers:</strong> 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 <strong>extremely</strong> 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 <a href="https://chat.mozilla.org/#/room/#mdn:mozilla.org">MDN Web Docs chat room</a> before moving content here.</p> +</div> + +<p>{{SubpagesWithSummaries}}</p> + +<h2 id="Subnav">Subnav</h2> + +<p>{{ListSubpages("/en-US/docs/Archive", 2, 0, 1)}}</p> diff --git a/files/ca/archive/mozilla/index.html b/files/ca/archive/mozilla/index.html new file mode 100644 index 0000000000..0acec76e6d --- /dev/null +++ b/files/ca/archive/mozilla/index.html @@ -0,0 +1,10 @@ +--- +title: Archived Mozilla and build documentation +slug: Archive/Mozilla +tags: + - NeedsTranslation + - TopicStub +translation_of: Archive/Mozilla +--- +<p>These articles are archived, obsolete documents about Mozilla, Gecko, and the process of building Mozilla projects.</p> +<p>{{SubpagesWithSummaries}}</p> diff --git a/files/ca/archive/mozilla/xul/controls_xul/index.html b/files/ca/archive/mozilla/xul/controls_xul/index.html new file mode 100644 index 0000000000..a192e2288c --- /dev/null +++ b/files/ca/archive/mozilla/xul/controls_xul/index.html @@ -0,0 +1,479 @@ +--- +title: Controls XUL +slug: Archive/Mozilla/XUL/Controls_XUL +translation_of: Archive/Mozilla/XUL/XUL_controls +--- +<p>LA taula següent llista els controls d'interfície d'usuari que proveeix <a class="internal" href="/Ca/XUL" title="ca/XUL">XUL</a>. Consulta el <a class="internal" href="/Ca/XUL_Tutorial" title="ca/XUL Tutorial">Tutorial de XUL</a> per una guia pas a pas de com es fan servir i la <a class="internal" href="/Ca/XUL_Reference" title="ca/XUL Reference">Referència XUL</a> per més informació.</p> +<table class="standard-table"> + <tbody> + <tr> + <td><strong><button></strong> + <p>A button that can be pressed by the user.</p> + <pre> +<button label="Save" accesskey="S"/> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Adding_Buttons" title="en/XUL_Tutorial/Adding_Buttons">More information about the button element</a>.</li> + <li><a href="/en/XUL/button" title="en/XUL/button">Button Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlsguide-button.gif" class="internal" src="/@api/deki/files/150/=Controlsguide-button.gif"></td> + </tr> + <tr> + <td><strong><button type="menu"></strong> + <p>A button that has a drop down menu attached to it. Pressing the button opens the menu.</p> + <pre> +<button type="menu" label="View"> + <menupopup> + <menuitem label="List"/> + <menuitem label="Details"/> + </menupopup> +</button> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/More_Button_Features#Button_with_menupopup" title="en/XUL_Tutorial/More_Button_Features#Button_with_menupopup">More information about this type of menu button element</a>.</li> + <li><a href="/en/XUL/button" title="en/XUL/button">Button Reference</a></li> + <li>Related Elements: {{ XULElem("menupopup") }} {{ XULElem("menuitem") }}</li> + </ul> + </td> + <td><img alt="Image:Controlsguide-button-menu.gif" class="internal" src="/@api/deki/files/147/=Controlsguide-button-menu.gif"></td> + </tr> + <tr> + <td><strong><button type="menu-button"></strong> + <p>A button that that has a separate arrow button with a menu attached to it. Unlike with the '<code>menu</code>' type, a separate action may be performed when the main part of the button is pressed.</p> + <pre> +<button type="menu-button" label="New"> + <menupopup> + <menuitem label="New Document"/> + <menuitem label="New Image"/> + </menupopup> +</button> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/More_Button_Features#Button_with_menupopup" title="en/XUL_Tutorial/More_Button_Features#Button_with_menupopup">More information about this type of menu button element</a>.</li> + <li><a href="/en/XUL/button" title="en/XUL/button">Button Reference</a></li> + <li>Related Elements: {{ XULElem("menupopup") }} {{ XULElem("menuitem") }}</li> + </ul> + </td> + <td><img alt="Image:Controlsguide-button-menu-button.gif" class="internal" src="/@api/deki/files/146/=Controlsguide-button-menu-button.gif"></td> + </tr> + <tr> + <td><strong><checkbox></strong> + <p>A control that may be turned on and off, typically used to create options which may be enabled or disabled.</p> + <pre> +<checkbox label="Show Toolbar Labels" checked="true"/> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Input_Controls#Checkboxes_and_Radio_Elements" title="en/XUL_Tutorial/Input_Controls#Checkboxes_and_Radio_Elements">More information about the checkbox element</a>.</li> + <li><a href="/en/XUL/checkbox" title="en/XUL/checkbox">Checkbox Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlsguide-checkbox.gif" class="internal" src="/@api/deki/files/152/=Controlsguide-checkbox.gif"></td> + </tr> + <tr> + <td><strong><colorpicker></strong> + <p>A control that may be used to select a color.</p> + <pre> +<colorpicker color="#FF0000"/> +</pre> + <ul> + <li><a href="/en/XUL/colorpicker" title="en/XUL/colorpicker">Colorpicker Reference</a></li> + </ul> + </td> + <td><span class="comment">Image:Controlsguide-colorpicker.png</span></td> + </tr> + <tr> + <td><strong><colorpicker type="button"></strong> + <p>A specialized type of color picker which shows only a button but when pressed, a popup will be displayed to select a color from.</p> + <pre> +<colorpicker type="button" color="#CC0080"/> +</pre> + <ul> + <li><a href="/en/XUL/colorpicker" title="en/XUL/colorpicker">Colorpicker Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlsguide-colorpicker-button.png" class="internal" src="/@api/deki/files/154/=Controlsguide-colorpicker-button.png"></td> + </tr> + <tr> + <td><strong><datepicker></strong> + <p>{{ Fx_minversion_inline(3) }}</p> + <p>A set of textboxes which may be used to allow the entry of a date.</p> + <pre> +<datepicker value="2007/03/26"/> +</pre> + <ul> + <li><a href="/en/XUL/datepicker" title="en/XUL/datepicker">Datepicker Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlsguide-datepicker.gif" class="internal" src="/@api/deki/files/157/=Controlsguide-datepicker.gif"></td> + </tr> + <tr> + <td><strong><datepicker type="grid"></strong> + <p>{{ Fx_minversion_inline(3) }}</p> + <p>A datepicker which displays a calendar grid for selecting a date.</p> + <pre> +<datepicker type="grid" value="2007/02/20"/> +</pre> + <ul> + <li><a href="/en/XUL/datepicker" title="en/XUL/datepicker">Datepicker Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlsguide-datepicker-grid.png" class="internal" src="/@api/deki/files/156/=Controlsguide-datepicker-grid.png"></td> + </tr> + <tr> + <td><strong><datepicker type="popup" ></strong> + <p>{{ Fx_minversion_inline(3) }}</p> + <p>A datepicker which displays a set of textboxes for date entry, but also has a button for displaying a popup calendar grid.</p> + <pre> +<datepicker type="popup" value="2008/08/24"/> +</pre> + <ul> + <li><a href="/en/XUL/datepicker" title="en/XUL/datepicker">Datepicker Reference</a></li> + </ul> + </td> + <td> </td> + </tr> + <tr> + <td><strong><description></strong> + <p>The description element is used for descriptive text.</p> + <pre> +<description> + Select a time for the event to start +</description> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Adding_Labels_and_Images#Description_Element" title="en/XUL_Tutorial/Adding_Labels_and_Images#Description_Element">More information about the description element</a>.</li> + <li><a href="/en/XUL/description" title="en/XUL/description">Description Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-description.gif" class="internal" src="/@api/deki/files/118/=Controlguide-description.gif"></td> + </tr> + <tr> + <td><strong><groupbox></strong> + <p>A groupbox displays a labelled box around other user interface controls.</p> + <pre> +<groupbox> + <caption label="Network"/> +</groupbox> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Groupboxes" title="en/XUL_Tutorial/Groupboxes">More information about the groupbox element</a>.</li> + <li><a href="/en/XUL/groupbox" title="en/XUL/groupbox">Groupbox Reference</a></li> + <li>Related Elements: {{ XULElem("caption") }}</li> + </ul> + </td> + <td><img alt="Image:Controlguide-groupbox.png" class="internal" src="/@api/deki/files/120/=Controlguide-groupbox.png"></td> + </tr> + <tr> + <td><strong><image></strong> + <p>An image specified by a URL.</p> + <pre> +<image src="start.png"/> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Adding_Labels_and_Images#Images" title="en/XUL_Tutorial/Adding_Labels_and_Images#Images">More information about the image element</a>.</li> + <li><a href="/en/XUL/image" title="en/XUL/image">Image Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-image.png" class="internal" src="/@api/deki/files/121/=Controlguide-image.png"></td> + </tr> + <tr> + <td><strong><label></strong> + <p>A label is used to create text which labels a nearby control.</p> + <pre> +<label control="volume" value="Volume:"/> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Adding_Labels_and_Images#Label_Element" title="en/XUL_Tutorial/Adding_Labels_and_Images#Label_Element">More information about the label element</a>.</li> + <li><a href="/en/XUL/label" title="en/XUL/label">Label Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-label.gif" class="internal" src="/@api/deki/files/122/=Controlguide-label.gif"></td> + </tr> + <tr> + <td><strong><listbox></strong> + <p>The listbox is used to select an item from a list of labelled items.</p> + <pre> +<listbox> + <listitem label="Chocolate"/> + <listitem label="Jelly Beans"/> +</listbox> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/List_Controls#List_Boxes" title="en/XUL_Tutorial/List_Controls#List_Boxes">More information about the listbox element</a>.</li> + <li><a href="/en/XUL/listbox" title="en/XUL/listbox">Listbox Reference</a></li> + <li>Related Elements: {{ XULElem("listcell") }} {{ XULElem("listcols") }} {{ XULElem("listcol") }} {{ XULElem("listhead") }} {{ XULElem("listheader") }} {{ XULElem("listitem") }}</li> + </ul> + </td> + <td><img alt="Image:Controlguide-listbox.gif" class="internal" src="/@api/deki/files/124/=Controlguide-listbox.gif"></td> + </tr> + <tr> + <td><strong><menulist></strong> + <p>A menulist (or combobox) is used to create a control with a drop down to select a value.</p> + <pre> +<menulist> + <menupopup> + <menuitem label="Lions" value="l"/> + <menuitem label="Tigers" value="t"/> + <menuitem label="Bears" value="b"/> + </menupopup> +</menulist> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/List_Controls#Drop-down_Lists" title="en/XUL_Tutorial/List_Controls#Drop-down_Lists">More information about the menulist element</a>.</li> + <li><a href="/en/XUL/menulist" title="en/XUL/menulist">Menulist Reference</a></li> + <li>Related Elements: {{ XULElem("menupopup") }} {{ XULElem("menuitem") }}</li> + </ul> + </td> + <td><img alt="Image:Controlguide-menulist.gif" class="internal" src="/@api/deki/files/127/=Controlguide-menulist.gif"></td> + </tr> + <tr> + <td><strong><menulist editable="true"></strong> + <p>An editable menulist is like a standard menulist except that the selected value is displayed in a textbox where it may be modified directly or values not in the popup list may be entered.</p> + <pre> +<menulist editable="true"> + <menupopup> + <menuitem label="Elephants" value="Elephants"/> + <menuitem label="Kangaroos" value="Kangaroos"/> + <menuitem label="Bats" value="Bats"/> + </menupopup> +</menulist> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/List_Controls#Editable_menulist" title="en/XUL_Tutorial/List_Controls#Editable_menulist">More information about the editable menulist element</a>.</li> + <li><a href="/en/XUL/menulist" title="en/XUL/menulist">Menulist Reference</a></li> + <li>Related Elements: {{ XULElem("menupopup") }} {{ XULElem("menuitem") }}</li> + </ul> + </td> + <td><img alt="Image:Controlguide-menulist-editable.png" class="internal" src="/@api/deki/files/126/=Controlguide-menulist-editable.png"></td> + </tr> + <tr> + <td><strong><progressmeter></strong> + <p>A progress meter is used to display the progress of a lengthy task.</p> + <pre> +<progressmeter value="40"/> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Progress_Meters" title="en/XUL_Tutorial/Progress_Meters">More information about the progressmeter element</a>.</li> + <li><a href="/en/XUL/progressmeter" title="en/XUL/progressmeter">Progressmeter Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-progressmeter.png" class="internal" src="/@api/deki/files/129/=Controlguide-progressmeter.png"></td> + </tr> + <tr> + <td><strong><radio></strong> + <p>A radio button is used when only one of a set of options may be selected at a time.</p> + <pre> +<radiogroup> + <radio label="Light" value="light"/> + <radio label="Heavy" value="heavy"/> +</radiogroup> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Input_Controls#Checkboxes_and_Radio_Buttons" title="en/XUL_Tutorial/Input_Controls#Checkboxes_and_Radio_Buttons">More information about the radio element</a>.</li> + <li><a href="/en/XUL/radio" title="en/XUL/radio">Radio Reference</a></li> + <li>Related Elements: {{ XULElem("radiogroup") }}</li> + </ul> + </td> + <td><img alt="Image:Controlguide-radio.png" class="internal" src="/@api/deki/files/130/=Controlguide-radio.png"></td> + </tr> + <tr> + <td><strong><richlistbox></strong> + <p>The richlistbox displays a list of items where one or more may selected. Unlike the listbox which is designed to display only text, the richlistbox may display any type of content.</p> + <pre> +<richlistbox> + <richlistitem> + <image src="happy.png"/> + </richlistitem> + <richlistitem> + <image src="sad.png"/> + </richlistitem> + <richlistitem> + <image src="angry.png"/> + </richlistitem> +</richlistbox> +</pre> + <ul> + <li><a href="/en/XUL/richlistbox" title="en/XUL/richlistbox">Richlistbox Reference</a></li> + <li>Related Elements: {{ XULElem("richlistitem") }}</li> + </ul> + </td> + <td><img alt="Image:Controlguide-richlistbox.gif" class="internal" src="/@api/deki/files/131/=Controlguide-richlistbox.gif"></td> + </tr> + <tr> + <td><strong><scale></strong> + <p>{{ Fx_minversion_inline(3) }}</p> + <p>A scale displays a bar with a thumb that may be slid across the bar to select between a range of values.</p> + <pre> +<scale min="1" max="10"/> +</pre> + <ul> + <li><a href="/en/XUL/scale" title="en/XUL/scale">Scale Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-scale.png" class="internal" src="/@api/deki/files/134/=Controlguide-scale.png"></td> + </tr> + <tr> + <td><strong><textbox></strong> + <p>A textbox which allows a single line of text to be entered.</p> + <pre> +<textbox value="firefox"/> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Input_Controls#Text_Entry_Fields" title="en/XUL_Tutorial/Input_Controls#Text_Entry_Fields">More information about the textbox element</a>.</li> + <li><a href="/en/XUL/textbox" title="en/XUL/textbox">Textbox Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-textbox.png" class="internal" src="/@api/deki/files/140/=Controlguide-textbox.png"></td> + </tr> + <tr> + <td><strong><textbox multiline="true"></strong> + <p>A textbox which allows multiple lines of text to be entered.</p> + <pre> +<textbox multiline="true"/> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Input_Controls#Multiline_textbox" title="en/XUL_Tutorial/Input_Controls#Multiline_textbox">More information about the multiple line textbox element</a>.</li> + <li><a href="/en/XUL/textbox" title="en/XUL/textbox">Textbox Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-textbox-multiline.gif" class="internal" src="/@api/deki/files/135/=Controlguide-textbox-multiline.gif"></td> + </tr> + <tr> + <td><strong><textbox type="autocomplete"></strong> + <p>A textbox which provides a dropdown showing matches that would complete what the user types. The user can select one to have it filled into the textbox.</p> + <pre> +<textbox type="autocomplete" autocompletesearch="history"/> +</pre> + <ul> + <li><a href="/en/XUL/textbox" title="en/XUL/textbox">Textbox Reference</a></li> + </ul> + </td> + <td> </td> + </tr> + <tr> + <td><strong><textbox type="number"></strong> + <p>{{ Fx_minversion_inline(3) }}</p> + <p>A textbox for entering numbers. Two arrow buttons are displayed for cycling through values.</p> + <pre> +<textbox type="number" min="1" max="20"/> +</pre> + <ul> + <li><a href="/en/XUL/textbox" title="en/XUL/textbox">Textbox Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-textbox-number.png" class="internal" src="/@api/deki/files/138/=Controlguide-textbox-number.png"></td> + </tr> + <tr> + <td><strong><textbox type="password"></strong> + <p>A textbox that hides the characters typed, used for entering passwords.</p> + <pre> +<textbox type="password"/> +</pre> + <ul> + <li><a href="/en/XUL/textbox" title="en/XUL/textbox">Textbox Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-textbox-password.png" class="internal" src="/@api/deki/files/139/=Controlguide-textbox-password.png"></td> + </tr> + <tr> + <td><strong><timepicker></strong> + <p>{{ Fx_minversion_inline(3) }}</p> + <p>A timepicker displays a set of textboxes for entering a time.</p> + <pre> +<timepicker value="12:05"/> +</pre> + <ul> + <li><a href="/en/XUL/timepicker" title="en/XUL/timepicker">Timepicker Reference</a></li> + </ul> + </td> + <td><img alt="Image:Controlguide-timepicker.gif" class="internal" src="/@api/deki/files/141/=Controlguide-timepicker.gif"></td> + </tr> + <tr> + <td><strong><toolbarbutton></strong> + <p>A button that is displayed on a toolbar.</p> + <pre> +<toolbarbutton label="Reload"/> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Toolbars" title="en/XUL_Tutorial/Toolbars">More information about the toolbarbutton element</a>.</li> + <li><a href="/en/XUL/toolbarbutton" title="en/XUL/toolbarbutton">Toolbarbutton Reference</a></li> + <li>Related Elements: {{ XULElem("toolbar") }}</li> + </ul> + </td> + <td><img alt="Image:Controlguide-toolbarbutton.png" class="internal" src="/@api/deki/files/143/=Controlguide-toolbarbutton.png"></td> + </tr> + <tr> + <td><strong><toolbarbutton type="menu"></strong> + <p>A button that is displayed on a toolbar with a drop down menu attached to it.</p> + <pre> +<toolbarbutton type="menu" label="Show"> + <menupopup> + <menuitem label="Toolbars"/> + <menuitem label="Status Bar"/> + </menupopup> +</toolbarbutton> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Toolbars" title="en/XUL_Tutorial/Toolbars">More information about this type of menu toolbarbutton element</a>.</li> + <li><a href="/en/XUL/toolbarbutton" title="en/XUL/toolbarbutton">Toolbarbutton Reference</a></li> + <li>Related Elements: {{ XULElem("menupopup") }} {{ XULElem("menuitem") }} {{ XULElem("toolbar") }}</li> + </ul> + </td> + <td> </td> + </tr> + <tr> + <td><strong><toolbarbutton type="menu-button"></strong> + <p>A button on a toolbar that that has a separate arrow button with a menu attached to it. Unlike with the '<code>menu</code>' type, a separate action may be performed when the main part of the button is pressed.</p> + <pre> +<toolbarbutton type="menu-button" label="Open"> + <menupopup> + <menuitem label="Open Changed Files"/> + <menuitem label="Open All"/> + </menupopup> +</toolbarbutton> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Toolbars" title="en/XUL_Tutorial/Toolbars">More information about this type of menu toolbarbutton element</a>.</li> + <li><a href="/en/XUL/toolbarbutton" title="en/XUL/toolbarbutton">Toolbarbutton Reference</a></li> + <li>Related Elements: {{ XULElem("menupopup") }} {{ XULElem("menuitem") }} {{ XULElem("toolbar") }}</li> + </ul> + </td> + <td> </td> + </tr> + <tr> + <td><strong><tree></strong> + <p>A tree displays a hierarchy of items in multiple columns.</p> + <pre> +<tree> + <treecols> + <treecol label="Name" flex="1"/> + <treecol label="Size" flex="1"/> + </treecols> + <treechildren> + <treeitem> + <treerow> + <treecell label="Popcorn"/> + <treecell label="Large"/> + </treerow> + </treeitem> + <treeitem> + <treerow> + <treecell label="Root Beer"/> + <treecell label="Small"/> + </treerow> + </treeitem> + </treechildren> +</tree> +</pre> + <ul> + <li><a href="/en/XUL_Tutorial/Trees" title="en/XUL_Tutorial/Trees">More information about the tree element</a>.</li> + <li><a href="/en/XUL/tree" title="en/XUL/tree">Tree Reference</a></li> + <li>Related Elements: {{ XULElem("treecell") }} {{ XULElem("treechildren") }} {{ XULElem("treecol") }} {{ XULElem("treecols") }} {{ XULElem("treeitem") }} {{ XULElem("treerow") }}</li> + </ul> + </td> + <td><img alt="Image:Controlguide-tree.gif" class="internal" src="/@api/deki/files/144/=Controlguide-tree.gif"></td> + </tr> + </tbody> +</table> +<p>{{ languages( { "fr": "fr/Les_contr\u00f4les_XUL", "ja": "ja/XUL_controls", "pl": "pl/Kontrolki_XUL" } ) }}</p> diff --git a/files/ca/archive/mozilla/xul/index.html b/files/ca/archive/mozilla/xul/index.html new file mode 100644 index 0000000000..6ce1b2260e --- /dev/null +++ b/files/ca/archive/mozilla/xul/index.html @@ -0,0 +1,108 @@ +--- +title: XUL +slug: Archive/Mozilla/XUL +translation_of: Archive/Mozilla/XUL +--- +<p> </p> +<div class="callout-box"> + <strong><a class="internal" href="/ca/XUL_Tutorial" title="ca/XUL Tutorial">Tutorial de XUL</a></strong><br> + Un tutorial guiat que t'ajudarà a iniciar-te amb XUL, font original de <a class="external" href="http://www.xulplanet.com">XULPlanet</a>.</div> +<div> + <strong>XUL</strong> (Llenguatge d'interfície d'usuari amb XML) és el llenguatge basat en <a class="internal" href="/ca/XML" title="ca/XML">XML</a> de Mozilla que proporciona la característica de construir aplicacions multi plataforma que poden ser executades mentre estàs connectat o no a Internet. Aquestes aplicacions són fàcilment configurables amb texts alternatius, gràfics i dissenys de manera que poden ser portades i traduïdes per diversos mercats. El desenvolupador web ja familiaritzat amb l'HTML dinàmic (<a class="internal" href="/ca/DHTML" title="ca/DHTML">DHTML</a>) aprendrà XUL ràpidament i podrà començar a desenvolupar aplicacions de forma immediata. Consulta la <a class="external" href="http://www.hevanet.com/acorbin/xul/top.xul" title="http://www.hevanet.com/acorbin/xul/top.xul">Taula Periòdica de XUL</a> en Firefox o un altre navegador basat en <a class="internal" href="/ca/Gecko" title="ca/Gecko">Gecko</a> per veure exemples i demostracions.</div> +<table class="topicpage-table"> + <tbody> + <tr> + <td> + <h4 id="Documentation" name="Documentation"><a href="/Special:Tags?tag=XUL&language=ca" title="Special:Tags?tag=XUL&language=ca">Documentació</a></h4> + <dl> + <dt> + <a href="/ca/XUL_Reference" title="ca/XUL_Reference">Referència XUL</a></dt> + <dd> + <small>Consulta també la documentació de <a href="/ca/Preferences_System" title="ca/Preferences_System">prefwindow</a> al MDC.</small></dd> + </dl> + <dl> + <dt> + <a href="/ca/XUL_controls" title="ca/XUL_controls">Controls XUL</a></dt> + <dd> + <small>Un llistat ràpid de tots els controls diponibles a XUL.</small></dd> + </dl> + <dl> + <dt> + <a href="/ca/The_Joy_of_XUL" title="ca/The_Joy_of_XUL">Descripció General de XUL</a></dt> + <dd> + <small>Exposa les principals característiques i components de XUL.</small></dd> + </dl> + <dl> + <dt> + <a href="/ca/XUL/PopupGuide" title="ca/XUL/PopupGuide">Guia de Menus i Finestres emergents</a></dt> + <dd> + <small>Una guia per fer servir els panells de menus i finestres emergents.</small></dd> + </dl> + <dl> + <dt> + <a href="/ca/XUL/Template_Guide" title="ca/XUL/Template_Guide">Guia de Plantilles</a></dt> + <dd> + <small>Una guia detallada sobre les plantilles de XUL, que vol dir generant contingut desde una font de dades.</small></dd> + </dl> + <dl> + <dt> + <a href="/ca/DragDrop/Drag_and_Drop" title="Drag and Drop">Arrossegar i Deixar anar</a></dt> + <dd> + <small>Com gestionar les operacions d'arrossegar i deixar anar.</small></dd> + </dl> + <dl> + <dt> + <a href="/ca/XUL_Overlays" title="ca/XUL_Overlays">Superposicions</a></dt> + <dd> + <small>Les Superposicions es fan servir per descriure contingut extra a la interfície. Proveeixen un mecanisme poderós per extendre i personalitzar aplicacions XUL existents.</small></dd> + </dl> + <dl> + <dt> + <a href="/ca/XUL_improvements_in_Firefox_3" title="ca/XUL_improvements_in_Firefox_3">Adaptant Aplicacions per Firefox 3.0</a></dt> + <dd> + <small>Un llistat de canvis en <a href="/ca/Firefox_3_for_developers" title="ca/Firefox_3_for_developers">Firefox 3.0</a> que afecten als desenvolupadors XUL.</small></dd> + </dl> + <dl> + <dt> + <a href="/ca/Firefox_2_for_developers#For_XUL_and_extension_developers" title="ca/Firefox_2_for_developers#For_XUL_and_extension_developers">Adaptant Aplicacions XUL per Firefox 2.0</a></dt> + <dd> + <small>Un llistat de canvis en <a href="/ca/Firefox_2_for_developers" title="ca/Firefox_2_for_developers">Firefox 2.0</a> que afecten als desenvolupadors XUL.</small></dd> + </dl> + <dl> + <dt> + <a href="/ca/Adapting_XUL_Applications_for_Firefox_1.5" title="ca/Adapting_XUL_Applications_for_Firefox_1.5">Adaptant Aplicacions XUL per Firefox 1.5</a></dt> + <dd> + <small>Un llistat de canvis en <a href="/ca/Firefox_1.5_for_developers" title="ca/Firefox_1.5_for_developers">Firefox 1.5</a> que afecten als desenvolupadors XUL.</small></dd> + </dl> + <p><span class="alllinks"><a href="/Special:Tags?tag=XUL&language=ca" title="Special:Tags?tag=XUL&language=ca">Veure Tots...</a></span></p> + </td> + <td> + <h4 id="Community" name="Community">Comunitat</h4> + <ul> + <li>Consulta els forums de Mozilla...</li> + </ul> + <p>{{ DiscussionList("dev-tech-xul", "mozilla.dev.tech.xul") }}</p> + <ul> + <li><a class="external" href="http://xulplanet.com/forum/">Forums de XULPlanet</a></li> + <li><a class="link-irc" href="irc://irc.mozilla.org/xul">#xul on irc.mozilla.org</a></li> + </ul> + <h4 id="Tools" name="Tools">Utilitats</h4> + <ul> + <li><a class="external" href="/ca/docs/XUL_Explorer" title="ca/docs/XUL_Explorer">XUL Explorer</a> (a IDE XUL lleuger)</li> + <li><a class="external" href="http://ted.mielczarek.org/code/mozilla/extensiondev/">Extension developer's extension</a> (disposa un editor en temps real de XUL)</li> + <li><a class="external" href="http://forum.addonsmirror.net/index.php?showtopic=751" title="http://forum.addonsmirror.net/index.php?showtopic=751">XULRef sidebar</a></li> + <li><a class="external" href="http://www.getfirebug.com/">Firebug</a></li> + <li><a href="/ca/DOM_Inspector" title="ca/DOM_Inspector">DOM Inspector</a></li> + <li><a class="external" href="http://www.spket.com/">Spket IDE</a>, IDE per XUL/XBL</li> + </ul> + <p><span class="alllinks"><a href="/Special:Tags" title="Site Tags">Veure Tots...</a></span></p> + <h4 id="Related_Topics" name="Related_Topics">Temes Rel·lacionats</h4> + <dl> + <dd> + <a href="/ca/JavaScript" title="ca/JavaScript">JavaScript</a>, <a href="/ca/XBL" title="ca/XBL">XBL</a>, <a href="/ca/CSS" title="ca/CSS">CSS</a>, <a href="/ca/RDF" title="ca/RDF">RDF</a>, <a href="/ca/Extensions" title="ca/Extensions">Extensions</a>, <a href="/ca/XULRunner" title="ca/XULRunner">XULRunner</a></dd> + </dl> + </td> + </tr> + </tbody> +</table> +<p> </p> diff --git a/files/ca/archive/mozilla/xul/xul_reference/index.html b/files/ca/archive/mozilla/xul/xul_reference/index.html new file mode 100644 index 0000000000..bfe1e7bcad --- /dev/null +++ b/files/ca/archive/mozilla/xul/xul_reference/index.html @@ -0,0 +1,374 @@ +--- +title: XUL Reference +slug: Archive/Mozilla/XUL/XUL_Reference +translation_of: Archive/Mozilla/XUL/XUL_Reference +--- +<p>« <a href="/en-US/docs/XUL" title="en-US/XUL">XUL Reference</a> «</p> +<table class="fullwidth-table"> + <tbody> + <tr> + <th colspan="3">Tots els elements de XUL (alfabèticament)</th> + </tr> + <tr> + <td> + <p><a href="/ca/XUL/action" title="ca/XUL/action">action</a><br> + <a href="/ca/XUL/arrowscrollbox" title="ca/XUL/arrowscrollbox">arrowscrollbox</a><br> + <a href="/ca/XUL/assign" title="ca/XUL/assign">assign</a><br> + <a href="/ca/XUL/bbox" title="ca/XUL/bbox">bbox</a><br> + <a href="/ca/XUL/binding" title="ca/XUL/binding">binding</a><br> + <a href="/ca/XUL/bindings" title="ca/XUL/bindings">bindings</a><br> + <a href="/ca/XUL/box" title="ca/XUL/box">box</a><br> + <a href="/ca/XUL/broadcaster" title="ca/XUL/broadcaster">broadcaster</a><br> + <a href="/ca/XUL/broadcasterset" title="ca/XUL/broadcasterset">broadcasterset</a><br> + <a href="/ca/XUL/button" title="ca/XUL/button">button</a><br> + <a href="/ca/XUL/browser" title="ca/XUL/browser">browser</a><br> + <a href="/ca/XUL/checkbox" title="ca/XUL/checkbox">checkbox</a><br> + <a href="/ca/XUL/caption" title="ca/XUL/caption">caption</a><br> + <a href="/ca/XUL/colorpicker" title="ca/XUL/colorpicker">colorpicker</a><br> + <a href="/ca/XUL/column" title="ca/XUL/column">column</a><br> + <a href="/ca/XUL/columns" title="ca/XUL/columns">columns</a><br> + <a href="/ca/XUL/commandset" title="ca/XUL/commandset">commandset</a><br> + <a href="/ca/XUL/command" title="ca/XUL/command">command</a><br> + <a href="/ca/XUL/conditions" title="ca/XUL/conditions">conditions</a><br> + <a href="/ca/XUL/content" title="ca/XUL/content">content</a><br> + <a href="/ca/XUL/datepicker" title="ca/XUL/datepicker">datepicker</a><br> + <a href="/ca/XUL/deck" title="ca/XUL/deck">deck</a><br> + <a href="/ca/XUL/description" title="ca/XUL/description">description</a><br> + <a href="/ca/XUL/dialog" title="ca/XUL/dialog">dialog</a><br> + <a href="/ca/XUL/dialogheader" title="ca/XUL/dialogheader">dialogheader</a><br> + <a href="/ca/XUL/dropmarker" title="ca/XUL/dropmarker">dropmarker</a><br> + <a href="/ca/XUL/editor" title="ca/XUL/editor">editor</a><br> + <a href="/ca/XUL/grid" title="ca/XUL/grid">grid</a><br> + <a href="/ca/XUL/grippy" title="ca/XUL/grippy">grippy</a><br> + <a href="/ca/XUL/groupbox" title="ca/XUL/groupbox">groupbox</a><br> + <a href="/ca/XUL/hbox" title="ca/XUL/hbox">hbox</a><br> + <a href="/ca/XUL/iframe" title="ca/XUL/iframe">iframe</a><br> + <a href="/ca/XUL/image" title="ca/XUL/image">image</a><br> + <a href="/ca/XUL/key" title="ca/XUL/key">key</a><br> + <a href="/ca/XUL/keyset" title="ca/XUL/keyset">keyset</a><br> + <a href="/ca/XUL/label" title="ca/XUL/label">label</a><br> + <a href="/ca/XUL/listbox" title="ca/XUL/listbox">listbox</a><br> + <a href="/ca/XUL/listcell" title="ca/XUL/listcell">listcell</a><br> + <a href="/ca/XUL/listcol" title="ca/XUL/listcol">listcol</a><br> + <a href="/ca/XUL/listcols" title="ca/XUL/listcols">listcols</a><br> + <a href="/ca/XUL/listhead" title="ca/XUL/listhead">listhead</a><br> + <a href="/ca/XUL/listheader" title="ca/XUL/listheader">listheader</a><br> + <a href="/ca/XUL/listitem" title="ca/XUL/listitem">listitem</a></p> + </td> + <td> + <p><a href="/ca/XUL/member" title="ca/XUL/member">member</a><br> + <a href="/ca/XUL/menu" title="ca/XUL/menu">menu</a><br> + <a href="/ca/XUL/menubar" title="ca/XUL/menubar">menubar</a><br> + <a href="/ca/XUL/menuitem" title="ca/XUL/menuitem">menuitem</a><br> + <a href="/ca/XUL/menulist" title="ca/XUL/menulist">menulist</a><br> + <a href="/ca/XUL/menupopup" title="ca/XUL/menupopup">menupopup</a><br> + <a href="/ca/XUL/menuseparator" title="ca/XUL/menuseparator">menuseparator</a><br> + <a href="/ca/XUL/notification" title="ca/XUL/notification">notification</a><br> + <a href="/ca/XUL/notificationbox" title="ca/XUL/notificationbox">notificationbox</a><br> + <a href="/ca/XUL/observes" title="ca/XUL/observes">observes</a><br> + <a href="/ca/XUL/overlay" title="ca/XUL/overlay">overlay</a><br> + <a href="/ca/XUL/page" title="ca/XUL/page">page</a><br> + <a href="/ca/XUL/panel" title="ca/XUL/panel">panel</a><br> + <a href="/ca/XUL/param" title="ca/XUL/param">param</a><br> + <a href="/ca/XUL/popupset" title="ca/XUL/popupset">popupset</a><br> + <a href="/ca/XUL/preference" title="ca/XUL/preference">preference</a><br> + <a href="/ca/XUL/preferences" title="ca/XUL/preferences">preferences</a><br> + <a href="/ca/XUL/prefpane" title="ca/XUL/prefpane">prefpane</a><br> + <a href="/ca/XUL/prefwindow" title="ca/XUL/prefwindow">prefwindow</a><br> + <a href="/ca/XUL/progressmeter" title="ca/XUL/progressmeter">progressmeter</a><br> + <a href="/ca/XUL/query" title="ca/XUL/query">query</a><br> + <a href="/ca/XUL/queryset" title="ca/XUL/queryset">queryset</a><br> + <a href="/ca/XUL/radio" title="ca/XUL/radio">radio</a><br> + <a href="/ca/XUL/radiogroup" title="ca/XUL/radiogroup">radiogroup</a><br> + <a href="/ca/XUL/resizer" title="ca/XUL/resizer">resizer</a><br> + <a href="/ca/XUL/richlistbox" title="ca/XUL/richlistbox">richlistbox</a><br> + <a href="/ca/XUL/richlistitem" title="ca/XUL/richlistitem">richlistitem</a><br> + <a href="/ca/XUL/row" title="ca/XUL/row">row</a><br> + <a href="/ca/XUL/rows" title="ca/XUL/rows">rows</a><br> + <a href="/ca/XUL/rule" title="ca/XUL/rule">rule</a><br> + <a href="/ca/XUL/scale" title="ca/XUL/scale">scale</a><br> + <a href="/ca/XUL/script" title="ca/XUL/script">script</a><br> + <a href="/ca/XUL/scrollbar" title="ca/XUL/scrollbar">scrollbar</a><br> + <a href="/ca/XUL/scrollbox" title="ca/XUL/scrollbox">scrollbox</a><br> + <a href="/ca/XUL/scrollcorner" title="ca/XUL/scrollcorner">scrollcorner</a><br> + <a href="/ca/XUL/separator" title="ca/XUL/separator">separator</a><br> + <a href="/ca/XUL/spacer" title="ca/XUL/spacer">spacer</a><br> + <a href="/ca/XUL/spinbuttons" title="ca/XUL/spinbuttons">spinbuttons</a><br> + <a href="/ca/XUL/splitter" title="ca/XUL/splitter">splitter</a><br> + <a href="/ca/XUL/stack" title="ca/XUL/stack">stack</a><br> + <a href="/ca/XUL/statusbar" title="ca/XUL/statusbar">statusbar</a></p> + </td> + <td> + <p><a href="/ca/XUL/statusbarpanel" title="ca/XUL/statusbarpanel">statusbarpanel</a><br> + <a href="/ca/XUL/stringbundle" title="ca/XUL/stringbundle">stringbundle</a><br> + <a href="/ca/XUL/stringbundleset" title="ca/XUL/stringbundleset">stringbundleset</a><br> + <a href="/ca/XUL/tab" title="ca/XUL/tab">tab</a><br> + <a href="/ca/XUL/tabbrowser" title="ca/XUL/tabbrowser">tabbrowser</a> (Només Firefox desde<br> + Firefox 3/Gecko 1.9)<br> + <a href="/ca/XUL/tabbox" title="ca/XUL/tabbox">tabbox</a><br> + <a href="/ca/XUL/tabpanel" title="ca/XUL/tabpanel">tabpanel</a><br> + <a href="/ca/XUL/tabpanels" title="ca/XUL/tabpanels">tabpanels</a><br> + <a href="/ca/XUL/tabs" title="ca/XUL/tabs">tabs</a><br> + <a href="/ca/XUL/template" title="ca/XUL/template">template</a><br> + <a href="/ca/XUL/textnode" title="ca/XUL/textnode">textnode</a><br> + <a href="/ca/XUL/textbox" title="ca/XUL/textbox">textbox</a><br> + <a href="/ca/XUL/textbox_(Firefox_autocomplete)" title="ca/XUL/textbox_(Firefox_autocomplete)">textbox (Firefox autocompletació)</a><br> + <a href="/ca/XUL/textbox_(Mozilla_autocomplete)" title="ca/XUL/textbox_(Mozilla_autocomplete)">textbox (Mozilla autocompletació)</a><br> + <a href="/ca/XUL/timepicker" title="ca/XUL/timepicker">timepicker</a><br> + <a href="/ca/XUL/titlebar" title="ca/XUL/titlebar">titlebar</a><br> + <a href="/ca/XUL/toolbar" title="ca/XUL/toolbar">toolbar</a><br> + <a href="/ca/XUL/toolbarbutton" title="ca/XUL/toolbarbutton">toolbarbutton</a><br> + <a href="/ca/XUL/toolbargrippy" title="ca/XUL/toolbargrippy">toolbargrippy</a><br> + <a href="/ca/XUL/toolbaritem" title="ca/XUL/toolbaritem">toolbaritem</a><br> + <a href="/ca/XUL/toolbarpalette" title="ca/XUL/toolbarpalette">toolbarpalette</a><br> + <a href="/ca/XUL/toolbarseparator" title="ca/XUL/toolbarseparator">toolbarseparator</a><br> + <a href="/ca/XUL/toolbarset" title="ca/XUL/toolbarset">toolbarset</a><br> + <a href="/ca/XUL/toolbarspacer" title="ca/XUL/toolbarspacer">toolbarspacer</a><br> + <a href="/ca/XUL/toolbarspring" title="ca/XUL/toolbarspring">toolbarspring</a><br> + <a href="/ca/XUL/toolbox" title="ca/XUL/toolbox">toolbox</a><br> + <a href="/ca/XUL/tooltip" title="ca/XUL/tooltip">tooltip</a><br> + <a href="/ca/XUL/tree" title="ca/XUL/tree">tree</a><br> + <a href="/ca/XUL/treecell" title="ca/XUL/treecell">treecell</a><br> + <a href="/ca/XUL/treechildren" title="ca/XUL/treechildren">treechildren</a><br> + <a href="/ca/XUL/treecol" title="ca/XUL/treecol">treecol</a><br> + <a href="/ca/XUL/treecols" title="ca/XUL/treecols">treecols</a><br> + <a href="/ca/XUL/treeitem" title="ca/XUL/treeitem">treeitem</a><br> + <a href="/ca/XUL/treerow" title="ca/XUL/treerow">treerow</a><br> + <a href="/ca/XUL/treeseparator" title="ca/XUL/treeseparator">treeseparator</a><br> + <a href="/ca/XUL/triple" title="ca/XUL/triple">triple</a><br> + <a href="/ca/XUL/vbox" title="ca/XUL/vbox">vbox</a><br> + <a href="/ca/XUL/where" title="ca/XUL/where">where</a><br> + <a href="/ca/XUL/window" title="ca/XUL/window">window</a><br> + <a href="/ca/XUL/wizard" title="ca/XUL/wizard">wizard</a><br> + <a href="/ca/XUL/wizardpage" title="ca/XUL/wizardpage">wizardpage</a></p> + </td> + </tr> + </tbody> +</table> +<h1 id="XUL_Reference">XUL Reference</h1> +<p>« <a href="/en-US/docs/XUL" title="en-US/XUL">XUL Reference</a> «</p> +<table class="fullwidth-table"> + <tbody> + <tr> + <th colspan="3">Elements XUL per c</th> + </tr> + <tr> + <td> + <p> </p> + <p><u><strong>WINDOWS</strong></u></p> + <p><strong>Finestres</strong></p> + <p><a href="/ca/XUL/dialog" title="ca/XUL/dialog">dialog</a><br> + <a href="/ca/XUL/overlay" title="ca/XUL/overlay">overlay</a><br> + <a href="/ca/XUL/page" title="ca/XUL/page">page</a><br> + <a href="/ca/XUL/window" title="ca/XUL/window">window</a></p> + <p><strong>Finestres Especials</strong></p> + <p><a href="/ca/XUL/wizard" title="ca/XUL/wizard">wizard</a><br> + <a href="/ca/XUL/wizardpage" title="ca/XUL/wizardpage">wizardpage</a></p> + <p><a href="/ca/XUL/preference" title="ca/XUL/preference">preference</a><br> + <a href="/ca/XUL/preferences" title="ca/XUL/preferences">preferences</a><br> + <a href="/ca/XUL/prefpane" title="ca/XUL/prefpane">prefpane</a><br> + <a href="/ca/XUL/prefwindow" title="ca/XUL/prefwindow">prefwindow</a></p> + <p><strong>Alertes/Finestres emergents</strong></p> + <p><a href="/ca/XUL/notification" title="ca/XUL/notification">notification</a><br> + <a href="/ca/XUL/notificationbox" title="ca/XUL/notificationbox">notificationbox</a></p> + <p><a href="/ca/XUL/menupopup" title="ca/XUL/menupopup">menupopup</a><br> + <a href="/ca/XUL/popupset" title="ca/XUL/popupset">popupset</a><br> + <a href="/ca/XUL/tooltip" title="ca/XUL/tooltip">tooltip</a><br> + <a href="/ca/XUL/panel" title="ca/XUL/panel">panel</a></p> + <p><strong>Finestres de contingut en línia</strong><br> + <a href="/ca/XUL/browser" title="ca/XUL/browser">browser</a><br> + <a href="/ca/XUL/tabbrowser" title="ca/XUL/tabbrowser">tabbrowser</a> (Firefox-only starting<br> + with Firefox 3/Gecko 1.9)<br> + <a href="/ca/XUL/editor" title="ca/XUL/editor">editor</a><br> + <a href="/ca/XUL/iframe" title="ca/XUL/iframe">iframe</a></p> + <p><strong>Afegits a Finestres</strong></p> + <p><a href="/ca/XUL/titlebar" title="ca/XUL/titlebar">titlebar</a><br> + <a href="/ca/XUL/resizer" title="ca/XUL/resizer">resizer</a></p> + <p><u><strong>SECCIONS ESPECIALS DE FINESTRA</strong></u></p> + <p><strong>Barra de Menú</strong></p> + <p><a href="/ca/XUL/menu" title="ca/XUL/menu">menu</a><br> + <a href="/ca/XUL/menubar" title="ca/XUL/menubar">menubar</a></p> + <p><strong>Barra d'estat</strong></p> + <p><a href="/ca/XUL/statusbar" title="ca/XUL/statusbar">statusbar</a><br> + <a href="/ca/XUL/statusbarpanel" title="ca/XUL/statusbarpanel">statusbarpanel</a></p> + <p><br> + <span style="font-weight: bold;">Barra d'eines</span><strong> (i Paleta)</strong><br> + <br> + <a href="/ca/XUL/toolbar" title="ca/XUL/toolbar">toolbar</a><br> + <a href="/ca/XUL/toolbarbutton" title="ca/XUL/toolbarbutton">toolbarbutton</a><br> + <a href="/ca/XUL/toolbargrippy" title="ca/XUL/toolbargrippy">toolbargrippy</a><br> + <a href="/ca/XUL/toolbaritem" title="ca/XUL/toolbaritem">toolbaritem</a><br> + <a href="/ca/XUL/toolbarpalette" title="ca/XUL/toolbarpalette">toolbarpalette</a><br> + <a href="/ca/XUL/toolbarseparator" title="ca/XUL/toolbarseparator">toolbarseparator</a><br> + <a href="/ca/XUL/toolbarset" title="ca/XUL/toolbarset">toolbarset</a><br> + <a href="/ca/XUL/toolbarspacer" title="ca/XUL/toolbarspacer">toolbarspacer</a><br> + <a href="/ca/XUL/toolbarspring" title="ca/XUL/toolbarspring">toolbarspring</a><br> + <a href="/ca/XUL/toolbox" title="ca/XUL/toolbox">toolbox</a></p> + <p> </p> + <p><u><strong>ESTRUCTURES I FORMAT NAVEGABLES</strong></u></p> + <p><strong>Pestanyes</strong><br> + <a href="/ca/XUL/tab" title="ca/XUL/tab">tab</a><br> + <a href="/ca/XUL/tabbrowser" title="ca/XUL/tabbrowser">tabbrowser</a> (Firefox-only starting<br> + with Firefox 3/Gecko 1.9)<br> + <a href="/ca/XUL/tabbox" title="ca/XUL/tabbox">tabbox</a><br> + <a href="/ca/XUL/tabpanel" title="ca/XUL/tabpanel">tabpanel</a><br> + <a href="/ca/XUL/tabpanels" title="ca/XUL/tabpanels">tabpanels</a><br> + <a href="/ca/XUL/tabs" title="ca/XUL/tabs">tabs</a></p> + <p><strong>Desplaçament</strong></p> + <p><a href="/ca/XUL/scrollbar" title="ca/XUL/scrollbar">arrowscrollbox</a><br> + <a href="/ca/XUL/scrollbar" title="ca/XUL/scrollbar">scrollbar</a><br> + <a href="/ca/XUL/scrollbox" title="ca/XUL/scrollbox">scrollbox</a><br> + <a href="/ca/XUL/scrollcorner" title="ca/XUL/scrollcorner">scrollcorner</a></p> + <p><strong>Cobertes</strong></p> + <p><a href="/ca/XUL/deck" title="ca/XUL/deck">deck</a></p> + </td> + <td> + <p> </p> + <p><u><strong>ESTRUCTURES I FORMAT</strong></u></p> + <p><strong>Caixes/Piles</strong></p> + <p><a href="/ca/XUL/bbox" title="ca/XUL/bbox">bbox</a><br> + <a href="/ca/XUL/box" title="ca/XUL/box">box</a><br> + <a href="/ca/XUL/hbox" title="ca/XUL/hbox">hbox</a><br> + <a href="/ca/XUL/vbox" title="ca/XUL/vbox">vbox</a></p> + <p><a href="/ca/XUL/stack" title="ca/XUL/stack">stack</a></p> + <p><strong>Grups de caixes</strong></p> + <p><a href="/ca/XUL/groupbox" title="ca/XUL/groupbox">groupbox</a><br> + <a href="/ca/XUL/caption" title="ca/XUL/caption">caption</a></p> + <p><br> + <span style="font-weight: bold;">Graelles</span><strong> (Taules)</strong><br> + <a href="/ca/XUL/column" title="ca/XUL/column">column</a><br> + <a href="/ca/XUL/columns" title="ca/XUL/columns">columns</a><br> + <a href="/ca/XUL/grid" title="ca/XUL/grid">grid</a><br> + <a href="/ca/XUL/row" title="ca/XUL/row">row</a><br> + <a href="/ca/XUL/rows" title="ca/XUL/rows">rows</a></p> + <p><strong>Llistes</strong><br> + <a href="/ca/XUL/listbox" title="ca/XUL/listbox">listbox</a><br> + <a href="/ca/XUL/listcell" title="ca/XUL/listcell">listcell</a><br> + <a href="/ca/XUL/listcol" title="ca/XUL/listcol">listcol</a><br> + <a href="/ca/XUL/listcols" title="ca/XUL/listcols">listcols</a><br> + <a href="/ca/XUL/listhead" title="ca/XUL/listhead">listhead</a><br> + <a href="/ca/XUL/listheader" title="ca/XUL/listheader">listheader</a><br> + <a href="/ca/XUL/listitem" title="ca/XUL/listitem">listitem</a><br> + <a href="/ca/XUL/richlistbox" title="ca/XUL/richlistbox">richlistbox</a><br> + <a href="/ca/XUL/richlistitem" title="ca/XUL/richlistitem">richlistitem</a></p> + <p><br> + Arbres<br> + <a href="/ca/XUL/tree" title="ca/XUL/tree">tree</a><br> + <a href="/ca/XUL/treecell" title="ca/XUL/treecell">treecell</a><br> + <a href="/ca/XUL/treechildren" title="ca/XUL/treechildren">treechildren</a><br> + <a href="/ca/XUL/treecol" title="ca/XUL/treecol">treecol</a><br> + <a href="/ca/XUL/treecols" title="ca/XUL/treecols">treecols</a><br> + <a href="/ca/XUL/treeitem" title="ca/XUL/treeitem">treeitem</a><br> + <a href="/ca/XUL/treerow" title="ca/XUL/treerow">treerow</a><br> + <a href="/ca/XUL/treeseparator" title="ca/XUL/treeseparator">treeseparator</a></p> + <p> </p> + <p><u><strong>TEXT & VISUALS</strong></u></p> + <p><strong>Text</strong><br> + <br> + <a href="/ca/XUL/description" title="ca/XUL/description">description</a><br> + <a href="/ca/XUL/label" title="ca/XUL/label">label</a></p> + <p><a href="/ca/XUL/tooltip" title="ca/XUL/tooltip">tooltip</a></p> + <p><strong>Capceleres</strong></p> + <p><a href="/ca/XUL/dialogheader" title="ca/XUL/dialogheader">dialogheader</a><br> + <a href="/ca/XUL/titlebar" title="ca/XUL/titlebar">titlebar</a></p> + <p><br> + <strong>Espaiat</strong><br> + <a href="/ca/XUL/separator" title="ca/XUL/separator">separator</a><br> + <a href="/ca/XUL/spacer" title="ca/XUL/spacer">spacer</a></p> + <p><br> + <strong>Redimensionament</strong></p> + <p><a href="/ca/XUL/grippy" title="ca/XUL/grippy">grippy</a><br> + <a href="/ca/XUL/splitter" title="ca/XUL/splitter">splitter</a></p> + <p><a href="/ca/XUL/resizer" title="ca/XUL/resizer">resizer</a></p> + <p><strong>Imatges</strong></p> + <p><a href="/ca/XUL/image" title="ca/XUL/image">image</a></p> + <p>(May also insert <a href="/ca/SVG" title="ca/SVG">SVG</a>)</p> + <p><strong>Retroacció Visual</strong></p> + <p><a href="/ca/XUL/progressmeter" title="ca/XUL/progressmeter">progressmeter</a></p> + <p> </p> + <br> + <p> </p> + </td> + <td> + <p> </p> + <p><u><strong>CONTROLS DE FORMULARI</strong></u></p> + <p>(Es pot fer servir també <a href="/ca/XHTML" title="ca/XHTML">XHTML</a>, e.x., <form/>)</p> + <p><strong>Menus (general)</strong></p> + <p><a href="/ca/XUL/menu" title="ca/XUL/menu">menu</a><br> + <a href="/ca/XUL/menuitem" title="ca/XUL/menuitem">menuitem</a><br> + <a href="/ca/XUL/menuseparator" title="ca/XUL/menuseparator">menuseparator</a></p> + <p><strong>Menus (desplegables)</strong><br> + <a href="/ca/XUL/menulist" title="ca/XUL/menulist">menulist</a></p> + <p><strong>Menus (finestra emergent/contexte)</strong><br> + <a href="/ca/XUL/menupopup" title="ca/XUL/menupopup">menupopup</a><br> + <a href="/ca/XUL/popupset" title="ca/XUL/popupset">popupset</a><br> + <a href="/ca/XUL/panel" title="ca/XUL/panel">panel</a></p> + <p><strong>Botons</strong></p> + <p><a href="/ca/XUL/button" title="ca/XUL/button">button</a><br> + <a href="/ca/XUL/toolbarbutton" title="ca/XUL/toolbarbutton">toolbarbutton</a></p> + <p><a href="/ca/XUL/dropmarker" title="ca/XUL/dropmarker">dropmarker</a><br> + <a href="/ca/XUL/spinbuttons" title="ca/XUL/spinbuttons">spinbuttons</a></p> + <p><strong>Controls de Selector</strong></p> + <p><a href="/ca/XUL/checkbox" title="ca/XUL/checkbox">checkbox</a></p> + <p><a href="/ca/XUL/radio" title="ca/XUL/radio">radio</a><br> + <a href="/ca/XUL/radiogroup" title="ca/XUL/radiogroup">radiogroup</a></p> + <p><a href="/ca/XUL/scale" title="ca/XUL/scale">scale</a></p> + <p><strong>Controls de Selector especialitzats</strong></p> + <p><a href="/ca/XUL/colorpicker" title="ca/XUL/colorpicker">colorpicker</a><br> + <a href="/ca/XUL/datepicker" title="ca/XUL/datepicker">datepicker</a><br> + <a href="/ca/XUL/timepicker" title="ca/XUL/timepicker">timepicker</a></p> + <p><strong>Caixes de texte</strong></p> + <p><a href="/ca/XUL/textbox" title="ca/XUL/textbox">textbox</a><br> + <a href="/ca/XUL/textbox_(Firefox_autocomplete)" title="ca/XUL/textbox_(Firefox_autocomplete)">textbox (Firefox autocomplete)</a><br> + <a href="/ca/XUL/textbox_(Mozilla_autocomplete)" title="ca/XUL/textbox_(Mozilla_autocomplete)">textbox (Mozilla autocomplete)</a></p> + <p> </p> + <p><u><strong>PLANTILLES</strong></u></p> + <p><strong>Plantilles</strong></p> + <p><a href="/ca/XUL/action" title="ca/XUL/action">action</a><br> + <a href="/ca/XUL/assign" title="ca/XUL/assign">assign</a><br> + <a href="/ca/XUL/binding" title="ca/XUL/binding">binding</a><br> + <a href="/ca/XUL/bindings" title="ca/XUL/bindings">bindings</a><br> + <a href="/ca/XUL/conditions" title="ca/XUL/conditions">conditions</a><br> + <a href="/ca/XUL/content" title="ca/XUL/content">content</a><br> + <a href="/ca/XUL/member" title="ca/XUL/member">member</a><br> + <a href="/ca/XUL/param" title="ca/XUL/param">param</a><br> + <a href="/ca/XUL/query" title="ca/XUL/query">query</a><br> + <a href="/ca/XUL/queryset" title="ca/XUL/queryset">queryset</a><br> + <a href="/ca/XUL/rule" title="ca/XUL/rule">rule</a><br> + <a href="/ca/XUL/template" title="ca/XUL/template">template</a><br> + <a href="/ca/XUL/textnode" title="ca/XUL/textnode">textnode</a><br> + <a href="/ca/XUL/triple" title="ca/XUL/triple">triple</a><br> + <a href="/ca/XUL/where" title="ca/XUL/where">where</a></p> + <p><br> + <u><strong>NO VISUAL</strong></u></p> + <p><strong>Script</strong><br> + <br> + <a href="/ca/XUL/script" title="ca/XUL/script">script</a></p> + <p><a href="/ca/XUL/commandset" title="ca/XUL/commandset">commandset</a><br> + <a href="/ca/XUL/command" title="ca/XUL/command">command</a></p> + <p><strong>Canvi d'Estat</strong></p> + <p><a href="/ca/XUL/broadcaster" title="ca/XUL/broadcaster">broadcaster</a><br> + <a href="/ca/XUL/broadcasterset" title="ca/XUL/broadcasterset">broadcasterset</a></p> + <p><a href="/ca/XUL/observes" title="ca/XUL/observes">observes</a></p> + <p><strong>Teclat</strong></p> + <p><a href="/ca/XUL/key" title="ca/XUL/key">key</a><br> + <a href="/ca/XUL/keyset" title="ca/XUL/keyset">keyset</a></p> + <br> + <p><strong>Internacionalització/Text Dinàmic</strong></p> + <p><a href="/ca/XUL/stringbundle" title="ca/XUL/stringbundle">stringbundle</a><br> + <a href="/ca/XUL/stringbundleset" title="ca/XUL/stringbundleset">stringbundleset</a></p> + <p> </p> + </td> + </tr> + </tbody> +</table> +<h3 id="Other_XUL_lists" name="Other_XUL_lists">Altres llistats XUL</h3> +<ul> + <li><a href="/ca/XUL/Attribute" title="ca/XUL/Attribute">Tots els atributs</a></li> + <li><a href="/ca/XUL/Property" title="ca/XUL/Property">Totes les propietats</a></li> + <li><a href="/ca/XUL/Method" title="ca/XUL/Method">Tots els mètodes</a></li> + <li><a href="/ca/XUL_element_attributes" title="ca/XUL_element_attributes">Atributs definits per tots els elements XUL</a></li> + <li><a href="/ca/XUL/Style" title="ca/XUL/Style">Classes d'Estil</a></li> + <li><a href="/ca/XUL/Events" title="ca/XUL/Events">Gestor d'Events</a></li> + <li><a href="/ca/XUL/Deprecated//Defunct_Markup" title="ca/XUL/Deprecated//Defunct_Markup">Sintàxi Obsoleta</a></li> +</ul> diff --git a/files/ca/archive/mozilla/xul/xul_tutorial/index.html b/files/ca/archive/mozilla/xul/xul_tutorial/index.html new file mode 100644 index 0000000000..c1397677c8 --- /dev/null +++ b/files/ca/archive/mozilla/xul/xul_tutorial/index.html @@ -0,0 +1,137 @@ +--- +title: XUL Tutorial +slug: Archive/Mozilla/XUL/XUL_Tutorial +translation_of: Archive/Mozilla/XUL/Tutorial +--- +<p> </p> +<p>Aquest tutorial descriu <a class="internal" href="/ca/XUL" title="ca/XUL">XUL</a>, el llenguatge d'interfície d'usuari en <a class="internal" href="/ca/XML" title="ca/XML">XML</a>. Aquest, ha sigut creat per l'aplicació Mozilla i s'utilitza per descriure tota la seva interfície.</p> +<h5 id="Introduction" name="Introduction">Introducció</h5> +<ul> + <li><a class="internal" href="/ca/XUL_Tutorial/Introduction" title="ca/XUL Tutorial/Introduction">Introducció</a></li> + <li><a class="internal" href="/ca/XUL_Tutorial/XUL_Structure" title="ca/XUL Tutorial/XUL Structure">Estructura de XUL</a></li> + <li><a class="internal" href="/ca/XUL%20Tutorial/The%20Chrome%20URL" title="ca/XUL Tutorial/The Chrome URL">La URL Chrome</a></li> + <li><a class="internal" href="/ca/XUL%20Tutorial/Manifest%20Files" title="ca/XUL Tutorial/Manifest Files">Fitxers de Manifest</a></li> +</ul> +<h5 id="Simple_Elements" name="Simple_Elements">Simple Elements</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Creating_a_Window" title="en/XUL_Tutorial/Creating_a_Window">Creating a Window</a></li> + <li><a href="/en/XUL_Tutorial/Adding_Buttons" title="en/XUL_Tutorial/Adding_Buttons">Adding Buttons</a></li> + <li><a href="/en/XUL_Tutorial/Adding_Labels_and_Images" title="en/XUL_Tutorial/Adding_Labels_and_Images">Adding Labels and Images</a></li> + <li><a href="/en/XUL_Tutorial/Input_Controls" title="en/XUL_Tutorial/Input_Controls">Input Controls</a></li> + <li><a href="/en/XUL_Tutorial/Numeric_Controls" title="en/XUL_Tutorial/Numeric_Controls">Numeric Controls</a></li> + <li><a href="/en/XUL_Tutorial/List_Controls" title="en/XUL_Tutorial/List_Controls">List Controls</a></li> + <li><a href="/en/XUL_Tutorial/Progress_Meters" title="en/XUL_Tutorial/Progress_Meters">Progress Meters</a></li> + <li><a href="/en/XUL_Tutorial/Adding_HTML_Elements" title="en/XUL_Tutorial/Adding_HTML_Elements">Adding HTML Elements</a></li> + <li><a href="/en/XUL_Tutorial/Using_Spacers" title="en/XUL_Tutorial/Using_Spacers">Using Spacers</a></li> + <li><a href="/en/XUL_Tutorial/More_Button_Features" title="en/XUL_Tutorial/More_Button_Features">More Button Features</a></li> +</ul> +<h5 id="The_Box_Model" name="The_Box_Model">The Box Model</h5> +<ul> + <li><a href="/en/XUL_Tutorial/The_Box_Model" title="en/XUL_Tutorial/The_Box_Model">The Box Model</a></li> + <li><a href="/en/XUL_Tutorial/Element_Positioning" title="en/XUL_Tutorial/Element_Positioning">Element Positioning</a></li> + <li><a href="/en/XUL_Tutorial/Box_Model_Details" title="en/XUL_Tutorial/Box_Model_Details">Box Model Details</a></li> + <li><a href="/en/XUL_Tutorial/Groupboxes" title="en/XUL_Tutorial/Groupboxes">Groupboxes</a></li> + <li><a href="/en/XUL_Tutorial/Adding_More_Elements" title="en/XUL_Tutorial/Adding_More_Elements">Adding More Elements</a></li> +</ul> +<h5 id="More_Layout_Elements" name="More_Layout_Elements">More Layout Elements</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Stacks_and_Decks" title="en/XUL_Tutorial/Stacks_and_Decks">Stacks and Decks</a></li> + <li><a href="/en/XUL_Tutorial/Stack_Positioning" title="en/XUL_Tutorial/Stack_Positioning">Stack Positioning</a></li> + <li><a href="/en/XUL_Tutorial/Tabboxes" title="en/XUL_Tutorial/Tabboxes">Tabboxes</a></li> + <li><a href="/en/XUL_Tutorial/Grids" title="en/XUL_Tutorial/Grids">Grids</a></li> + <li><a href="/en/XUL_Tutorial/Content_Panels" title="en/XUL_Tutorial/Content_Panels">Content Panels</a></li> + <li><a href="/en/XUL_Tutorial/Splitters" title="en/XUL_Tutorial/Splitters">Splitters</a></li> +</ul> +<h5 id="Toolbars_and_Menus" name="Toolbars_and_Menus">Toolbars and Menus</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Toolbars" title="en/XUL_Tutorial/Toolbars">Toolbars</a></li> + <li><a href="/en/XUL_Tutorial/Simple_Menu_Bars" title="en/XUL_Tutorial/Simple_Menu_Bars">Simple Menu Bars</a></li> + <li><a href="/en/XUL_Tutorial/More_Menu_Features" title="en/XUL_Tutorial/More_Menu_Features">More Menu Features</a></li> + <li><a href="/en/XUL_Tutorial/Popup_Menus" title="en/XUL_Tutorial/Popup_Menus">Popup Menus</a></li> + <li><a href="/en/XUL_Tutorial/Scrolling_Menus" title="en/XUL_Tutorial/Scrolling_Menus">Scrolling Menus</a></li> +</ul> +<h5 id="Events_and_Scripts" name="Events_and_Scripts">Events and Scripts</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Adding_Event_Handlers" title="en/XUL_Tutorial/Adding_Event_Handlers">Adding Event Handlers</a></li> + <li><a href="/en/XUL_Tutorial/More_Event_Handlers" title="en/XUL_Tutorial/More_Event_Handlers">More Event Handlers</a></li> + <li><a href="/en/XUL_Tutorial/Keyboard_Shortcuts" title="en/XUL_Tutorial/Keyboard_Shortcuts">Keyboard Shortcuts</a></li> + <li><a href="/en/XUL_Tutorial/Focus_and_Selection" title="en/XUL_Tutorial/Focus_and_Selection">Focus and Selection</a></li> + <li><a href="/en/XUL_Tutorial/Commands" title="en/XUL_Tutorial/Commands">Commands</a></li> + <li><a href="/en/XUL_Tutorial/Updating_Commands" title="en/XUL_Tutorial/Updating_Commands">Updating Commands</a></li> + <li><a href="/en/XUL_Tutorial/Broadcasters_and_Observers" title="en/XUL_Tutorial/Broadcasters_and_Observers">Broadcasters and Observers</a></li> +</ul> +<h5 id="Document_Object_Model" name="Document_Object_Model">Document Object Model</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Document_Object_Model" title="en/XUL_Tutorial/Document_Object_Model">Document Object Model</a></li> + <li><a href="/en/XUL_Tutorial/Modifying_a_XUL_Interface" title="en/XUL_Tutorial/Modifying_a_XUL_Interface">Modifying a XUL Interface</a></li> + <li><a href="/en/XUL_Tutorial/Manipulating_Lists" title="en/XUL_Tutorial/Manipulating_Lists">Manipulating Lists</a></li> + <li><a href="/en/XUL_Tutorial/Box_Objects" title="en/XUL_Tutorial/Box_Objects">Box Objects</a></li> + <li><a href="/en/XUL_Tutorial/XPCOM_Interfaces" title="en/XUL_Tutorial/XPCOM_Interfaces">XPCOM Interfaces</a></li> + <li><a href="/en/XUL_Tutorial/XPCOM_Examples" title="en/XUL_Tutorial/XPCOM_Examples">XPCOM Examples</a></li> +</ul> +<h5 id="Trees" name="Trees">Trees</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Trees" title="en/XUL_Tutorial/Trees">Trees</a></li> + <li><a href="/en/XUL_Tutorial/More_Tree_Features" title="en/XUL_Tutorial/More_Tree_Features">More Tree Features</a></li> + <li><a href="/en/XUL_Tutorial/Tree_Selection" title="en/XUL_Tutorial/Tree_Selection">Tree Selection</a></li> + <li><a href="/en/XUL_Tutorial/Custom_Tree_Views" title="en/XUL_Tutorial/Custom_Tree_Views">Custom Tree Views</a></li> + <li><a href="/en/XUL_Tutorial/Tree_View_Details" title="en/XUL_Tutorial/Tree_View_Details">Tree View Details</a></li> + <li><a href="/en/XUL_Tutorial/Tree_Box_Objects" title="en/XUL_Tutorial/Tree_Box_Objects">Tree Box Objects</a></li> +</ul> +<h5 id="RDF_and_Templates" name="RDF_and_Templates">RDF and Templates</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Introduction_to_RDF" title="en/XUL_Tutorial/Introduction_to_RDF">Introduction to RDF</a></li> + <li><a href="/en/XUL_Tutorial/Templates" title="en/XUL_Tutorial/Templates">Templates</a></li> + <li><a href="/en/XUL_Tutorial/Trees_and_Templates" title="en/XUL_Tutorial/Trees_and_Templates">Trees and Templates</a></li> + <li><a href="/en/XUL_Tutorial/RDF_Datasources" title="en/XUL_Tutorial/RDF_Datasources">RDF Datasources</a></li> + <li><a href="/en/XUL_Tutorial/Advanced_Rules" title="en/XUL_Tutorial/Advanced_Rules">Advanced Rules</a></li> + <li><a href="/en/XUL_Tutorial/Persistent_Data" title="en/XUL_Tutorial/Persistent_Data">Persistent Data</a></li> +</ul> +<h5 id="Skins_and_Locales" name="Skins_and_Locales">Skins and Locales</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Adding_Style_Sheets" title="en/XUL_Tutorial/Adding_Style_Sheets">Adding Style Sheets</a></li> + <li><a href="/en/XUL_Tutorial/Styling_a_Tree" title="en/XUL_Tutorial/Styling_a_Tree">Styling a Tree</a></li> + <li><a href="/en/XUL_Tutorial/Modifying_the_Default_Skin" title="en/XUL_Tutorial/Modifying_the_Default_Skin">Modifying the Default Skin</a></li> + <li><a href="/en/XUL_Tutorial/Creating_a_Skin" title="en/XUL_Tutorial/Creating_a_Skin">Creating a Skin</a></li> + <li><a href="/en/XUL_Tutorial/Localization" title="en/XUL_Tutorial/Localization">Localization</a></li> + <li><a href="/en/XUL_Tutorial/Property_Files" title="en/XUL_Tutorial/Property_Files">Property Files</a></li> +</ul> +<h5 id="Bindings" name="Bindings">Bindings</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Introduction_to_XBL" title="en/XUL_Tutorial/Introduction_to_XBL">Introduction to XBL</a></li> + <li><a href="/en/XUL_Tutorial/Anonymous_Content" title="en/XUL_Tutorial/Anonymous_Content">Anonymous Content</a></li> + <li><a href="/en/XUL_Tutorial/XBL_Attribute_Inheritance" title="en/XUL_Tutorial/XBL_Attribute_Inheritance">XBL Attribute Inheritance</a></li> + <li><a href="/en/XUL_Tutorial/Adding_Properties_to_XBL-defined_Elements" title="en/XUL_Tutorial/Adding_Properties_to_XBL-defined_Elements">Adding Properties</a></li> + <li><a href="/en/XUL_Tutorial/Adding_Methods_to_XBL-defined_Elements" title="en/XUL_Tutorial/Adding_Methods_to_XBL-defined_Elements">Adding Methods</a></li> + <li><a href="/en/XUL_Tutorial/Adding_Event_Handlers_to_XBL-defined_Elements" title="en/XUL_Tutorial/Adding_Event_Handlers_to_XBL-defined_Elements">Adding Event Handlers</a></li> + <li><a href="/en/XUL_Tutorial/XBL_Inheritance" title="en/XUL_Tutorial/XBL_Inheritance">XBL Inheritance</a></li> + <li><a href="/en/XUL_Tutorial/XBL_Example" title="en/XUL_Tutorial/XBL_Example">XBL Example</a></li> +</ul> +<h5 id="Specialized_Window_Types" name="Specialized_Window_Types">Specialized Window Types</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Features_of_a_Window" title="en/XUL_Tutorial/Features_of_a_Window">Features of a Window</a></li> + <li><a href="/en/XUL_Tutorial/Creating_Dialogs" title="en/XUL_Tutorial/Creating_Dialogs">Creating Dialogs</a></li> + <li><a href="/en/XUL_Tutorial/Open_and_Save_Dialogs" title="en/XUL_Tutorial/Open_and_Save_Dialogs">Open and Save Dialogs</a></li> + <li><a href="/en/XUL_Tutorial/Creating_a_Wizard" title="en/XUL_Tutorial/Creating_a_Wizard">Creating a Wizard</a></li> + <li><a href="/en/XUL_Tutorial/More_Wizards" title="en/XUL_Tutorial/More_Wizards">More Wizards</a></li> + <li><a href="/en/XUL_Tutorial/Overlays" title="en/XUL_Tutorial/Overlays">Overlays</a></li> + <li><a href="/en/XUL_Tutorial/Cross_Package_Overlays" title="en/XUL_Tutorial/Cross_Package_Overlays">Cross Package Overlays</a></li> +</ul> +<h5 id="Installation" name="Installation">Installation</h5> +<ul> + <li><a href="/en/XUL_Tutorial/Creating_an_Installer" title="en/XUL_Tutorial/Creating_an_Installer">Creating an Installer</a></li> + <li><a href="/en/XUL_Tutorial/Install_Scripts" title="en/XUL_Tutorial/Install_Scripts">Install Scripts</a></li> + <li><a href="/en/XUL_Tutorial/Additional_Install_Features" title="en/XUL_Tutorial/Additional_Install_Features">Additional Install Features</a></li> +</ul> +<div class="note"> + <p>This XUL tutorial was originally created by <a class="external" href="http://www.xulplanet.com/ndeakin/">Neil Deakin</a>. He has graciously given us permission to use it as part of the <a href="/Project:en/About" title="Project:en/About">MDC</a>.</p> +</div> +<div class="originaldocinfo"> + <h5 id="Original_Document_Information" name="Original_Document_Information">Original Document Information</h5> + <ul> + <li>Author: <a class="external" href="http://www.xulplanet.com/ndeakin/">Neil Deakin</a></li> + <li>Copyright Information: © 1999-2005 XULPlanet.com</li> + </ul> +</div> +<p><span class="comment">Interwiki Language Links</span></p> +<p>{{ languages( { "zh-cn": "cn/XUL_\u6559\u7a0b", "de": "de/XUL_Tutorial", "es": "es/Tutorial_de_XUL", "fr": "fr/Tutoriel_XUL", "ja": "ja/XUL_Tutorial", "ko": "ko/XUL_Tutorial", "pl": "pl/Kurs_XUL", "ru": "ru/\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e_\u043f\u043e_XUL" } ) }}</p> diff --git a/files/ca/archive/mozilla/xul/xul_tutorial/introducció/index.html b/files/ca/archive/mozilla/xul/xul_tutorial/introducció/index.html new file mode 100644 index 0000000000..c2b05d8386 --- /dev/null +++ b/files/ca/archive/mozilla/xul/xul_tutorial/introducció/index.html @@ -0,0 +1,45 @@ +--- +title: XUL_Tutorial/Introducció +slug: Archive/Mozilla/XUL/XUL_Tutorial/Introducció +tags: + - Being translated... +translation_of: Archive/Mozilla/XUL/Tutorial/Introduction +--- +<p>{{ Next("XUL Tutorial:XUL Structure") }}</p> +<p>Aquest tutorial és una guia per aprendre XUL ( Llenguatge d'Interfície d'Usuari XML ) el qual és un llenguatge multiplataforma per descriure interfícies d'usuari per aplicacions.</p> +<p>Aquest tutorial demostrarà la creació d'una simple interfície per cercar fitxers, semblant a la provsta al programa Sherlock del Macintosh en el diàleg cerca fitxer en Windows. Cal tenir en compte que només crearem la interfície amb una funcionalitat limitada i la cerca de fitxers no serà implementada. Una línia blava apareixerà a la dreta del paràgraf quan el diàleg de cerca s'estigui modificant. Pots seguir endavant directament a través d'aquestes seccions.</p> +<h3 id="What_is_XUL_and_why_was_it_created.3F" name="What_is_XUL_and_why_was_it_created.3F">Què és XUL i perquè ha sigut creat?</h3> +<p>XUL (pronunciat "zool" i que rima amb "cool" ) s'ha creat per fer el desenvolupament del navegador de Mozilla més fàcil i ràpid. És un llenguatge basat en XML amb el que totes les característiques i funcions d'XML són a XUL.</p> +<p>La gran majoria d'aplicacions s'han de desenvolupar fent servir característiques d'una plataforma en concret fent la construcció de programari multiplataforma molt difícil i llarga. En el passat però ja s'han desenvolupat sol·lucions multiplataforma. Java, per exemple té la portabilitat com a principal característica. XUL és un altre llenguatge d'aques tipus que ha sigut dissenyat específicament per construir interfícies d'usuari portables. Cal molt de temps per construir una aplicació encara que sigui per una sola plataforma. El temps requerit per compilar i depurar pot ser molt llarga. Amb XUL, l'interfície pot ser implementada i modificada fàcilment i ràpidament. </p> +<p>XUL té tots els avantatges dels llenguatges basats en XML. Per exemple XHTML o altres llenguatges XML com MathML o SVG es poden inserir al mig. També, el text que s'utilitza amb XUL és fàcilment localitzable, que vol dir que es pot traduïr a altres idiomes amb poc esforç.</p> +<h3 id="What_kinds_of_user-interfaces_can_be_made_with_XUL.3F" name="What_kinds_of_user-interfaces_can_be_made_with_XUL.3F">Quins tipus d'interfícies es poden crear amb XUL?</h3> +<p>XUL proporciona l'habilitat de crear la gran majoría d'elements trobats en les intefícies gràfiques modernes. Alguns elements que es poden crear són :</p> +<ul> + <li>Controls d'entrada com caixes de text i caselles de selecció</li> + <li>Barres d'eines amb botons o d'altres continguts</li> + <li>Menús en una barra d'eines o en menus emergents</li> + <li>Diàlegs amb pestanyes</li> + <li>Àrbres per informació jerarquitzada o tabular</li> + <li>Dreçeres de teclat</li> +</ul> +<p>El contingut que s'ensenya pot ser creat directament a un fitxer XUL o amb dades provinents d'una font de dades. A Mozilla, aquestes fonts de dades inclouen la bústia de correu de l'usuari, els seus marcadors i els resultats de les cerques. El contingut dels menús, àrbres i altres elements poden ser emplenats amb aquestes dades o amb les que proporciones tu mateix a dins un fitxer RDF.</p> +<p>Hi ha diverses maneres d'utilitzar XUL:</p> +<ul> + <li>Extensió del Firefox -- una extensió afegeix functionalitat al navegador mateix, sovint en forma de barres d'eines extra, menús contextuals, o modificacions de la interfície d'usuari (UI) del navegador. Això es fa utilitzant una característica de XUL anomanada <strong>overlay</strong>, que permet la UI provinent d'una font, en aquest cas, el navegador Firefox, ser mesclada en la UI per extensió. Les extensions també poden ser aplicades a altres productes basats en Mozilla com Thunderbird.</li> + <li>Aplicació per separat XULRunner -- XULRunner és una versió empaquetada de la plataforma Mozilla que us permet crear aplicacions XUL per separat. No es requereix un navegador per correr aquestes aplicacions, com si tinguessinel seu propi fitxer executable.</li> + <li>Paquet XUL -- in between the other two are applications which are created in the same way as an extension, but they act like a separate application in a separate window. This is used when you don't want to have the larger size of a complete XULRunner application, but don't mind requiring a Mozilla browser to be installed to be able to run the application.</li> + <li>Remote XUL application -- you can also just place XUL code on a web server and open it in a browser, as you would any other web page. This method is limited however, as there are security concerns that will limit the kinds of things you will be able to do, such as opening other windows.</li> +</ul> +<p>The first three types all require an installation to be performed on the user's machine. However, these types of applications do not have security restrictions placed on them, so they may access local files and read and write preferences, for example. For extensions, the XUL files and associated scripts and images used by an application would be packaged into a single file and downloaded and installed by the user. Mozilla applications such as Firefox provide an extension manager which allows packages to be installed without having to write a lot of complex code.</p> +<p>It is also possible to open XUL files directly from the file system or from a remote web site; however they will be restricted in the kinds of operations they can do, and some aspects of XUL will not work. However, if you do want to load XUL content from a remote site, the Web server must be set up to send XUL files with the content type "application/vnd.mozilla.xul+xml". XUL is usually stored in files with a <code>.xul</code> extension. You can open a XUL file with Mozilla as you would any other file, using the Open File command from the File menu or typing the URL into the address bar.</p> +<h3 id="What_do_I_need_to_know_to_use_this_tutorial.3F" name="What_do_I_need_to_know_to_use_this_tutorial.3F">What do I need to know to use this tutorial?</h3> +<p>You should have an understanding of <abbr title="HyperText Markup Language">HTML</abbr> and at least a basic understanding of XML and <abbr title="Cascading Style Sheets">CSS</abbr>. Here are some guidelines to keep in mind:</p> +<ul> + <li>XUL elements and attributes should all be entered in lowercase as XML is case-sensitive (unlike HTML).</li> + <li>Attribute values in XUL must be placed inside quotes, even if they are numbers.</li> + <li>XUL files are usually split into four files, one each for the layout and elements, for style declarations, for entity declarations (used for localization) and for scripts. In addition, you may have extra files for images or for platform specific data.</li> +</ul> +<p>XUL is supported in Mozilla and browsers that are also based upon on the Gecko engine, such as Netscape 6 or later and Mozilla Firefox. Due to various changes in XUL syntax over time, you will want to get the latest version for the examples to work properly. Most examples should work in Mozilla 1.0 or later. XUL is fairly similar in Firefox and to other browsers, although it has some specific differences such as support for customizable toolbars.</p> +<p>This tutorial attempts to cover much of XUL's functionality, however, not all features are discussed. Once you are familiar with XUL, you can use the <a href="/en/XUL_Reference" title="en/XUL_Reference">XUL Reference</a> to find out about other features supported by specific elements.</p> +<p>{{ Next("XUL Tutorial:XUL Structure") }}</p> +<p>{{ languages( { "de": "de/XUL_Tutorial/Einfuehrung", "es": "es/Tutorial_de_XUL/Introducci\u00f3n", "fr": "fr/Tutoriel_XUL/Introduction", "ja": "ja/XUL_Tutorial/Introduction", "pl": "pl/Kurs_XUL/Wprowadzenie", "zh-cn": "cn/XUL_\u6559\u7a0b/\u5f15\u8a00", "ru": "ru/\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e_\u043f\u043e_XUL/\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435" } ) }}</p> diff --git a/files/ca/archive/mozilla/xulrunner/index.html b/files/ca/archive/mozilla/xulrunner/index.html new file mode 100644 index 0000000000..61290f6117 --- /dev/null +++ b/files/ca/archive/mozilla/xulrunner/index.html @@ -0,0 +1,17 @@ +--- +title: XULRunner +slug: Archive/Mozilla/XULRunner +tags: + - XULRunner +translation_of: Archive/Mozilla/XULRunner +--- +<p> </p> +<div class="callout-box"><strong><a class="external" href="http://blogs.acceleration.net/ryan/archive/2005/05/06/1073.aspx">Tutorial de XULRunner (en)</a></strong><br> +Una breu introducció a XULRunner.</div> +<div>El <strong>XULRunner</strong> és un paquet d'execució que es pot usar per crear aplicacions <a href="/Ca/XUL" title="Ca/XUL">XUL</a>+<a href="/ca/XPCOM" title="ca/XPCOM">XPCOM</a> tan potents com el Firefox i el Thunderbird. Oferirà mecanismes per instal·lar, actualitzar i desinstal·lar aquestes aplicacions. El XULRunner també proporcionarà el <a href="/ca/Libxul" title="ca/Libxul">libxul</a>, una solució que permet integrar la tecnologia de Mozilla en altres projectes i productes.</div> +<table class="topicpage-table"> <tbody> <tr> <td> <h4 id="Versions" name="Versions">Versions</h4> <div class="note"> <p>S'ha alliberat XULRunner 1.9 i pot ser <a class="external" href="http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/" rel="external nofollow" title="http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/">alliberat desde releases.mozilla.org</a>. Sisuplau llegeix les <a href="../../../../ca/XULRunner_1.9_Release_Notes" rel="internal">notes d'alliberament </a> per més informació sobre la instal·lació i desinstalació.</p> <p>Firefox 3 disposa un paquet privat de XULRunner, que pot executar qualsevol aplicació compatible fent servir el modificador <code>-app</code>.</p> <p>Hi ha <a href="../../../../ca/XULRunner%2f%2fOld_Releases" rel="internal">altres binaris</a> disponibles.</p> </div> <h4 id="Panor.C3.A0mica" name="Panor.C3.A0mica">Descripció General</h4> <ul> <li>{{ interwiki('wikimo', 'XULRunner:Roadmap', 'Planificació de desenvolupament (en)') }}</li> <li><a href="/Ca/XULRunner/Què_ofereix_XULRunner" title="ca/XULRunner/Què_ofereix_XULRunner">Què ofereix XULRunner</a></li> <li><a href="/ca/PMF_de_XULRunner" title="ca/PMF_de_XULRunner">PMF de XULRunner</a></li> <li>Compilacions nocturnes: <a class="external" href="http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-mozilla1.8.0/">stable-1.9branch</a> </li> </ul> <h4 id="Documentation" name="Documentation">Documentació</h4> <dl> <dt><a href="/Special:Tags?tag=XULRunner&language=ca" title="Special:Tags?tag=XULRunner&language=ca">Veure Tot...</a></dt> </dl> <dl> <dt><a href="/ca/Getting_started_with_XULRunner" title="ca/Getting_started_with_XULRunner">Començant amb XULRunner</a></dt> <dd><small>Un petit tutorial sobre construïr aplicacions d'escriptori amb XULRunner.</small></dd> </dl> <dl> <dt><a class="external" href="http://zenit.senecac.on.ca/wiki/index.php/XULRunner_Guide">Guia de XULRunner</a></dt> <dd><small>Una introducció complerta i un tutorial per XULRunner que cobreix molta de la documentació aquí trobada.</small></dd> </dl> <dl> <dt><a class="external" href="http://blogs.acceleration.net/ryan/archive/2005/05/06/1073.aspx">Un Tutorial de XULRunner</a></dt> <dd><small>Una petita introducció a XULRunner.</small></dd> </dl> <dl> <dt><a href="/ca/XULRunner_tips" title="ca/XULRunner_tips">Consells per XULRunner</a></dt> <dd><small>Una col·lecció de consells i receptes per treballar amb XULRunner.</small></dd> </dl> <dl> <dt><a href="/ca/XULRunner/Deploying_XULRunner_1.8" title="ca/XULRunner/Deploying_XULRunner_1.8">Desplegant XULRunner 1.8</a></dt> <dd><small>XULRunner 1.8 és una versió preliminar estable; aquí trobaràs com es pot fer servir per desplegar aplicacions XUL en un entorn de producció.</small></dd> </dl> <dl> <dt><a href="/ca/XULRunner_Hall_of_Fame" title="ca/XULRunner_Hall_of_Fame">Saló de la fama de XULRunner</a></dt> <dd><small>Llista totes les aplicacions disponibles basades en XULRunner.</small></dd> </dl> <dl> <dt><a href="/ca/Build_Documentation" title="ca/Build_Documentation">Documentatió d'instal·lació</a></dt> <dd><small>Aprén com obtenir el codi font i instal·lar-lo enel teu sistema.</small></dd> </dl> <dl> <dt> <dl> <dt><a href="/ca/Debugging_a_XULRunner_Application" title="ca/Debugging_a_XULRunner_Application">Documentació sobre Depuració</a></dt> </dl> </dt><dd><small>Passos per configurar Venkman per debugar la teva aplicació.</small></dd> </dl> </td> <td> <h4 id="Community" name="Community">Community</h4> <ul> <li>Consulta els forums de Mozilla ...</li> </ul> <p>{{ DiscussionList("dev-platform", "mozilla.dev.platform") }}</p> <ul> <li><a class="link-irc" href="irc://irc.mozilla.org/#xulrunner">#xulrunner on irc.mozilla.org</a></li> <li><a href="/ca/XULRunner/Community" title="ca/XULRunner/Community">Altres hipervincles...</a></li> </ul> <h4 id="Related_Topics" name="Related_Topics">Temes Rel·lacionats</h4> <dl> <dd><a href="/Ca/XUL" title="ca/XUL">XUL</a></dd> </dl> </td> </tr> </tbody> +</table> +<p><span class="comment">Categories</span></p> +<p><span class="comment">Interwiki Language Links</span></p> +<p> </p> +<p>{{ languages( { "en": "ca/XULRunner", "es": "es/XULRunner", "fr": "fr/XULRunner", "it": "it/XULRunner", "zh-cn": "cn/XULRunner", "ja": "ja/XULRunner", "pl": "pl/XULRunner" } ) }}</p> diff --git a/files/ca/archive/mozilla/xulrunner/què_ofereix_xulrunner/index.html b/files/ca/archive/mozilla/xulrunner/què_ofereix_xulrunner/index.html new file mode 100644 index 0000000000..c7bba11eec --- /dev/null +++ b/files/ca/archive/mozilla/xulrunner/què_ofereix_xulrunner/index.html @@ -0,0 +1,61 @@ +--- +title: Què ofereix XULRunner +slug: Archive/Mozilla/XULRunner/Què_ofereix_XULRunner +translation_of: Archive/Mozilla/XULRunner/What_XULRunner_Provides +--- +<p> </p> +<p>El propòsit de <a href="/en/XULRunner" title="en/XULRunner">XULRunner</a> és el de proveir una solució per el desplegament d'aplicacions XUL ( principalment Firefox i Thunderbird ), també proveint un mecanisme d'incrustracio. Les següents característiques ja estan implementades o bé estan planejades :</p> +<h3 id="Gecko_Features" name="Gecko_Features">Característiques de Gecko</h3> +<ul> + <li><a href="/en/XPCOM" title="en/XPCOM">XPCOM</a></li> + <li>Xarxa</li> + <li>Motor de renderització Gecko</li> + <li>Suport d'edició i transacció DOM (sense Interfície)</li> + <li>Criptografia</li> + <li><a href="/en/XBL" title="en/XBL">XBL</a> (XBL2 planificat)</li> + <li><a href="/en/XUL" title="en/XUL">XUL</a></li> + <li><a href="/en/SVG" title="en/SVG">SVG</a></li> + <li><a href="/en/XSLT" title="en/XSLT">XSLT</a></li> + <li>Extres XML (<code><a href="/en/XMLHttpRequest" title="en/XMLHttpRequest">XMLHttpRequest</a></code>, <code><a href="/en/DOMParser" title="en/DOMParser">DOMParser</a></code>, etc.)</li> + <li>Serveis Web (SOAP)</li> + <li>Suport per Auto-actualització <em>(encara no finalitzat)</em></li> + <li>Type ahead find toolbar</li> + <li>History implementation (the places implementation in the 1.9 cycle)</li> + <li>Accessibility support</li> + <li>IPC services for communication between gecko-based apps <em>(not yet complete)</em></li> + <li><a href="/en/Storage" title="en/Storage">Storage</a>/sqlite interfaces <em>(not yet turned on by default)</em></li> +</ul> +<h3 id="User_Interface_Features" name="User_Interface_Features">User Interface Features</h3> +<p>The following user interface is supplied by XULRunner, and may be overridden by embedders under certain circumstances:</p> +<ul> + <li>APIs and user interface for installing, uninstalling, and upgrading XUL applications. See the {{ interwiki('wikimo', 'XUL:Installation_Story', 'wikimo:XUL:Installation Story') }}.</li> + <li>Extension Manager</li> + <li>File picker (uses native OS filepicker as appropriate)</li> + <li>Find toolbar</li> + <li>Helper app dialog/UI</li> + <li>Security UI (maintenance of SSL keychains, etc)</li> +</ul> +<h3 id="Embedding_APIs" name="Embedding_APIs">Embedding APIs</h3> +<p>The following embedding APIs are provided by XULRunner:</p> +<ul> + <li>Cross-platform embedding (XRE_InitEmbedding)</li> + <li><a href="/en/JavaXPCOM" title="en/JavaXPCOM">JavaXPCOM</a> embedding</li> + <li>gtkmozembed (Linux only)</li> + <li>ActiveX control (Windows only) <em>(not yet complete)</em></li> + <li>NSView-based-widget (Mac OS X only) <em>(not yet complete)</em></li> +</ul> +<h3 id="The_.22Maybe.22_List" name="The_.22Maybe.22_List">The "Maybe" List</h3> +<p>The following features have been discussed and may be included if developer time permits and code size is controlled:</p> +<ul> + <li>LDAP support</li> + <li>Spellchecking support (with or without dictionaries provided) see <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=285977">bug 285977</a></li> + <li>Core support for profile roaming (with application-specific extensibility)</li> + <li><a href="/en/PyXPCOM" title="en/PyXPCOM">PyXPCOM</a> embedding <em>(not yet complete)</em> - but it does work, if you compile a custom build that includes the PyXPCOM bindings and there is a working python available. ActiveState uses PyXPCOM in their products.</li> +</ul> +<h3 id="What.27s_out" name="What.27s_out">What's out</h3> +<p>XULRunner will not supply:</p> +<ul> + <li>Bookmarks or History UI (must be managed by the application/embedder)</li> + <li>XForms (XForms will be available as an extension)</li> +</ul> +<p><span class="comment">Interwiki Language Links</span></p> |