Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .flutter
Submodule .flutter updated 2727 files
4 changes: 3 additions & 1 deletion .github/workflows/release_for_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
.flutter/bin/flutter pub get
- name: Remove build id
run: sed -i -e 's/-Wl,/-Wl,--build-id=none,/' ~/.pub-cache/hosted/pub.dev/jni-*/src/CMakeLists.txt
run: |
sed -i -e 's/-Wl,/-Wl,--build-id=none,/' ~/.pub-cache/hosted/pub.dev/jni-*/src/CMakeLists.txt
sed -i -e 's/-Wl,/-Wl,--build-id=none,/' ~/.pub-cache/hosted/pub.dev/flutter_zxing-*/src/CMakeLists.txt
- name: Signing APK
run: |
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ app.*.map.json
/Ruisi-*
*.csv
docs/superpowers/plans/2026-07-26-aircon-meter-logger.md
# Widget Preview related
.widget_preview/
10 changes: 10 additions & 0 deletions CONTRIBUTING.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# XDYou贡献指南

> 最近一次编辑:BenderBlog Rodriguez 2026-08-10
> 摘自:https://xdyou.superbart.top/docs/dev

1. 光修改README.MD、写简单文档的不计入贡献者名单。这类 PR 自本公告发布之日起不再接收。**不要用我的项目刷你们的课程实践报告!**
2. 鼓励使用AI修改,添加新功能等。如果碰到小问题,也许就是你贡献的机会。但是**严禁使用AI生成PR介绍和文档**,并且做好大规模手工修改和学习新东西的准备。
3. 涉及黑产、恶俗/善雅、法律灰色地带、违反校规校纪、对大多数同学没有好处而仅对部分人有好处的PR概不接收。我也将尽可能地为学校数据安全贡献一份力,所以搞这些东西的不要让我知道。
4. 任何贡献,只要能跑起来我就收,后续继续适配问题我来干。我同时很乐意教你们写代码。
5. 贡献成功后,如果我在校外,我会给你们通过邮政挂号方式送感谢信。如果您担心隐私问题,请提前说明。
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ XDYou,代码名称为 Traintime PDA,是为西电学生设计的开源信息
## 编译环境

```bash
(base) superbart@Mac traintime_pda % flutter --version
Flutter 3.44.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 559ffa3f75 (2 周前) • 2026-05-15 14:13:13 -0700
Engine • hash fcf463a2242790d1fdcd9d044f533080f5022e18 (revision 4c525dac5e) (16 days ago) • 2026-05-15 19:00:04.000Z
Tools • Dart 3.12.0 • DevTools 2.57.0
Flutter 3.47.0 • channel stable •
https://github.com/flutter/flutter.git
Framework • revision 4cf2416426 (6 天前) • 2026-08-11 11:53:49 -0700
Engine • hash 59d54a2b2896a6bbf356c94b7fac7b9e235bdacd (revision
5f77625673) (6 days ago) • 2026-08-11 16:38:36.000Z
Tools • Dart 3.13.0 • DevTools 2.60.0
```

## 授权信息
Expand Down
9 changes: 9 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
analyzer:
exclude:
- build/**
- android/**
- ios/**
- web/**
- windows/**
- macos/**
- linux/**
include: package:flutter_lints/flutter.yaml

linter:
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ kotlin {
}

android {
compileSdk = 36
compileSdk = 37
ndkVersion = "28.2.13676358"

// For compose glance
Expand Down
27 changes: 2 additions & 25 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,9 @@ allprojects {
}
}

// https://github.com/flutter/flutter/issues/153281#issuecomment-2292201697
rootProject.buildDir = '../build'
subprojects {
// TODO: Remove this once https://github.com/ABausG/home_widget/issues/417
// is closed and the fix is available in a stable home_widget release.
// home_widget declares "androidx.glance:glance-appwidget:1.+" which resolves
// to pre-release Glance versions requiring AGP 9+. Force all Glance
// artifacts to the stable 1.1.1 release across every subproject.
afterEvaluate { project ->
project.configurations.all { config ->
config.resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'androidx.glance') {
details.useVersion '1.1.1'
details.because 'Lock Glance to 1.1.1 to avoid alpha breakage from home_widget 1.+ range'
}
}
}
// Fix: camera_android_camerax -> camera-core 1.5.3 needs concurrent-futures
project.dependencies {
implementation 'androidx.concurrent:concurrent-futures:1.1.0'
}
}

project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(":app")
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
delete rootProject.layout.buildDirectory
}
12 changes: 12 additions & 0 deletions android/gradle/gradle-daemon-jvm.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#This file is generated by updateDaemonJvm
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/ec7520a1e057cd116f9544c42142a16b/redirect
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/4c4f879899012ff0a8b2e2117df03b0e/redirect
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/ec7520a1e057cd116f9544c42142a16b/redirect
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/4c4f879899012ff0a8b2e2117df03b0e/redirect
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/73bcfb608d1fde9fb62e462f834a3299/redirect
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/846ee0d876d26a26f37aa1ce8de73224/redirect
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/ec7520a1e057cd116f9544c42142a16b/redirect
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/4c4f879899012ff0a8b2e2117df03b0e/redirect
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/9482ddec596298c84656d31d16652665/redirect
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/39701d92e1756bb2f141eb67cd4c660e/redirect
toolchainVersion=21
4 changes: 2 additions & 2 deletions android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Apr 16 09:43:18 CST 2026
#Tue Aug 18 11:37:34 CST 2026
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
11 changes: 9 additions & 2 deletions android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version '9.2.1' apply false
id "org.jetbrains.kotlin.android" version "2.2.20" apply false
id "org.jetbrains.kotlin.android" version "2.3.20" apply false
}

include ":app"
def sharedBuildDir = file("../build").canonicalFile
gradle.beforeProject { project ->
def projectBuildDir = project == project.rootProject
? sharedBuildDir
: new File(sharedBuildDir, project.name)
project.layout.buildDirectory.set(projectBuildDir)
}

include ":app"

1 change: 1 addition & 0 deletions assets/flutter_i18n/en_US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ library:
publish_year_end: Publish year to
book_detail: Book details
no_result: No result, change parameter or start your search
no_more_data: No more data
library_card:
title: Library status
fetching: Fetching
Expand Down
1 change: 1 addition & 0 deletions assets/flutter_i18n/zh_CN.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ library:
publish_year_end: 出版年止
book_detail: 书籍详细信息
no_result: 没有结果,请修改搜索参数或者开始你的搜索
no_more_data: 没有更多结果了
library_card:
title: 图书馆当前状况
fetching: 正在获取图书馆信息
Expand Down
1 change: 1 addition & 0 deletions assets/flutter_i18n/zh_TW.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ library:
publish_year_end: 出版年止
book_detail: 書籍詳細信息
no_result: 沒有結果,請修改搜索參數或者開始你的搜索
no_more_data: 沒有更多結果了
library_card:
title: 圖書館當前狀況
fetching: 正在獲取圖書館信息
Expand Down
1 change: 0 additions & 1 deletion ios/Flutter/Debug.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
1 change: 0 additions & 1 deletion ios/Flutter/Release.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
54 changes: 0 additions & 54 deletions ios/Podfile

This file was deleted.

22 changes: 0 additions & 22 deletions ios/Podfile.lock

This file was deleted.

Loading