Commit Graph

51 Commits

Author SHA1 Message Date
Paris Kasidiaris
b1c6ae8a06 Merge pull request #303 from staticfloat/sf/terminado
Add `Terminado` example
2016-10-17 21:03:49 +03:00
Elliot Saba
8f0ada708f Make naming a little more self-consistent 2016-10-08 20:09:34 -07:00
Elliot Saba
10dd22a3d4 Rename Terminado attach and detach functions 2016-10-08 00:36:08 -07:00
Elliot Saba
fe54da34f8 Add terminado.js, an addon for connecting to Terminado backends 2016-10-07 13:33:10 -07:00
Paris Kasidiaris
6ee524864e Make add-ons load the latest built version 2016-10-05 13:23:45 +03:00
Paris Kasidiaris
ed1a31d1cf Make src/xterm.js ES2015 and export EventEmitter into its own file
Fix #158
2016-08-29 19:51:40 +00:00
Tine Jozelj
64d77d2491 Making it more human readable 2016-08-04 15:22:45 +02:00
Tine Jozelj
9604674c65 Default without target atribute 2016-08-04 15:05:09 +02:00
Tine Jozelj
d9294779a6 Add target as option
You can now provide target argument if you want to modify target attribute on links. It defaults to `_self` to keep current behavior.
2016-08-04 14:58:42 +02:00
Tine Jozelj
3113cdf0ea Make linkify links open in new tab/window
I believe this behavior is more appropriate.
2016-08-02 15:57:15 +02:00
Daniel Imms
f2f0f460c4 Add a bunch of tests 2016-06-10 18:53:32 -07:00
Daniel Imms
9c3b1105e2 Check optional port clause after domain too 2016-06-10 13:15:59 -07:00
Daniel Imms
23cfa3d824 Add IP addresses to linkify
Fixes #91
2016-06-07 22:12:38 -07:00
Paris
dc67c94545 Change CommonJS package structure
Instead of making Xterm prototype extending optional, just require Xterm and pass it as parameter to the function just like it is being done with RequireJS
2016-05-03 12:48:16 +03:00
Paris
fff56eea1b Extend Xterm prototype only when Xterm is a function
Add-ons attempted to extend the `Xterm` prototype no matter what. This was an issue when importing add-ons through CommonJS, where `Xterm` is not available in the global scope.
2016-05-03 12:36:21 +03:00
Paris
bd2158613d Make all add-ons CommonJS importable
- Fix #52
- Rename `npm/nodejs project` documentation to `CommonJS environment`
2016-05-03 12:05:13 +03:00
Thanasis Daglis
c170156147 Merge pull request #44 from sourcelair/issue/18
Cursor is now invisible in IE
2015-11-12 17:47:03 +02:00
TDaglis
ee0d15c878 added *.css rules in .editorconfig for indent consistency 2015-11-11 10:36:20 +02:00
TDaglis
3f0b584f25 fixed marginal width geometry 2015-11-10 18:27:17 +02:00
TDaglis
d9d99c1c27 fixed width of fit
removed firefox hack since it is no longer needed
2015-11-03 14:55:24 +02:00
TDaglis
2fce845ea6 fixed typo and reference in attach addon
also bumped version to 0.31
2015-10-22 11:33:56 +03:00
TDaglis
a221a3c9f8 documented lenient option of linkify 2015-10-22 09:53:14 +03:00
TDaglis
b1058b9fcc Added lenient option to linkify 2015-10-22 06:47:15 +00:00
Paris
bbb688313e [attach addon] Improve documentation 2015-04-13 19:47:04 +03:00
Paris
13103aecb2 [attach addon] Document with JSDoc 2015-02-24 22:28:47 +02:00
Paris
e9d2c806ba [attach addon] Switch indentation to 4 spaces instead of 2 2015-02-24 20:57:28 +02:00
Paris
932ab00a53 Implement buffered attaching
Fixes #21
2015-02-24 20:55:52 +02:00
paris
e100ee0cc0 [addon linkify] Further optimize URL algorithm 2015-01-06 13:03:07 +02:00
paris
3e7ab290fa [addon linkify] Remove console.log 2015-01-05 16:07:29 +02:00
paris
43ac453db1 [addon linkify] Improve start and end clauses 2015-01-05 16:05:14 +02:00
paris
d0d87505a9 [addon linkify] Improve URL to link conversion algorithm 2015-01-04 22:27:14 +02:00
paris
c8a497eb82 [addon linkify] Fine-grained module and documented almost everything 2015-01-04 20:39:57 +02:00
paris
523ff9908f [addon linkify] Set up proper initialization of add-on
- Also created a demo page for the addon
2015-01-04 15:45:26 +02:00
paris
b60903a2ae [addon linkify] Start working on "linkifying" URLs in the terminal 2015-01-04 15:08:36 +02:00
akalipetis
37be8e0f34 Fixed correct fitting of Terminal 2014-11-24 17:24:21 +02:00
paris
8dd80566d0 Fix #9
- Calculate character width by using the cursor instead of custom hack in fit addon
- Increment character width by 1 in Firefox, since it seems to have a bug in calculating width of specific elements
2014-11-17 17:08:14 +02:00
paris
c6a7e15b03 [fit addon] Restore row content after proposing geometry
- Restore `subjectRow.innerHTML`, using the `contentBuffer`
- Bump version to 0.25
2014-11-17 12:36:13 +02:00
paris
87979aeed4 Bind window to AMD module
- Bind window to Xterm AMD module
- Fix typo in fit addon
- Bump version to 0.24
2014-11-17 12:28:52 +02:00
paris
615f633f25 [fit addon] Introduce proposeGeometry method
- Introduce new method to propose optimal geometry for the current terminal
- Bump version to 0.23
2014-11-17 12:21:05 +02:00
paris
4ce1440fb8 [addon attach] Make reference to socket fail-safe 2014-09-18 11:11:29 +00:00
paris
f24c020aca [addon attach] Fix reference error
Also bump version to 0.21
2014-09-18 10:15:10 +00:00
paris
6906bf3e7d Implement detach function 2014-09-18 10:01:54 +00:00
paris
74f9526177 [addon attach] Implement auto-detaching on socket close/error 2014-09-18 09:06:23 +00:00
paris
3f455f90d9 Fix #4 2014-09-10 11:09:23 +00:00
paris
53f5672524 Fix #3 2014-08-29 09:57:53 +00:00
paris
a249d2714f Fix terminal fitting height 2014-08-19 13:24:43 +00:00
paris
7355a04274 Further fixing of xterm.fit 2014-08-16 03:53:22 +00:00
paris
d12406bedc Fix wrong behavior of fit add-on 2014-08-16 03:25:13 +00:00
paris
01e48b7406 Revamped the attach addon
Also updated docs with proper attach url
2014-05-02 23:45:00 +00:00
paris
189a556408 Moved fit into its own addon 2014-04-11 02:04:56 +00:00