Skip to content

Commit

Permalink
copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Ronvel committed Feb 19, 2019
1 parent 6c9a76e commit 4fc74ca
Show file tree
Hide file tree
Showing 135 changed files with 528 additions and 524 deletions.
27 changes: 14 additions & 13 deletions lib/Rect.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down Expand Up @@ -179,8 +179,8 @@ Rect.wrappingRect = function wrappingRect( p ) {

// Originate, North-West region
nw = {
srcRect: Rect.create( p.srcRect ) ,
dstRect: Rect.create( p.dstRect ) ,
srcRect: new Rect( p.srcRect ) ,
dstRect: new Rect( p.dstRect ) ,
offsetX: p.offsetX ,
offsetY: p.offsetY
} ;
Expand All @@ -203,8 +203,8 @@ Rect.wrappingRect = function wrappingRect( p ) {
// Wrap-x North-Est region
if ( nw.srcRect.width < p.srcRect.width && p.wrapOnly !== 'y' ) {
ne = {
srcRect: Rect.create( p.srcRect ) ,
dstRect: Rect.create( p.dstRect ) ,
srcRect: new Rect( p.srcRect ) ,
dstRect: new Rect( p.dstRect ) ,
offsetX: nw.offsetX - p.dstRect.width ,
offsetY: nw.offsetY
} ;
Expand All @@ -218,8 +218,8 @@ Rect.wrappingRect = function wrappingRect( p ) {
// Wrap-y South-West region
if ( nw.srcRect.height < p.srcRect.height && p.wrapOnly !== 'x' ) {
sw = {
srcRect: Rect.create( p.srcRect ) ,
dstRect: Rect.create( p.dstRect ) ,
srcRect: new Rect( p.srcRect ) ,
dstRect: new Rect( p.dstRect ) ,
offsetX: nw.offsetX ,
offsetY: nw.offsetY - p.dstRect.height
} ;
Expand All @@ -233,8 +233,8 @@ Rect.wrappingRect = function wrappingRect( p ) {
// Wrap-x + wrap-y South-Est region, do it only if it has wrapped already
if ( ne && sw ) {
se = {
srcRect: Rect.create( p.srcRect ) ,
dstRect: Rect.create( p.dstRect ) ,
srcRect: new Rect( p.srcRect ) ,
dstRect: new Rect( p.dstRect ) ,
offsetX: nw.offsetX - p.dstRect.width ,
offsetY: nw.offsetY - p.dstRect.height
} ;
Expand Down Expand Up @@ -275,10 +275,10 @@ Rect.regionIterator = function regionIterator( p , iterator ) {
if ( ! p.offsetY ) { p.offsetY = 0 ; }

if ( p.dstClipRect ) { p.dstClipRect.clip( p.dstRect ) ; }
else { p.dstClipRect = Rect.create( p.dstRect ) ; }
else { p.dstClipRect = new Rect( p.dstRect ) ; }

if ( p.srcClipRect ) { p.srcClipRect.clip( p.srcRect ) ; }
else { p.srcClipRect = Rect.create( p.srcRect ) ; }
else { p.srcClipRect = new Rect( p.srcRect ) ; }

// Mutual clipping
p.srcClipRect.clip( p.dstClipRect , p.offsetX , p.offsetY , true ) ;
Expand Down Expand Up @@ -363,10 +363,10 @@ Rect.tileIterator = function tileIterator( p , iterator ) {
if ( ! p.offsetY ) { p.offsetY = 0 ; }

if ( p.dstClipRect ) { p.dstClipRect.clip( p.dstRect ) ; }
else { p.dstClipRect = Rect.create( p.dstRect ) ; }
else { p.dstClipRect = new Rect( p.dstRect ) ; }

if ( p.srcClipRect ) { p.srcClipRect.clip( p.srcRect ) ; }
else { p.srcClipRect = Rect.create( p.srcRect ) ; }
else { p.srcClipRect = new Rect( p.srcRect ) ; }


switch ( p.type ) {
Expand Down Expand Up @@ -480,6 +480,7 @@ Rect.wrapIterator = function wrapIterator( p , iterator ) {
p.srcClipRect = regions[ i ].srcRect ;
p.offsetX = regions[ i ].offsetX ;
p.offsetY = regions[ i ].offsetY ;

Rect.regionIterator( p , iterator ) ;
}
} ;
Expand Down
2 changes: 1 addition & 1 deletion lib/ScreenBuffer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/ScreenBufferHD.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/Terminal.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
9 changes: 6 additions & 3 deletions lib/TextBuffer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down Expand Up @@ -165,6 +165,11 @@ TextBuffer.prototype.reTabLine = function reTabLine( startAt = 0 ) {



/*
/!\ Not documented, and not used anywhere...
/!\ MARKED as DEPRECATED /!\
The blitter should supports word-wrapping OR this needs to be updated with word-wrapping capabilities.
*/
TextBuffer.prototype.wrapLines = function wrapLines( width ) {
var y , line , extra = [] ;

Expand Down Expand Up @@ -854,8 +859,6 @@ TextBuffer.prototype.blitter = function blitter( p ) {
multiply: this.ScreenBuffer.prototype.ITEM_SIZE
} ;

iterator = 'regionIterator' ;

if ( this.hidden ) {
tr.context.char = this.hidden ;
iteratorCallback = this.blitterHiddenLineIterator.bind( this ) ;
Expand Down
2 changes: 1 addition & 1 deletion lib/autoComplete.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/bar.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/detectTerminal.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/BaseMenu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/Button.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/ColumnMenu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/Container.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/Document.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/DropDownMenu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/EditableTextBox.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/Element.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/Form.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/Layout.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/RowMenu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/Text.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/TextBox.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/document/TextInput.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/fileInput.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/gpm.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/gridMenu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/hslConverter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/image.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/inputField.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/misc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/progressBar.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/singleColumnMenu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/singleLineMenu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/slowTyping.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Terminal Kit
Copyright (c) 2009 - 2018 Cédric Ronvel
Copyright (c) 2009 - 2019 Cédric Ronvel
The MIT License (MIT)
Expand Down
Loading

0 comments on commit 4fc74ca

Please sign in to comment.