Code

History

Commits on master to src/vm/string.cpp16
  1. Remove 'using namespace' statements from all but the execution table file.arr committed 9 years ago2519a93
  2. Created multiple pointer field iterators based on application Fix bug in vm_string class related to appending null at the end of the current string - This was recently introduced because I didn't test the case :( Scheduler had an invalid usage of std::mutex that was found using the debug version of CRT Fix heinous perf issue in GC where it was taking longer than code execution - Switch from std::queue to std::stack -> perf gain of ~20%arr committed 9 years ago30c4c58
  3. Address more bugs found during limbo compiler testingarr committed 9 years ago84ac331
  4. DisVM will now only use 0 initialized memory. - The alloc_memory function will only return 0 initialize memory - calloc_memory was removedarr committed 9 years agob92328e
  5. Bug in debugger when printing a vm_alloc Bug in vm_string - get_rune/set_rune Update all instantiations of vm_string to use {} - fixed issuesarr committed 9 years agobd1f493
  6. Bugs found during limbo compiler work - Ref counting mistakes in vm_array copy_from() - document perf opportunity - Multiple bugs in addc instruction - set_rune() on vm_string was creating non-null terminated strings - Add support for '*', 'c', and 'u' flags in print formattingarr committed 9 years ago57e9d24
  7. String constructor now permits length of 0 with non-null - This was useful when using static buffers that don't have content. Ensure the syscall error message buffer is properly initialized.arr committed 9 years ago058335e
  8. Implement seek() utfbytes() in Sys module. - Updated tests for utfbytes() - Updated utf8 API surface to support the general length case (codepoint _and_ byte) - Testing of seek() still outstanding Comment added regarding stack frame pointer in stack frames.arr committed 9 years agoa6da1dc
  9. Enable logging from exec for specific components. Remove trailing newlines from all existing logging calls.arr committed 9 years agodd0789c
  10. Minor updates to elinor's PR regarding building on MAC.arr committed 9 years ago0217bda
  11. Fix some issues when building on macelinor fung committed 9 years ago34cadb2
  12. Fix bug in string constructor. Update test used to expose the issue.arr committed 10 years ago7c21b77
  13. Create specific exception when index is out of range. Update thread class to print out exception details. Throw exception when an invalid op-code is detected. Enforce mspawn instruction cannot start from a built-in module.arr committed 10 years ago266fad6
  14. Code clean-up Optimization in allocation pointer enumeration. - Removed needless division - Marked bitset<> as const, now indexing is a constexpr.arr committed 10 years ago8506dc6
  15. Basic implementation of Sys module functions - Sys.create, Sys.open, Sys.read, Sys.write - Sys.tokenizearr committed 10 years ago992a33f
  16. Initial public commit for Dis VMarr committed 10 years agof95902e