-
Notifications
You must be signed in to change notification settings - Fork 77
LLViewerObjectList documentation pass #4464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Still a work in progress for documentation guidelines for the viewer.
Expanded the documentation section to better distinguish between API and implementation documentation. Added guidance on documenting legacy code, clarified where to place implementation-specific comments, and emphasized the importance of verifying claims and preserving historical context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR establishes comprehensive documentation standards for the Second Life Viewer project and applies them to the LLViewerObjectList class. The documentation approach emphasizes practical, engineer-focused explanations with real-world context rather than just technical descriptions.
- Creates a detailed documentation style guide focused on conversational, practical documentation
- Extensively documents LLViewerObjectList with 650+ lines of comprehensive API documentation
- Adds implementation comments explaining performance optimizations and design decisions
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
DOCUMENTATION.md | Establishes new documentation standards with style guidelines, tone requirements, and examples |
llviewerobjectlist.h | Comprehensive documentation of all public and private APIs with practical usage examples |
llviewerobjectlist.cpp | Implementation comments explaining algorithms, performance optimizations, and design choices |
Comments suppressed due to low confidence (2)
indra/newview/llviewerobjectlist.cpp:857
- Method name contains a typo: 'fetchPhisicsFlagsCoro' should be 'fetchPhysicsFlagsCoro'. While the comment at line 852-854 acknowledges this typo and states it's kept for compatibility, this represents a technical debt that should be addressed.
} func;
indra/newview/llviewerobjectlist.cpp:847
- Parameter name 'objectList' is inconsistent with the similar method 'reportObjectCostFailure' which uses 'objectList' in the implementation but the comment refers to it as 'obejectList' (which contains a typo).
struct f : public LLSelectedObjectFunctor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Description
Establishes some new documentation standards, and starts implementing them with LLViewerObjectList. Please focus on LLViewerObjectList's accuracy.