diff --git a/app/src/cc/arduino/autocomplete/ArduinoCompletionsList.java b/app/src/cc/arduino/autocomplete/ArduinoCompletionsList.java index 023dca082..a6d064b19 100644 --- a/app/src/cc/arduino/autocomplete/ArduinoCompletionsList.java +++ b/app/src/cc/arduino/autocomplete/ArduinoCompletionsList.java @@ -1,3 +1,32 @@ +/* + * This file is part of Arduino. + * + * Copyright 2017 Arduino LLC (http://www.arduino.cc/) + * + * Arduino 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 2 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * As a special exception, you may use this file as part of a free software + * library without restriction. Specifically, if other files instantiate + * templates or use macros or inline functions from this file, or you compile + * this file and link it with other files to produce an executable, this + * file does not by itself cause the resulting executable to be covered by + * the GNU General Public License. This exception does not however + * invalidate any other reasons why the executable file might be covered by + * the GNU General Public License. + */ + package cc.arduino.autocomplete; import java.util.ArrayList; diff --git a/app/src/cc/arduino/autocomplete/BaseCCompletionProvider.java b/app/src/cc/arduino/autocomplete/BaseCCompletionProvider.java index 7c10d256a..3343ef16b 100755 --- a/app/src/cc/arduino/autocomplete/BaseCCompletionProvider.java +++ b/app/src/cc/arduino/autocomplete/BaseCCompletionProvider.java @@ -1,12 +1,37 @@ +/* + * This file is part of Arduino. + * + * Copyright 2017 Arduino LLC (http://www.arduino.cc/) + * Ricardo JL Rufino (ricardo@criativasoft.com.br) + * + * Arduino 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 2 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * As a special exception, you may use this file as part of a free software + * library without restriction. Specifically, if other files instantiate + * templates or use macros or inline functions from this file, or you compile + * this file and link it with other files to produce an executable, this + * file does not by itself cause the resulting executable to be covered by + * the GNU General Public License. This exception does not however + * invalidate any other reasons why the executable file might be covered by + * the GNU General Public License. + */ + package cc.arduino.autocomplete; import org.fife.ui.autocomplete.DefaultCompletionProvider; -/** - * Base completion provider for C/C++. - * @author Ricardo JL Rufino (ricardo@criativasoft.com.br) - * @date 28/04/2017 - */ public class BaseCCompletionProvider extends DefaultCompletionProvider { @Override diff --git a/app/src/cc/arduino/autocomplete/ClangCompletionProvider.java b/app/src/cc/arduino/autocomplete/ClangCompletionProvider.java index 29276142f..cb13a99e4 100644 --- a/app/src/cc/arduino/autocomplete/ClangCompletionProvider.java +++ b/app/src/cc/arduino/autocomplete/ClangCompletionProvider.java @@ -1,3 +1,32 @@ +/* + * This file is part of Arduino. + * + * Copyright 2017 Arduino LLC (http://www.arduino.cc/) + * + * Arduino 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 2 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * As a special exception, you may use this file as part of a free software + * library without restriction. Specifically, if other files instantiate + * templates or use macros or inline functions from this file, or you compile + * this file and link it with other files to produce an executable, this + * file does not by itself cause the resulting executable to be covered by + * the GNU General Public License. This exception does not however + * invalidate any other reasons why the executable file might be covered by + * the GNU General Public License. + */ + package cc.arduino.autocomplete; import java.util.ArrayList; diff --git a/app/src/cc/arduino/autocomplete/CompletionType.java b/app/src/cc/arduino/autocomplete/CompletionType.java index 12584da09..01f9cc148 100644 --- a/app/src/cc/arduino/autocomplete/CompletionType.java +++ b/app/src/cc/arduino/autocomplete/CompletionType.java @@ -1,10 +1,8 @@ -/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */ - /* * This file is part of Arduino. * - * Copyright 2015 Ricardo JL Rufino (ricardo@criativasoft.com.br) - * Copyright 2015 Arduino LLC + * Copyright 2017 Arduino LLC (www.arduino.cc) + * Ricardo JL Rufino (ricardo@criativasoft.com.br) * * Arduino is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/app/src/cc/arduino/autocomplete/CompletionsRenderer.java b/app/src/cc/arduino/autocomplete/CompletionsRenderer.java index aed8099a8..f645de846 100644 --- a/app/src/cc/arduino/autocomplete/CompletionsRenderer.java +++ b/app/src/cc/arduino/autocomplete/CompletionsRenderer.java @@ -1,9 +1,8 @@ -/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * This file is part of Arduino. * - * Copyright 2015 Ricardo JL Rufino (ricardo@criativasoft.com.br) - * Copyright 2015 Arduino LLC + * Copyright 2017 Arduino LLC (www.arduino.cc) + * Ricardo JL Rufino (ricardo@criativasoft.com.br) * * Arduino is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/app/src/cc/arduino/autocomplete/FakeCompletionProvider.java b/app/src/cc/arduino/autocomplete/FakeCompletionProvider.java index 681d0e81e..a7b69feff 100755 --- a/app/src/cc/arduino/autocomplete/FakeCompletionProvider.java +++ b/app/src/cc/arduino/autocomplete/FakeCompletionProvider.java @@ -1,3 +1,32 @@ +/* + * This file is part of Arduino. + * + * Copyright 2017 Arduino LLC (http://www.arduino.cc/) + * + * Arduino 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 2 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * As a special exception, you may use this file as part of a free software + * library without restriction. Specifically, if other files instantiate + * templates or use macros or inline functions from this file, or you compile + * this file and link it with other files to produce an executable, this + * file does not by itself cause the resulting executable to be covered by + * the GNU General Public License. This exception does not however + * invalidate any other reasons why the executable file might be covered by + * the GNU General Public License. + */ + package cc.arduino.autocomplete; import java.util.LinkedList; diff --git a/app/src/cc/arduino/autocomplete/SketchCompletionProvider.java b/app/src/cc/arduino/autocomplete/SketchCompletionProvider.java index 7c233209a..3d33ce69c 100755 --- a/app/src/cc/arduino/autocomplete/SketchCompletionProvider.java +++ b/app/src/cc/arduino/autocomplete/SketchCompletionProvider.java @@ -1,3 +1,33 @@ +/* + * This file is part of Arduino. + * + * Copyright 2017 Arduino LLC (http://www.arduino.cc/) + * Ricardo JL Rufino (ricardo@criativasoft.com.br) + * + * Arduino 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 2 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * As a special exception, you may use this file as part of a free software + * library without restriction. Specifically, if other files instantiate + * templates or use macros or inline functions from this file, or you compile + * this file and link it with other files to produce an executable, this + * file does not by itself cause the resulting executable to be covered by + * the GNU General Public License. This exception does not however + * invalidate any other reasons why the executable file might be covered by + * the GNU General Public License. + */ + package cc.arduino.autocomplete; import org.fife.ui.autocomplete.CompletionProvider; @@ -10,9 +40,6 @@ import processing.app.syntax.SketchTextArea; * CompletionProvider for Arduino/CPP Language.
* Setup basic logic for completions using {@link LanguageAwareCompletionProvider}.
* Filtering and decision will appear in the autocomplete dialog by implementations of: {@link CompletionProvider}.
- * - * @author Ricardo JL Rufino (ricardo@criativasoft.com.br) - * @date 28/04/2017 */ public class SketchCompletionProvider extends LanguageAwareCompletionProvider {