Skip to content

Commit

Permalink
Remove integrated gradle and fix cannot download user image
Browse files Browse the repository at this point in the history
  • Loading branch information
djj0809 committed Sep 10, 2013
1 parent b506832 commit 53089f1
Show file tree
Hide file tree
Showing 154 changed files with 5 additions and 1,521 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


# generated files
bin/
gen/
build/
proguard/
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="tk.djcrazy.MyCC98"
android:versionCode="33"
android:versionName="3.2.3" >
android:versionCode="34"
android:versionName="3.2.4" >

<uses-sdk
android:minSdkVersion="8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class CC98ParseRepository {
public static final String LIST_BOARD_LAST_REPLY_BOARDID_REGEX = "(?<=dispbbs\\.asp\\?Boardid=)\\d{1,5}?(?=&)";

//user profile
public static final String USER_PROFILE_AVATAR_REGEX = "(?<=&nbsp;<img src=).*?(?= )";
public static final String USER_PROFILE_AVATAR_REGEX = "(?<=&nbsp;<img src=').*?(?=' )";
public static final String USER_PROFILE_GENERAL_PROFILE_REGEX = "用户头衔:.*?最后登录:.*?<br>";
public static final String USER_PROFILE_PERSON_PROFILE_REGEX = "性 别.*?主 页.*?</font>";
public static final String USER_PROFILE_BBS_MASTER_INFO_REGEX = "(?<=<font align=left>)论坛职务:</font><br>.*?(?=<td class=tablebody1)";
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/java/tk/djcrazy/libCC98/NewCC98Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void onResponse(String response) {
try {
userData.setCookies(castToAnother(getApplication().mHttpClient.getCookieStore().getCookies()));
String avatarLink = mCC98Parser.parseUserAvatar(response, userData.getLoginType(), userData.getProxyHost());
getUserAvatar2(tag, userData, avatarLink, listener);
getUserAvatar2(tag, userData, avatarLink, listener);
} catch (Exception e) {
getApplication().syncUserDataAndHttpClient();
listener.onRequestError("解析头像地址失败,请重试");
Expand All @@ -177,6 +177,7 @@ public void onResponse(Bitmap response) {
}, 200, 200, Bitmap.Config.ARGB_8888, new Response.ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
Log.d(this.getClass().getSimpleName(),"download image failed", error);
getApplication().syncUserDataAndHttpClient();
listener.onRequestError("下载头像失败,请重试");
}
Expand Down
2 changes: 0 additions & 2 deletions gradle.bat

This file was deleted.

2 changes: 0 additions & 2 deletions gradle.sh

This file was deleted.

977 changes: 0 additions & 977 deletions gradle/dists/gradle-1.7/LICENSE

This file was deleted.

21 changes: 0 additions & 21 deletions gradle/dists/gradle-1.7/NOTICE

This file was deleted.

3 changes: 0 additions & 3 deletions gradle/dists/gradle-1.7/changelog.txt

This file was deleted.

508 changes: 0 additions & 508 deletions gradle/dists/gradle-1.7/getting-started.html

This file was deleted.

1 change: 0 additions & 1 deletion gradle/dists/gradle-1.7/init.d/readme.txt

This file was deleted.

Binary file removed gradle/dists/gradle-1.7/lib/ant-1.8.4.jar
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/asm-4.0.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/asm-all-4.0.jar
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/commons-io-1.4.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/commons-lang-2.6.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/dom4j-1.6.1.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/gradle-cli-1.7.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/gradle-core-1.7.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/gradle-docs-1.7.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/gradle-launcher-1.7.jar
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/gradle-native-1.7.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/gradle-open-api-1.7.jar
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/gradle-ui-1.7.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/gradle-wrapper-1.7.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/groovy-all-1.8.6.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/guava-11.0.2.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/ivy-2.2.0.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/jansi-1.2.1.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/jarjar-1.3.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/javax.inject-1.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/jaxen-1.1.jar
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/jcl-over-slf4j-1.7.2.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/jna-3.2.7.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/jna-posix-1.0.3.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/jsch-0.1.46.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/jul-to-slf4j-1.7.2.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/kryo-2.20.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/logback-core-1.0.9.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/minlog-1.2.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/objenesis-1.2.jar
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/plugins/antlr-2.7.7.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/plugins/bndlib-2.1.0.jar
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/plugins/bsh-2.0b4.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/plugins/core-3.1.1.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/plugins/gson-2.2.1.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/plugins/jatl-0.2.2.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/plugins/junit-4.11.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/plugins/rhino-1.7R3.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/lib/slf4j-api-1.7.2.jar
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/media/gradle-icon-16x16.png
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/media/gradle-icon-24x24.png
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/media/gradle-icon-32x32.png
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/media/gradle-icon-48x48.png
Binary file not shown.
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/media/gradle-icon-64x64.png
Binary file not shown.
Binary file removed gradle/dists/gradle-1.7/media/gradle.icns
Binary file not shown.
2 changes: 0 additions & 2 deletions gradle/eclipse/org.eclipse.core.resources.prefs

This file was deleted.

0 comments on commit 53089f1

Please sign in to comment.