Commit Graph

170 Commits

Author SHA1 Message Date
Marcin Kulik
76a5c46bfb Fix reverseIndex, verticalTab 2012-03-02 22:05:52 +01:00
Marcin Kulik
8005613c95 Use single parent element for faster innerHTML 2012-03-02 21:38:34 +01:00
Marcin Kulik
2c58e449a5 Even more faster renderLine 2012-03-02 21:30:13 +01:00
Marcin Kulik
8ef0b63029 A little faster renderLine 2012-03-02 21:28:21 +01:00
Marcin Kulik
c6d6f9c851 Remove old commented out implementation of parser 2012-03-02 21:12:32 +01:00
Marcin Kulik
a9afb35b82 Don't log too much 2012-03-02 21:05:49 +01:00
Marcin Kulik
766fe57bf1 New parser 2012-03-02 20:54:43 +01:00
Marcin Kulik
6eeafdf699 Extract SGR codes interpretation to separate class 2012-02-29 09:08:16 +01:00
Marcin Kulik
3371a238b7 Merge pull request #35 from sickill/omniauth
User model and omniauth authentication
2012-02-26 13:13:24 -08:00
Micha Wrobel
d4f127508f Add nickname column to users 2012-02-26 20:11:09 +01:00
Micha Wrobel
2669bbb310 Don't use assigns(:current_user) in spec 2012-02-26 20:10:09 +01:00
Marcin Kulik
0979a6706b VT#renderer -> VT#view 2012-02-26 18:44:30 +01:00
Marcin Kulik
d0e0ec4f88 Use :alert (supported directly by redirect_to) instead of :error. 2012-02-26 18:39:46 +01:00
Micha Wrobel
c4763bb566 Improve controller specs, tiny refactoring 2012-02-26 18:13:46 +01:00
Micha Wrobel
ce67e84a60 Don't raise AR::RecordNotFound if there is no id 2012-02-26 17:57:46 +01:00
Micha Wrobel
0190c3f049 Add avatar_url column, modify migration file 2012-02-26 17:55:19 +01:00
Micha Wrobel
be24115519 Extract paths to helper methods 2012-02-26 16:40:30 +01:00
Micha Wrobel
1b33acb937 Make sure that @current_user is also set and cleared 2012-02-26 16:33:37 +01:00
Micha Wrobel
bf6b74289b Add omniauth authentication: github and twitter 2012-02-25 23:43:17 +01:00
Micha Wrobel
c374f43f5e fix key name, and remove unsupported email 2012-02-25 23:42:44 +01:00
Micha Wrobel
f59841abaf Add user model, and .create_with_omniauth method 2012-02-25 17:43:10 +01:00
Marcin Kulik
f23cbbb79d Move char attrs back to VT 2012-02-24 23:26:05 +01:00
Marcin Kulik
69c1dcbf9c Another TODO 2012-02-24 23:20:27 +01:00
Marcin Kulik
3eb0b40d32 TODO 2012-02-24 23:20:03 +01:00
Marcin Kulik
9edbcbac4e Remove wrong handlers 2012-02-24 23:19:38 +01:00
Marcin Kulik
260d7c6956 Comment 2012-02-24 23:19:04 +01:00
Marcin Kulik
49c583d500 Rename handleCSI to handleCS 2012-02-24 23:18:33 +01:00
Marcin Kulik
b4322fa5a0 Extract responsibilities 2012-02-24 23:18:12 +01:00
Marcin Kulik
961ee90836 Handle reverse/normal video attr 2012-02-22 18:11:06 +01:00
Marcin Kulik
9af87da790 Handle ESC[^ - reserved 2012-02-22 18:11:06 +01:00
Marcin Kulik
eecd3b3917 Configuration with confstruct 2012-02-20 21:52:21 +01:00
Marcin Kulik
efff8e765d Ignore 2 more esc sequences 2012-02-20 21:16:13 +01:00
Marcin Kulik
fe349c9394 Blink attribute support 2012-02-20 21:15:26 +01:00
Marcin Kulik
5fdd43306d Close span only if there was at least one brush used 2012-02-19 19:47:04 +01:00
Marcin Kulik
5f65e4d3fa Set fixed with and height of terminal view. Fixes #22 2012-02-19 19:40:31 +01:00
Marcin Kulik
a0482edb14 Fix _cursorRight when on right edge of screen 2012-02-19 17:06:07 +01:00
Marcin Kulik
ee6298d515 Italic style support 2012-02-19 16:54:44 +01:00
Marcin Kulik
bf115d99be Fix VT#deleteCharacters for good 2012-02-19 15:48:23 +01:00
Marcin Kulik
47998cc1a0 Improved VT#deleteCharacters 2012-02-19 15:13:12 +01:00
Marcin Kulik
c3f3da1318 Tab stop support 2012-02-19 15:12:56 +01:00
Marcin Kulik
dd737d4134 Fix bright attribute support 2012-02-13 22:43:43 +01:00
Marcin Kulik
bbd34c7e7c Escape & and < in span before inserting them into DOM 2012-02-13 22:20:29 +01:00
Marcin Kulik
b6ccd8bf88 restartCursorBlink on movie-awake event 2012-02-13 18:43:54 +01:00
Marcin Kulik
ee7a051172 Cache generated brush spans 2012-02-12 22:48:04 +01:00
Marcin Kulik
df1c1f5a4a Orders of magnitude faster rendering 2012-02-12 22:36:52 +01:00
Marcin Kulik
f4848c8b4b Update only changed lines instead of whole screen 2012-02-12 22:02:57 +01:00
Marcin Kulik
6819f75070 Simplify dirty line tracking 2012-02-12 21:53:00 +01:00
Marcin Kulik
a9e0e261dc Extract line initialization and removal to separate methods 2012-02-12 21:49:46 +01:00
Marcin Kulik
f0c599892e Fix insert/deleteLine 2012-02-12 21:41:24 +01:00
Marcin Kulik
1adb15a533 Scroll region support 2012-02-12 19:54:49 +01:00
Marcin Kulik
a194067ab5 Lots of good stuff \m/ 2012-02-12 19:41:56 +01:00
Marcin Kulik
2d4bc140a1 Fix cursorDown/Up 2012-02-12 16:45:08 +01:00
Marcin Kulik
d6a0211cb9 VT *is* interpreter + screen buffer as one 2012-02-12 16:39:16 +01:00
Marcin Kulik
fd16702938 Render cursor in visible state for update lines 2012-02-12 14:05:29 +01:00
Marcin Kulik
6ecb2e7fdc Improved cursor behavior 2012-02-12 14:02:25 +01:00
Marcin Kulik
9c5201905c Data buffering in VT 2012-02-12 13:35:41 +01:00
Marcin Kulik
4e5240e24f Switched to jasminrice for coffee specs 2012-02-11 15:37:49 +01:00
Marcin Kulik
5d6ba15b19 VT = Ansi interpreter + (embedded) screen buffer 2012-02-11 13:50:06 +01:00
Marcin Kulik
a378358abf Improvements to interpreter and screen buffer 2012-02-09 22:31:14 +01:00
Marcin Kulik
a591423e3b Moah refactoringz, moah specs 2012-02-07 10:42:57 +01:00
Marcin Kulik
ed6d1146da Brush with spec 2012-02-05 14:21:10 +01:00
Marcin Kulik
10ebba7755 Remove empty file 2012-02-05 14:20:54 +01:00
Marcin Kulik
2c4796ed70 All js specs passing 2012-02-04 23:54:43 +01:00
Marcin Kulik
145e66ca18 Refactoring time!! 2012-02-04 20:09:44 +01:00
Marcin Kulik
5ca0a2965d CSI M handler 2012-01-20 21:41:40 +01:00
Marcin Kulik
8f770a28bf Use recommended color cube values for 216 rgb colors / 24 shades of grey 2012-01-20 21:14:33 +01:00
Marcin Kulik
2ea2931eee Unbzip data files before processing 2012-01-19 22:45:21 +01:00
Marcin Kulik
e508aadfa1 VPA - Vertical Position Absolute 2012-01-19 22:44:40 +01:00
Marcin Kulik
f4bc758936 CHA – Cursor Horizontal Absolute 2012-01-19 22:43:43 +01:00
Marcin Kulik
73221c8d14 NOOP for "Autowrap mode" 2012-01-19 22:42:51 +01:00
Marcin Kulik
e1b1bc56da NOOP for "Move to next tab stop" 2012-01-19 22:41:55 +01:00
Marcin Kulik
68703136cb Cleanup after js2coffee 2012-01-19 00:01:37 +01:00
Marcin Kulik
8a5f73e382 Fix Player#logStatus 2012-01-18 18:58:44 +01:00
Marcin Kulik
c701989209 Stop animation when can't match 100+ chars 2012-01-18 18:58:18 +01:00
Marcin Kulik
7b143069c8 Simplified AnsiInterpreter#feed 2012-01-18 18:57:49 +01:00
Marcin Kulik
159aee848f Handle SGR 39/49 (reset color/background) 2012-01-18 18:45:49 +01:00
Marcin Kulik
c9eca61c05 Simplified AsciiIo.Player 2012-01-15 15:36:47 +01:00
Marcin Kulik
3fd50d500e Don't strip first line of data 2012-01-15 15:13:14 +01:00
Marcin Kulik
00f2ee5a41 Display asciicast title in heading 2012-01-15 15:11:37 +01:00
Marcin Kulik
28b07a88ed Return Location header on successful upload 2012-01-15 15:07:12 +01:00
Marcin Kulik
8ba57d9570 Split Terminal#restartCursorBlink into stop/start 2012-01-15 15:06:12 +01:00
Marcin Kulik
86d9b55eae Check up to 100 bytes until giving up 2012-01-15 00:46:48 +01:00
Marcin Kulik
b1e1fd0d90 Simplified regexp for OSC 2012-01-15 00:46:21 +01:00
Marcin Kulik
59dbd5aea3 Api::AsciicastsController 2012-01-14 21:27:10 +01:00
Marcin Kulik
268d4b1660 Asciicast#meta= 2012-01-14 21:26:07 +01:00
Marcin Kulik
330df852b4 Simplify dirty line tracking 2011-12-05 00:22:54 +01:00
Marcin Kulik
0be891e7ea Display time of run on console 2011-12-05 00:15:32 +01:00
Marcin Kulik
daa2083d51 Simplified Terminal#cursorForward/cursorBack 2011-12-04 23:32:31 +01:00
Marcin Kulik
291bbdf9c7 Fix CUU and CUD cursor handling 2011-12-04 23:28:45 +01:00
Marcin Kulik
6f3bad7f49 DRY 2011-11-29 00:29:20 +01:00
Marcin Kulik
24e781b457 Fix backspace (0x8) 2011-11-29 00:29:01 +01:00
Marcin Kulik
0a09075b6f Underline SGR code support 2011-11-29 00:28:26 +01:00
Marcin Kulik
16a83b553d Utf8 decoding of debug info 2011-11-29 00:27:44 +01:00
Marcin Kulik
44ee71cfcc Handle CSI P (delete character) 2011-11-29 00:26:57 +01:00
Marcin Kulik
196437b7af Improved handling of private standards ANSI codes 2011-11-29 00:25:51 +01:00
Marcin Kulik
602877869f Use new namespace for terminal 2011-11-27 22:53:45 +01:00
Marcin Kulik
a57cd2a241 Coffized terminal.js 2011-11-27 22:45:34 +01:00
Marcin Kulik
d380577b2f Rename Terminal#eraseLine -> eraseInLine 2011-11-27 21:59:12 +01:00
Marcin Kulik
b90582503e Coffize AnsiInterpreter 2011-11-27 21:58:10 +01:00
Marcin Kulik
0cc0416b56 Change the way of building html element 2011-11-27 18:02:28 +01:00