aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Renard 2016-04-14 17:59:21 -0300
committerLibravatar Renard 2016-04-14 17:59:21 -0300
commite6e9b750c7061471b7b0b899001a1e6f3d354e10 (patch)
treee5ed6dd474c4ea9821f3626f692f1db4f08aa85c
parent80fe2c7b708e2bfaee946b1c8d631c7ccdfaff07 (diff)
parentb1f9647cf318ee9916aa8a31ec062475b35bcfdf (diff)
downloadBaiApp-e6e9b750c7061471b7b0b899001a1e6f3d354e10.tar.gz
BaiApp-e6e9b750c7061471b7b0b899001a1e6f3d354e10.tar.xz
BaiApp-e6e9b750c7061471b7b0b899001a1e6f3d354e10.zip
Merge branch 'dev'
-rw-r--r--app/src/main/java/layout/FragmentBoardItemList.java18
-rw-r--r--app/src/main/java/layout/FragmentImage.java18
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java16
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java18
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java18
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java17
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java17
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java19
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java17
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java17
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java18
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java16
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java16
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java16
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/structure/JsonType.java10
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java16
16 files changed, 249 insertions, 18 deletions
diff --git a/app/src/main/java/layout/FragmentBoardItemList.java b/app/src/main/java/layout/FragmentBoardItemList.java
index 6589f5a..ba80ae5 100644
--- a/app/src/main/java/layout/FragmentBoardItemList.java
+++ b/app/src/main/java/layout/FragmentBoardItemList.java
@@ -57,6 +57,24 @@ import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.List;
+/**
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
public class FragmentBoardItemList extends Fragment {
public static final String ARG_CURRENTBOARD = "currentBoard", ARG_THREAD_ID = "currentThreadId", ARG_MAIN_FRAGMENT = "imMainFragment",
SAVED_BOARDITEMS = "savedBoardItems", RECENT_POST_MODE = "recentpostmode", ARG_CURRENT_THREAD = "currentThread";
diff --git a/app/src/main/java/layout/FragmentImage.java b/app/src/main/java/layout/FragmentImage.java
index eb2471b..4e9a0ba 100644
--- a/app/src/main/java/layout/FragmentImage.java
+++ b/app/src/main/java/layout/FragmentImage.java
@@ -31,6 +31,24 @@ import pl.droidsonroids.gif.GifDrawable;
import pl.droidsonroids.gif.GifImageView;
/**
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+/**
* A simple {@link Fragment} subclass.
* Activities that contain this fragment must implement the
* {@link FragmentImage.OnFragmentInteractionListener} interface
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java b/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java
index 40052b8..1dd07c7 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java
@@ -8,7 +8,21 @@ import java.util.ArrayList;
import java.util.List;
/**
- * Created by Renard on 04-03-2016.
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
*/
public class CustomFragmentPagerAdapter extends FragmentPagerAdapter {
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java
index 575754a..ebbe874 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java
@@ -4,6 +4,24 @@ import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;
+/**
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
public class LicensesActivity extends AppCompatActivity {
@Override
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java
index 45b30e5..87ac15a 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java
@@ -40,6 +40,24 @@ import java.util.Random;
import layout.FragmentBoardItemList;
+/**
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
public class MainActivity extends AppCompatActivity
implements NavigationView.OnNavigationItemSelectedListener, FragmentBoardItemList.OnFragmentInteractionListener {
private ViewPager pager; // variable del ViewPager
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java b/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java
index e67f276..b3938a9 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java
@@ -20,8 +20,23 @@ import java.util.Map;
import java.util.concurrent.TimeUnit;
/**
- * Created by Renard on 21-03-2016.
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
*/
+
public class RecentPostAdapter extends ArrayAdapter<BoardItem> {
public RecentPostAdapter(Context context, List<BoardItem> objects) {
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java
index e760926..871aaf5 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java
@@ -29,6 +29,23 @@ import java.io.File;
import utils.ContentProviderUtils;
+/**
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
public class ResponseActivity extends AppCompatActivity {
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java
index eefc5fb..4a16139 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java
@@ -29,6 +29,25 @@ import java.util.List;
* href="http://developer.android.com/guide/topics/ui/settings.html">Settings
* API Guide</a> for more information on developing a Settings UI.
*/
+
+/**
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
public class SettingsActivity extends AppCompatPreferenceActivity {
/**
* A preference value change listener that updates the preference's summary
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java b/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java
index 28c0d74..d223773 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java
@@ -8,8 +8,23 @@ import android.preference.PreferenceManager;
import android.util.Log;
/**
- * Created by Renard on 16-03-2016.
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
*/
+
public class ThemeManager {
private int currentThemeId;
private int prefThemeId;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java b/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java
index 791497c..69c674e 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java
@@ -36,8 +36,23 @@ import java.util.Map;
import java.util.concurrent.TimeUnit;
/**
- * Created by Renard on 11-03-2016.
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
*/
+
public class ThreadListAdapter extends ArrayAdapter<BoardItem>{
private Context context;
private ThemeManager tm;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java
index 8dc1262..3da7f92 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java
@@ -25,6 +25,24 @@ import java.util.ArrayList;
import layout.FragmentImage;
+/**
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
public class ViewerActivity extends AppCompatActivity implements FragmentImage.OnFragmentInteractionListener {
private static final String EXTRA_FILELIST = "fileList", EXTRA_RELATIVEPOSITION = "position";
private ViewPager imagePager;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java
index 209804e..cb95e63 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java
@@ -4,7 +4,21 @@ import android.os.Parcel;
import android.os.Parcelable;
/**
- * Created by Renard on 17-03-2016.
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
*/
public class Board implements Parcelable{
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java
index c43384a..b21d598 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java
@@ -5,7 +5,21 @@ import android.os.Parcel;
import android.os.Parcelable;
/**
- * Created by Renard on 17-03-2016.
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
*/
public class BoardItem implements Parcelable {
private String name = "";
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java
index eeff1c4..b71cac4 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java
@@ -4,7 +4,21 @@ import android.os.Parcel;
import android.os.Parcelable;
/**
- * Created by Renard on 08-04-2016.
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
*/
public class BoardItemFile implements Parcelable{
public String file;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/JsonType.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/JsonType.java
deleted file mode 100644
index 8db5c11..0000000
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/JsonType.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.bienvenidoainternet.baiparser.structure;
-
-/**
- * Created by Renard on 17-03-2016.
- */
-public enum JsonType {
- BOARD_THREAD_LIST,
- THREAD_REPLY_LIST,
- BOARD_LIST;
-}
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java
index b6758fb..2780e74 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java
+++ b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java
@@ -7,7 +7,21 @@ import android.os.Parcelable;
import java.util.Random;
/**
- * Created by Renard on 18-03-2016.
+ * BaiApp - Bienvenido a internet Android Application
+ * Copyright (C) 2016 Renard1911(https://github.com/Renard1911)
+ *
+ * This program 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.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
*/
public class ReplyID implements Parcelable{
public String id;