Commit Graph

874 Commits

Author SHA1 Message Date
Steven Fackler
c7d58e73c4 Make rows 1-indexed 2013-12-02 19:53:40 -08:00
Steven Fackler
a1da38b50e Prevent over-slicing 2013-12-01 21:53:34 -08:00
Steven Fackler
4ab1cd3dbf Another test and minor cleanup 2013-12-01 21:41:42 -08:00
Steven Fackler
9a4b51e157 Add INT4[] support 2013-12-01 21:09:31 -08:00
Steven Fackler
369657cf00 Minor cleanup in tests 2013-12-01 14:30:28 -08:00
Steven Fackler
8e83a9749d Switch to new destructure wildcard format 2013-11-29 13:30:03 -05:00
Steven Fackler
99d570f17b Fixes for Rust updates
No more hacky macro module!
2013-11-26 18:27:34 -08:00
Steven Fackler
48dfb4dd8d Fix spawn calls for API changes 2013-11-25 20:50:09 -08:00
Steven Fackler
11598cc404 Rename lifetimes from 'self 2013-11-24 14:42:44 -08:00
Steven Fackler
c543963af4 Move from Cell to RefCell 2013-11-24 13:12:46 -08:00
Steven Fackler
a86d33c96b Switch docs to sfackler.com
octayn doesn't support rustpkg yet
2013-11-15 19:55:09 -08:00
Steven Fackler
139dc29467 Update for IO moves 2013-11-12 21:33:52 -08:00
Steven Fackler
53882e229f Minor cleanup 2013-11-11 23:29:53 -08:00
Steven Fackler
d003a85d9c Restructure SslMode
It will now work properly with the connection pool.
2013-11-10 18:13:32 -08:00
Steven Fackler
e2b6ad6be1 One more doc update 2013-11-10 18:01:59 -08:00
Steven Fackler
1ce4bd6cf5 Update example with SSL argument 2013-11-10 17:59:25 -08:00
Steven Fackler
5f678825d1 Move errors to error package 2013-11-10 17:41:15 -08:00
Steven Fackler
a115c45416 Fix PreferSsl
It'd be nice to have more robust testing for the SSL logic, but it seems
to be working.
Closes #15
2013-11-09 22:30:20 -08:00
Steven Fackler
45220459b1 Add a very simple SSL test
cc #15
2013-11-09 21:55:29 -08:00
Steven Fackler
4538f7f5b4 Switch struct lifetime back to self
Doesn't really matter, but may as well be consistent
2013-11-09 21:30:19 -08:00
Steven Fackler
b57b1a4eac Untested SSL support
cc #15
2013-11-09 21:03:32 -08:00
Steven Fackler
4a3ee11ac7 Infrastructure for ssl support 2013-11-09 19:01:06 -08:00
Steven Fackler
8ce889b477 Fix spelling mistake 2013-11-08 22:17:43 -08:00
Steven Fackler
2c4d4e97ea Remove find_col_named
It's a very simple utility function that won't be used enough to keep it
on a trait like PostgresStatement.
2013-11-08 22:15:35 -08:00
Steven Fackler
d9a8e261f7 Revert "Remove superfluous impls"
Turns out ~T won't actually autoborrow to &T when casting to a trait
object. See mozilla/rust#10347

This reverts commit c2a755dd95.
2013-11-07 22:15:20 -08:00
Steven Fackler
8e41ccd177 Fix build error
Add a build of the library to travis to prevent regressions.
2013-11-07 21:57:59 -08:00
Steven Fackler
7a19eaf6d3 Ignore instead of not compiling tests 2013-11-06 08:56:09 -08:00
Steven Fackler
ccb552f571 Add travis cfg to disable some tests 2013-11-05 22:07:48 -08:00
Steven Fackler
8856aed96b Add back md5 support
Rust-crypto doesn't seem to have good rustpkg support so I've pulled the
old MD5 implementation from libextra in for now.
2013-11-05 22:04:12 -08:00
Steven Fackler
2178eceeee Even more README cleanup 2013-11-05 21:35:07 -08:00
Steven Fackler
33bb40656d More README work 2013-11-05 21:31:24 -08:00
Steven Fackler
74d6f38690 Minor README cleanup 2013-11-05 21:29:41 -08:00
Steven Fackler
42f5224e72 Remove lazy query info from README
It's a pretty obscure feature.
2013-11-05 21:15:57 -08:00
Steven Fackler
936b026d39 Simplify a FromSql impl 2013-11-05 20:59:54 -08:00
Steven Fackler
c2a755dd95 Remove superfluous impls
~foo will coerce to &foo
2013-11-05 20:53:31 -08:00
Steven Fackler
d7865cd884 Switch over to rustpkg test
Range and json tests have to be completely ignored for now :(
2013-11-04 09:09:11 -08:00
Steven Fackler
102a3c9517 Update doc link in readme 2013-11-03 20:54:07 -08:00
Steven Fackler
98ce0e4f10 Minor cleanup 2013-11-03 20:49:17 -08:00
Steven Fackler
d72c1d0631 Whitespace cleanup 2013-11-03 20:18:49 -08:00
Steven Fackler
b53ca7a47c Switch back to rustpkg test infrastructure
I'm not sure what the right thing to is is wrt use statements.
2013-11-02 15:06:19 -07:00
Steven Fackler
1b6577e942 Remove doc_hidden on message
Rustdoc now properly ignores private modules.
2013-11-02 14:50:43 -07:00
Steven Fackler
e911f90403 Switch docs back to octayn.net 2013-11-01 20:41:47 -07:00
Steven Fackler
6f2d883613 Update for API change 2013-11-01 20:37:33 -07:00
Steven Fackler
e4c2e20e85 Add Range::contains_range 2013-10-31 23:10:55 -07:00
Steven Fackler
fb6aeea804 More Range work 2013-10-31 21:28:45 -07:00
Steven Fackler
edc4927eb6 Support empty ranges 2013-10-31 00:04:45 -07:00
Steven Fackler
f54d40aff8 Use self instead of super::types 2013-10-30 23:19:24 -07:00
Steven Fackler
da611fd112 Don't ignore includes on travis 2013-10-30 23:01:11 -07:00
Steven Fackler
c4e6e49d8a Document range types 2013-10-30 22:51:18 -07:00
Steven Fackler
ab25c794eb Documentation for range 2013-10-30 22:35:49 -07:00