Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 25, 2025

Comprehensive correction of grammar, spelling, and wording errors across all /doc documentation files.

Spelling Corrections

  • Fixed typos: wilwill, apendedappended, SatticFSStaticFS, configuationconfiguration, regularyregularly, dependenddependent, ConstrutorConstructor, RendererdRendered

Grammar Fixes

  • Subject-verb agreement: IPCHandler.hpp and IPCHandler.cpp is usedare used
  • Article usage: a HTTP requestan HTTP request
  • Possessives: files propertiesfile's properties, Client Objects BufferClient Object's Buffer
  • Number agreement: child PID (ResultProcessor, multiple ASProcessHandler PIDs) werechild PIDs...were

Wording & Consistency

  • Terminology standardization: Loop onIterate over, ForeachFor each, split up individed into
  • Technical term capitalization: Posix ThreadPOSIX Thread, 32bit32-bit
  • Passive voice improvements: get split byare split by
  • Removed informal qualifiers: quite sub-optimalsub-optimal, very small librarysmall library
  • Section numbering: Fixed 1.5.18.5.1 in ResultProcessor.rst

Files Modified

HTTPLib.rst, Overview.rst, Main-Server.rst, ClientHandler.rst, ASProcessHandler.rst, StaticFSHandler.rst, ResultProcessor.rst, Configuration.rst, ResultScheduler.rst, IPCHandler.rst, HTTPLibNet.rst, MemoryAlignment.rst, TerminationHandling.rst, CPPClasses.rst, Graphical-Workflows.rst, README.md


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 6 commits December 25, 2025 15:31
Co-authored-by: clauspruefer <17313789+clauspruefer@users.noreply.github.com>
Co-authored-by: clauspruefer <17313789+clauspruefer@users.noreply.github.com>
Co-authored-by: clauspruefer <17313789+clauspruefer@users.noreply.github.com>
Co-authored-by: clauspruefer <17313789+clauspruefer@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix final version v0.1 release issues Documentation: Fix grammar, spelling, and wording errors Dec 25, 2025
Copilot AI requested a review from clauspruefer December 25, 2025 15:39
@clauspruefer clauspruefer marked this pull request as ready for review December 25, 2025 15:39
Copilot AI review requested due to automatic review settings December 25, 2025 15:39
@clauspruefer clauspruefer merged commit 0ad5571 into fix-v0.1rc Dec 25, 2025
Copy link
Contributor

Copilot AI left a 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 provides comprehensive corrections of grammar, spelling, and wording errors across documentation files in the /doc directory. The changes aim to improve documentation quality through spelling corrections, grammar fixes, terminology standardization, and section numbering corrections.

Key Changes:

  • Spelling corrections: Fixed typos like wilwill, apendedappended, dependenddependent, regularyregularly, ConstrutorConstructor, RendererdRendered
  • Grammar improvements: Subject-verb agreement (isare), article usage (a HTTPan HTTP), possessives corrections
  • Technical terminology standardization: Posix ThreadPOSIX Thread, 32bit32-bit, Loop onIterate over

Critical Issues Found:

  • Variable name changes in HTTPLib.rst don't match actual code implementation (_SplittedRequests vs _SplitRequests)
  • HTTP escape sequence corrections use wrong order (\n\r instead of \r\n)

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
TerminationHandling.rst Fixed plural form: "child PID" → "child PIDs" for grammatical correctness
StaticFSHandler.rst Corrected spelling "dependend" → "dependent", article "a HTTP" → "an HTTP", possessive "files" → "file's"
ResultScheduler.rst Fixed word order: "never will" → "will never" for proper grammar
ResultProcessor.rst Updated section numbering from "1.5.x" to "8.5.x" to match document structure; improved wording "Loop on" → "Iterate over"
README.md Fixed typos: "regulary" → "regularly", "Rendererd" → "Rendered"
Overview.rst Standardized technical terms: "Posix" → "POSIX", "32bit" → "32-bit"; removed markdown formatting from RST
Main-Server.rst Corrected spelling: "configuation" → "configuration", compound word "Filedescriptor" → "File Descriptor"
IPCHandler.rst Fixed typo in section header: "Construtor" → "Constructor"
HTTPLibNet.rst Improved wording by removing informal qualifiers: "quite sub-optimal" → "sub-optimal", "very small library" → "small library"
HTTPLib.rst Multiple corrections including spelling fixes and variable name changes (issues identified with code mismatch)
ClientHandler.rst Fixed possessive: "Client Objects Buffer" → "Client Object's Buffer"
CPPClasses.rst Minor wording improvement: "found here" → "found at"
ASProcessHandler.rst Improved terminology: "Loop on" → "Iterate over" for consistency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

* POST Requests (with Content-Length header and bytes[size] after "\\n\\r" end marker)
* Multiple HTTP "messages" in one TCP packet
* Fragmented (partial) messages without end marker "\n\r" (GET) or "Content-Length" (POST)
* Fragmented (partial) messages without end marker "\\n\\r" (GET) or "Content-Length" (POST)
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The escape sequence order is incorrect. The documentation shows "\n\r" but the actual HTTP protocol and code implementation use "\r\n" (CRLF - Carriage Return Line Feed). The correct sequence should be "\r\n" to match the actual implementation in httpparser.cpp which uses "\r\n\r\n" as the HTTP header/body separator.

Copilot uses AI. Check for mistakes.
2. All requests inside _HTTPRequest buffer get split by "\n\r" or "\n\r"+Content-Length
3. Single requests will be put inside _SplittedRequests Vector
1. _SplitRequests Vector will be cleared
2. All requests inside _HTTPRequest buffer are split by "\\n\\r" or "\\n\\r"+Content-Length
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The escape sequence order is incorrect. The documentation shows "\n\r" but the actual HTTP protocol and code implementation use "\r\n" (CRLF - Carriage Return Line Feed). The correct sequence should be "\r\n" to match the actual implementation in httpparser.cpp which uses "\r\n\r\n" as the HTTP header/body separator.

Copilot uses AI. Check for mistakes.
1. _SplittedRequests Vector will be cleared
2. All requests inside _HTTPRequest buffer get split by "\n\r" or "\n\r"+Content-Length
3. Single requests will be put inside _SplittedRequests Vector
1. _SplitRequests Vector will be cleared
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable name _SplitRequests does not match the actual variable name in the code. The actual implementation uses _SplittedRequests (see lib/http/httpparser.hpp line 51 and lib/http/httpparser.cpp). Documentation should reflect the actual code, even if the code variable name contains a grammatical error. Either the code should be refactored to use _SplitRequests, or the documentation should remain as _SplittedRequests.

Copilot uses AI. Check for mistakes.
3. Single requests will be put inside _SplittedRequests Vector
1. _SplitRequests Vector will be cleared
2. All requests inside _HTTPRequest buffer are split by "\\n\\r" or "\\n\\r"+Content-Length
3. Single requests will be put inside _SplitRequests Vector
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable name _SplitRequests does not match the actual variable name in the code. The actual implementation uses _SplittedRequests (see lib/http/httpparser.hpp line 51 and lib/http/httpparser.cpp). Documentation should reflect the actual code, even if the code variable name contains a grammatical error. Either the code should be refactored to use _SplitRequests, or the documentation should remain as _SplittedRequests.

Copilot uses AI. Check for mistakes.

1. Set SHM Base Address (SHMGetRequests)
2. Foreach _SplittedRequests Vector Element: call _parseBaseProps(&Request, ASRequestHandlerRef)
2. For each _SplitRequests Vector Element: call _parseBaseProps(&Request, ASRequestHandlerRef)
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable name _SplitRequests does not match the actual variable name in the code. The actual implementation uses _SplittedRequests (see lib/http/httpparser.hpp line 51 and lib/http/httpparser.cpp). Documentation should reflect the actual code, even if the code variable name contains a grammatical error. Either the code should be refactored to use _SplitRequests, or the documentation should remain as _SplittedRequests.

Copilot uses AI. Check for mistakes.

* GET Requests (without Content-Length header)
* POST Requests (with Content-Length header and bytes[size] after "\n\r" end marker
* POST Requests (with Content-Length header and bytes[size] after "\\n\\r" end marker)
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The escape sequence order is incorrect. The documentation shows "\n\r" but the actual HTTP protocol and code implementation use "\r\n" (CRLF - Carriage Return Line Feed). The correct sequence should be "\r\n" to match the actual implementation in httpparser.cpp which uses "\r\n\r\n" as the HTTP header/body separator.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants