Commit Graph

1163 Commits

Author SHA1 Message Date
Marcin Kulik
0634f52c99 Change all occurrences of old project name to the new one 2013-09-23 19:05:36 +02:00
Marcin Kulik
5c80bf21f1 Don't display cursor when it's invisible... obviously 2013-09-23 11:27:27 +02:00
Marcin Kulik
e15828b56a Bring back cursor blinking 2013-09-23 11:09:25 +02:00
Marcin Kulik
b7e00ad1ff Lock down yajl-ruby version 2013-09-23 09:41:47 +02:00
Marcin Kulik
3c4ac3666e Update copy & code to use the new name 2013-09-22 14:07:42 +02:00
Marcin Kulik
9dad3840fa Use yajl for parsing terminal snapshots 2013-09-22 12:25:34 +02:00
Marcin Kulik
e3678da97a Remove Oj - it leaks like a little puppy 2013-09-22 11:18:49 +02:00
Marcin Kulik
101f4ed0f1 Add task for generating frames files 2013-09-21 20:21:57 +02:00
Marcin Kulik
f53f4c1be8 Default to file storage 2013-09-21 14:13:10 +02:00
Marcin Kulik
805d914ac1 Create bin dir when compiling terminal binary 2013-09-21 13:42:52 +02:00
Marcin Kulik
08583e9073 Don't cross 80 line boundary 2013-09-21 13:11:36 +02:00
Marcin Kulik
ee636bf958 Update the player to use backend-generated JSON frames 2013-09-21 13:05:13 +02:00
Marcin Kulik
a1cd6ca2ae Bring on the terminal.c! 2013-09-21 13:05:13 +02:00
Marcin Kulik
82ff7148a9 Make sure the preview snapshot always has requested height 2013-09-21 13:05:12 +02:00
Marcin Kulik
f15f2e11a5 Avoid making a copy of feed data string 2013-09-21 13:05:12 +02:00
Marcin Kulik
5cd1192fa9 Fix the condition for carrierwave storage setting 2013-09-21 13:05:12 +02:00
Marcin Kulik
b3da1c0656 Don't crash when stdout data is shorter than expected 2013-09-21 13:05:12 +02:00
Marcin Kulik
79f8eaf2ed Fix display of reversed characters in the thumbnails and the preview 2013-09-21 13:05:12 +02:00
Marcin Kulik
82fa03863d Adjust Snapshot#crop to work on already optimized lines 2013-09-21 13:05:12 +02:00
Marcin Kulik
22f076a366 Add pregenerated snapshot and frames to asciicast factory 2013-09-21 13:04:43 +02:00
Marcin Kulik
ff153fff1a Make Terminal return already optimized snapshot 2013-09-20 23:05:34 +02:00
Marcin Kulik
0e2c1784c6 Use terminal binary as a base for Terminal 2013-09-20 23:05:33 +02:00
Marcin Kulik
e537c1b78a Only release terminal if it is not nil 2013-09-14 13:13:58 +02:00
Marcin Kulik
c5198d4fd8 Make foreman start sidekiq with proper config file path 2013-09-14 13:12:32 +02:00
Marcin Kulik
dcaa77a7ea Add rake task for starting sidekiq web panel 2013-09-14 13:11:20 +02:00
Marcin Kulik
e862acedb7 Animation frames generation on the backend 2013-09-10 21:29:17 +02:00
Marcin Kulik
bc6e1ddc3d Make implementation of Stdout more readable 2013-09-02 21:54:19 +02:00
Marcin Kulik
86536f2065 Enable guard notifications via tmux 2013-09-02 21:52:31 +02:00
Marcin Kulik
9e152c3172 Sanitize all characters coming from TSM::Screen#draw
It happens that libtsm's screen_draw returns a character that can't be
properly encoded as utf-8. As what we get is only meant to be displayed
and not interpreted we can replace these invalid characters with a
questio mark, which is a common practice for printing invalid chars.
2013-08-29 15:10:46 +02:00
Marcin Kulik
26801d207f Make Asciicast use BufferedStdout instead of Stdout 2013-08-28 16:56:40 +02:00
Marcin Kulik
c3fc452b91 Make Grid#crop easier to read 2013-08-28 16:22:59 +02:00
Marcin Kulik
731fb11e8b Simplify Grid#trailing_empty_lines implementation 2013-08-28 16:21:31 +02:00
Marcin Kulik
6962f49ec0 Fix spec for AsciicastDecorator#thumbnail 2013-08-27 20:39:42 +02:00
Marcin Kulik
b47fa27968 Refactor Snapshot to use Grid under the hood 2013-08-27 20:31:31 +02:00
Marcin Kulik
d324200b01 Add BufferedStdout class whose #each yields at 60 hz tops 2013-08-27 20:31:27 +02:00
Marcin Kulik
c775bc8b06 Use less spans for thumbnail rendering 2013-08-26 11:02:32 +02:00
Marcin Kulik
31a880b7aa Simplify Snapshot and its presenter 2013-08-25 20:49:23 +02:00
Marcin Kulik
34b39d0db3 Simplify the structure returned by Terminal#snapshot
Each screen character is in its own, separate cell now. In addition the char
attributes don't include attributes that are "falsy".
2013-08-25 17:41:04 +02:00
Marcin Kulik
0ccef424f1 Words 2013-08-25 17:34:53 +02:00
Marcin Kulik
b330f29dcd Define char encoding for a spec file 2013-08-25 17:17:20 +02:00
Marcin Kulik
95ee02d4c1 Only require green build for ruby 2.0 2013-08-25 17:16:40 +02:00
Marcin Kulik
ba5e11c249 Make sure tmp dir gets created in setup.sh 2013-08-25 17:15:00 +02:00
Marcin Kulik
efd4e54aad Run ldconfig after libtsm installation 2013-08-25 17:09:24 +02:00
Marcin Kulik
d838eaceef Extend setup script to install libtsm 2013-08-25 17:03:13 +02:00
Marcin Kulik
065e2cbc30 Split AsciicastStreamer#attributes_for_streaming into smaller methods 2013-08-25 16:45:37 +02:00
Marcin Kulik
731751650c Keep the lines shorther than 80 chars 2013-08-25 16:34:02 +02:00
Marcin Kulik
cdc2f01753 Find or build user from omniauth hash in the middleware 2013-08-19 17:08:13 +02:00
Marcin Kulik
40856933aa Support "blink" attribute in the thumbnails 2013-08-15 23:05:09 +02:00
Marcin Kulik
a53c8de5b9 Pass paths to decompressed stdout files to Stdout 2013-08-15 20:58:41 +02:00
Marcin Kulik
cf3e812e8e Move duration info below the thumbnail 2013-08-15 20:45:51 +02:00