Skip to content

Instantly share code, notes, and snippets.

View andoriyu's full-sized avatar
🏠
Working from home

Andrey Snow andoriyu

🏠
Working from home
View GitHub Profile
This file has been truncated, but you can view the full file.
Index: Makefile
===================================================================
--- Makefile (revision 453557)
+++ Makefile (working copy)
@@ -4,11 +4,11 @@
# Based on the java/intellij port
PORTNAME= intellij-ultimate
-PORTVERSION= 2016.2.5
+PORTVERSION= 2017.2.5
This file has been truncated, but you can view the full file.
Index: Makefile
===================================================================
--- Makefile (revision 453489)
+++ Makefile (working copy)
@@ -4,11 +4,11 @@
# Based on the java/intellij port
PORTNAME= intellij-ultimate
-PORTVERSION= 2016.2.5
+PORTVERSION= 2017.2.5
This file has been truncated, but you can view the full file.
Binary files /usr/local/poudriere/ports/servers/java/intellij-ultimate/.Makefile.swo and /usr/local/poudriere/ports/default/java/intellij-ultimate/.Makefile.swo differ
Binary files /usr/local/poudriere/ports/servers/java/intellij-ultimate/.Makefile.swp and /usr/local/poudriere/ports/default/java/intellij-ultimate/.Makefile.swp differ
diff -ruN /usr/local/poudriere/ports/servers/java/intellij-ultimate/Makefile /usr/local/poudriere/ports/default/java/intellij-ultimate/Makefile
--- /usr/local/poudriere/ports/servers/java/intellij-ultimate/Makefile 2017-06-18 18:09:16.000000000 +0000
+++ /usr/local/poudriere/ports/default/java/intellij-ultimate/Makefile 2017-10-08 15:38:03.602716000 +0000
@@ -4,11 +4,11 @@
# Based on the java/intellij port
PORTNAME= intellij-ultimate
-PORTVERSION= 2016.2.5
#
# wm independent hotkeys
#
# terminal emulator
super + Return
st
# program launcher
super + space
@ac-book.local  4:15PM  ~/Dev/Heaven/angel-whisper   master ● 
$  cargo check
Compiling angel_whisper v0.1.0 (file:///Users/andoriyu/Dev/Heaven/angel-whisper)
error[E0597]: `service` does not live long enough
--> src/llsd/tokio.rs:98:9
|
97 | service.borrow().call(initiate).and_then(move |_| ok(()))
| ------- borrow occurs here
98 | });
| ^ `service` dropped here while still borrowed
pub trait ClientExt<T: Service<Request=Frame,Response=Frame,Future=FrameFuture,Error=io::Error>> {
fn service(&self) -> Rc<RefCell<T>>;
fn session(&self) -> Rc<RefCell<ClientSession>>;
fn authenticate(&self) -> Box<Future<Item = (), Error = io::Error>> {
let session = self.session().clone();
let service = self.service().clone();
let hello_frame = session.borrow().make_hello();
let hello_future = service.borrow().call(hello_frame);
use errors::{AWResult, AWErrorKind};
use llsd::frames::{Frame, FrameKind};
use llsd::session::Sendable;
use llsd::session::server::Session;
use sodiumoxide::crypto::box_::{SecretKey, PublicKey};
use std::sync::{Arc, RwLock};
use system::{Handler, ServiceHub};
use system::authenticator::Authenticator;
use system::sessionstore::SessionStore;
use super::errors::AWResult;
use super::llsd::session::server::Session;
use std::sync::{Arc, RwLock};
use typemap::ShareMap;
pub mod router;
pub mod authenticator;
#[cfg(feature = "system-on-tokio")]
pub mod tokio {
use llsd::errors::{LlsdErrorKind};
use frames::Frame;
use tokio_io::{AsyncRead, AsyncWrite};
use tokio_io::codec::{Encoder, Decoder, Framed};
use tokio_proto::pipeline::ServerProto;
use bytes::BytesMut;
use std::io;
#![doc(html_root_url = "https://andoriyu.github.io/blunder.rs/")]
#[macro_use] extern crate enum_primitive;
extern crate num;
extern crate errno;
use std::error::Error as StdError;
use std::fmt;
use std::ops::Deref;
use std::convert::{From, Into};