Commits

Author Commit Message Labels Comments Date
Peter Hosey
This should be an NSInteger, not an NSTimeInterval. Thanks to Rudy Richter for bringing this to my attention.
Peter Hosey
Added tag 0.6 for changeset 37825820b1c1
Peter Hosey
Updated copyright year range in license.
Tags
0.6
Peter Hosey
Updated README for 0.6.
Peter Hosey
Added a method to drop the cache if you get a memory warning.
Peter Hosey
Cache time zones by offset. Gets another speed-up of about 1.5×, and makes this now faster than C stdlib.
Peter Hosey
State our units.
Peter Hosey
Announce which one we're timing before we run it.
Peter Hosey
Two calendars are better than one. Previous 5× speed-up required assistance from the test program (setting the default output time zone to the time zone returned from an initial parse). Now it's official: ISO8601DateFormatter gets its 5× speed-up from calendar-caching without assistance from the test app.
Peter Hosey
Oh yeah. Let's not leak the calendar while we're at it.
Peter Hosey
Another 5× speed-up: Create and always use a single calendar per date formatter, instead of creating them and throwing them away, and make sure it always has our default time zone.
Peter Hosey
Added some sleeps so I'm better able to see the phases' starts and ends in Instruments's timeline.
Peter Hosey
Made this almost ten times as fast by holding onto the date formatter we use for unparsing.
Peter Hosey
Added a program that times the ISO 8601 date formatter against C standard library date parsing and unparsing. Inspired by [1]. [1]: http://samsoff.es/posts/how-to-drastically-improve-your-app-with-an-afternoon-and-instruments
Peter Hosey
Change the minutes over to use precision the same as the hour does, for consistency with the hours. References #4.
Peter Hosey
Fixed #4 by amending the time string format to use a different method of zero-padding that is compatible, in Apple's implementation, with the + flag.
Peter Hosey
Beefed up the calendar-date unparser test with a couple of command-line arguments.
Peter Hosey
Also test negative hours. Works.
Peter Hosey
Added a function that tests a single-digit hour (which should be prefixed with both + and 0) in various formats.
Peter Hosey
Checking in a new test program.
Peter Hosey
Make the parser tester show parsed dates in GMT, not the local time zone.
Peter Hosey
Fix implicit-cast warnings by using the correct formatter and explicitly casting to its type. Sparks submitted a patch for this, but it approached this differently, by explicitly casting to unsigned int and leaving the formatters as they were. This change solves the problem the compiler was warning about, which was the risk of truncating numbers that are out of unsigned int range.
Peter Hosey
Changed compiler to Clang.
Peter Hosey
Initialize more variables, fixing some warnings. Thanks to Sparks for this patch.
Peter Hosey
Fixed a couple of 64-to-32 warnings that occurred when building for i386.
Peter Hosey
More warnings.
Peter Hosey
Fix all warnings.
Peter Hosey
Replacing -Wall with the Hoseyification suite of warning flags.
Peter Hosey
Pass a date, not the ISO 8601 date formatter (oops), to the time formatter.
Peter Hosey
Added targets to the Makefile to run the Clang Static Analyzer on the date formatter.
  1. Prev
  2. Next