Skip to content

Commit

Permalink
Add license headers to all source files
Browse files Browse the repository at this point in the history
  • Loading branch information
Cogitri authored and Prince781 committed Oct 2, 2020
1 parent 95f0c3f commit 20c2acf
Show file tree
Hide file tree
Showing 27 changed files with 494 additions and 3 deletions.
18 changes: 18 additions & 0 deletions src/codehelp/codehelp.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* codehelp.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* Code help utilities that don't belong to any specific class
*/
Expand Down
18 changes: 18 additions & 0 deletions src/codehelp/completionengine.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* completionengine.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using LanguageServer;
using Gee;

Expand Down
18 changes: 18 additions & 0 deletions src/codehelp/find_scope.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* find_scope.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using LanguageServer;
using Gee;

Expand Down
19 changes: 19 additions & 0 deletions src/codehelp/find_symbol.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/* find_symbol.vala
*
* Copyright 2019 Ben Iofel <[email protected]>
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using LanguageServer;

class Vls.FindSymbol : Vala.CodeVisitor {
Expand Down
18 changes: 18 additions & 0 deletions src/codehelp/signaturehelpengine.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* signaturehelpengine.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using Gee;
using LanguageServer;

Expand Down
18 changes: 18 additions & 0 deletions src/codehelp/symbolextractor.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* symbolextractor.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using LanguageServer;
using Gee;

Expand Down
20 changes: 19 additions & 1 deletion src/codehelp/symbolreferences.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* symbolreferences.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using LanguageServer;
using Gee;

Expand Down Expand Up @@ -506,4 +524,4 @@ namespace Vls.SymbolReferences {

return symbol;
}
}
}
20 changes: 19 additions & 1 deletion src/codehelp/symbolvisitor.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* symbolvisitor.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using Vala;

/**
Expand Down Expand Up @@ -729,4 +747,4 @@ class Vls.SymbolVisitor<G> : CodeVisitor {
func (stmt, symbol, data);
stmt.accept_children (this);
}
}
}
18 changes: 18 additions & 0 deletions src/documentation/cnamemapper.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* cnamemapper.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* Visits the symbols in a file and maps their C name. This is used by the
* documentation engine to equalize references to symbols in VAPIs with
Expand Down
18 changes: 18 additions & 0 deletions src/documentation/doccomment.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* doccomment.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using Gee;

/**
Expand Down
18 changes: 18 additions & 0 deletions src/documentation/girdocumentation.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* girdocumentation.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

class Vls.GirDocumentation {
private Vala.CodeContext context;
private Gee.HashMap<string, string?> added = new Gee.HashMap<string, string?> ();
Expand Down
18 changes: 18 additions & 0 deletions src/list_symbols.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* list_symbols.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using LanguageServer;

/**
Expand Down
18 changes: 18 additions & 0 deletions src/projects/buildtarget.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* buildtarget.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using Gee;

abstract class Vls.BuildTarget : Object, Hashable<BuildTarget> {
Expand Down
18 changes: 18 additions & 0 deletions src/projects/buildtask.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* buildtask.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using Gee;

/**
Expand Down
18 changes: 18 additions & 0 deletions src/projects/ccproject.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* ccproject.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using Gee;

/**
Expand Down
18 changes: 18 additions & 0 deletions src/projects/compilation.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* compilation.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using Gee;

class Vls.Compilation : BuildTarget {
Expand Down
18 changes: 18 additions & 0 deletions src/projects/defaultproject.vala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* defaultproject.vala
*
* Copyright 2020 Princeton Ferro <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using Gee;

/**
Expand Down
Loading

0 comments on commit 20c2acf

Please sign in to comment.