Commit Graph

  • 58de344698 Added a string truncate function to clear the string and reset it to a default state. main glm94 2022-07-18 16:27:44 -05:00
  • c201da9736 Updated the interface for the TStringGetStringRange function. It will now fill a buffer, leaving a null byte at the end, with as many characters as it can depending on the supplied buffer's size. glm94 2022-07-10 15:17:18 -05:00
  • eff939cc8f Reset the buffer size, forgot to restore that to its intended size as 4 seems a bit small. glm94 2022-07-08 16:30:56 +00:00
  • 3632a5afd8 Fixed range delete bug and did some minor code cleanup. glm94 2022-07-08 16:29:39 +00:00
  • d8821e64de Fixed some of the range delete bugs. There still seems to be a bug when the remainder is one however. glm94 2022-07-08 15:48:43 +00:00
  • cc4e2b3ad0 Added Makefile. glm94 2022-07-08 13:26:04 +00:00
  • 26e18bb798 Work in progress for the range removal... glm94 2022-07-08 00:46:56 -05:00
  • 9873ef9198 Fixed a bug on zero padding the string's byte content. glm94 2022-07-07 23:07:38 -05:00
  • b1d79d7b7e Added a function to get a range of characters from the TString object. glm94 2022-07-05 23:33:44 -05:00
  • ce4878e103 Fixed off-by-one error in the TString 'pop' function. glm94 2022-07-05 20:28:13 -05:00
  • 0a61197cb6 Added a way to delete a range of characters at any index and count. glm94 2022-07-05 19:32:58 -05:00
  • 5b5036b996 Minor refactoring. Added a flag in the TString details function to only print some basic stats instead of always showing the stored string and the byte representation. glm94 2022-07-04 23:24:54 -05:00
  • 50655fbc1a Added an option to read input from a file. glm94 2022-07-03 11:56:24 -05:00
  • 053f0ea584 Set up a LUI to interact with the TString object. Refactored some code and improved the string capcity growth algorithm. glm94 2022-07-03 00:59:02 -05:00
  • 338835b998 Added a 'pop' function to remove the last glyph from the string and store it into a buffer. glm94 2022-07-02 23:30:13 -05:00
  • 7c20eef8d1 Finished the string insertion function. glm94 2022-07-02 21:02:11 -05:00
  • 4fa7438a97 Some code clean up, started work on functions to insert text, but they're incomplete. glm94 2022-07-01 20:59:22 +00:00
  • 0f2c6fe9ed Added some guard clauses and additional checks when allocating memory. glm94 2022-06-30 23:18:29 -05:00
  • 0874579e92 Added a function to dump some debug details about the TString. glm94 2022-06-30 22:24:13 -05:00
  • 3564c43ff4 Added code to handle appending multiple characters. glm94 2022-06-30 22:09:30 -05:00
  • d4331290e5 Cleaned up some code and set up some TString functions. glm94 2022-06-30 21:54:46 -05:00
  • e79d4aa00a Initial commit glm94 2022-06-30 21:31:28 -05:00