| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | Use an as_ref hack | acdenisSK | 2017-10-05 | 3 | -3/+10 | |
| | | | ||||||
| | * | Replace slice parametres by IntoIterator (#177) | François Triquet | 2017-10-05 | 4 | -4/+4 | |
| | | | | | | | Fixes #174 | |||||
| | * | Fix most clippy warnings | Maiddog | 2017-10-04 | 2 | -2/+2 | |
| | | | ||||||
| | * | Replace Vec parameters by IntoIterator (#176) | François Triquet | 2017-10-04 | 5 | -5/+5 | |
| | | | ||||||
| | * | Revert "Use the de-generification trick." | acdenisSK | 2017-10-03 | 9 | -190/+55 | |
| | | | | | | | | | Makes the compiliation time just a bit worse | |||||
| | * | Use the de-generification trick. | acdenisSK | 2017-10-02 | 9 | -55/+190 | |
| | | | | | | | | | Fixes #168 | |||||
| | * | `to_owned` -> `to_string` | acdenisSK | 2017-10-01 | 11 | -29/+29 | |
| | | | ||||||
| * | | Switch to parking_lot::{Mutex, RwLock} | Zeyla Hellyer | 2017-10-10 | 16 | -159/+152 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to the `parking_lot` crate's implementations of `std::sync::Mutex` and `std::sync::RwLock`, which are more efficient. A writeup on why `parking_lot` is more efficient can be read here: <https://github.com/Amanieu/parking_lot> Upgrade path: Modify `mutex.lock().unwrap()` usage to `mutex.lock()` (not needing to unwrap or handle a result), and `rwlock.read().unwrap()`/`rwlock.write().unwrap()` usage to `rwlock.read()` and `rwlock.write()`. For example, modify: ```rust use serenity::CACHE; println!("{}", CACHE.read().unwrap().user.id); ``` to: ```rust use serenity::CACHE; println!("{}", CACHE.read().user.id); ``` | |||||
| * | | Resume on resumable session invalidations | Zeyla Hellyer | 2017-10-09 | 1 | -2/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Session invalidations include whether the session may be resumable. Previously, this was not parsed by serenity. This data is now contained in `GatewayEvent::InvalidateSession` as a boolean, which constitutes a breaking change for users that manually handle gateway events. Upgrade path: Instead of pattern matching on simply the variant like so: ```rust use serenity::model::event::GatewayEvent; match gateway_event { GatewayEvent::InvalidateSession => { // work here }, // other matching arms here _ => {}, } ``` Instead pattern match it as a single field tuple-struct: ```rust use serenity::model::event::GatewayEvent; match gateway_event { GatewayEvent::InvalidateSession(resumable) => { // work here }, // other matching arms here _ => {}, } ``` | |||||
| * | | Generate `Default` for CurrentUser and use it in `Cache::default` | acdenisSK | 2017-10-09 | 2 | -2/+2 | |
| | | | ||||||
| * | | Add an impl for `&str` | acdenisSK | 2017-10-09 | 1 | -0/+4 | |
| | | | ||||||
| * | | Find `Member` via substrings, allow case-insensitivity on ↵ | Lakelezz | 2017-10-09 | 1 | -4/+54 | |
| | | | | | | | | | `members_containing` and `members_starting_with` (#184) | |||||
| * | | Help-commands filtering and Member-prefix-search (#182) | Lakelezz | 2017-10-09 | 1 | -0/+18 | |
| | | | ||||||
| * | | Fix a typo | acdenisSK | 2017-10-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add an and | acdenisSK | 2017-10-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Use an as_ref hack | acdenisSK | 2017-10-09 | 3 | -3/+10 | |
| | | | ||||||
| * | | Replace slice parametres by IntoIterator (#177) | François Triquet | 2017-10-09 | 4 | -4/+4 | |
| | | | | | | | Fixes #174 | |||||
| * | | Fix most clippy warnings | Maiddog | 2017-10-09 | 2 | -2/+2 | |
| | | | ||||||
| * | | Replace Vec parameters by IntoIterator (#176) | François Triquet | 2017-10-09 | 5 | -5/+5 | |
| | | | ||||||
| * | | Revert "Use the de-generification trick." | acdenisSK | 2017-10-09 | 9 | -190/+55 | |
| | | | | | | | | | Makes the compiliation time just a bit worse | |||||
| * | | Use the de-generification trick. | acdenisSK | 2017-10-09 | 9 | -55/+190 | |
| | | | | | | | | | Fixes #168 | |||||
| * | | `to_owned` -> `to_string` | acdenisSK | 2017-10-09 | 11 | -29/+29 | |
| | | | ||||||
| * | | Change behaviour of default_channel (#185) | Mei Boudreau | 2017-10-07 | 2 | -8/+25 | |
| | | | ||||||
| * | | Change default_channel to return a pointer (#179) | Mei Boudreau | 2017-10-05 | 2 | -6/+8 | |
| |/ | ||||||
| * | Fix User::tag and CurrentUser::tag discrim output | Zeyla Hellyer | 2017-09-28 | 1 | -1/+1 | |
| | | | | | | The output in a tag may result in "username#304" instead of the correct "username#0304". | |||||
| * | Use `request_client!` for attachment downloading (#165) | Benjamin Cheng | 2017-09-26 | 1 | -1/+1 | |
| | | ||||||
| * | Refactor display impls for ids | acdenisSK | 2017-09-24 | 6 | -24/+7 | |
| | | ||||||
| * | Update bitflags, other dependencies | Zeyla Hellyer | 2017-09-21 | 9 | -78/+87 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Bitflags changed its macro codegen from creating constants to associated constants on structs. Upgrade path: Update code from: ```rust use serenity::model::permissions::{ADD_REACTIONS, MANAGE_MESSAGES}; foo(vec![ADD_REACTIONS, MANAGE_MESSAGES]); ``` to: ```rust use serenity::model::Permissions; foo(vec![Permissions::ADD_REACTIONS, Permissions::MANAGE_MESSAGES]); ``` | |||||
| * | Apply rustfmt | Zeyla Hellyer | 2017-09-18 | 23 | -375/+244 | |
| | | ||||||
| * | Fix compiles of a variety of feature combinations | Zeyla Hellyer | 2017-09-18 | 17 | -74/+92 | |
| | | | | | | This fixes compilation errors and warnings when compiling a mixture of non-default feature targets. | |||||
| * | Apply rustfmt | Zeyla Hellyer | 2017-09-18 | 1 | -1/+3 | |
| | | ||||||
| * | Gate ChannelCategory impl behind 'model' feature | Zeyla Hellyer | 2017-09-18 | 1 | -0/+1 | |
| | | | | | | The rest of the models in the model module have their implementations gated behind the "model" feature, so do the same here. | |||||
| * | if let -> and_then/map | acdenisSK | 2017-09-17 | 1 | -5/+1 | |
| | | ||||||
| * | Apply rustfmt | Zeyla Hellyer | 2017-09-14 | 1 | -11/+11 | |
| | | ||||||
| * | Revamp `CacheEventsImpl` | acdenisSK | 2017-09-12 | 1 | -0/+611 | |
| | | ||||||
| * | serde rename `kind` to `type` | acdenisSK | 2017-09-09 | 1 | -0/+1 | |
| | | ||||||
| * | Apply rustfmt + fix tests | Zeyla Hellyer | 2017-09-09 | 6 | -11/+31 | |
| | | ||||||
| * | `parent_id` -> `category_id` | acdenisSK | 2017-09-09 | 2 | -4/+6 | |
| | | ||||||
| * | Implement categories | acdenisSK | 2017-09-09 | 6 | -2/+154 | |
| | | ||||||
| * | Update `Guild::ban` to use `BanOptions` | acdenisSK | 2017-09-06 | 2 | -9/+11 | |
| | | | | | Also update `Member::permissions` to the default channel change | |||||
| * | match to map/? | acdenisSK | 2017-09-04 | 1 | -4/+1 | |
| | | ||||||
| * | Fix the PRESET_GENERAL permission constant | Zeyla Hellyer | 2017-09-03 | 1 | -1/+1 | |
| | | | | | | These bits were completely wrong and even gave the Administrator permission. | |||||
| * | Remove more non-bot user endpoints | Zeyla Hellyer | 2017-09-01 | 3 | -50/+0 | |
| | | | | | | | | | | | | | These include the following functions removed: - `http::get_application_info` - `http::get_applications` - `http::get_emoji` - `http::get_emojis` - `model::Guild::{emoji, emojis}` - `model::GuildId::{emoji, emojis}` - `model::PartialGuild::{emoji, emojis}` | |||||
| * | Make role references attainable via name | Lakelezz | 2017-08-29 | 2 | -0/+69 | |
| | | ||||||
| * | Prevent malformed opus data from crashing the bot process (#149) | Maiddog | 2017-08-27 | 2 | -54/+60 | |
| | | ||||||
| * | Add ability to play DCA and Opus files. (#148) | Maiddog | 2017-08-27 | 21 | -208/+334 | |
| | | ||||||
| * | Revamp `RwLock` usage in the lib | acdenisSK | 2017-08-24 | 22 | -415/+291 | |
| | | | | | Also not quite sure if they goofed rustfmt or something, but its changes it did were a bit bizarre. | |||||
| * | Allow FromStr for User to use REST (#147) | Maiddog | 2017-08-24 | 1 | -6/+7 | |
| | | ||||||
| * | Use cache when possible in UserId's get method (#146) | Maiddog | 2017-08-22 | 1 | -1/+10 | |
| | | ||||||
| * | Fix tests (#145) | Maiddog | 2017-08-22 | 3 | -24/+24 | |
| | | ||||||