-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,352 changed files
with
5,519 additions
and
5,519 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012-2015 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -38,8 +38,8 @@ android { | |
dependencies { | ||
compile 'com.android.support:support-annotations:22.0.0' | ||
compile 'org.apache.commons:commons-lang3:3.4' | ||
compile project(':twidere.component.jsonserializer') | ||
compile project(':twidere.component.querybuilder') | ||
compile project(':twidere.component.twitter4j') | ||
compile project(':firetweet.component.jsonserializer') | ||
compile project(':firetweet.component.querybuilder') | ||
compile project(':firetweet.component.twitter4j') | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012-2015 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,7 +17,7 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.common; | ||
package org.getlantern.firetweet.common; | ||
|
||
import android.app.Application; | ||
import android.test.ApplicationTestCase; | ||
|
@@ -29,4 +29,4 @@ public class ApplicationTest extends ApplicationTestCase<Application> { | |
public ApplicationTest() { | ||
super(Application.class); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!-- | ||
~ Twidere - Twitter client for Android | ||
~ Firetweet - Twitter client for Android | ||
~ | ||
~ Copyright (C) 2012-2015 Mariotaku Lee <[email protected]> | ||
~ | ||
|
@@ -17,4 +17,4 @@ | |
~ along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
|
||
<manifest package="org.mariotaku.twidere.common"/> | ||
<manifest package="org.getlantern.firetweet.common"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012-2013 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -16,11 +16,11 @@ | |
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package org.mariotaku.twidere; | ||
package org.getlantern.firetweet; | ||
|
||
import org.mariotaku.twidere.model.MediaUploadResult; | ||
import org.mariotaku.twidere.model.ParcelableStatusUpdate; | ||
import org.mariotaku.twidere.model.UploaderMediaItem; | ||
import org.getlantern.firetweet.model.MediaUploadResult; | ||
import org.getlantern.firetweet.model.ParcelableStatusUpdate; | ||
import org.getlantern.firetweet.model.UploaderMediaItem; | ||
|
||
interface IMediaUploader { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012-2013 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -16,10 +16,10 @@ | |
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package org.mariotaku.twidere; | ||
package org.getlantern.firetweet; | ||
|
||
import org.mariotaku.twidere.model.ParcelableStatusUpdate; | ||
import org.mariotaku.twidere.model.StatusShortenResult; | ||
import org.getlantern.firetweet.model.ParcelableStatusUpdate; | ||
import org.getlantern.firetweet.model.StatusShortenResult; | ||
|
||
interface IStatusShortener { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012-2013 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -16,9 +16,9 @@ | |
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package org.mariotaku.twidere; | ||
package org.getlantern.firetweet; | ||
|
||
import org.mariotaku.twidere.model.Account; | ||
import org.getlantern.firetweet.model.Account; | ||
|
||
interface ITimelineSyncHelper { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,6 +17,6 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.model; | ||
package org.getlantern.firetweet.model; | ||
|
||
parcelable Account; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,6 +17,6 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.model; | ||
package org.getlantern.firetweet.model; | ||
|
||
parcelable MediaUploadResult; | ||
parcelable MediaUploadResult; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,6 +17,6 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.model; | ||
package org.getlantern.firetweet.model; | ||
|
||
parcelable MediaUploaderParameter; | ||
parcelable MediaUploaderParameter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,6 +17,6 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.model; | ||
package org.getlantern.firetweet.model; | ||
|
||
parcelable ParcelableLocation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,6 +17,6 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.model; | ||
package org.getlantern.firetweet.model; | ||
|
||
parcelable ParcelableStatus; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,6 +17,6 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.model; | ||
package org.getlantern.firetweet.model; | ||
|
||
parcelable ParcelableStatusUpdate; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,6 +17,6 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.model; | ||
package org.getlantern.firetweet.model; | ||
|
||
parcelable StatusShortenResult; | ||
parcelable StatusShortenResult; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,6 +17,6 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.model; | ||
package org.getlantern.firetweet.model; | ||
|
||
parcelable UploaderMediaItem; | ||
parcelable UploaderMediaItem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012-2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,20 +17,20 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere; | ||
package org.getlantern.firetweet; | ||
|
||
import org.mariotaku.twidere.constant.IntentConstants; | ||
import org.mariotaku.twidere.constant.SharedPreferenceConstants; | ||
import org.getlantern.firetweet.constant.IntentConstants; | ||
import org.getlantern.firetweet.constant.SharedPreferenceConstants; | ||
|
||
/** | ||
* Public constants for both Twidere app and its extensions | ||
* Public constants for both Firetweet app and its extensions | ||
* | ||
* @author mariotaku | ||
*/ | ||
public interface TwidereConstants extends SharedPreferenceConstants, IntentConstants { | ||
public interface FiretweetConstants extends SharedPreferenceConstants, IntentConstants { | ||
|
||
public static final String APP_NAME = "FireTweet"; | ||
public static final String APP_PACKAGE_NAME = "org.mariotaku.twidere"; | ||
public static final String APP_PACKAGE_NAME = "org.getlantern.firetweet"; | ||
public static final String APP_PROJECT_URL = "https://github.com/getlantern/firetweet"; | ||
public static final String APP_PROJECT_EMAIL = "[email protected]"; | ||
|
||
|
@@ -210,11 +210,11 @@ public interface TwidereConstants extends SharedPreferenceConstants, IntentConst | |
public static final String SERVICE_COMMAND_GET_SENT_DIRECT_MESSAGES = "get_sent_direct_messages"; | ||
public static final String SERVICE_COMMAND_GET_RECEIVED_DIRECT_MESSAGES = "get_received_direct_messages"; | ||
|
||
public static final String METADATA_KEY_EXTENSION = "org.mariotaku.twidere.extension"; | ||
public static final String METADATA_KEY_EXTENSION_PERMISSIONS = "org.mariotaku.twidere.extension.permissions"; | ||
public static final String METADATA_KEY_EXTENSION_SETTINGS = "org.mariotaku.twidere.extension.settings"; | ||
public static final String METADATA_KEY_EXTENSION_ICON = "org.mariotaku.twidere.extension.icon"; | ||
public static final String METADATA_KEY_EXTENSION_USE_JSON = "org.mariotaku.twidere.extension.use_json"; | ||
public static final String METADATA_KEY_EXTENSION = "org.getlantern.firetweet.extension"; | ||
public static final String METADATA_KEY_EXTENSION_PERMISSIONS = "org.getlantern.firetweet.extension.permissions"; | ||
public static final String METADATA_KEY_EXTENSION_SETTINGS = "org.getlantern.firetweet.extension.settings"; | ||
public static final String METADATA_KEY_EXTENSION_ICON = "org.getlantern.firetweet.extension.icon"; | ||
public static final String METADATA_KEY_EXTENSION_USE_JSON = "org.getlantern.firetweet.extension.use_json"; | ||
|
||
public static final char SEPARATOR_PERMISSION = '|'; | ||
public static final String SEPARATOR_PERMISSION_REGEX = "\\" + SEPARATOR_PERMISSION; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012-2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,7 +17,7 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.annotation; | ||
package org.getlantern.firetweet.annotation; | ||
|
||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012-2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,11 +17,11 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.constant; | ||
package org.getlantern.firetweet.constant; | ||
|
||
public interface IntentConstants { | ||
|
||
public static final String INTENT_PACKAGE_PREFIX = "org.mariotaku.twidere."; | ||
public static final String INTENT_PACKAGE_PREFIX = "org.getlantern.firetweet."; | ||
|
||
public static final String INTENT_ACTION_HOME = INTENT_PACKAGE_PREFIX + "HOME"; | ||
public static final String INTENT_ACTION_COMPOSE = INTENT_PACKAGE_PREFIX + "COMPOSE"; | ||
|
@@ -71,7 +71,7 @@ public interface IntentConstants { | |
public static final String INTENT_ACTION_UPDATE_STATUS = INTENT_PACKAGE_PREFIX + "UPDATE_STATUS"; | ||
public static final String INTENT_ACTION_SEND_DIRECT_MESSAGE = INTENT_PACKAGE_PREFIX + "SEND_DIRECT_MESSAGE"; | ||
public static final String INTENT_ACTION_DISCARD_DRAFT = INTENT_PACKAGE_PREFIX + "DISCARD_DRAFT"; | ||
public static final String INTENT_ACTION_PICK_ACTIVITY = "org.mariotaku.twidere.PICK_ACTIVITY"; | ||
public static final String INTENT_ACTION_PICK_ACTIVITY = "org.getlantern.firetweet.PICK_ACTIVITY"; | ||
|
||
public static final String INTENT_ACTION_PEBBLE_NOTIFICATION = "com.getpebble.action.SEND_NOTIFICATION"; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Twidere - Twitter client for Android | ||
* Firetweet - Twitter client for Android | ||
* | ||
* Copyright (C) 2012-2014 Mariotaku Lee <[email protected]> | ||
* | ||
|
@@ -17,16 +17,16 @@ | |
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.mariotaku.twidere.constant; | ||
package org.getlantern.firetweet.constant; | ||
|
||
import org.mariotaku.twidere.TwidereConstants; | ||
import org.mariotaku.twidere.annotation.Preference; | ||
import org.mariotaku.twidere.provider.TwidereDataStore.Accounts; | ||
import org.getlantern.firetweet.FiretweetConstants; | ||
import org.getlantern.firetweet.annotation.Preference; | ||
import org.getlantern.firetweet.provider.FiretweetDataStore.Accounts; | ||
|
||
import static org.mariotaku.twidere.annotation.Preference.Type.BOOLEAN; | ||
import static org.mariotaku.twidere.annotation.Preference.Type.INT; | ||
import static org.mariotaku.twidere.annotation.Preference.Type.LONG; | ||
import static org.mariotaku.twidere.annotation.Preference.Type.STRING; | ||
import static org.getlantern.firetweet.annotation.Preference.Type.BOOLEAN; | ||
import static org.getlantern.firetweet.annotation.Preference.Type.INT; | ||
import static org.getlantern.firetweet.annotation.Preference.Type.LONG; | ||
import static org.getlantern.firetweet.annotation.Preference.Type.STRING; | ||
|
||
public interface SharedPreferenceConstants { | ||
|
||
|
@@ -251,9 +251,9 @@ public interface SharedPreferenceConstants { | |
String KEY_NO_VERSION_SUFFIX = "no_version_suffix"; | ||
@Preference(type = INT, hasDefault = true, defaultInt = Accounts.AUTH_TYPE_OAUTH) | ||
String KEY_AUTH_TYPE = "auth_type"; | ||
@Preference(type = STRING, hasDefault = true, defaultString = TwidereConstants.TWITTER_CONSUMER_KEY_3) | ||
@Preference(type = STRING, hasDefault = true, defaultString = FiretweetConstants.TWITTER_CONSUMER_KEY_3) | ||
String KEY_CONSUMER_KEY = "consumer_key"; | ||
@Preference(type = STRING, hasDefault = true, defaultString = TwidereConstants.TWITTER_CONSUMER_SECRET_3) | ||
@Preference(type = STRING, hasDefault = true, defaultString = FiretweetConstants.TWITTER_CONSUMER_SECRET_3) | ||
String KEY_CONSUMER_SECRET = "consumer_secret"; | ||
String KEY_SETTINGS_WIZARD_COMPLETED = "settings_wizard_completed"; | ||
@Preference(type = BOOLEAN, hasDefault = true, defaultBoolean = true) | ||
|
Oops, something went wrong.