Difference between revisions of "Using LXR"

From CDOT Wiki
Jump to: navigation, search
 
(List of Topics to Investigate)
 
(17 intermediate revisions by 12 users not shown)
Line 5: Line 5:
 
== List of Topics to Investigate ==
 
== List of Topics to Investigate ==
  
Pick one from the list below, or add your own if you have one applicable to your project.
+
Pick one of the activities from the list below (do more than 1 if you finish early), or add your own if you have one applicable to your project.
  
Create a link out of the title and document what you find with lxr links and description in that page.
+
'''Create a link''' out of the title and '''document what you find''' with '''lxr links''' and description in that page.
  
 
# Go > Back (ALT+Left Arrow)
 
# Go > Back (ALT+Left Arrow)
# View > Reload (CTRL+R)
+
# [[ReloadPageMylau | View > Reload (CTRL+R)]]
# Right-click an Image > View Image
+
# [[Sara-Ex1 |  View > Reload (CTRL+R) (#2)]]
 +
# [[View Image|Right-click an Image > View Image]]
 +
# [[FindThisPage | Edit > Find in this Page...]]
 +
# [[BookmarkPage | Bookmarks > Bookmark This Page]]
 +
# [[Clear Private Data | Tools > Clear Private Data]]
 +
# [[Lab_1_%28andrew%29 | Find any files used by the PNG decoder and their relationship]]
 +
# [[closetab_cesar | File -> close tab]]
 +
# [[Tracking_Stop_Button | Stop Button]]
 +
# [[Mystic's_LXR_Crawl | Figuring out the tab context menu ]]
 +
#[[LAB(eldavey_Paul)|-reload -goback -preview image]]
 +
 
 +
== Resources ==
 +
 
 +
In addition to using [http://lxr.mozilla.org lxr] you might also wish to try a similar tool: the [http://landfill.mozilla.org/mxr-test/ Mozilla Cross Reference (mxr)].  Both will give you the same basic features, but [http://landfill.mozilla.org/mxr-test/ mxr] is more feature rich.

Latest revision as of 12:19, 29 September 2006

Mozilla relies on Linux Cross-Reference (or LXR for short) in order to navigate, link to, and generally communicate with one another about the source tree. You can access Mozilla's LXR at http://lxr.mozilla.org. As a developer working on Mozilla projects, learning to use lxr effectively is essential.

In this exercise you will take one or more common top-level actions and attempt to trace them through the code to see where things live and how they work. You are not expected to understand everything you read; however, you should have be able to get a general sense of the flow of things through XUL, JavaScript, C++, etc.

List of Topics to Investigate

Pick one of the activities from the list below (do more than 1 if you finish early), or add your own if you have one applicable to your project.

Create a link out of the title and document what you find with lxr links and description in that page.

  1. Go > Back (ALT+Left Arrow)
  2. View > Reload (CTRL+R)
  3. View > Reload (CTRL+R) (#2)
  4. Right-click an Image > View Image
  5. Edit > Find in this Page...
  6. Bookmarks > Bookmark This Page
  7. Tools > Clear Private Data
  8. Find any files used by the PNG decoder and their relationship
  9. File -> close tab
  10. Stop Button
  11. Figuring out the tab context menu
  12. -reload -goback -preview image

Resources

In addition to using lxr you might also wish to try a similar tool: the Mozilla Cross Reference (mxr). Both will give you the same basic features, but mxr is more feature rich.