Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
kl222
Calendar
比较版本
43d5dec3ce05f7169dd689c89671a94865d8d1f2...a14cc6f21b23884f3494532c89dfbc28bccd542d
Calendar
项目概览
kl222
/
Calendar
9 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Calendar
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
源分支
a14cc6f21b23884f3494532c89dfbc28bccd542d
选择Git版本
...
目标分支
43d5dec3ce05f7169dd689c89671a94865d8d1f2
选择Git版本
比较
Commits (5)
https://gitcode.net/kl222/Calendar/-/commit/0149aa07ede1be95fe70aa935646222fdfd1455c
Replace RabbitCommon::CDir::GetOpenDirectory with QFileDialog::getExistingDir...
2023-07-19T09:20:40+08:00
Kang Lin
kl222@126.com
https://gitcode.net/kl222/Calendar/-/commit/1392146499064cbd409cb5f5de901d0d5eb20a6a
Modify README
2023-07-19T10:35:31+08:00
Kang Lin
kl222@126.com
https://gitcode.net/kl222/Calendar/-/commit/b888b60b5e74dfb3a615c6a02736cac986228e04
Release v1.0.11
2023-07-19T16:05:18+08:00
Kang Lin
kl222@126.com
https://gitcode.net/kl222/Calendar/-/commit/09ec11fbfaff2249de7fb5b10d412897646ca151
Modify README
2023-07-24T09:06:06+08:00
Kang Lin
kl222@126.com
https://gitcode.net/kl222/Calendar/-/commit/a14cc6f21b23884f3494532c89dfbc28bccd542d
CI: vcpkg version update to d765306b074717dea8dc1c4723e1b025acb61c2d
2023-07-24T11:03:17+08:00
Kang Lin
kl222@126.com
隐藏空白更改
内联
并排
Showing
21 changed file
with
58 addition
and
49 deletion
+58
-49
.github/workflows/android.yml
.github/workflows/android.yml
+2
-2
.github/workflows/build.yml
.github/workflows/build.yml
+1
-1
.github/workflows/macos.yml
.github/workflows/macos.yml
+2
-2
.github/workflows/msvc.yml
.github/workflows/msvc.yml
+2
-2
.github/workflows/ubuntu.yml
.github/workflows/ubuntu.yml
+1
-1
.travis.yml
.travis.yml
+1
-1
3th_libs/LunarCalendar
3th_libs/LunarCalendar
+1
-1
App/android/AndroidManifest.xml
App/android/AndroidManifest.xml
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
ChangeLog.md
ChangeLog.md
+6
-0
ChangeLog_zh_CN.md
ChangeLog_zh_CN.md
+6
-0
Install/Install.nsi
Install/Install.nsi
+1
-1
README.md
README.md
+5
-3
README_zh_CN.md
README_zh_CN.md
+12
-17
Src/FrmStickyList.cpp
Src/FrmStickyList.cpp
+2
-2
Src/FrmTasksList.cpp
Src/FrmTasksList.cpp
+2
-2
Update/update.xml
Update/update.xml
+7
-7
appveyor.yml
appveyor.yml
+1
-1
ci/build.sh
ci/build.sh
+2
-2
debian/changelog
debian/changelog
+1
-1
debian/control
debian/control
+1
-1
未找到文件。
.github/workflows/android.yml
浏览文件 @
a14cc6f2
...
...
@@ -35,8 +35,8 @@ jobs:
SOURCE_DIR
:
${{github.workspace}}/.cache/source
TOOSL_DIR
:
${{github.workspace}}/.cache/tools
INSTALL_DIR
:
${{github.workspace}}/.cache/install_${{matrix.BUILD_TYPE}}
Calendar_VERSION
:
v1.0.1
0
VCPKGGITCOMMITID
:
5ac89392d779288ec8073ebba69cf12d3537f6d7
Calendar_VERSION
:
v1.0.1
1
VCPKGGITCOMMITID
:
d765306b074717dea8dc1c4723e1b025acb61c2d
ANDROID_PLATFORM
:
android-23
ANDROID_NATIVE_API_LEVEL
:
23
qt_modules
:
'
qtimageformats
qtmultimedia
qtscxml'
...
...
.github/workflows/build.yml
浏览文件 @
a14cc6f2
...
...
@@ -5,7 +5,7 @@ name: build
env
:
artifact_path
:
artifact_path
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
Calendar_VERSION
:
v1.0.1
0
Calendar_VERSION
:
v1.0.1
1
on
:
push
:
...
...
.github/workflows/macos.yml
浏览文件 @
a14cc6f2
...
...
@@ -34,9 +34,9 @@ jobs:
TOOSL_DIR
:
${{github.workspace}}/.cache/tools
INSTALL_DIR
:
${{github.workspace}}/.cache/install_macos
qt_modules
:
qtwebengine ${{matrix.qt_modules}}
Calendar_VERSION
:
1.0.1
0
Calendar_VERSION
:
1.0.1
1
artifact_name
:
build_macos
VCPKGGITCOMMITID
:
5ac89392d779288ec8073ebba69cf12d3537f6d7
VCPKGGITCOMMITID
:
d765306b074717dea8dc1c4723e1b025acb61c2d
# Map the job outputs to step outputs
outputs
:
...
...
.github/workflows/msvc.yml
浏览文件 @
a14cc6f2
...
...
@@ -45,8 +45,8 @@ jobs:
CMAKE_GENERATOR
:
"
Visual
Studio
17
2022"
VCPKG_PLATFORM_TOOLSET
:
${{matrix.VCPKG_PLATFORM_TOOLSET}}
CMAKE_GENERATOR_PLATFORM
:
${{matrix.CMAKE_GENERATOR_PLATFORM}}
Calendar_VERSION
:
v1.0.1
0
VCPKGGITCOMMITID
:
5ac89392d779288ec8073ebba69cf12d3537f6d7
Calendar_VERSION
:
v1.0.1
1
VCPKGGITCOMMITID
:
d765306b074717dea8dc1c4723e1b025acb61c2d
qt_modules
:
${{matrix.qt_modules}}
artifact_name
:
build_msvc
...
...
.github/workflows/ubuntu.yml
浏览文件 @
a14cc6f2
...
...
@@ -22,7 +22,7 @@ jobs:
SOURCE_DIR
:
${{github.workspace}}/.cache/source
TOOSL_DIR
:
${{github.workspace}}/.cache/tools
INSTALL_DIR
:
${{github.workspace}}/.cache/install_ubuntu
Calendar_VERSION
:
1.0.1
0
Calendar_VERSION
:
1.0.1
1
artifact_name
:
build_ubuntu
# Map the job outputs to step outputs
...
...
.travis.yml
浏览文件 @
a14cc6f2
...
...
@@ -50,7 +50,7 @@ before_install:
-
sudo Xvfb :99 -ac &
-
export DISPLAY=:99.0
-
mkdir -p ${SOURCE_DIR}/Tools
-
export VERSION="v1.0.1
0
"
-
export VERSION="v1.0.1
1
"
install
:
-
cd ${SOURCE_DIR}
...
...
LunarCalendar
@
25537d2c
比较
a70eb1eb
...
25537d2c
Subproject commit
a70eb1eb8dfb966b9c063f4af2cfe42dc45b796f
Subproject commit
25537d2ce4e07a3af6e2b97faa2c7a72b183e29e
App/android/AndroidManifest.xml
浏览文件 @
a14cc6f2
...
...
@@ -3,7 +3,7 @@
package=
"org.KangLinStudio.Calendar"
android:installLocation=
"auto"
android:versionCode=
"1"
android:versionName=
"1.0.1
0
"
>
android:versionName=
"1.0.1
1
"
>
<uses-permission
android:name=
"android.permission.ACCESS_NETWORK_STATE"
/>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
...
...
CMakeLists.txt
浏览文件 @
a14cc6f2
...
...
@@ -130,7 +130,7 @@ GET_VERSION(OUT_VERSION Calendar_VERSION
OUT_REVISION Calendar_REVISION
)
message
(
"Calendar_VERSION:
${
Calendar_VERSION
}
; Calendar_REVISION:
${
Calendar_REVISION
}
"
)
if
(
NOT Calendar_VERSION
)
set
(
Calendar_VERSION
"v1.0.1
0
"
)
set
(
Calendar_VERSION
"v1.0.1
1
"
)
endif
()
set
(
VERSION
${
Calendar_VERSION
}
)
add_subdirectory
(
3th_libs/LunarCalendar/Src
)
...
...
ChangeLog.md
浏览文件 @
a14cc6f2
-
v1.0.11
+
Replace RabbitCommon::CDir::GetOpenDirectory with QFileDialog::getExistingDirectory etc
-
v1.0.10
+
Modify CI
-
v1.0.9
+
Add update xml
+
FIX: windows resource
...
...
ChangeLog_zh_CN.md
浏览文件 @
a14cc6f2
-
v1.0.11
+
用 QFileDialog::getExistingDirectory 替换 RabbitCommon::CDir::GetOpenDirectory 等
-
v1.0.10
+
修改自动化编译
-
v1.0.9
+
增加:更新 xml 文件
+
修复: windows 资源
...
...
Install/Install.nsi
浏览文件 @
a14cc6f2
...
...
@@ -3,7 +3,7 @@
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "Calendar"
!define PRODUCT_APP_NAME "CalendarApp"
!define PRODUCT_VERSION "v1.0.1
0
"
!define PRODUCT_VERSION "v1.0.1
1
"
!define PRODUCT_PUBLISHER "KangLin studio"
!define PRODUCT_WEB_SITE "https://github.com/KangLin/${PRODUCT_NAME}"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${PRODUCT_NAME}.exe"
...
...
README.md
浏览文件 @
a14cc6f2
...
...
@@ -53,15 +53,17 @@ Author: KangLin (kl222@126.com)
-
[x] Custom task
-
[x] Eye Nurse: Vision protection
-
[x] Sticky
-
[x] Cross-platform, support multiple operating systems
(https://doc.qt.io/qt-5/supported-platforms.html)
-
[x] Cross-platform, support multiple operating systems
-
[x] Windows
-
[x] Linux、Unix
-
[x] Android
-
[x] Mac os
-
[ ] IOS
Mac os and IOS, I don't have the corresponding equipment,
please compile and test the students with the corresponding equipment.
Mac os and IOS, I don't have the corresponding equipment,
please compile and test the students with the corresponding equipment.
See:
[
Qt5
](
https://doc.qt.io/qt-5/supported-platforms.html
)
,
[
Qt6
](
https://doc.qt.io/qt-6/supported-platforms.html
)
### ScreentShot
-
Unix screent shot
...
...
README_zh_CN.md
浏览文件 @
a14cc6f2
...
...
@@ -53,14 +53,16 @@
-
[x] 自定义任务
-
[x] 眼睛护士: 保护视力
-
[x] 便签
-
跨平台,支持多操作系统
(https://doc.qt.io/qt-5/supported-platforms.html)
-
跨平台,支持多操作系统
+
[x] Windows
+
[x] Linux、Unix
+
[x] Android
+
[x] Mac os
+
[ ] IOS
Mac os 和 IOS ,本人没有相应设备,请有相应设备的同学自己编译,测试。
Mac os 和 IOS ,本人没有相应设备,请有相应设备的同学自己编译,测试。
详见:
[
Qt5 支持平台
](
https://doc.qt.io/qt-5/supported-platforms.html
)
、
[
Qt6 支持平台
](
https://doc.qt.io/qt-6/supported-platforms.html
)
。
### 屏幕截图
...
...
@@ -109,9 +111,9 @@ Mac os 和 IOS ,本人没有相应设备,请有相应设备的同学自己
-
用 cmake
+
CMAKE 参数:
-
[必选] Qt5_DIR: qt5 安装位置(指向Qt5Config.cmake的目录,默认为 安装目录/lib/cmake/Qt5)。
-
[必选] Qt5_DIR: qt5 安装位置(指向Qt5Config.cmake的目录,默认为
Qt5
安装目录/lib/cmake/Qt5)。
详见:https://doc.qt.io/qt-5/cmake-get-started.html
或者 Qt6_DIR: qt6 安装位置(指向Qt6Config.cmake的目录,默认为 安装目录/lib/cmake/Qt6)
或者 Qt6_DIR: qt6 安装位置(指向Qt6Config.cmake的目录,默认为
Qt6
安装目录/lib/cmake/Qt6)
-
[必选] RabbitCommon_DIR: 指向 RabbitCommon 源码目录
-
[可选] CMAKE_INSTALL_PREFIX: 安装前缀
+
windows 或 linux
...
...
@@ -124,6 +126,7 @@ Mac os 和 IOS ,本人没有相应设备,请有相应设备的同学自己
cmake --build . --config Release --target install
+
android
Qt版本必须大于等于6
-
主机是linux
+
编译
...
...
@@ -133,18 +136,14 @@ Mac os 和 IOS ,本人没有相应设备,请有相应设备的同学自己
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
-DANDROID_ABI="armeabi-v7a with NEON" \
-DANDROID_PLATFORM=android-18 \
-DQt
5
_DIR= \
-DQt
6
_DIR= \
-DRabbitCommon_DIR=
cmake --build . --config Release
+ 安装
- 安装库和程序
cmake --build . --config Release --target install/strip
- 生成 APK
cmake --build . --config Release --target APK
cmake --build . --config Release --target install
- 主机是windows
+ 编译
...
...
@@ -157,17 +156,13 @@ Mac os 和 IOS ,本人没有相应设备,请有相应设备的同学自己
-DANDROID_ABI=arm64-v8a ^
-DANDROID_ARM_NEON=ON ^
-DANDROID_PLATFORM=android-24 ^
-DQt
5
_DIR= ^
-DQt
6
_DIR= ^
-DRabbitCommon_DIR=
+ 安装
- 安装库和程序
cmake --build . --config Release --target install/strip
- 生成 APK
cmake --build . --config Release --target APK
cmake --build . --config Release --target install
- 参数说明:https://developer.android.google.cn/ndk/guides/cmake
+ ANDROID_ABI: 可取下列值:
...
...
Src/FrmStickyList.cpp
浏览文件 @
a14cc6f2
...
...
@@ -93,7 +93,7 @@ void CFrmStickyList::slotLoad()
RabbitCommon
::
CDir
::
Instance
()
->
GetDirUserData
()
+
QDir
::
separator
()
+
"Sticky"
).
toString
();
QFileInfo
fi
(
szFile
);
szFile
=
RabbitCommon
::
CDir
::
G
etOpenFileName
(
this
,
tr
(
"Open sticky"
),
fi
.
path
());
// QFileDialog::getOpenFileName();
szFile
=
QFileDialog
::
g
etOpenFileName
(
this
,
tr
(
"Open sticky"
),
fi
.
path
());
// QFileDialog::getOpenFileName();
if
(
szFile
.
isEmpty
())
return
;
Load
(
szFile
);
...
...
@@ -131,7 +131,7 @@ void CFrmStickyList::slotSave()
RabbitCommon
::
CDir
::
Instance
()
->
GetDirUserData
()
+
QDir
::
separator
()
+
"Sticky"
).
toString
();
QFileInfo
fi
(
szFile
);
szFile
=
RabbitCommon
::
CDir
::
G
etSaveFileName
(
this
,
tr
(
"Save sticky"
),
fi
.
path
());
szFile
=
QFileDialog
::
g
etSaveFileName
(
this
,
tr
(
"Save sticky"
),
fi
.
path
());
if
(
szFile
.
isEmpty
())
return
;
}
...
...
Src/FrmTasksList.cpp
浏览文件 @
a14cc6f2
...
...
@@ -97,14 +97,14 @@ int CFrmTasksList::Load(QString szFile)
void
CFrmTasksList
::
slotLoad
()
{
QString
szFile
=
RabbitCommon
::
CDir
::
G
etOpenFileName
(
this
,
QString
szFile
=
QFileDialog
::
g
etOpenFileName
(
this
,
tr
(
"Load"
),
QString
(),
tr
(
"xml(*.xml);;All files(*.*)"
));
Load
(
szFile
);
}
void
CFrmTasksList
::
slotSaveAs
()
{
QString
szFile
=
RabbitCommon
::
CDir
::
G
etSaveFileName
(
this
,
QString
szFile
=
QFileDialog
::
g
etSaveFileName
(
this
,
tr
(
"Save as ..."
),
QString
(),
"*.xml"
);
if
(
szFile
.
lastIndexOf
(
".xml"
)
==
-
1
)
szFile
+=
".xml"
;
...
...
Update/update.xml
浏览文件 @
a14cc6f2
<?xml version='1.0' encoding='UTF-8'?>
<REDIRECT>
<VERSION>
v1.0.1
0
</VERSION>
<VERSION>
v1.0.1
1
</VERSION>
<WINDOWS>
<URL>
https://github.com/KangLin/Calendar/releases/download/v1.0.1
0
/update_windows.xml
</URL>
<URL>
https://sourceforge.net/projects/rabbitcalendar/files/v1.0.1
0
/update_windows.xml/download
</URL>
<URL>
https://github.com/KangLin/Calendar/releases/download/v1.0.1
1
/update_windows.xml
</URL>
<URL>
https://sourceforge.net/projects/rabbitcalendar/files/v1.0.1
1
/update_windows.xml/download
</URL>
</WINDOWS>
<LINUX>
<URL>
https://github.com/KangLin/Calendar/releases/download/v1.0.1
0
/update_linux.xml
</URL>
<URL>
https://sourceforge.net/projects/rabbitcalendar/files/v1.0.1
0
/update_linux.xml/download
</URL>
<URL>
https://github.com/KangLin/Calendar/releases/download/v1.0.1
1
/update_linux.xml
</URL>
<URL>
https://sourceforge.net/projects/rabbitcalendar/files/v1.0.1
1
/update_linux.xml/download
</URL>
</LINUX>
<LINUX_APPIMAGE>
<URL>
https://github.com/KangLin/Calendar/releases/download/v1.0.1
0
/update_linux.xml
</URL>
<URL>
https://sourceforge.net/projects/rabbitcalendar/files/v1.0.1
0
/update_linux.xml/download
</URL>
<URL>
https://github.com/KangLin/Calendar/releases/download/v1.0.1
1
/update_linux.xml
</URL>
<URL>
https://sourceforge.net/projects/rabbitcalendar/files/v1.0.1
1
/update_linux.xml/download
</URL>
</LINUX_APPIMAGE>
</REDIRECT>
appveyor.yml
浏览文件 @
a14cc6f2
#TODO: Change version
version
:
'
v1.0.1
0
.{build}'
version
:
'
v1.0.1
1
.{build}'
cache
:
-
Package
...
...
ci/build.sh
浏览文件 @
a14cc6f2
...
...
@@ -115,10 +115,10 @@ esac
export
PKG_CONFIG_PATH
=
${
ThirdLibs_DIR
}
/lib/pkgconfig:
${
PKG_CONFIG_PATH
}
if
[
-n
"
$appveyor_build_version
"
-a
-z
"
$VERSION
"
]
;
then
export
VERSION
=
"v1.0.1
0
"
export
VERSION
=
"v1.0.1
1
"
fi
if
[
-z
"
$VERSION
"
]
;
then
export
VERSION
=
"v1.0.1
0
"
export
VERSION
=
"v1.0.1
1
"
fi
export
UPLOADTOOL_BODY
=
"Release Calendar
${
VERSION
}
.<br> The change see [ChangeLog.md](ChangeLog.md) or [ChangeLog_zh_CN.md](ChangeLog_zh_CN.md)"
...
...
debian/changelog
浏览文件 @
a14cc6f2
calendar (1.0.1
0
) stable; urgency=medium
calendar (1.0.1
1
) stable; urgency=medium
* Initial Release.
...
...
debian/control
浏览文件 @
a14cc6f2
...
...
@@ -3,7 +3,7 @@ Section: main
Priority: optional
Maintainer: Kang Lin <kl222@126.com>
Build-Depends: debhelper (>= 6)
Standards-Version:"v1.0.1
0
"
Standards-Version:"v1.0.1
1
"
Homepage: https://github.com/KangLin/Calendar
Vcs-Git: https://github.com/KangLin/Calendar.git
Vcs-Browser: https://github.com/KangLin/Calendar
...
...