CLUDGES 1017 B

12345678910111213141516171819202122
  1. Things that have been moved around or changed.
  2. getFieldDottedOrArray -> ElementPath.getFieldDottedOrArray (was unattached function, now static function on ElementPath class)
  3. isAllDigits -> ElementPath.isAllDigits ( now static function )
  4. Status objects are now generic objects having a 'code' property that is a string of the error code that mongo uses (e.g. {code:'OK'}).
  5. StatusWith is now rolled into status as a result field. status.getValue() is now status.result
  6. debugString takes one argument 'level', as does debugAddSpace. Debug statements are printed to console.debug()
  7. verify is a macro function that throws an exception if the input is falsey, with the current file and lineno, so there is no need for the function itself
  8. .get() returns a copy of whatever called it. Since we don't manually manage memory, we don't need this.
  9. .release() is manual memory management, it gets dropped.
  10. obj.reset( arg ) is replaced with obj = arg; Everything else that happens in reset is manual memory management.