Anyone interested in trying a new I2C master library for the Arduino? I got tired of trying to modify the TWI library to get the repeated start feature to work so I went ahead and wrote a new library that combines the Wire and TWI libraries into one. It has more functionality, higher throughput and reduced code size. It's available for download here http://www.dsscircuits.com/images/code/I2C.zip and there's a full write up about it here http://www.dsscircuits.com/articles/arduino-i2c-master-library.html
I've tested it on several devices and so far it works well.
Let me know what you think.