aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2019-06-10 14:01:54 +0200
committerTeddy Wing2019-06-10 14:01:54 +0200
commit63c1dfe501674cc7a54553282b66c2d5161e01a4 (patch)
tree0538e333328b8f212499326297e2ac6a4c64935e /src
parent85e51f5542777532c5071cbe4d9436bfb0e3d44e (diff)
downloadmuttagen-63c1dfe501674cc7a54553282b66c2d5161e01a4.tar.bz2
Add license (GNU GPLv3+)
Diffstat (limited to 'src')
-rw-r--r--src/gmail_selectors.ts18
-rw-r--r--src/index.ts18
-rw-r--r--src/index_view/index.ts18
-rw-r--r--src/index_view/next_previous.ts18
-rw-r--r--src/key_codes.ts18
-rw-r--r--src/multi_key_command.ts18
-rw-r--r--src/pager/index.ts18
-rw-r--r--src/pager/next_previous.ts18
-rw-r--r--src/sidebar.ts18
-rw-r--r--src/style.ts18
10 files changed, 180 insertions, 0 deletions
diff --git a/src/gmail_selectors.ts b/src/gmail_selectors.ts
index 337ba90..7152013 100644
--- a/src/gmail_selectors.ts
+++ b/src/gmail_selectors.ts
@@ -1,3 +1,21 @@
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
export type GmailCSSClass = string;
type GmailCSSSelector = string;
diff --git a/src/index.ts b/src/index.ts
index effe262..fb4740e 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -5,6 +5,24 @@
// @match https://mail.google.com/*
// ==/UserScript==
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
import style from './style';
import sidebar from './sidebar';
import index from './index_view';
diff --git a/src/index_view/index.ts b/src/index_view/index.ts
index 06e3b48..a272b86 100644
--- a/src/index_view/index.ts
+++ b/src/index_view/index.ts
@@ -1,3 +1,21 @@
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
import next_previous from './next_previous';
export default function init(): void {
diff --git a/src/index_view/next_previous.ts b/src/index_view/next_previous.ts
index 7939bb8..bca2dc8 100644
--- a/src/index_view/next_previous.ts
+++ b/src/index_view/next_previous.ts
@@ -1,3 +1,21 @@
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
import { INDEX, PAGER_NEWER_EL, PAGER_OLDER_EL } from '../gmail_selectors';
import key_codes from '../key_codes';
diff --git a/src/key_codes.ts b/src/key_codes.ts
index c9cb87e..8f11a15 100644
--- a/src/key_codes.ts
+++ b/src/key_codes.ts
@@ -1,3 +1,21 @@
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
export type KeyCode = number;
var key_codes: { [index: string]: KeyCode } = {
diff --git a/src/multi_key_command.ts b/src/multi_key_command.ts
index 7e303fe..b80842a 100644
--- a/src/multi_key_command.ts
+++ b/src/multi_key_command.ts
@@ -1,3 +1,21 @@
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
import key_codes, { KeyCode } from './key_codes';
export default function(
diff --git a/src/pager/index.ts b/src/pager/index.ts
index 06e3b48..a272b86 100644
--- a/src/pager/index.ts
+++ b/src/pager/index.ts
@@ -1,3 +1,21 @@
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
import next_previous from './next_previous';
export default function init(): void {
diff --git a/src/pager/next_previous.ts b/src/pager/next_previous.ts
index 54a12d1..d5b5cf4 100644
--- a/src/pager/next_previous.ts
+++ b/src/pager/next_previous.ts
@@ -1,3 +1,21 @@
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
import { PAGER_NEWER_EL, PAGER_OLDER_EL } from '../gmail_selectors';
import key_codes from '../key_codes';
diff --git a/src/sidebar.ts b/src/sidebar.ts
index 0d4df40..79c2a8d 100644
--- a/src/sidebar.ts
+++ b/src/sidebar.ts
@@ -1,3 +1,21 @@
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
import { SIDEBAR } from './gmail_selectors';
import key_codes from './key_codes';
import multi_key_command from './multi_key_command';
diff --git a/src/style.ts b/src/style.ts
index 69d19fa..6f24393 100644
--- a/src/style.ts
+++ b/src/style.ts
@@ -1,3 +1,21 @@
+// Copyright (c) 2019 Teddy Wing
+//
+// This file is part of Muttagen.
+//
+// Muttagen is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Muttagen 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Muttagen. If not, see <https://www.gnu.org/licenses/>.
+
+
import * as g from './gmail_selectors';
type GmailCSSDefinitions = { [selector in g.GmailCSSClass]: string };