aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMStringEncoding.m
Commit message (Collapse)AuthorAge
* Fix Undefined Behavior, left shift of negative value, signed integer overflow.Gravatar Eugene Hermann2018-07-25
| | | | | | | ubsan output: .../google_toolbox_for_mac/Foundation/GTMStringEncoding.m:204:16: runtime error: left shift of 10368305 by 8 places cannot be represented in type 'int' .../google_toolbox_for_mac/Foundation/GTMStringEncoding.m:312:16: runtime error: left shift of 42406098 by 6 places cannot be represented in type 'int' TESTED=Earth iOS --featires=ubsan
* First cut at pruning things/updating things.Gravatar dmaclach2016-10-07
| | | | | | | | | | | | | | | Remove a bunch of code that Google stopped using/maintaining rather than trying to update it it. Some would be hard to update, some actually has system provided replacements; others are patterns that just don't seem as common now. Prune out the code related to macOS <= 10.5, start pruning some of the really old iOS support also. Get the projects mostly limping again with modern Xcodes so tests can be run. If someone ends up on this commit via history for something they still find as useful, feel free to do a pull request to bring the snippet of code back to life and update it for current SDKs.
* [Author: param]Gravatar gtm.daemon2012-08-29
| | | | | | | Fix implicit conversion warnings. R=dmaclach,thomasvl APPROVED=dmaclach DELTA=9 (0 added, 0 deleted, 9 changed)
* [Author: duga]Gravatar gtm.daemon2011-05-04
| | | | | | | Get rid of warning in debug mode (%d used for NSUInteger). Just use %lu instead and cast to unsigned long (largest NSUInteger can be). R=dmaclach APPROVED=dmaclach
* [Author: dmaclach]Gravatar gtm.daemon2010-01-20
| | | | | | Get rid of 64->32 bit conversion warning. R=iwade,thomasvl DELTA=1 (0 added, 0 deleted, 1 changed)
* [Author: iwade]Gravatar gtm.daemon2010-01-15
Added GTMStringEncoding which is a generic base 2-128 encoder/decoder with support for custom character maps. R=thomasvl APPROVED=thomasvl DELTA=723 (723 added, 0 deleted, 0 changed)