4

I have done quite a bit of poking around for the gecko source but I cannot seem to find it.

I have found the word gecko littered through the firefox source code when I do this:

for i in `find .`; do grep -ibH gecko $i; done

If anyone knows where I can get the source I would really appreciate it.

durron597
  • 31,968
  • 17
  • 99
  • 158
sixtyfootersdude
  • 25,859
  • 43
  • 145
  • 213

1 Answers1

8

Most of the code in mozilla-central is Gecko. Gecko isn't a precisely-defined term, though. The mozilla-central repository also contains code that's not Gecko, including Firefox (in browser/).

A good link for how to get the source is https://developer.mozilla.org/En/Developer_Guide/Source_Code/Mercurial

David Baron
  • 920
  • 4
  • 5
  • I think I did something similar. I got the firefox source but could not find anything that looked really relevant. – sixtyfootersdude Jul 17 '10 at 13:08
  • 1
    It depends what you're looking for. My first guess at that would be that you might be interested in the code in dom/, content/, and layout/ directories. – David Baron Jul 18 '10 at 17:24
  • 1
    Hi David, in conclusion, I did not find anything that was specific to gecko. It seems to me that gecko code/references is sprinked through the firefox code base. I am not sure where you could find a standalone copy of gecko. – sixtyfootersdude Jul 27 '10 at 15:14
  • 2
    Gecko is no longer available standalone. Instead the nearest equivalent these days is XULRunner. – Neil Feb 05 '11 at 00:42