Macadamian/titanium_mobile — pull request #72 by jpl-mac (2012-06-06 18:04:53+00:00)
Title: TIMOB-9388 Blackberry: implement String.format

Reviewers: DC, Alex

This patch adds the implementation of printf like formating.
It does not cover numbered arguments (coming in future patch).
Also not covered is the use of StringObject in place of String primitives as their use is currently broken in our V8.

CHANGELOG:
- Updated yml files, as stubs exist for all global methods and return undefined, marked then as NYI
- Centralized all exception strings into TiExceptionStrings.h
- Parse the format string and format each token individually
- Implemented unicode support, but the current cascades fonts don't support Unicode characters; will need to be retested later (TIMOB-9397)
- Fixed yml syntax error in ActivityIndicator.yml
- New files:
- TiExceptionStrings.*

TESTS: On Simulator and Device
- generated and validated apidocs
- Tested each specifiers
- Validated all the modifiers
- Tested badly formatted tokens, calls with no args
- Tested using multiple tokens in the same format string
- Tested the exception throwing