Add a readme file for the Callstack test app to explain its functionality as well as providing documentation on the expected generated callstacks between the javascript minified byclosure and ajaxmin.
* Keep track of any error cases encountered when attempting to deminify a StackFrame. Instead of returning a list of StackFrames in DeminifyStackTraceResult, we will return a StackFrameDeminificationResult, which contains the deminified StackFrame as well as an enum indicating if any error cases were hit. This result can be used to help provide information of any error cases in the SourceMapToolkit without having to debug.
* Updating documentation.
* Missed merges
* Add back StackFrameDeminifierUnitTests with test coverage to make sure StackFrameDeminificationResults are recorded correctly.
* Undo hint path for nuget packages from local box
* Fix up SourceMapToolkil csproj
* Documentation cleanup
* fix type in documentation
* Do not do Bitwise or on DeminificationError, since the Flags attribute was removed in a previous commit. Additionally update the NoFunctionMapProvided error to be NoSourceCodeProvided since FunctionMap is not
* If we fail to get the deminified stackframe method, we shouldn't attempt to get the source position or file path
* Remove hard coded local nugetcache path
* Revert readme to line up with upstream repository
* Update Readme file to contain AppVeyor badge
Update Readme file to contain AppVeyor build status
* Keep track of any error cases encountered when attempting to deminify a StackFrame. Instead of returning a list of StackFrames in DeminifyStackTraceResult, we will return a StackFrameDeminificationResult, which contains the deminified StackFrame as well as an enum indicating if any error cases were hit. This result can be used to help provide information of any error cases in the SourceMapToolkit without having to debug.
* Updating documentation.
* Missed merges
* Add back StackFrameDeminifierUnitTests with test coverage to make sure StackFrameDeminificationResults are recorded correctly.
* Undo hint path for nuget packages from local box
* Fix up SourceMapToolkil csproj
* Documentation cleanup
* fix type in documentation
* Do not do Bitwise or on DeminificationError, since the Flags attribute was removed in a previous commit. Additionally update the NoFunctionMapProvided error to be NoSourceCodeProvided since FunctionMap is not
* If we fail to get the deminified stackframe method, we shouldn't attempt to get the source position or file path
* Remove hard coded local nugetcache path
* Revert readme to line up with upstream repository
Add sample usage for sourcemap parsing and serialize
Use optional parameter for SourceMapGenerator.SerializeMapping and throw
exception when input is null
Update several typo
* Keep track of any error cases encountered when attempting to deminify a StackFrame. Instead of returning a list of StackFrames in DeminifyStackTraceResult, we will return a StackFrameDeminificationResult, which contains the deminified StackFrame as well as an enum indicating if any error cases were hit. This result can be used to help provide information of any error cases in the SourceMapToolkit without having to debug.
* Updating documentation.
* Missed merges
* Add back StackFrameDeminifierUnitTests with test coverage to make sure StackFrameDeminificationResults are recorded correctly.
* Undo hint path for nuget packages from local box
* Fix up SourceMapToolkil csproj
* Documentation cleanup
* fix type in documentation
* Do not do Bitwise or on DeminificationError, since the Flags attribute was removed in a previous commit. Additionally update the NoFunctionMapProvided error to be NoSourceCodeProvided since FunctionMap is not
* If we fail to get the deminified stackframe method, we shouldn't attempt to get the source position or file path
Extract Base64VlqConstants from Base64VlqDecoder so that it can be
shared by Base64VlqEncoder
Implement Base64Converter.ToBase64 and Base64VlqEncoder
Implement SourceMapGenerator to support serializing SourceMap to json
string
Add unit tests for classes/methods added
* Update the API for the source map toolkit to take a StreamReader instead of a string.
* Update the comments for the API interfaces to reflect the new return type.
* Call close on streams when done using them.
Update comments.
* Update documentation (#28)
* Update the API for the source map toolkit to take a StreamReader instead of a string.
* Update the comments for the API interfaces to reflect the new return type.
* Call close on streams when done using them.
Update comments.
* Add some comments to the readme file to describe the APIs of the library
* Update main blurb.
* Update description of API usage.
* Repleace Stream with StremReader to correctly reflect the API
* Replace "input string" with "input callstack string"
* Add MIT License information to repository (#29)
* Update the API for the source map toolkit to take a StreamReader instead of a string.
* Update the comments for the API interfaces to reflect the new return type.
* Call close on streams when done using them.
Update comments.
* Update documentation (#28)
* Update the API for the source map toolkit to take a StreamReader instead of a string.
* Update the comments for the API interfaces to reflect the new return type.
* Call close on streams when done using them.
Update comments.
* Add some comments to the readme file to describe the APIs of the library
* Update main blurb.
* Update description of API usage.
* Repleace Stream with StremReader to correctly reflect the API
* Replace "input string" with "input callstack string"
* Add MIT license file to root directory
* Add license section to readme
* Add line breaks to license
* Change casing on License.txt
* Change casing on License.txt
* The fuzzy search logic for matching source positions from wrapping functions to source map positions considers source positions whose column values differ by one to be equivalent. There is currently a bug when the column number of the generated source position is zero, since it will try to find a source position with a column number of -1. This commit will fix this to search for the largest column number on the previous line when this scenario occurs. Note that this is an optimistic guess at the line number, since we don't actually know how many column numbers are on a given line. If we find that this assumption does not hold in practice, we'll have to modify the library to keep track of how many columns are in each line of source code.
* Change ~index - 1 > 0 to ~index-1 >=0 to allow for the case where ~index is equal to 1.
Add unit test to cover the cross line number case to GetMappingEntryForGeneratedSourcePosition.