Skip to content
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

Improve Dynamic and 2D Ring Buffer Implementation, Enhance Shell Functionality, and Add Comments and Error Checks #110

Merged
merged 21 commits into from
Oct 28, 2024

Conversation

Galfurian
Copy link
Member

@Galfurian Galfurian commented Oct 28, 2024

Improve Dynamic and 2D Ring Buffer Implementation, Enhance Shell Functionality, and Add Comments and Error Checks

1. Dynamic and 2D Ring Buffer Improvements:

  • Simplified the implementation of the dynamic ring buffer (9231a37, e4652f9).
  • Revised the dynamic-size and 2D ring buffers to enhance performance and flexibility (d8eced0).
  • Implemented shell history management using a 2D ring buffer (4b9fd59).
  • Further improvements and optimizations to the 2D ring buffer (7462a42).

2. Shell Enhancements:

  • Improved keyboard input and getchar functionalities (3291167).
  • Adapted login and shell to integrate new keyboard features (3291167).
  • Revised the command suggestion system, with continued work on making it fully functional (664bb4d).
  • Implemented relative (./) and absolute path suggestions (56ae3c3, 9219e20).
  • Enhanced the shell suggestion system to include smarter path searching (36ba9bc, 41ee3ea).
  • Added comments and error checks to all shell commands for improved stability and maintainability (0798b3d).

3. Keyboard and Cursor Features:

  • Added a cursor shape-changing routine for better visual feedback (1a650e8).
  • Introduced new keyboard combinations for more intuitive control (ad2a153).
  • Standardized the way key sequences are handled by the keyboard driver (221f5a1).

4. Bug Fixes and Refactoring:

  • Fixed a dangling pointer issue (4796d2c).
  • Addressed test failures and improved the reliability of the test suite (176cbba).
  • Moved IPC function definitions inside syscall.h and added necessary comments (34b3e1d).
  • Improved memory-related functions by adding comments and error checks (f5a4d9a, a386be3).

Key Features:

  • Enhanced dynamic and 2D ring buffer mechanisms.
  • Smarter and more responsive shell command suggestions.
  • Improved keyboard handling with new features and standardizations.
  • Comprehensive error checks and added documentation across key components.

Notes:

Work on refining the suggestion system is ongoing, and additional updates may follow in future commits.

@Galfurian Galfurian changed the base branch from master to develop October 28, 2024 15:25
@Galfurian Galfurian changed the title Improve comments and error checks Improve Dynamic and 2D Ring Buffer Implementation, Enhance Shell Functionality, and Add Comments and Error Checks Oct 28, 2024
@Galfurian Galfurian merged commit eba320f into mentos-team:develop Oct 28, 2024
18 checks passed
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.

1 participant