Gecko (software)

Gecko
Developer(s) Mozilla Foundation / Mozilla Corporation
Stable release
Standard 50.0.2 / November 30, 2016 (2016-11-30)[1]
ESR 45.5.1 / November 30, 2016 (2016-11-30)[2]
Preview release
Beta 51.0beta / November 16, 2016 (2016-11-16)[3][4] semiweekly release
Developer Edition 52.0a2 / November 18, 2016 (2016-11-18)[5][6] daily release
Nightly 53.0a1 / November 14, 2016 (2016-11-14)[7][8] daily release
Repository hg.mozilla.org/mozilla-central/
Written in C++
Operating system Cross-platform
Type Layout engine
License MPL 2.0[9][10]
Website https://developer.mozilla.org/en-US/docs/Gecko

Gecko is a web browser engine used in many applications developed by Mozilla Foundation and the Mozilla Corporation (notably the Firefox web browser including its mobile version other than iOS devices, and their e-mail client Thunderbird), as well as in many other open source software projects. Gecko is free and open-source software subject to the terms of the Mozilla Public License version 2.[11]

It is designed to support open Internet standards, and is used by different applications to display web pages and, in some cases, an application's user interface itself (by rendering XUL). Gecko offers a rich programming API that makes it suitable for a wide variety of roles in Internet-enabled applications, such as web browsers, content presentation, and client/server.[12]

Gecko is written in C++ and is cross-platform, and runs on various operating systems including BSDs, Linux, OS X, Solaris, OS/2, AIX, OpenVMS, and Microsoft Windows. Its development is now overseen by the Mozilla Foundation.

History

Development of the layout engine now known as Gecko began at Netscape in 1997, following the company's purchase of DigitalStyle. The existing Netscape rendering engine, originally written for Netscape Navigator 1.0 and upgraded through the years, was slow, did not comply well with W3C standards, had limited support for dynamic HTML and lacked features such as incremental reflow (when the layout engine rearranges elements on the screen as new data is downloaded and added to the page). The new layout engine was developed in parallel with the old, with the intention being to integrate it into Netscape Communicator when it was mature and stable. At least one more major revision of Netscape was expected to be released with the old layout engine before the switch.

After the launch of the Mozilla project in early 1998, the new layout engine code was released under an open-source license. Originally unveiled as Raptor, the name had to be changed to NGLayout (next generation layout) due to trademark problems. Netscape later rebranded NGLayout as Gecko. While Mozilla Organization (the forerunner of the Mozilla Foundation) initially continued to use the NGLayout name (Gecko was a Netscape trademark),[13] eventually the Gecko branding won out.

In October 1998, Netscape announced that its next browser would use Gecko (which was still called NGLayout at the time) rather than the old layout engine, requiring large parts of the application to be rewritten. While this decision was popular with web standards advocates, it was largely unpopular with Netscape developers, who were unhappy with the six months given for the rewrite.[14] It also meant that most of the work done for Netscape Communicator 5.0 (including development on the Mariner improvements to the old layout engine) had to be abandoned. Netscape 6, the first Netscape release to incorporate Gecko, was released in November 2000 (the name Netscape 5 was never used).

As Gecko development continued, other applications and embedders began to make use of it. America Online, by this time Netscape's parent company, eventually adopted it for use in CompuServe 7.0 and AOL for Mac OS X (these products had previously embedded Internet Explorer). However, with the exception of a few betas, Gecko was never used in the main Microsoft Windows AOL client.

On July 15, 2003, AOL laid off the remaining Gecko developers and the Mozilla Foundation (formed on the same day) became the main steward of Gecko development. Today, Gecko is developed by employees of the Mozilla Corporation, employees of companies that contribute to the Mozilla project, and volunteers.

Standards support

From the outset, Gecko was designed to support open Internet standards. Some of the standards Gecko supports include:

Gecko also partially supports SVG 1.1.[17][18]

In order to support web pages designed for legacy versions of Netscape and Internet Explorer, Gecko supports DOCTYPE switching. Documents with a modern DOCTYPE are rendered in standards compliance mode, which follows the W3C standards strictly. Documents that have no DOCTYPE or an older DOCTYPE are rendered in quirks mode, which emulates some of the non-standard oddities of Netscape Communicator 4.x; however, some of the 4.x features (such as layers) are not supported.

Gecko also has limited support for some non-standard Internet Explorer features, such as the marquee element and the document.all property (though pages explicitly testing for document.all will be told it is not supported).

Usage

Gecko is primarily used in web browsers, the earliest being Netscape 6 and Mozilla Suite (later renamed SeaMonkey). It is also used in other Mozilla web browser derivatives such as Firefox and Firefox for mobile and the implementation of the Internet Explorer-clone that is part of Wine.[19] Mozilla also uses it in their Thunderbird email-client and their Firefox OS.

Other web browsers using Gecko include Airfox, Waterfox, K-Meleon, Lunascape, Pale Moon, Portable Firefox, Conkeror, Classilla, TenFourFox, HP Secure Web Browser, Oxygen and Sylera (for mobile).

Other products using Gecko include Conkeror, Oxygen, Nightingale, Instantbird and Google's picture-organization software Picasa (for Linux).[20]

DevHelp, a GTK+/GNOME browser for API documentation, used Gecko for rendering documents.[21]

Gecko is also used by Sugar for the OLPC XO-1 computer.[22] Gecko is used as a complete implementation of the XUL (XML User Interface Language). Gecko currently defines the XUL specification.

Products that have historically used Gecko include Songbird, Epiphany (now known as Web and no longer using Gecko), Sunbird (calendar), and other web browsers including Swiftfox, Flock, Galeon, Camino, Minimo, Beonex Communicator, Kazehakase, and MicroB.

After Gecko 2.0, the version number was bumped to 5.0 to match Firefox 5, and from then on has been kept in sync with the major version number for both Firefox and Thunderbird,[23] to reflect the fact that it is no longer a separate component.

Criticism

In the past, Gecko had slower market share adoption due to the complexity of the Gecko code, which aimed to provide much more than just an HTML renderer for web browsers.[24][25][26] Mozilla's engineering efforts since then have addressed many of these historical weaknesses.[27]

The Gecko engine also provides a versatile XML-based user interface rendering framework called XUL that was used extensively in mail, newsgroup, and other programs. Another reason for much of the complexity in Gecko is the use of XPCOM, a cross-platform component model.[28] However, its use has been scaled back.[29]

On Windows and similar platforms, Gecko depends on non-free compilers.[30] Thus, FOSS distributions of Linux can not include the Gecko package used in the Windows compatibility layer Wine.[31]

Future

On 27 October 2016 David Bryant, Head of Platform Engineering at Mozilla, revealed that they are currently working on a new layout engine to serve as the core for the Mozilla browser. This engine is named Quantum and is expected to replace the Gecko by the end of 2017.[32]

See also

References

  1. "Firefox — Notes (50.0.2) — Mozilla". mozilla.org. 2016-11-30. Retrieved 2016-11-30.
  2. "Firefox Extended Support Release — Notes (45.5.1) — Mozilla". mozilla.org. 2016-11-30. Retrieved 2016-11-30.
  3. "Firefox — Beta Notes (50.0beta) — Mozilla". 2016-10-16. Retrieved 2016-10-23.
  4. "Mozilla Firefox Web Browser — Download Firefox Beta in your language — Mozilla". Retrieved 2016-07-02.
  5. "Firefox — Aurora Notes (52.0a2) — Mozilla". 2016-11-18. Retrieved 2016-11-18.
  6. "Mozilla Firefox Web Browser — Download Developer Edition in your language — Mozilla". Retrieved 2016-11-18.
  7. "RapidRelease/Calendar - MozillaWiki". Retrieved 2016-10-21.
  8. "Mozilla Firefox Web Browser — Download Firefox Nightly in your language — Mozilla". Retrieved 2016-10-23.
  9. https://www.mozilla.org/en-US/about/legal/eula/
  10. "Mozilla Licensing Policies". mozilla.org. Retrieved 2013-03-26.
  11. "MPL 2 Upgrade". Retrieved 2012-08-18.
  12. "Embedding Mozilla". Mozilla.org. 2012-10-25. Retrieved 2012-10-31.
  13. "nglayout project: identity crisis". Mozilla.org. Retrieved 2012-10-31.
  14. Castro, Jorge O. (2004-06-16). "Ars Technica interviews Scott Collins". Arstechnica.com. Retrieved 2012-10-31.
  15. "Mozilla CSS support chart". Developer.mozilla.org. 2012-08-04. Retrieved 2012-10-31.
  16. "ECMAScript 5 support in Mozilla". Developer.mozilla.org. 2013-11-14. Retrieved 2013-12-02.
  17. The SVG font, color profile, animation, view, and cursor modules are yet to be implemented and the filter and text modules are only partially implemented. The extensibility module is also implemented but is currently disabled
  18. "Mozilla SVG Status". Mozilla.org. 2012-08-25. Retrieved 2012-10-31.
  19. "IE Uses Gecko Under Wine". Wine Wiki. Retrieved 2009-09-14.
  20. "Picasa 3.0 for Linux". Google. Retrieved 2008-12-28.
  21. "Official package devhelp (0.19.1-6 and others) on Debian Lenny". Debian Project. Retrieved 2009-08-12.
  22. Martens, China (2007-01-03). "One Laptop Per Child readies 'Sugar' interface". IDG News Service. Retrieved 2007-12-28.
  23. "Gecko versions and application versions". MDN. Retrieved 2013-11-18.
  24. Mike Shaver (2003-01-08). "Designate contact sierra-five". Shaver: Noise from signal. self-published. Archived from the original on 2009-09-06. Retrieved 2009-09-06.
  25. David Baron (2003-01-09). "Thursday 2003-01-09". David Baron's weblog. self-published. Archived from the original on 2009-09-06. Retrieved 2009-09-06.
  26. Paul Festa (2003-01-14). "Apple snub stings Mozilla". CNET Networks. Archived from the original on 2009-09-06. Retrieved 2009-09-06.
  27. "A revamped Gecko puts the fire in Firefox".
  28. Jorge O. Castro (2004-06-15). "Ars Technica sits down with Scott Collins from Mozilla.org". Ars Technica.
  29. https://bugzilla.mozilla.org/show_bug.cgi?id=105431
  30. https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites
  31. http://wiki.jswindle.com/index.php/Fedora#Working_Wine Archived June 11, 2012, at the Wayback Machine.
  32. Cimpanu, Catalin. "Mozilla Announces Quantum, a New Browser Engine for Firefox". softpedia. Retrieved 2016-11-07.
This article is issued from Wikipedia - version of the 11/18/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.