From 28ad2b878f1a21d03879e81cd441d0175d89e6b1 Mon Sep 17 00:00:00 2001 From: damithc Date: Mon, 25 May 2020 00:58:18 +0800 Subject: [PATCH 01/43] Add Gradle support --- build.gradle | 41 +++++ gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 58695 bytes gradle/wrapper/gradle-wrapper.properties | 5 + gradlew | 183 +++++++++++++++++++++++ gradlew.bat | 103 +++++++++++++ text-ui-test/runtest.sh | 0 6 files changed, 332 insertions(+) create mode 100644 build.gradle create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100755 gradlew create mode 100644 gradlew.bat mode change 100644 => 100755 text-ui-test/runtest.sh diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000000..885198fcfa --- /dev/null +++ b/build.gradle @@ -0,0 +1,41 @@ +plugins { + id 'java' + id 'application' + id 'com.github.johnrengelman.shadow' version '5.1.0' +} + +repositories { + mavenCentral() +} + +dependencies { + testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0' + testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0' +} + +test { + useJUnitPlatform() + + testLogging { + events "passed", "skipped", "failed" + + showExceptions true + exceptionFormat "full" + showCauses true + showStackTraces true + showStandardStreams = false + } +} + +application { + mainClassName = "seedu.duke.Duke" +} + +shadowJar { + archiveBaseName = "duke" + archiveClassifier = null +} + +run{ + standardInput = System.in +} diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..f3d88b1c2faf2fc91d853cd5d4242b5547257070 GIT binary patch literal 58695 zcma&OV~}Oh(k5J8>Mq;vvTfV8ZQE5{wr$(iDciPf+tV}m-if*I+;_h3N1nY;M6TF7 zBc7A_WUgl&IY|&uNFbnJzkq;%`2QLZ5b*!{1OkHidzBVe;-?mu5upVElKVGD>pC88 zzP}E3wRHBgaO?2nzdZ5pL;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NaLmL{QM};9dke>ujP^j@z-N;fNlKb|edn>)YaafDaJ>GWKP$ z5}l&#$QFhN!CMT;WH&z-5E)kvM|36lV!^#3z{@2FF>HsgUO4PMqO#U$X%+U>K!xJ@ zBFs|+woG_9HZQs_Tw*vnCPGhlXG@>y|6pJT$I67!aP&b0o$AF2JwFy9OoapQAk>k7 z**+$_5L;5fKof<;NBX%_;vP@eyD=Z0(QW)5AF7 zp|=tk3p?5)*e~Inuydz-U?%Kuj4%zToS5I|lolPT!B)ZuRVkVa>f*-2aPeV3R79xh zB)3A$>X~szg#}>uNkpLPG#3IKyeMHM*pUuV5=-Jji7S6PSQ9oCLo{oXxzOZfF$PP) zrYwlmSQ-~n94uO3CD{K0QTmj@g%Yzn7_xQ4fTduU0Yqvln`e_`CdXH5iQ5qRr1 zBC;}%YZ2!4I>*=sR)O~jBPx6sxmIEBnq)s-fHz_y0z8-gPl2Us4BiBXNR5CIF!YR@ zb9B305SilU*@4|+ x6JBtc8JSt5M0pkooaq!^FqtuD_KdXXTo>Mw54>`rP&>h&58!3a6l6r9{sG7g--!SK literal 0 HcmV?d00001 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000000..b7c8c5dbf5 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100755 index 0000000000..2fe81a7d95 --- /dev/null +++ b/gradlew @@ -0,0 +1,183 @@ +#!/usr/bin/env sh + +# +# Copyright 2015 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { + echo "$*" +} + +die () { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin or MSYS, switch paths to Windows format before running java +if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=`expr $i + 1` + done + case $i in + 0) set -- ;; + 1) set -- "$args0" ;; + 2) set -- "$args0" "$args1" ;; + 3) set -- "$args0" "$args1" "$args2" ;; + 4) set -- "$args0" "$args1" "$args2" "$args3" ;; + 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=`save "$@"` + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000000..62bd9b9cce --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,103 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/text-ui-test/runtest.sh b/text-ui-test/runtest.sh old mode 100644 new mode 100755 From ed6d4d25bd4e34461919ffe785a6f10f4c087552 Mon Sep 17 00:00:00 2001 From: lzq Date: Sat, 5 Aug 2023 15:24:02 +0800 Subject: [PATCH 02/43] Bump gradle and lib version --- build.gradle | 9 +- gradle/wrapper/gradle-wrapper.jar | Bin 58695 -> 63375 bytes gradle/wrapper/gradle-wrapper.properties | 4 +- gradlew | 281 ++++++++++++++--------- gradlew.bat | 195 ++++++++-------- 5 files changed, 273 insertions(+), 216 deletions(-) diff --git a/build.gradle b/build.gradle index 885198fcfa..a388517ae1 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' id 'application' - id 'com.github.johnrengelman.shadow' version '5.1.0' + id 'com.github.johnrengelman.shadow' version '7.1.2' } repositories { @@ -9,8 +9,8 @@ repositories { } dependencies { - testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0' - testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0' + testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0' + testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0' } test { @@ -28,12 +28,13 @@ test { } application { - mainClassName = "seedu.duke.Duke" + mainClass.set("seedu.duke.Duke") } shadowJar { archiveBaseName = "duke" archiveClassifier = null + dependsOn("distZip", "distTar") } run{ diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index f3d88b1c2faf2fc91d853cd5d4242b5547257070..033e24c4cdf41af1ab109bc7f253b2b887023340 100644 GIT binary patch delta 43723 zcmaI7V{oQX(=8m^wrv}eiEZ1qdB>U9wr$<9Z6_0JVjGj3IqzHNJ?E+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LoRIa44JtA5r~Kg#bS~eV4;P02g5Wf$GTg9VGr~ zfF|Au9@ijyY*>Qfhj8{KQlRbw%Mr>!GE)v{cs!t;iXEd2-2a!td<1@&O9J+A@AN;h zOFtNS!OhW!@Sr7*Bi{6?g9vk=YzYcsP5>`o18A0yn(?nVU?L*mwv}-R$F7_N;F64h&dO0G4q^rB zKw2?KlRBovm#lwj@FTq(1P>H|f2FzLUAS}%PM-U-ms6`uNA&(Dra)vB3L$;`6Y^^H zB+EaQ^Zsl9hfZ7|0fZA59)TZK;+WIym=YVshZKo5rXxBZ_)I3jAv%MTtauE5wd4@) zsLJ-AyK>Bla*PsK22wadf6B?9OOyH|7i6p%;IQEPDY^-Y@ZF$@6VSE$wTN+`_*6eI z^YIF}*lCb3Kz^M9GC2VJv96^3YxDT;uKA;>Ez;RieEk5^tWWauavSj4k3kb;v=L?j8mmqCw_8VDdF`X9waq16BY diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b7c8c5dbf5..66c01cfeba 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 2fe81a7d95..fcb6fca147 100755 --- a/gradlew +++ b/gradlew @@ -1,7 +1,7 @@ -#!/usr/bin/env sh +#!/bin/sh # -# Copyright 2015 the original author or authors. +# Copyright © 2015-2021 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,78 +17,110 @@ # ############################################################################## -## -## Gradle start up script for UN*X -## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# ############################################################################## # Attempt to set APP_HOME + # Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" +MAX_FD=maximum warn () { echo "$*" -} +} >&2 die () { echo echo "$*" echo exit 1 -} +} >&2 # OS specific support (must be 'true' or 'false'). cygwin=false msys=false darwin=false nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; esac CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" + JAVACMD=$JAVA_HOME/jre/sh/java else - JAVACMD="$JAVA_HOME/bin/java" + JAVACMD=$JAVA_HOME/bin/java fi if [ ! -x "$JAVACMD" ] ; then die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME @@ -97,87 +129,120 @@ Please set the JAVA_HOME variable in your environment to match the location of your Java installation." fi else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + JAVACMD=java + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." + fi fi # Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC3045 + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC3045 + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac fi -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. # For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) fi - i=`expr $i + 1` + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac fi -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat index 62bd9b9cce..6689b85bee 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -1,103 +1,92 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windows variants - -if not "%OS%" == "Windows_NT" goto win9xME_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega From 827584cadd13fbb2a8bd4b71af278c540b954c35 Mon Sep 17 00:00:00 2001 From: Sean Leong <70213029+seanleong339@users.noreply.github.com> Date: Thu, 29 Dec 2022 13:56:26 +0800 Subject: [PATCH 03/43] .gitignore: Fix ACTUAL.txt -> ACTUAL.TXT (#73) text-ui-test/runtest.bat|sh scripts generate a file ACTUAL.TXT. However, .gitignore uses ACTUAL.txt, which means the generated file will not be ignored by Git on non-Windows OS. Let's update .gitignore as ACTUAL.txt -> ACTUAL.TXT --- .gitignore | 2 +- src/main/java/Duke.java | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index f69985ef1f..2873e189e1 100644 --- a/.gitignore +++ b/.gitignore @@ -13,5 +13,5 @@ src/main/resources/docs/ *.iml bin/ -/text-ui-test/ACTUAL.txt +/text-ui-test/ACTUAL.TXT text-ui-test/EXPECTED-UNIX.TXT diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index 5d313334cc..229036124d 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -1,10 +1,12 @@ public class Duke { public static void main(String[] args) { - String logo = " ____ _ \n" - + "| _ \\ _ _| | _____ \n" - + "| | | | | | | |/ / _ \\\n" - + "| |_| | |_| | < __/\n" - + "|____/ \\__,_|_|\\_\\___|\n"; - System.out.println("Hello from\n" + logo); +// String logo = " ____ _ \n" +// + "| _ \\ _ _| | _____ \n" +// + "| | | | | | | |/ / _ \\\n" +// + "| |_| | |_| | < __/\n" +// + "|____/ \\__,_|_|\\_\\___|\n"; + String greeting = "Hi, I'm BiuBiu.\nWhat can I do for you?"; + String exit = "Bye. Have a great day!"; + System.out.println(greeting + "\n" + exit); } } From a811c91cdb0a07f85ba12c565fff9720f0336950 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sun, 3 Sep 2023 15:19:26 +0800 Subject: [PATCH 04/43] Echo --- src/main/java/Duke.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index 229036124d..afe478bc5b 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -1,3 +1,4 @@ +import java.util.Scanner; public class Duke { public static void main(String[] args) { // String logo = " ____ _ \n" @@ -6,7 +7,18 @@ public static void main(String[] args) { // + "| |_| | |_| | < __/\n" // + "|____/ \\__,_|_|\\_\\___|\n"; String greeting = "Hi, I'm BiuBiu.\nWhat can I do for you?"; + System.out.println(greeting); String exit = "Bye. Have a great day!"; - System.out.println(greeting + "\n" + exit); + + Scanner scanner = new Scanner(System.in); + while(true) { + String userCommand = scanner.nextLine(); + if(userCommand.equalsIgnoreCase("bye")) { + System.out.println(exit); + break; + } else { + System.out.println(userCommand); + } + } } } From 1df1cc26d27ad7e4a1673d1dbbfd1a51e06afcef Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sun, 3 Sep 2023 15:32:10 +0800 Subject: [PATCH 05/43] Add, List --- src/main/java/Duke.java | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index afe478bc5b..0c5f6730e4 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -1,11 +1,26 @@ import java.util.Scanner; public class Duke { + private static final int MAX_TASKS = 100; + private static String[] tasks = new String[MAX_TASKS]; + private static int taskCount= 0; + private static void addTask(String task) { + if (taskCount < MAX_TASKS) { + tasks[taskCount++] = task; + System.out.println("added: " + task); + } else { + System.out.println("Sorry, the task list is full."); + } + } + private static void listTasks() { + if (taskCount == 0) { + System.out.println("The task list is empty!"); + } else { + for(int i = 0; i < taskCount; i++) { + System.out.println((i + 1) + ". " + tasks[i]); + } + } + } public static void main(String[] args) { -// String logo = " ____ _ \n" -// + "| _ \\ _ _| | _____ \n" -// + "| | | | | | | |/ / _ \\\n" -// + "| |_| | |_| | < __/\n" -// + "|____/ \\__,_|_|\\_\\___|\n"; String greeting = "Hi, I'm BiuBiu.\nWhat can I do for you?"; System.out.println(greeting); String exit = "Bye. Have a great day!"; @@ -16,8 +31,11 @@ public static void main(String[] args) { if(userCommand.equalsIgnoreCase("bye")) { System.out.println(exit); break; - } else { - System.out.println(userCommand); + } else if (userCommand.equalsIgnoreCase("list")) { + listTasks(); + } + else { + addTask(userCommand); } } } From d8a0c189ca52ffcf8dcbb34b117bd947b5cf08b4 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sun, 3 Sep 2023 16:47:56 +0800 Subject: [PATCH 06/43] Mark As Done --- src/main/java/Duke.java | 66 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 60 insertions(+), 6 deletions(-) diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index 0c5f6730e4..9f5f0dc84c 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -1,12 +1,32 @@ import java.util.Scanner; +class Task { + private String description; + private boolean isDone; + + public Task(String description) { + this.description = description; + this.isDone = false; + } + public void markAsDone() { + this.isDone = true; + } + public void markAsNotDone() { + this.isDone = false; + } + + @Override + public String toString() { + return (isDone ? "[X] " : "[ ] ") + description; + } +} public class Duke { private static final int MAX_TASKS = 100; - private static String[] tasks = new String[MAX_TASKS]; + private static Task[] tasks = new Task[MAX_TASKS]; private static int taskCount= 0; - private static void addTask(String task) { + private static void addTask(String taskDescription) { if (taskCount < MAX_TASKS) { - tasks[taskCount++] = task; - System.out.println("added: " + task); + tasks[taskCount++] = new Task(taskDescription); + System.out.println("added: " + taskDescription); } else { System.out.println("Sorry, the task list is full."); } @@ -20,6 +40,35 @@ private static void listTasks() { } } } + private static void markTask(String userCommand) { + try { + int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; + if (isValidTaskIndex(taskIndex)) { + tasks[taskIndex].markAsDone(); + System.out.println("Nice! I've marked this task as done:\n " + tasks[taskIndex]); + } else { + System.out.println("Invalid task number. Please enter again."); + } + } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { + System.out.println("Invalid command format. Please use 'mark [task number]'."); + } + } + private static boolean isValidTaskIndex(int taskIndex) { + return taskIndex >= 0 && taskIndex < taskCount; + } + private static void unmarkTask(String userCommand) { + try { + int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; + if (isValidTaskIndex(taskIndex)) { + tasks[taskIndex].markAsNotDone(); + System.out.println("OK, I've marked this task as not done yet: \n " + tasks[taskIndex]); + } else { + System.out.println("Invalid task number. Please enter again."); + } + } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { + System.out.println("Invalid command format. Please use 'unmark [task number]'."); + } + } public static void main(String[] args) { String greeting = "Hi, I'm BiuBiu.\nWhat can I do for you?"; System.out.println(greeting); @@ -32,11 +81,16 @@ public static void main(String[] args) { System.out.println(exit); break; } else if (userCommand.equalsIgnoreCase("list")) { + System.out.println("Here are the tasks in your list: "); listTasks(); - } - else { + } else if (userCommand.startsWith("mark ")) { + markTask(userCommand); + } else if (userCommand.startsWith("unmark ")) { + unmarkTask(userCommand); + } else { addTask(userCommand); } } } } + From 5a6ac4c4271dc9ec192878e67868527c1c0e0bfd Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sun, 3 Sep 2023 16:58:04 +0800 Subject: [PATCH 07/43] Revert "Mark As Done" This reverts commit d8a0c189ca52ffcf8dcbb34b117bd947b5cf08b4. --- src/main/java/Duke.java | 66 ++++------------------------------------- 1 file changed, 6 insertions(+), 60 deletions(-) diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index 9f5f0dc84c..0c5f6730e4 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -1,32 +1,12 @@ import java.util.Scanner; -class Task { - private String description; - private boolean isDone; - - public Task(String description) { - this.description = description; - this.isDone = false; - } - public void markAsDone() { - this.isDone = true; - } - public void markAsNotDone() { - this.isDone = false; - } - - @Override - public String toString() { - return (isDone ? "[X] " : "[ ] ") + description; - } -} public class Duke { private static final int MAX_TASKS = 100; - private static Task[] tasks = new Task[MAX_TASKS]; + private static String[] tasks = new String[MAX_TASKS]; private static int taskCount= 0; - private static void addTask(String taskDescription) { + private static void addTask(String task) { if (taskCount < MAX_TASKS) { - tasks[taskCount++] = new Task(taskDescription); - System.out.println("added: " + taskDescription); + tasks[taskCount++] = task; + System.out.println("added: " + task); } else { System.out.println("Sorry, the task list is full."); } @@ -40,35 +20,6 @@ private static void listTasks() { } } } - private static void markTask(String userCommand) { - try { - int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; - if (isValidTaskIndex(taskIndex)) { - tasks[taskIndex].markAsDone(); - System.out.println("Nice! I've marked this task as done:\n " + tasks[taskIndex]); - } else { - System.out.println("Invalid task number. Please enter again."); - } - } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { - System.out.println("Invalid command format. Please use 'mark [task number]'."); - } - } - private static boolean isValidTaskIndex(int taskIndex) { - return taskIndex >= 0 && taskIndex < taskCount; - } - private static void unmarkTask(String userCommand) { - try { - int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; - if (isValidTaskIndex(taskIndex)) { - tasks[taskIndex].markAsNotDone(); - System.out.println("OK, I've marked this task as not done yet: \n " + tasks[taskIndex]); - } else { - System.out.println("Invalid task number. Please enter again."); - } - } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { - System.out.println("Invalid command format. Please use 'unmark [task number]'."); - } - } public static void main(String[] args) { String greeting = "Hi, I'm BiuBiu.\nWhat can I do for you?"; System.out.println(greeting); @@ -81,16 +32,11 @@ public static void main(String[] args) { System.out.println(exit); break; } else if (userCommand.equalsIgnoreCase("list")) { - System.out.println("Here are the tasks in your list: "); listTasks(); - } else if (userCommand.startsWith("mark ")) { - markTask(userCommand); - } else if (userCommand.startsWith("unmark ")) { - unmarkTask(userCommand); - } else { + } + else { addTask(userCommand); } } } } - From 9db4c919b029ca816cb79564da08d1b7b2be8c85 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sun, 3 Sep 2023 17:11:50 +0800 Subject: [PATCH 08/43] Mark As Done --- src/main/java/Duke.java | 45 +++++++++++++++++++++++++++++++++++------ src/main/java/Task.java | 18 +++++++++++++++++ 2 files changed, 57 insertions(+), 6 deletions(-) create mode 100644 src/main/java/Task.java diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index 0c5f6730e4..63457d7647 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -1,12 +1,12 @@ import java.util.Scanner; public class Duke { private static final int MAX_TASKS = 100; - private static String[] tasks = new String[MAX_TASKS]; + private static Task[] tasks = new Task[MAX_TASKS]; private static int taskCount= 0; - private static void addTask(String task) { + private static void addTask(String taskDescription) { if (taskCount < MAX_TASKS) { - tasks[taskCount++] = task; - System.out.println("added: " + task); + tasks[taskCount++] = new Task(taskDescription); + System.out.println("added: " + taskDescription); } else { System.out.println("Sorry, the task list is full."); } @@ -20,6 +20,35 @@ private static void listTasks() { } } } + private static boolean isValidTaskIndex(int taskIndex) { + return taskIndex >= 0 && taskIndex < taskCount; + } + private static void markTask(String userCommand) { + try { + int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; + if (isValidTaskIndex(taskIndex)) { + tasks[taskIndex].markAsDone(); + System.out.println("Nice! I've marked this task as done:\n " + tasks[taskIndex]); + } else { + System.out.println("Invalid task number. Please enter a valid task number."); + } + } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { + System.out.println("Invalid command format. Please use 'mark [task number]'."); + } + } + private static void unmarkTask(String userCommand) { + try { + int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; + if (isValidTaskIndex(taskIndex)) { + tasks[taskIndex].markAsNotDone(); + System.out.println("OK, I've marked this task as not done yet:\n " + tasks[taskIndex]); + } else { + System.out.println("Invalid task number. Please enter a valid task number."); + } + } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { + System.out.println("Invalid command format. Please use 'unmark [task number]'."); + } + } public static void main(String[] args) { String greeting = "Hi, I'm BiuBiu.\nWhat can I do for you?"; System.out.println(greeting); @@ -32,9 +61,13 @@ public static void main(String[] args) { System.out.println(exit); break; } else if (userCommand.equalsIgnoreCase("list")) { + System.out.println("Here are the tasks in your list:"); listTasks(); - } - else { + } else if (userCommand.startsWith("mark ")) { + markTask(userCommand); + } else if (userCommand.startsWith("unmark ")) { + unmarkTask(userCommand); + } else { addTask(userCommand); } } diff --git a/src/main/java/Task.java b/src/main/java/Task.java new file mode 100644 index 0000000000..0eef7751a6 --- /dev/null +++ b/src/main/java/Task.java @@ -0,0 +1,18 @@ +public class Task { + protected String description; + protected boolean isDone; + public Task(String description) { + this.description = description; + this.isDone = false; + } + public void markAsDone() { + this.isDone = true; + } + public void markAsNotDone() { + this.isDone = false; + } + @Override + public String toString() { + return (isDone ? "[X] " : "[ ] ") + description; + } +} From f6309a6a39962d15323a1573eba36283e5aee158 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sun, 3 Sep 2023 17:47:56 +0800 Subject: [PATCH 09/43] ToDos, Events, Deadlines --- src/main/java/Deadline.java | 12 +++++++++++ src/main/java/Duke.java | 42 ++++++++++++++++++++++++++++++++++--- src/main/java/Event.java | 14 +++++++++++++ src/main/java/Todo.java | 9 ++++++++ 4 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 src/main/java/Deadline.java create mode 100644 src/main/java/Event.java create mode 100644 src/main/java/Todo.java diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java new file mode 100644 index 0000000000..90c675cfb6 --- /dev/null +++ b/src/main/java/Deadline.java @@ -0,0 +1,12 @@ +public class Deadline extends Task { + protected String by; + public Deadline(String description, String by) { + super(description); + this.by = by; + } + + @Override + public String toString() { + return "[D]" + super.toString() + " (by: " + by + ")"; + } +} diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index 63457d7647..ccc0b57576 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -3,10 +3,46 @@ public class Duke { private static final int MAX_TASKS = 100; private static Task[] tasks = new Task[MAX_TASKS]; private static int taskCount= 0; - private static void addTask(String taskDescription) { + private static void addTask(String userCommand) { if (taskCount < MAX_TASKS) { - tasks[taskCount++] = new Task(taskDescription); - System.out.println("added: " + taskDescription); + String[] parts = userCommand.split(" ", 2); + if (parts.length == 2) { + String taskType = parts[0].toLowerCase(); + String taskDescription = parts[1]; + + switch (taskType) { + case "todo": + tasks[taskCount++] = new Todo(taskDescription); + break; + case "deadline": + String[] deadlineParts = taskDescription.split(" /by "); + if (deadlineParts.length == 2) { + tasks[taskCount++] = new Deadline(deadlineParts[0], deadlineParts[1]); + } else { + System.out.println("Invalid deadline format."); + } + break; + case "event": + String[] eventParts = taskDescription.split(" /from | /to "); + if (eventParts.length == 3) { + tasks[taskCount++] = new Event(eventParts[0], eventParts[1], eventParts[2]); + } else { + System.out.println("Invalid event format."); + } + break; + default: + System.out.println("Invalid task type."); + break; + } + + if (taskCount > 0) { + System.out.println("Got it. I've added this task:"); + System.out.println(" " + tasks[taskCount - 1]); + System.out.println("Now you have " + taskCount + " tasks in the list."); + } + } else { + System.out.println("Invalid command format."); + } } else { System.out.println("Sorry, the task list is full."); } diff --git a/src/main/java/Event.java b/src/main/java/Event.java new file mode 100644 index 0000000000..40479df452 --- /dev/null +++ b/src/main/java/Event.java @@ -0,0 +1,14 @@ +public class Event extends Task { + protected String from; + protected String to; + + public Event(String description, String from, String to) { + super(description); + this.from = from; + this.to = to; + } + @Override + public String toString() { + return "[E]" + super.toString() + " (from: " + from + " to: " + to + ")"; + } +} diff --git a/src/main/java/Todo.java b/src/main/java/Todo.java new file mode 100644 index 0000000000..6edccd014b --- /dev/null +++ b/src/main/java/Todo.java @@ -0,0 +1,9 @@ +public class Todo extends Task { + public Todo(String description) { + super(description); + } + @Override + public String toString() { + return "[T]" + super.toString(); + } +} From 59487b8d91bb9e6b12ff379adec6b7bc40fbab0e Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sun, 3 Sep 2023 19:14:37 +0800 Subject: [PATCH 10/43] Automated Text UI Testing --- text-ui-test/EXPECTED.TXT | 28 ++++++++++++++++++++++------ text-ui-test/input.txt | 7 +++++++ 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/text-ui-test/EXPECTED.TXT b/text-ui-test/EXPECTED.TXT index 657e74f6e7..660fc10a70 100644 --- a/text-ui-test/EXPECTED.TXT +++ b/text-ui-test/EXPECTED.TXT @@ -1,7 +1,23 @@ -Hello from - ____ _ -| _ \ _ _| | _____ -| | | | | | | |/ / _ \ -| |_| | |_| | < __/ -|____/ \__,_|_|\_\___| +Hi, I'm BiuBiu. +What can I do for you? +Got it. I've added this task: + [T][ ] Buy groceries +Now you have 1 tasks in the list. +Got it. I've added this task: + [D][ ] Finish report (by: 2023-12-15) +Now you have 2 tasks in the list. +Got it. I've added this task: + [E][ ] Team meeting (from: 2023-12-20 14:00 to: 2023-12-20 15:30) +Now you have 3 tasks in the list. +Here are the tasks in your list: +1.[T][ ] Buy groceries +2.[D][ ] Finish report (by: 2023-12-15) +3.[E][ ] Team meeting (from: 2023-12-20 14:00 to: 2023-12-20 15:30) +Nice! I've marked this task as done: + [T][X] Buy groceries +Here are the tasks in your list: +1.[T][X] Buy groceries +2.[D][ ] Finish report (by: 2023-12-15) +3.[E][ ] Team meeting (from: 2023-12-20 14:00 to: 2023-12-20 15:30) +Bye. Have a great day! diff --git a/text-ui-test/input.txt b/text-ui-test/input.txt index e69de29bb2..39b2e1b204 100644 --- a/text-ui-test/input.txt +++ b/text-ui-test/input.txt @@ -0,0 +1,7 @@ +todo Buy groceries +deadline Finish report /by 2023-12-15 +event Team meeting /from 2023-12-20 14:00 /to 2023-12-20 15:30 +list +mark 1 +list +bye \ No newline at end of file From 965afecee03111ac72567184e4a3182a9588e7da Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Thu, 7 Sep 2023 14:07:31 +0800 Subject: [PATCH 11/43] Revert "Automated Text UI Testing" This reverts commit 59487b8d91bb9e6b12ff379adec6b7bc40fbab0e. --- text-ui-test/EXPECTED.TXT | 28 ++++++---------------------- text-ui-test/input.txt | 7 ------- 2 files changed, 6 insertions(+), 29 deletions(-) diff --git a/text-ui-test/EXPECTED.TXT b/text-ui-test/EXPECTED.TXT index 660fc10a70..657e74f6e7 100644 --- a/text-ui-test/EXPECTED.TXT +++ b/text-ui-test/EXPECTED.TXT @@ -1,23 +1,7 @@ -Hi, I'm BiuBiu. -What can I do for you? -Got it. I've added this task: - [T][ ] Buy groceries -Now you have 1 tasks in the list. -Got it. I've added this task: - [D][ ] Finish report (by: 2023-12-15) -Now you have 2 tasks in the list. -Got it. I've added this task: - [E][ ] Team meeting (from: 2023-12-20 14:00 to: 2023-12-20 15:30) -Now you have 3 tasks in the list. -Here are the tasks in your list: -1.[T][ ] Buy groceries -2.[D][ ] Finish report (by: 2023-12-15) -3.[E][ ] Team meeting (from: 2023-12-20 14:00 to: 2023-12-20 15:30) -Nice! I've marked this task as done: - [T][X] Buy groceries -Here are the tasks in your list: -1.[T][X] Buy groceries -2.[D][ ] Finish report (by: 2023-12-15) -3.[E][ ] Team meeting (from: 2023-12-20 14:00 to: 2023-12-20 15:30) -Bye. Have a great day! +Hello from + ____ _ +| _ \ _ _| | _____ +| | | | | | | |/ / _ \ +| |_| | |_| | < __/ +|____/ \__,_|_|\_\___| diff --git a/text-ui-test/input.txt b/text-ui-test/input.txt index 39b2e1b204..e69de29bb2 100644 --- a/text-ui-test/input.txt +++ b/text-ui-test/input.txt @@ -1,7 +0,0 @@ -todo Buy groceries -deadline Finish report /by 2023-12-15 -event Team meeting /from 2023-12-20 14:00 /to 2023-12-20 15:30 -list -mark 1 -list -bye \ No newline at end of file From b3a31573fef4f9c597c6f763a8cbdad3b7d2b33a Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Thu, 7 Sep 2023 16:30:41 +0800 Subject: [PATCH 12/43] Revert "Revert "Automated Text UI Testing"" This reverts commit 965afecee03111ac72567184e4a3182a9588e7da. --- text-ui-test/EXPECTED.TXT | 28 ++++++++++++++++++++++------ text-ui-test/input.txt | 7 +++++++ 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/text-ui-test/EXPECTED.TXT b/text-ui-test/EXPECTED.TXT index 657e74f6e7..660fc10a70 100644 --- a/text-ui-test/EXPECTED.TXT +++ b/text-ui-test/EXPECTED.TXT @@ -1,7 +1,23 @@ -Hello from - ____ _ -| _ \ _ _| | _____ -| | | | | | | |/ / _ \ -| |_| | |_| | < __/ -|____/ \__,_|_|\_\___| +Hi, I'm BiuBiu. +What can I do for you? +Got it. I've added this task: + [T][ ] Buy groceries +Now you have 1 tasks in the list. +Got it. I've added this task: + [D][ ] Finish report (by: 2023-12-15) +Now you have 2 tasks in the list. +Got it. I've added this task: + [E][ ] Team meeting (from: 2023-12-20 14:00 to: 2023-12-20 15:30) +Now you have 3 tasks in the list. +Here are the tasks in your list: +1.[T][ ] Buy groceries +2.[D][ ] Finish report (by: 2023-12-15) +3.[E][ ] Team meeting (from: 2023-12-20 14:00 to: 2023-12-20 15:30) +Nice! I've marked this task as done: + [T][X] Buy groceries +Here are the tasks in your list: +1.[T][X] Buy groceries +2.[D][ ] Finish report (by: 2023-12-15) +3.[E][ ] Team meeting (from: 2023-12-20 14:00 to: 2023-12-20 15:30) +Bye. Have a great day! diff --git a/text-ui-test/input.txt b/text-ui-test/input.txt index e69de29bb2..39b2e1b204 100644 --- a/text-ui-test/input.txt +++ b/text-ui-test/input.txt @@ -0,0 +1,7 @@ +todo Buy groceries +deadline Finish report /by 2023-12-15 +event Team meeting /from 2023-12-20 14:00 /to 2023-12-20 15:30 +list +mark 1 +list +bye \ No newline at end of file From 6754850f9a250ef34efd3d89a8900a789b268630 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Thu, 7 Sep 2023 17:39:41 +0800 Subject: [PATCH 13/43] Handle Errors --- src/main/java/Duke.java | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index ccc0b57576..9816485363 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -12,12 +12,22 @@ private static void addTask(String userCommand) { switch (taskType) { case "todo": + tasks[taskCount++] = new Todo(taskDescription); + break; case "deadline": String[] deadlineParts = taskDescription.split(" /by "); if (deadlineParts.length == 2) { - tasks[taskCount++] = new Deadline(deadlineParts[0], deadlineParts[1]); + String deadlineTask = deadlineParts[0]; + String deadlineTime = deadlineParts[1]; + if (deadlineTask.trim().isEmpty()) { + System.out.println("What kind of deadline do you have??"); + } else if (deadlineTime.trim().isEmpty()) { + System.out.println("Can you tell me when is your deadline??"); + } else { + tasks[taskCount++] = new Deadline(deadlineParts[0], deadlineParts[1]); + } } else { System.out.println("Invalid deadline format."); } @@ -25,13 +35,24 @@ private static void addTask(String userCommand) { case "event": String[] eventParts = taskDescription.split(" /from | /to "); if (eventParts.length == 3) { - tasks[taskCount++] = new Event(eventParts[0], eventParts[1], eventParts[2]); + String eventTask = eventParts[0]; + String eventStartTime = eventParts[1]; + String eventEndTime = eventParts[2]; + if (eventTask.trim().isEmpty()) { + System.out.println("What event do you have?"); + } else if (eventStartTime.trim().isEmpty()) { + System.out.println("When will the event start?"); + } else if (eventEndTime.trim().isEmpty()) { + System.out.println("When will the event end?"); + } else { + tasks[taskCount++] = new Event(eventParts[0], eventParts[1], eventParts[2]); + } } else { System.out.println("Invalid event format."); } break; default: - System.out.println("Invalid task type."); + System.out.println("Invalid command format."); break; } @@ -41,7 +62,15 @@ private static void addTask(String userCommand) { System.out.println("Now you have " + taskCount + " tasks in the list."); } } else { - System.out.println("Invalid command format."); + if (parts[0].equalsIgnoreCase("todo")) { + System.out.println("What you want to do?"); + } else if (parts[0].equalsIgnoreCase("deadline")) { + System.out.println("What deadline do you have??"); + } else if (parts[0].equalsIgnoreCase("event")) { + System.out.println("What event are you going to attend??"); + } else { + System.out.println("Sorry, I don't know what that means :("); + } } } else { System.out.println("Sorry, the task list is full."); From 0f54ab152fee5155a53be65c2f1f1dec8eb8c452 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Fri, 8 Sep 2023 15:03:09 +0800 Subject: [PATCH 14/43] Delete --- src/main/java/Duke.java | 51 ++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index 9816485363..f237b6f7fb 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -1,8 +1,13 @@ import java.util.Scanner; +import java.util.ArrayList; public class Duke { private static final int MAX_TASKS = 100; - private static Task[] tasks = new Task[MAX_TASKS]; + // private static Task[] tasks = new Task[MAX_TASKS]; + private static ArrayList tasks = new ArrayList<>(); private static int taskCount= 0; + public enum TaskType { + TODO, DEADLINE, EVENT + } private static void addTask(String userCommand) { if (taskCount < MAX_TASKS) { String[] parts = userCommand.split(" ", 2); @@ -12,9 +17,8 @@ private static void addTask(String userCommand) { switch (taskType) { case "todo": - - tasks[taskCount++] = new Todo(taskDescription); - + tasks.add(new Todo(taskDescription)); + taskCount++; break; case "deadline": String[] deadlineParts = taskDescription.split(" /by "); @@ -26,7 +30,8 @@ private static void addTask(String userCommand) { } else if (deadlineTime.trim().isEmpty()) { System.out.println("Can you tell me when is your deadline??"); } else { - tasks[taskCount++] = new Deadline(deadlineParts[0], deadlineParts[1]); + tasks.add(new Deadline(deadlineParts[0], deadlineParts[1])); + taskCount++; } } else { System.out.println("Invalid deadline format."); @@ -45,7 +50,8 @@ private static void addTask(String userCommand) { } else if (eventEndTime.trim().isEmpty()) { System.out.println("When will the event end?"); } else { - tasks[taskCount++] = new Event(eventParts[0], eventParts[1], eventParts[2]); + tasks.add(new Event(eventParts[0], eventParts[1], eventParts[2])); + taskCount++; } } else { System.out.println("Invalid event format."); @@ -58,7 +64,7 @@ private static void addTask(String userCommand) { if (taskCount > 0) { System.out.println("Got it. I've added this task:"); - System.out.println(" " + tasks[taskCount - 1]); + System.out.println(" " + tasks.get(taskCount - 1)); System.out.println("Now you have " + taskCount + " tasks in the list."); } } else { @@ -76,12 +82,27 @@ private static void addTask(String userCommand) { System.out.println("Sorry, the task list is full."); } } + private static void deleteTask (String userCommand) { + try { + int index = Integer.parseInt(userCommand.split(" ")[1]) - 1; + if (index >= 1 && index <= taskCount) { + Task removedTask = tasks.remove(index - 1); + taskCount--; + System.out.println("OK, I've removed this task."); + } else { + System.out.println("Invalid task index."); + } + } catch (NumberFormatException | IndexOutOfBoundsException e) { + System.out.println("Invalid command format."); + } + + } private static void listTasks() { if (taskCount == 0) { System.out.println("The task list is empty!"); } else { for(int i = 0; i < taskCount; i++) { - System.out.println((i + 1) + ". " + tasks[i]); + System.out.println((i + 1) + ". " + tasks.get(i)); } } } @@ -92,8 +113,9 @@ private static void markTask(String userCommand) { try { int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; if (isValidTaskIndex(taskIndex)) { - tasks[taskIndex].markAsDone(); - System.out.println("Nice! I've marked this task as done:\n " + tasks[taskIndex]); + Task taskToMark = tasks.get(taskIndex); + taskToMark.markAsDone(); + System.out.println("Nice! I've marked this task as done:\n " + taskToMark); } else { System.out.println("Invalid task number. Please enter a valid task number."); } @@ -105,8 +127,9 @@ private static void unmarkTask(String userCommand) { try { int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; if (isValidTaskIndex(taskIndex)) { - tasks[taskIndex].markAsNotDone(); - System.out.println("OK, I've marked this task as not done yet:\n " + tasks[taskIndex]); + Task taskToUnmark = tasks.get(taskIndex); + taskToUnmark.markAsNotDone(); + System.out.println("OK, I've marked this task as not done yet:\n " + taskToUnmark); } else { System.out.println("Invalid task number. Please enter a valid task number."); } @@ -132,7 +155,9 @@ public static void main(String[] args) { markTask(userCommand); } else if (userCommand.startsWith("unmark ")) { unmarkTask(userCommand); - } else { + } else if (userCommand.startsWith("delete ")) { + deleteTask(userCommand); + }else { addTask(userCommand); } } From 1796d07c4ae15935bbd6729682efa1ca014152bd Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Fri, 8 Sep 2023 16:28:09 +0800 Subject: [PATCH 15/43] Save --- docs/duke.txt | 5 +++ src/main/java/Deadline.java | 4 ++ src/main/java/Duke.java | 76 +++++++++++++++++++++++++++++++++++-- src/main/java/Event.java | 4 ++ src/main/java/Task.java | 3 ++ src/main/java/Todo.java | 4 ++ 6 files changed, 93 insertions(+), 3 deletions(-) create mode 100644 docs/duke.txt diff --git a/docs/duke.txt b/docs/duke.txt new file mode 100644 index 0000000000..983a0c37d2 --- /dev/null +++ b/docs/duke.txt @@ -0,0 +1,5 @@ +TODO | read book +DEADLINE | return book | June 6th +EVENT | project meeting | Aug 6th 2pm | 4pm +TODO | join sports club +TODO | borrow book diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java index 90c675cfb6..8e781a8855 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/Deadline.java @@ -5,6 +5,10 @@ public Deadline(String description, String by) { this.by = by; } + @Override + public String toDataString() { + return "DEADLINE | " + super.toDataString() + " | " + by; + } @Override public String toString() { return "[D]" + super.toString() + " (by: " + by + ")"; diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index f237b6f7fb..688da066e3 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -1,13 +1,24 @@ -import java.util.Scanner; +import java.io.BufferedReader; +import java.io.BufferedWriter; +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.IOException; import java.util.ArrayList; +import java.util.Scanner; + public class Duke { private static final int MAX_TASKS = 100; - // private static Task[] tasks = new Task[MAX_TASKS]; private static ArrayList tasks = new ArrayList<>(); + // private static Task[] tasks = new Task[MAX_TASKS]; private static int taskCount= 0; + private static final String DATA_FILE_PATH = "./docs/duke.txt"; public enum TaskType { TODO, DEADLINE, EVENT } + public enum TaskStatus { + DONE, NOT_DONE + } private static void addTask(String userCommand) { if (taskCount < MAX_TASKS) { String[] parts = userCommand.split(" ", 2); @@ -86,7 +97,7 @@ private static void deleteTask (String userCommand) { try { int index = Integer.parseInt(userCommand.split(" ")[1]) - 1; if (index >= 1 && index <= taskCount) { - Task removedTask = tasks.remove(index - 1); + Task removedTask = tasks.remove(index); taskCount--; System.out.println("OK, I've removed this task."); } else { @@ -137,7 +148,65 @@ private static void unmarkTask(String userCommand) { System.out.println("Invalid command format. Please use 'unmark [task number]'."); } } + + private static void loadTasks() { + File file = new File(DATA_FILE_PATH); + + if (file.exists()) { + try (BufferedReader reader = new BufferedReader(new FileReader(file))) { + String line; + while ((line = reader.readLine()) != null) { + String[] taskData = line.split(" \\| "); + if (taskData.length >= 2) { + TaskType taskType = TaskType.valueOf(taskData[0]); + String taskDescription = taskData[1]; + String taskTime1 = (taskData.length > 2) ? taskData[2] : ""; + String taskTime2 = (taskData.length > 3) ? taskData[3] : ""; + + switch (taskType) { + case TODO: + tasks.add(new Todo(taskDescription)); + break; + case DEADLINE: + tasks.add(new Deadline(taskDescription, taskTime1)); + break; + case EVENT: + tasks.add(new Event(taskDescription, taskTime1, taskTime2)); + break; + default: + System.out.println("Invalid task type: " + taskType); + break; + } + taskCount++; + } else { + System.out.println("Skipping corrupted task data: " + line); + } + } + } catch (IOException e) { + System.out.println("Error loading tasks."); + } + } else { + System.out.println("Data file does not exist."); + } + } + + private static void saveTask() { + File file = new File(DATA_FILE_PATH); + file.getParentFile().mkdirs(); + + try (BufferedWriter writer = new BufferedWriter(new FileWriter(file))) { + for (Task task : tasks) { + writer.write(task.toDataString()); + writer.newLine(); + } + } catch (IOException e) { + System.out.println("Error saving tasks."); + } + } + public static void main(String[] args) { + loadTasks(); // Load tasks from duke.txt + String greeting = "Hi, I'm BiuBiu.\nWhat can I do for you?"; System.out.println(greeting); String exit = "Bye. Have a great day!"; @@ -160,6 +229,7 @@ public static void main(String[] args) { }else { addTask(userCommand); } + saveTask(); } } } diff --git a/src/main/java/Event.java b/src/main/java/Event.java index 40479df452..fba6a2742a 100644 --- a/src/main/java/Event.java +++ b/src/main/java/Event.java @@ -8,6 +8,10 @@ public Event(String description, String from, String to) { this.to = to; } @Override + public String toDataString() { + return "EVENT | " + super.toDataString() + " | " + from + " | " + to; + } + @Override public String toString() { return "[E]" + super.toString() + " (from: " + from + " to: " + to + ")"; } diff --git a/src/main/java/Task.java b/src/main/java/Task.java index 0eef7751a6..4a59cca29c 100644 --- a/src/main/java/Task.java +++ b/src/main/java/Task.java @@ -11,6 +11,9 @@ public void markAsDone() { public void markAsNotDone() { this.isDone = false; } + public String toDataString() { + return description; + } @Override public String toString() { return (isDone ? "[X] " : "[ ] ") + description; diff --git a/src/main/java/Todo.java b/src/main/java/Todo.java index 6edccd014b..aead307b78 100644 --- a/src/main/java/Todo.java +++ b/src/main/java/Todo.java @@ -3,6 +3,10 @@ public Todo(String description) { super(description); } @Override + public String toDataString() { + return "TODO | " + super.toDataString(); + } + @Override public String toString() { return "[T]" + super.toString(); } From 3f0376dd67a8ef6d75625d0e02a62cd00aa0cb0d Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 14:29:46 +0800 Subject: [PATCH 16/43] Dates and Times --- docs/duke.txt | 7 +++--- src/main/java/Deadline.java | 40 +++++++++++++++++++++++++++---- src/main/java/Duke.java | 20 ++++++++++++---- src/main/java/Event.java | 47 +++++++++++++++++++++++++++++++------ 4 files changed, 93 insertions(+), 21 deletions(-) diff --git a/docs/duke.txt b/docs/duke.txt index 983a0c37d2..a1cecb0c09 100644 --- a/docs/duke.txt +++ b/docs/duke.txt @@ -1,5 +1,4 @@ TODO | read book -DEADLINE | return book | June 6th -EVENT | project meeting | Aug 6th 2pm | 4pm -TODO | join sports club -TODO | borrow book +DEADLINE | return book | 2023-06-12 +EVENT | project meeting | 2022-05-10 1400 | 2022-05-10 1600 + diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java index 8e781a8855..8ab44d1564 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/Deadline.java @@ -1,16 +1,46 @@ +import java.time.LocalDate; +import java.time.format.DateTimeFormatter; +import java.time.format.DateTimeParseException; +import java.util.Locale; + public class Deadline extends Task { - protected String by; - public Deadline(String description, String by) { + // protected String by; + private LocalDate deadline; + public Deadline(String description, String deadlineString) { super(description); - this.by = by; + this.deadline = parseDeadline(deadlineString); } + private LocalDate parseDeadline(String deadlineString) { + try { + if(!deadlineString.isEmpty()) { + return LocalDate.parse(deadlineString, DateTimeFormatter.ofPattern("yyyy-MM-dd")); + } + } catch (DateTimeParseException e) { + System.out.println("Error parsing date: " + deadlineString); + } + return null; + } + private String formatDeadline(LocalDate deadlineDate) { + if (deadlineDate == null) { + return "Invalid date."; + } + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd yyyy", Locale.ENGLISH); + return deadlineDate.format(formatter); + } + private String saveFormatDeadline(LocalDate deadlineDate) { + if (deadlineDate == null) { + return ""; + } + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); + return deadlineDate.format(formatter); + } @Override public String toDataString() { - return "DEADLINE | " + super.toDataString() + " | " + by; + return "DEADLINE | " + super.toDataString() + " | " + saveFormatDeadline(deadline); } @Override public String toString() { - return "[D]" + super.toString() + " (by: " + by + ")"; + return "[D]" + super.toString() + " (by: " + formatDeadline(deadline) + ")"; } } diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index 688da066e3..4b1cb08d30 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -30,6 +30,11 @@ private static void addTask(String userCommand) { case "todo": tasks.add(new Todo(taskDescription)); taskCount++; + if (taskCount > 0) { + System.out.println("Got it. I've added this task:"); + System.out.println(" " + tasks.get(taskCount - 1)); + System.out.println("Now you have " + taskCount + " tasks in the list."); + } break; case "deadline": String[] deadlineParts = taskDescription.split(" /by "); @@ -44,6 +49,11 @@ private static void addTask(String userCommand) { tasks.add(new Deadline(deadlineParts[0], deadlineParts[1])); taskCount++; } + if (taskCount > 0) { + System.out.println("Got it. I've added this task:"); + System.out.println(" " + tasks.get(taskCount - 1)); + System.out.println("Now you have " + taskCount + " tasks in the list."); + } } else { System.out.println("Invalid deadline format."); } @@ -64,6 +74,11 @@ private static void addTask(String userCommand) { tasks.add(new Event(eventParts[0], eventParts[1], eventParts[2])); taskCount++; } + if (taskCount > 0) { + System.out.println("Got it. I've added this task:"); + System.out.println(" " + tasks.get(taskCount - 1)); + System.out.println("Now you have " + taskCount + " tasks in the list."); + } } else { System.out.println("Invalid event format."); } @@ -73,11 +88,6 @@ private static void addTask(String userCommand) { break; } - if (taskCount > 0) { - System.out.println("Got it. I've added this task:"); - System.out.println(" " + tasks.get(taskCount - 1)); - System.out.println("Now you have " + taskCount + " tasks in the list."); - } } else { if (parts[0].equalsIgnoreCase("todo")) { System.out.println("What you want to do?"); diff --git a/src/main/java/Event.java b/src/main/java/Event.java index fba6a2742a..785fa8c608 100644 --- a/src/main/java/Event.java +++ b/src/main/java/Event.java @@ -1,18 +1,51 @@ +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; +import java.time.format.DateTimeParseException; +import java.util.Locale; + public class Event extends Task { - protected String from; - protected String to; + // protected String from; + // protected String to; + private LocalDateTime startTime; + private LocalDateTime endTime; - public Event(String description, String from, String to) { + public Event(String description, String startDateTimeString, String endDateTimeString) { super(description); - this.from = from; - this.to = to; + this.startTime = parseDateTime(startDateTimeString); + this.endTime = parseDateTime(endDateTimeString); + } + private LocalDateTime parseDateTime(String dateTimeString) { + try { + if (!dateTimeString.isEmpty()) { + return LocalDateTime.parse(dateTimeString, DateTimeFormatter.ofPattern("yyyy-MM-dd HHmm")); + } + } catch (DateTimeParseException e) { + System.out.println("Error parsing date and time: " + dateTimeString); + return null; // You may want to handle this case differently + } + return null; + } + private String formatDateTime(LocalDateTime dateTime) { + if (dateTime == null) { + return "Invalid Date and Time!"; + } + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd yyyy h:mm a", Locale.ENGLISH); + return dateTime.format(formatter); + } + private String saveFormatDateTime(LocalDateTime dateTime) { + if (dateTime == null) { + return ""; + } + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HHmm"); + return dateTime.format(formatter); } @Override public String toDataString() { - return "EVENT | " + super.toDataString() + " | " + from + " | " + to; + + return "EVENT | " + super.toDataString() + " | " + saveFormatDateTime(startTime) + " | " + saveFormatDateTime(endTime); } @Override public String toString() { - return "[E]" + super.toString() + " (from: " + from + " to: " + to + ")"; + return "[E]" + super.toString() + " (from: " + formatDateTime(startTime) + " to: " + formatDateTime(endTime) + ")"; } } From 590c044924ae22069fd9a2c239c59ed9155190ab Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 19:46:19 +0800 Subject: [PATCH 17/43] OOP(Ui, TaskList, Parser, Storage) --- docs/duke.txt | 5 +- src/main/java/Duke.java | 495 +++++++++++++++++++----------------- src/main/java/Parser.java | 40 +++ src/main/java/Storage.java | 29 +++ src/main/java/Task.java | 1 + src/main/java/TaskList.java | 34 +++ src/main/java/Ui.java | 155 +++++++++++ 7 files changed, 524 insertions(+), 235 deletions(-) create mode 100644 src/main/java/Parser.java create mode 100644 src/main/java/Storage.java create mode 100644 src/main/java/TaskList.java create mode 100644 src/main/java/Ui.java diff --git a/docs/duke.txt b/docs/duke.txt index a1cecb0c09..e329af49b9 100644 --- a/docs/duke.txt +++ b/docs/duke.txt @@ -1,4 +1,3 @@ TODO | read book -DEADLINE | return book | 2023-06-12 -EVENT | project meeting | 2022-05-10 1400 | 2022-05-10 1600 - +DEADLINE | project | 2022-10-10 +EVENT | meet | 2023-06-12 1400 | 2023-06-12 1600 diff --git a/src/main/java/Duke.java b/src/main/java/Duke.java index 4b1cb08d30..293bda9dbf 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/Duke.java @@ -1,245 +1,276 @@ -import java.io.BufferedReader; -import java.io.BufferedWriter; -import java.io.File; -import java.io.FileReader; -import java.io.FileWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Scanner; - +//import java.io.BufferedReader; +//import java.io.BufferedWriter; +//import java.io.File; +//import java.io.FileReader; +//import java.io.FileWriter; +//import java.io.IOException; +//import java.util.ArrayList; +//import java.util.Scanner; +// +//public class Duke { +// private static final int MAX_TASKS = 100; +// private static ArrayList tasks = new ArrayList<>(); +// // private static Task[] tasks = new Task[MAX_TASKS]; +// private static int taskCount= 0; +// private static final String DATA_FILE_PATH = "./docs/duke.txt"; +// public enum TaskType { +// TODO, DEADLINE, EVENT +// } +// public enum TaskStatus { +// DONE, NOT_DONE +// } +// private static void addTask(String userCommand) { +// if (taskCount < MAX_TASKS) { +// String[] parts = userCommand.split(" ", 2); +// if (parts.length == 2) { +// String taskType = parts[0].toLowerCase(); +// String taskDescription = parts[1]; +// +// switch (taskType) { +// case "todo": +// tasks.add(new Todo(taskDescription)); +// taskCount++; +// if (taskCount > 0) { +// System.out.println("Got it. I've added this task:"); +// System.out.println(" " + tasks.get(taskCount - 1)); +// System.out.println("Now you have " + taskCount + " tasks in the list."); +// } +// break; +// case "deadline": +// String[] deadlineParts = taskDescription.split(" /by "); +// if (deadlineParts.length == 2) { +// String deadlineTask = deadlineParts[0]; +// String deadlineTime = deadlineParts[1]; +// if (deadlineTask.trim().isEmpty()) { +// System.out.println("What kind of deadline do you have??"); +// } else if (deadlineTime.trim().isEmpty()) { +// System.out.println("Can you tell me when is your deadline??"); +// } else { +// tasks.add(new Deadline(deadlineParts[0], deadlineParts[1])); +// taskCount++; +// } +// if (taskCount > 0) { +// System.out.println("Got it. I've added this task:"); +// System.out.println(" " + tasks.get(taskCount - 1)); +// System.out.println("Now you have " + taskCount + " tasks in the list."); +// } +// } else { +// System.out.println("Invalid deadline format."); +// } +// break; +// case "event": +// String[] eventParts = taskDescription.split(" /from | /to "); +// if (eventParts.length == 3) { +// String eventTask = eventParts[0]; +// String eventStartTime = eventParts[1]; +// String eventEndTime = eventParts[2]; +// if (eventTask.trim().isEmpty()) { +// System.out.println("What event do you have?"); +// } else if (eventStartTime.trim().isEmpty()) { +// System.out.println("When will the event start?"); +// } else if (eventEndTime.trim().isEmpty()) { +// System.out.println("When will the event end?"); +// } else { +// tasks.add(new Event(eventParts[0], eventParts[1], eventParts[2])); +// taskCount++; +// } +// if (taskCount > 0) { +// System.out.println("Got it. I've added this task:"); +// System.out.println(" " + tasks.get(taskCount - 1)); +// System.out.println("Now you have " + taskCount + " tasks in the list."); +// } +// } else { +// System.out.println("Invalid event format."); +// } +// break; +// default: +// System.out.println("Invalid command format."); +// break; +// } +// +// } else { +// if (parts[0].equalsIgnoreCase("todo")) { +// System.out.println("What you want to do?"); +// } else if (parts[0].equalsIgnoreCase("deadline")) { +// System.out.println("What deadline do you have??"); +// } else if (parts[0].equalsIgnoreCase("event")) { +// System.out.println("What event are you going to attend??"); +// } else { +// System.out.println("Sorry, I don't know what that means :("); +// } +// } +// } else { +// System.out.println("Sorry, the task list is full."); +// } +// } +// private static void deleteTask (String userCommand) { +// try { +// int index = Integer.parseInt(userCommand.split(" ")[1]) - 1; +// if (index >= 1 && index <= taskCount) { +// Task removedTask = tasks.remove(index); +// taskCount--; +// System.out.println("OK, I've removed this task."); +// } else { +// System.out.println("Invalid task index."); +// } +// } catch (NumberFormatException | IndexOutOfBoundsException e) { +// System.out.println("Invalid command format."); +// } +// +// } +// private static void listTasks() { +// if (taskCount == 0) { +// System.out.println("The task list is empty!"); +// } else { +// for(int i = 0; i < taskCount; i++) { +// System.out.println((i + 1) + ". " + tasks.get(i)); +// } +// } +// } +// private static boolean isValidTaskIndex(int taskIndex) { +// return taskIndex >= 0 && taskIndex < taskCount; +// } +// private static void markTask(String userCommand) { +// try { +// int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; +// if (isValidTaskIndex(taskIndex)) { +// Task taskToMark = tasks.get(taskIndex); +// taskToMark.markAsDone(); +// System.out.println("Nice! I've marked this task as done:\n " + taskToMark); +// } else { +// System.out.println("Invalid task number. Please enter a valid task number."); +// } +// } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { +// System.out.println("Invalid command format. Please use 'mark [task number]'."); +// } +// } +// private static void unmarkTask(String userCommand) { +// try { +// int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; +// if (isValidTaskIndex(taskIndex)) { +// Task taskToUnmark = tasks.get(taskIndex); +// taskToUnmark.markAsNotDone(); +// System.out.println("OK, I've marked this task as not done yet:\n " + taskToUnmark); +// } else { +// System.out.println("Invalid task number. Please enter a valid task number."); +// } +// } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { +// System.out.println("Invalid command format. Please use 'unmark [task number]'."); +// } +// } +// +// private static void loadTasks() { +// File file = new File(DATA_FILE_PATH); +// +// if (file.exists()) { +// try (BufferedReader reader = new BufferedReader(new FileReader(file))) { +// String line; +// while ((line = reader.readLine()) != null) { +// String[] taskData = line.split(" \\| "); +// if (taskData.length >= 2) { +// TaskType taskType = TaskType.valueOf(taskData[0]); +// String taskDescription = taskData[1]; +// String taskTime1 = (taskData.length > 2) ? taskData[2] : ""; +// String taskTime2 = (taskData.length > 3) ? taskData[3] : ""; +// +// switch (taskType) { +// case TODO: +// tasks.add(new Todo(taskDescription)); +// break; +// case DEADLINE: +// tasks.add(new Deadline(taskDescription, taskTime1)); +// break; +// case EVENT: +// tasks.add(new Event(taskDescription, taskTime1, taskTime2)); +// break; +// default: +// System.out.println("Invalid task type: " + taskType); +// break; +// } +// taskCount++; +// } else { +// System.out.println("Skipping corrupted task data: " + line); +// } +// } +// } catch (IOException e) { +// System.out.println("Error loading tasks."); +// } +// } else { +// System.out.println("Data file does not exist."); +// } +// } +// +// private static void saveTask() { +// File file = new File(DATA_FILE_PATH); +// file.getParentFile().mkdirs(); +// +// try (BufferedWriter writer = new BufferedWriter(new FileWriter(file))) { +// for (Task task : tasks) { +// writer.write(task.toDataString()); +// writer.newLine(); +// } +// } catch (IOException e) { +// System.out.println("Error saving tasks."); +// } +// } +// +// public static void main(String[] args) { +// loadTasks(); // Load tasks from duke.txt +// +// String greeting = "Hi, I'm BiuBiu.\nWhat can I do for you?"; +// System.out.println(greeting); +// String exit = "Bye. Have a great day!"; +// +// Scanner scanner = new Scanner(System.in); +// while(true) { +// String userCommand = scanner.nextLine(); +// if(userCommand.equalsIgnoreCase("bye")) { +// System.out.println(exit); +// break; +// } else if (userCommand.equalsIgnoreCase("list")) { +// System.out.println("Here are the tasks in your list:"); +// listTasks(); +// } else if (userCommand.startsWith("mark ")) { +// markTask(userCommand); +// } else if (userCommand.startsWith("unmark ")) { +// unmarkTask(userCommand); +// } else if (userCommand.startsWith("delete ")) { +// deleteTask(userCommand); +// }else { +// addTask(userCommand); +// } +// saveTask(); +// } +// } +//} public class Duke { private static final int MAX_TASKS = 100; - private static ArrayList tasks = new ArrayList<>(); - // private static Task[] tasks = new Task[MAX_TASKS]; - private static int taskCount= 0; private static final String DATA_FILE_PATH = "./docs/duke.txt"; - public enum TaskType { - TODO, DEADLINE, EVENT - } - public enum TaskStatus { - DONE, NOT_DONE - } - private static void addTask(String userCommand) { - if (taskCount < MAX_TASKS) { - String[] parts = userCommand.split(" ", 2); - if (parts.length == 2) { - String taskType = parts[0].toLowerCase(); - String taskDescription = parts[1]; - switch (taskType) { - case "todo": - tasks.add(new Todo(taskDescription)); - taskCount++; - if (taskCount > 0) { - System.out.println("Got it. I've added this task:"); - System.out.println(" " + tasks.get(taskCount - 1)); - System.out.println("Now you have " + taskCount + " tasks in the list."); - } - break; - case "deadline": - String[] deadlineParts = taskDescription.split(" /by "); - if (deadlineParts.length == 2) { - String deadlineTask = deadlineParts[0]; - String deadlineTime = deadlineParts[1]; - if (deadlineTask.trim().isEmpty()) { - System.out.println("What kind of deadline do you have??"); - } else if (deadlineTime.trim().isEmpty()) { - System.out.println("Can you tell me when is your deadline??"); - } else { - tasks.add(new Deadline(deadlineParts[0], deadlineParts[1])); - taskCount++; - } - if (taskCount > 0) { - System.out.println("Got it. I've added this task:"); - System.out.println(" " + tasks.get(taskCount - 1)); - System.out.println("Now you have " + taskCount + " tasks in the list."); - } - } else { - System.out.println("Invalid deadline format."); - } - break; - case "event": - String[] eventParts = taskDescription.split(" /from | /to "); - if (eventParts.length == 3) { - String eventTask = eventParts[0]; - String eventStartTime = eventParts[1]; - String eventEndTime = eventParts[2]; - if (eventTask.trim().isEmpty()) { - System.out.println("What event do you have?"); - } else if (eventStartTime.trim().isEmpty()) { - System.out.println("When will the event start?"); - } else if (eventEndTime.trim().isEmpty()) { - System.out.println("When will the event end?"); - } else { - tasks.add(new Event(eventParts[0], eventParts[1], eventParts[2])); - taskCount++; - } - if (taskCount > 0) { - System.out.println("Got it. I've added this task:"); - System.out.println(" " + tasks.get(taskCount - 1)); - System.out.println("Now you have " + taskCount + " tasks in the list."); - } - } else { - System.out.println("Invalid event format."); - } - break; - default: - System.out.println("Invalid command format."); - break; - } + private static TaskList tasks = new TaskList(); + private static Ui ui = new Ui(); + private static Storage storage = new Storage("./docs/duke.txt"); - } else { - if (parts[0].equalsIgnoreCase("todo")) { - System.out.println("What you want to do?"); - } else if (parts[0].equalsIgnoreCase("deadline")) { - System.out.println("What deadline do you have??"); - } else if (parts[0].equalsIgnoreCase("event")) { - System.out.println("What event are you going to attend??"); - } else { - System.out.println("Sorry, I don't know what that means :("); - } - } - } else { - System.out.println("Sorry, the task list is full."); - } - } - private static void deleteTask (String userCommand) { - try { - int index = Integer.parseInt(userCommand.split(" ")[1]) - 1; - if (index >= 1 && index <= taskCount) { - Task removedTask = tasks.remove(index); - taskCount--; - System.out.println("OK, I've removed this task."); - } else { - System.out.println("Invalid task index."); - } - } catch (NumberFormatException | IndexOutOfBoundsException e) { - System.out.println("Invalid command format."); - } + public static void main(String[] args) { + ui.showWelcome(); - } - private static void listTasks() { - if (taskCount == 0) { - System.out.println("The task list is empty!"); - } else { - for(int i = 0; i < taskCount; i++) { - System.out.println((i + 1) + ". " + tasks.get(i)); - } - } - } - private static boolean isValidTaskIndex(int taskIndex) { - return taskIndex >= 0 && taskIndex < taskCount; - } - private static void markTask(String userCommand) { - try { - int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; - if (isValidTaskIndex(taskIndex)) { - Task taskToMark = tasks.get(taskIndex); - taskToMark.markAsDone(); - System.out.println("Nice! I've marked this task as done:\n " + taskToMark); - } else { - System.out.println("Invalid task number. Please enter a valid task number."); - } - } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { - System.out.println("Invalid command format. Please use 'mark [task number]'."); - } - } - private static void unmarkTask(String userCommand) { try { - int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; - if (isValidTaskIndex(taskIndex)) { - Task taskToUnmark = tasks.get(taskIndex); - taskToUnmark.markAsNotDone(); - System.out.println("OK, I've marked this task as not done yet:\n " + taskToUnmark); - } else { - System.out.println("Invalid task number. Please enter a valid task number."); - } - } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { - System.out.println("Invalid command format. Please use 'unmark [task number]'."); - } - } - - private static void loadTasks() { - File file = new File(DATA_FILE_PATH); - - if (file.exists()) { - try (BufferedReader reader = new BufferedReader(new FileReader(file))) { - String line; - while ((line = reader.readLine()) != null) { - String[] taskData = line.split(" \\| "); - if (taskData.length >= 2) { - TaskType taskType = TaskType.valueOf(taskData[0]); - String taskDescription = taskData[1]; - String taskTime1 = (taskData.length > 2) ? taskData[2] : ""; - String taskTime2 = (taskData.length > 3) ? taskData[3] : ""; - - switch (taskType) { - case TODO: - tasks.add(new Todo(taskDescription)); - break; - case DEADLINE: - tasks.add(new Deadline(taskDescription, taskTime1)); - break; - case EVENT: - tasks.add(new Event(taskDescription, taskTime1, taskTime2)); - break; - default: - System.out.println("Invalid task type: " + taskType); - break; - } - taskCount++; - } else { - System.out.println("Skipping corrupted task data: " + line); - } - } - } catch (IOException e) { - System.out.println("Error loading tasks."); - } - } else { - System.out.println("Data file does not exist."); - } - } - - private static void saveTask() { - File file = new File(DATA_FILE_PATH); - file.getParentFile().mkdirs(); - - try (BufferedWriter writer = new BufferedWriter(new FileWriter(file))) { - for (Task task : tasks) { - writer.write(task.toDataString()); - writer.newLine(); - } - } catch (IOException e) { - System.out.println("Error saving tasks."); + tasks = ui.loadTasks("./docs/duke.txt"); + } catch (Exception e) { + ui.showLoadingError(); } - } - public static void main(String[] args) { - loadTasks(); // Load tasks from duke.txt - - String greeting = "Hi, I'm BiuBiu.\nWhat can I do for you?"; - System.out.println(greeting); - String exit = "Bye. Have a great day!"; + boolean isExit = false; - Scanner scanner = new Scanner(System.in); - while(true) { - String userCommand = scanner.nextLine(); - if(userCommand.equalsIgnoreCase("bye")) { - System.out.println(exit); - break; - } else if (userCommand.equalsIgnoreCase("list")) { - System.out.println("Here are the tasks in your list:"); - listTasks(); - } else if (userCommand.startsWith("mark ")) { - markTask(userCommand); - } else if (userCommand.startsWith("unmark ")) { - unmarkTask(userCommand); - } else if (userCommand.startsWith("delete ")) { - deleteTask(userCommand); - }else { - addTask(userCommand); - } - saveTask(); + while(!isExit) { + String userCommand = ui.readCommand(); + isExit = ui.handleCommand(userCommand, tasks, storage); } } } + +/* +TODO | read book +DEADLINE | project | 2022-10-10 +EVENT | meeting | 2023-06-12 1400 | 2023-06-12 1800 + */ \ No newline at end of file diff --git a/src/main/java/Parser.java b/src/main/java/Parser.java new file mode 100644 index 0000000000..a02319aa0f --- /dev/null +++ b/src/main/java/Parser.java @@ -0,0 +1,40 @@ +public class Parser { + public static Task parse(String userCommand) { + String[] commandParts = userCommand.split(" ", 2); + String taskType = commandParts[0].toLowerCase(); + + switch (taskType) { + case "todo": + if (commandParts.length == 2) { + return new Todo(commandParts[1]); + } + break; + case "deadline": + if (commandParts.length == 2) { + String[] deadlineParts = commandParts[1].split(" /by "); + if (deadlineParts.length == 2) { + return new Deadline(deadlineParts[0], deadlineParts[1]); + } else { + System.out.println("Please describe your deadline:)"); + return null; + } + } + break; + case "event": + if (commandParts.length == 2) { + String[] eventParts = commandParts[1].split(" /from | /to "); + if (eventParts.length == 3) { + return new Event(eventParts[0], eventParts[1], eventParts[2]); + } else { + System.out.println("Please describe your event."); + return null; + } + } + break; + default: + System.out.println("Sorry, I don't understand the command."); + break; + } + return null; + } +} diff --git a/src/main/java/Storage.java b/src/main/java/Storage.java new file mode 100644 index 0000000000..b0a6e51df7 --- /dev/null +++ b/src/main/java/Storage.java @@ -0,0 +1,29 @@ +import java.io.BufferedWriter; +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; + +public class Storage { + private String filePath; + + public Storage(String filePath) { + this.filePath = filePath; + } + public enum TaskType { + TODO, DEADLINE, EVENT + } + public void saveTasks(TaskList tasks) { + File file = new File(filePath); + file.getParentFile().mkdirs(); + + try (BufferedWriter writer = new BufferedWriter(new FileWriter(file))) { + for (int i = 0; i < tasks.size(); i++) { + Task task = tasks.getTask(i); + writer.write(task.toDataString()); + writer.newLine(); + } + } catch (IOException e) { + System.out.println("Error saving tasks."); + } + } +} diff --git a/src/main/java/Task.java b/src/main/java/Task.java index 4a59cca29c..cdbac95cbb 100644 --- a/src/main/java/Task.java +++ b/src/main/java/Task.java @@ -11,6 +11,7 @@ public void markAsDone() { public void markAsNotDone() { this.isDone = false; } + public String toDataString() { return description; } diff --git a/src/main/java/TaskList.java b/src/main/java/TaskList.java new file mode 100644 index 0000000000..8b5db3a252 --- /dev/null +++ b/src/main/java/TaskList.java @@ -0,0 +1,34 @@ +import java.util.ArrayList; +import java.util.List; +public class TaskList { + private final List tasks; + public TaskList() { + this.tasks = new ArrayList<>(); + } + public TaskList(List tasks) { + this.tasks = new ArrayList<>(tasks); + } + public void addTask(Task task) { + tasks.add(task); + } + public void deleteTask(int taskIndex) { + if (taskIndex >= 0 && taskIndex < tasks.size()) { + tasks.remove(taskIndex); + } + } + public int size() { + return tasks.size(); + } + public Task getTask(int index) { + return tasks.get(index); + } + public void markTaskAsDone(int index) { + Task task = tasks.get(index); + task.markAsDone(); + } + + public void markTaskAsNotDone(int index) { + Task task = tasks.get(index); + task.markAsNotDone(); + } +} diff --git a/src/main/java/Ui.java b/src/main/java/Ui.java new file mode 100644 index 0000000000..23f7f44855 --- /dev/null +++ b/src/main/java/Ui.java @@ -0,0 +1,155 @@ +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.IOException; +import java.util.Scanner; + +public class Ui { + private Scanner scanner; + public Ui() { + scanner = new Scanner(System.in); + } + public String readCommand() { + return scanner.nextLine(); + } + public TaskList loadTasks(String filePath) { + TaskList tasks = new TaskList(); + File file = new File(filePath); + + if (file.exists()) { + try (BufferedReader reader = new BufferedReader(new FileReader(file))) { + String line; + while ((line = reader.readLine()) != null) { + String[] taskData = line.split(" \\| "); + if (taskData.length >= 2) { + Storage.TaskType taskType = Storage.TaskType.valueOf(taskData[0]); + String taskDescription = taskData[1]; + String taskTime1 = (taskData.length > 2) ? taskData[2] : ""; + String taskTime2 = (taskData.length > 3) ? taskData[3] : ""; + + switch (taskType) { + case TODO: + tasks.addTask(new Todo(taskDescription)); + break; + case DEADLINE: + tasks.addTask(new Deadline(taskDescription, taskTime1)); + break; + case EVENT: + tasks.addTask(new Event(taskDescription, taskTime1, taskTime2)); + break; + default: + System.out.println("Invalid task type: " + taskType); + break; + } + } else { + System.out.println("Skipping corrupted task data: " + line); + } + } + } catch (IOException e) { + System.out.println("Error loading tasks."); + } + } else { + System.out.println("Data file does not exist."); + } + + return tasks; + } + public boolean handleCommand(String userCommand, TaskList tasks, Storage storage) { + try { + String[] parts = userCommand.split(" ", 2); + String commandType = parts[0].toLowerCase(); + + switch (commandType) { + case "bye": + showExit(); + storage.saveTasks(tasks); + return true; + case "list": + showTaskList(tasks); + break; + case "mark": + int doneTaskIndex = Integer.parseInt(parts[1]) - 1; + tasks.markTaskAsDone(doneTaskIndex); + showTaskMarkedAsDone(tasks.getTask(doneTaskIndex)); + storage.saveTasks(tasks); + break; + case "unmark": + int notDoneTaskIndex = Integer.parseInt(parts[1]) - 1; + tasks.markTaskAsNotDone(notDoneTaskIndex); + showTaskMarkedAsNotDone(tasks.getTask(notDoneTaskIndex)); + storage.saveTasks(tasks); + break; + case "todo": + if (parts.length == 1) { + System.out.println("What you want to do?"); + break; + } + case "deadline": + if (parts.length == 1) { + System.out.println("What deadline do you have?"); + break; + } + case "event": + if (parts.length == 1) { + System.out.println("What event do you have?"); + break; + } + Task newTask = Parser.parse(userCommand); + if (newTask == null) { + break; + } + tasks.addTask(newTask); + showTaskAdded(newTask, tasks.size()); + storage.saveTasks(tasks); + break; + case "delete": + int deletedTaskIndex = Integer.parseInt(parts[1]) - 1; + tasks.deleteTask(deletedTaskIndex); + showTaskDeleted(tasks.size()); + storage.saveTasks(tasks); + break; + default: + showError("Invalid command format."); + } + } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { + showError("Invalid command format."); + } + return false; + } + public void showWelcome() { + System.out.println("Hi, I'm BiuBiu.\nWhat can I do for you?"); + } + public void showError(String errorCommand) { + System.out.println(errorCommand); + } + public void showTaskAdded(Task task, int taskCount) { + System.out.println("Got it. I've added this task:"); + System.out.println(" " + task); + System.out.println("Now you have " + taskCount + " tasks in the list."); + } + public void showTaskDeleted(int taskCount) { + System.out.println("OK, I've removed this task."); + System.out.println("Now you have " + taskCount + " tasks in the list."); + } + public void showTaskList(TaskList taskList) { + System.out.println("Here are the tasks in your list:"); + for (int i = 0; i < taskList.size(); i++) { + System.out.println((i + 1) + ". " + taskList.getTask(i)); + } + } + public void showTaskMarkedAsDone(Task task) { + System.out.println("Nice! I've marked this task as done:"); + System.out.println(" " + task); + } + public void showTaskMarkedAsNotDone(Task task) { + System.out.println("Noted, I've marked this task as not done yet:"); + System.out.println(" " + task); + } + + public void showLoadingError() { + System.out.println("Error loading tasks from file."); + } + public void showExit() { + System.out.println("Bye. Have a great day!"); + } +} From 3237bca2c6042962d8235b0dc52dc3c86be71904 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 20:47:21 +0800 Subject: [PATCH 18/43] Add JUnit tests --- src/test/java/ParserTest.java | 14 ++++++++++++++ src/test/java/TodoTest.java | 22 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/test/java/ParserTest.java create mode 100644 src/test/java/TodoTest.java diff --git a/src/test/java/ParserTest.java b/src/test/java/ParserTest.java new file mode 100644 index 0000000000..e517f75ff2 --- /dev/null +++ b/src/test/java/ParserTest.java @@ -0,0 +1,14 @@ +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; +public class ParserTest { + @Test + public void testParseEvent() { + String userCommand = "event Project meeting /from 2023-09-10 1800 /to 2023-09-10 2100"; + Task task = Parser.parse(userCommand); + + assertTrue(task instanceof Event); + assertEquals("Project meeting", ((Event) task).description); + } +} diff --git a/src/test/java/TodoTest.java b/src/test/java/TodoTest.java new file mode 100644 index 0000000000..9c5eb92600 --- /dev/null +++ b/src/test/java/TodoTest.java @@ -0,0 +1,22 @@ +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; +public class TodoTest { + @Test + public void dummyTest(){ + assertEquals(2, 2); + } + + @Test + public void anotherDummyTest(){ + assertEquals(4, 4); + } + + @Test + public void testToDataString() { + Todo todo = new Todo("Finish iP soon!"); + String dataString = todo.toDataString(); + + assertEquals("TODO | Finish iP soon!", dataString); + } +} From ef4a344e4a0eb710099a9b67a6fab9ce82e95bdd Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 20:57:09 +0800 Subject: [PATCH 19/43] Divide classes into packages --- README.md | 4 ++-- src/main/java/{ => duke}/Deadline.java | 2 ++ src/main/java/{ => duke}/Duke.java | 28 +++++++++++++----------- src/main/java/{ => duke}/Event.java | 2 ++ src/main/java/{ => duke}/Parser.java | 2 ++ src/main/java/{ => duke}/Storage.java | 2 ++ src/main/java/{ => duke}/Task.java | 2 ++ src/main/java/{ => duke}/TaskList.java | 2 ++ src/main/java/{ => duke}/Todo.java | 2 ++ src/main/java/{ => duke}/Ui.java | 2 ++ src/test/java/{ => duke}/ParserTest.java | 5 ++++- src/test/java/{ => duke}/TodoTest.java | 2 ++ text-ui-test/runtest.bat | 2 +- 13 files changed, 40 insertions(+), 17 deletions(-) rename src/main/java/{ => duke}/Deadline.java (99%) rename src/main/java/{ => duke}/Duke.java (92%) rename src/main/java/{ => duke}/Event.java (99%) rename src/main/java/{ => duke}/Parser.java (99%) rename src/main/java/{ => duke}/Storage.java (98%) rename src/main/java/{ => duke}/Task.java (97%) rename src/main/java/{ => duke}/TaskList.java (98%) rename src/main/java/{ => duke}/Todo.java (95%) rename src/main/java/{ => duke}/Ui.java (99%) rename src/test/java/{ => duke}/ParserTest.java (77%) rename src/test/java/{ => duke}/TodoTest.java (97%) diff --git a/README.md b/README.md index 8715d4d915..0f2208ab64 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Duke project template +# duke.Duke project template This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it. @@ -13,7 +13,7 @@ Prerequisites: JDK 11, update Intellij to the most recent version. 1. If there are any further prompts, accept the defaults. 1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).
In the same dialog, set the **Project language level** field to the `SDK default` option. -3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output: +3. After that, locate the `src/main/java/duke.Duke.java` file, right-click it, and choose `Run duke.Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output: ``` Hello from ____ _ diff --git a/src/main/java/Deadline.java b/src/main/java/duke/Deadline.java similarity index 99% rename from src/main/java/Deadline.java rename to src/main/java/duke/Deadline.java index 8ab44d1564..4ca2b87044 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/duke/Deadline.java @@ -1,3 +1,5 @@ +package duke; + import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; diff --git a/src/main/java/Duke.java b/src/main/java/duke/Duke.java similarity index 92% rename from src/main/java/Duke.java rename to src/main/java/duke/Duke.java index 293bda9dbf..68c2863f5c 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/duke/Duke.java @@ -1,3 +1,5 @@ +package duke; + //import java.io.BufferedReader; //import java.io.BufferedWriter; //import java.io.File; @@ -7,10 +9,10 @@ //import java.util.ArrayList; //import java.util.Scanner; // -//public class Duke { +//public class duke.Duke { // private static final int MAX_TASKS = 100; -// private static ArrayList tasks = new ArrayList<>(); -// // private static Task[] tasks = new Task[MAX_TASKS]; +// private static ArrayList tasks = new ArrayList<>(); +// // private static duke.Task[] tasks = new duke.Task[MAX_TASKS]; // private static int taskCount= 0; // private static final String DATA_FILE_PATH = "./docs/duke.txt"; // public enum TaskType { @@ -28,7 +30,7 @@ // // switch (taskType) { // case "todo": -// tasks.add(new Todo(taskDescription)); +// tasks.add(new duke.Todo(taskDescription)); // taskCount++; // if (taskCount > 0) { // System.out.println("Got it. I've added this task:"); @@ -46,7 +48,7 @@ // } else if (deadlineTime.trim().isEmpty()) { // System.out.println("Can you tell me when is your deadline??"); // } else { -// tasks.add(new Deadline(deadlineParts[0], deadlineParts[1])); +// tasks.add(new duke.Deadline(deadlineParts[0], deadlineParts[1])); // taskCount++; // } // if (taskCount > 0) { @@ -71,7 +73,7 @@ // } else if (eventEndTime.trim().isEmpty()) { // System.out.println("When will the event end?"); // } else { -// tasks.add(new Event(eventParts[0], eventParts[1], eventParts[2])); +// tasks.add(new duke.Event(eventParts[0], eventParts[1], eventParts[2])); // taskCount++; // } // if (taskCount > 0) { @@ -107,7 +109,7 @@ // try { // int index = Integer.parseInt(userCommand.split(" ")[1]) - 1; // if (index >= 1 && index <= taskCount) { -// Task removedTask = tasks.remove(index); +// duke.Task removedTask = tasks.remove(index); // taskCount--; // System.out.println("OK, I've removed this task."); // } else { @@ -134,7 +136,7 @@ // try { // int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; // if (isValidTaskIndex(taskIndex)) { -// Task taskToMark = tasks.get(taskIndex); +// duke.Task taskToMark = tasks.get(taskIndex); // taskToMark.markAsDone(); // System.out.println("Nice! I've marked this task as done:\n " + taskToMark); // } else { @@ -148,7 +150,7 @@ // try { // int taskIndex = Integer.parseInt(userCommand.split(" ")[1]) - 1; // if (isValidTaskIndex(taskIndex)) { -// Task taskToUnmark = tasks.get(taskIndex); +// duke.Task taskToUnmark = tasks.get(taskIndex); // taskToUnmark.markAsNotDone(); // System.out.println("OK, I've marked this task as not done yet:\n " + taskToUnmark); // } else { @@ -175,13 +177,13 @@ // // switch (taskType) { // case TODO: -// tasks.add(new Todo(taskDescription)); +// tasks.add(new duke.Todo(taskDescription)); // break; // case DEADLINE: -// tasks.add(new Deadline(taskDescription, taskTime1)); +// tasks.add(new duke.Deadline(taskDescription, taskTime1)); // break; // case EVENT: -// tasks.add(new Event(taskDescription, taskTime1, taskTime2)); +// tasks.add(new duke.Event(taskDescription, taskTime1, taskTime2)); // break; // default: // System.out.println("Invalid task type: " + taskType); @@ -205,7 +207,7 @@ // file.getParentFile().mkdirs(); // // try (BufferedWriter writer = new BufferedWriter(new FileWriter(file))) { -// for (Task task : tasks) { +// for (duke.Task task : tasks) { // writer.write(task.toDataString()); // writer.newLine(); // } diff --git a/src/main/java/Event.java b/src/main/java/duke/Event.java similarity index 99% rename from src/main/java/Event.java rename to src/main/java/duke/Event.java index 785fa8c608..54320eab87 100644 --- a/src/main/java/Event.java +++ b/src/main/java/duke/Event.java @@ -1,3 +1,5 @@ +package duke; + import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; diff --git a/src/main/java/Parser.java b/src/main/java/duke/Parser.java similarity index 99% rename from src/main/java/Parser.java rename to src/main/java/duke/Parser.java index a02319aa0f..f416dde300 100644 --- a/src/main/java/Parser.java +++ b/src/main/java/duke/Parser.java @@ -1,3 +1,5 @@ +package duke; + public class Parser { public static Task parse(String userCommand) { String[] commandParts = userCommand.split(" ", 2); diff --git a/src/main/java/Storage.java b/src/main/java/duke/Storage.java similarity index 98% rename from src/main/java/Storage.java rename to src/main/java/duke/Storage.java index b0a6e51df7..0f6dba39dd 100644 --- a/src/main/java/Storage.java +++ b/src/main/java/duke/Storage.java @@ -1,3 +1,5 @@ +package duke; + import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; diff --git a/src/main/java/Task.java b/src/main/java/duke/Task.java similarity index 97% rename from src/main/java/Task.java rename to src/main/java/duke/Task.java index cdbac95cbb..bbd0477a94 100644 --- a/src/main/java/Task.java +++ b/src/main/java/duke/Task.java @@ -1,3 +1,5 @@ +package duke; + public class Task { protected String description; protected boolean isDone; diff --git a/src/main/java/TaskList.java b/src/main/java/duke/TaskList.java similarity index 98% rename from src/main/java/TaskList.java rename to src/main/java/duke/TaskList.java index 8b5db3a252..4582fea15c 100644 --- a/src/main/java/TaskList.java +++ b/src/main/java/duke/TaskList.java @@ -1,3 +1,5 @@ +package duke; + import java.util.ArrayList; import java.util.List; public class TaskList { diff --git a/src/main/java/Todo.java b/src/main/java/duke/Todo.java similarity index 95% rename from src/main/java/Todo.java rename to src/main/java/duke/Todo.java index aead307b78..18e5029b81 100644 --- a/src/main/java/Todo.java +++ b/src/main/java/duke/Todo.java @@ -1,3 +1,5 @@ +package duke; + public class Todo extends Task { public Todo(String description) { super(description); diff --git a/src/main/java/Ui.java b/src/main/java/duke/Ui.java similarity index 99% rename from src/main/java/Ui.java rename to src/main/java/duke/Ui.java index 23f7f44855..2b7e190392 100644 --- a/src/main/java/Ui.java +++ b/src/main/java/duke/Ui.java @@ -1,3 +1,5 @@ +package duke; + import java.io.BufferedReader; import java.io.File; import java.io.FileReader; diff --git a/src/test/java/ParserTest.java b/src/test/java/duke/ParserTest.java similarity index 77% rename from src/test/java/ParserTest.java rename to src/test/java/duke/ParserTest.java index e517f75ff2..b7cb7fa8d3 100644 --- a/src/test/java/ParserTest.java +++ b/src/test/java/duke/ParserTest.java @@ -1,3 +1,6 @@ +package duke; + +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -9,6 +12,6 @@ public void testParseEvent() { Task task = Parser.parse(userCommand); assertTrue(task instanceof Event); - assertEquals("Project meeting", ((Event) task).description); + Assertions.assertEquals("Project meeting", ((Event) task).description); } } diff --git a/src/test/java/TodoTest.java b/src/test/java/duke/TodoTest.java similarity index 97% rename from src/test/java/TodoTest.java rename to src/test/java/duke/TodoTest.java index 9c5eb92600..09b510cc06 100644 --- a/src/test/java/TodoTest.java +++ b/src/test/java/duke/TodoTest.java @@ -1,3 +1,5 @@ +package duke; + import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/text-ui-test/runtest.bat b/text-ui-test/runtest.bat index 0873744649..62752b8814 100644 --- a/text-ui-test/runtest.bat +++ b/text-ui-test/runtest.bat @@ -15,7 +15,7 @@ IF ERRORLEVEL 1 ( REM no error here, errorlevel == 0 REM run the program, feed commands from input.txt file and redirect the output to the ACTUAL.TXT -java -classpath ..\bin Duke < input.txt > ACTUAL.TXT +java -classpath ..\bin duke.Duke < input.txt > ACTUAL.TXT REM compare the output to the expected output FC ACTUAL.TXT EXPECTED.TXT From b71a7275477ec769068c5ba56687b50ee30805d4 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 21:06:21 +0800 Subject: [PATCH 20/43] Package the App as a JAR file --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a388517ae1..be4087ba18 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ test { } application { - mainClass.set("seedu.duke.Duke") + mainClass.set("duke.Duke") } shadowJar { From 9f5214a624e727f02bdb5ad7ff2e53fb534dd0be Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 21:43:15 +0800 Subject: [PATCH 21/43] Add JavaDoc comments --- src/main/java/duke/Deadline.java | 28 ++++++++++++ src/main/java/duke/Duke.java | 5 +++ src/main/java/duke/Event.java | 19 ++++++++ src/main/java/duke/Parser.java | 6 +++ src/main/java/duke/Storage.java | 15 +++++++ src/main/java/duke/Task.java | 25 +++++++++++ src/main/java/duke/TaskList.java | 46 ++++++++++++++++++++ src/main/java/duke/Todo.java | 17 ++++++++ src/main/java/duke/Ui.java | 74 ++++++++++++++++++++++++++++++++ 9 files changed, 235 insertions(+) diff --git a/src/main/java/duke/Deadline.java b/src/main/java/duke/Deadline.java index 4ca2b87044..6d68d66f0f 100644 --- a/src/main/java/duke/Deadline.java +++ b/src/main/java/duke/Deadline.java @@ -5,14 +5,30 @@ import java.time.format.DateTimeParseException; import java.util.Locale; +/** + * Represents a task with a deadline. + */ public class Deadline extends Task { // protected String by; private LocalDate deadline; + + /** + * Constructs a Deadline task. + * + * @param description The description of the task. + * @param deadlineString The deadline date string in "yyyy-MM-dd format. + */ public Deadline(String description, String deadlineString) { super(description); this.deadline = parseDeadline(deadlineString); } + /** + * Parses the deadline date from string. + * + * @param deadlineString The deadline date string in "yyyy-MM-dd" format. + * @return The parsed deadline date as a LocalDate object, or null if parsing fails. + */ private LocalDate parseDeadline(String deadlineString) { try { if(!deadlineString.isEmpty()) { @@ -37,10 +53,22 @@ private String saveFormatDeadline(LocalDate deadlineDate) { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); return deadlineDate.format(formatter); } + + /** + * Returns a string representation of the task for saving. + * + * @return The formatted string representation of the task. + */ @Override public String toDataString() { return "DEADLINE | " + super.toDataString() + " | " + saveFormatDeadline(deadline); } + + /** + * Returns a string representation of the task for display. + * + * @return The formatted string representation fo the task. + */ @Override public String toString() { return "[D]" + super.toString() + " (by: " + formatDeadline(deadline) + ")"; diff --git a/src/main/java/duke/Duke.java b/src/main/java/duke/Duke.java index 68c2863f5c..a8df6de7f2 100644 --- a/src/main/java/duke/Duke.java +++ b/src/main/java/duke/Duke.java @@ -253,6 +253,11 @@ public class Duke { private static Ui ui = new Ui(); private static Storage storage = new Storage("./docs/duke.txt"); + /** + * The main entry point of the Duke program. + * + * @param args Command-line arguments (not used). + */ public static void main(String[] args) { ui.showWelcome(); diff --git a/src/main/java/duke/Event.java b/src/main/java/duke/Event.java index 54320eab87..d3d11dc728 100644 --- a/src/main/java/duke/Event.java +++ b/src/main/java/duke/Event.java @@ -11,6 +11,13 @@ public class Event extends Task { private LocalDateTime startTime; private LocalDateTime endTime; + /** + * Initializes a new Event task. + * + * @param description The description of the event task. + * @param startDateTimeString The start date and time of the event in the format of "yyyy-MM-dd HHmm". + * @param endDateTimeString The end date and time of the event in the format of "yyyy-MM-dd HHmm". + */ public Event(String description, String startDateTimeString, String endDateTimeString) { super(description); this.startTime = parseDateTime(startDateTimeString); @@ -41,11 +48,23 @@ private String saveFormatDateTime(LocalDateTime dateTime) { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HHmm"); return dateTime.format(formatter); } + + /** + * Converts the event task to a formatted string. + * + * @return A string representation of the event task. + */ @Override public String toDataString() { return "EVENT | " + super.toDataString() + " | " + saveFormatDateTime(startTime) + " | " + saveFormatDateTime(endTime); } + + /** + * Converts the event task to a string representation for displaying. + * + * @return A string representation of the event task. + */ @Override public String toString() { return "[E]" + super.toString() + " (from: " + formatDateTime(startTime) + " to: " + formatDateTime(endTime) + ")"; diff --git a/src/main/java/duke/Parser.java b/src/main/java/duke/Parser.java index f416dde300..870d7f5632 100644 --- a/src/main/java/duke/Parser.java +++ b/src/main/java/duke/Parser.java @@ -1,6 +1,12 @@ package duke; public class Parser { + /** + * Parses a user command and creates a task object. + * + * @param userCommand The user command. + * @return A Task object. + */ public static Task parse(String userCommand) { String[] commandParts = userCommand.split(" ", 2); String taskType = commandParts[0].toLowerCase(); diff --git a/src/main/java/duke/Storage.java b/src/main/java/duke/Storage.java index 0f6dba39dd..22734f4e74 100644 --- a/src/main/java/duke/Storage.java +++ b/src/main/java/duke/Storage.java @@ -8,12 +8,27 @@ public class Storage { private String filePath; + /** + * Constructs a Storage object. + * + * @param filePath The file path where the task data will be saved. + */ public Storage(String filePath) { this.filePath = filePath; } + + /** + * Enum representing the task types. + */ public enum TaskType { TODO, DEADLINE, EVENT } + + /** + * Saves the tasks from the TaskList to the file path. + * + * @param tasks The taskList containing tasks to be saved. + */ public void saveTasks(TaskList tasks) { File file = new File(filePath); file.getParentFile().mkdirs(); diff --git a/src/main/java/duke/Task.java b/src/main/java/duke/Task.java index bbd0477a94..e0dbbcd77e 100644 --- a/src/main/java/duke/Task.java +++ b/src/main/java/duke/Task.java @@ -3,20 +3,45 @@ public class Task { protected String description; protected boolean isDone; + + /** + * Constructs a Task object. + * + * @param description The description of the task. + */ public Task(String description) { this.description = description; this.isDone = false; } + + /** + * Marks the task as done. + */ public void markAsDone() { this.isDone = true; } + + /** + * Marks the tasks as not dome yet. + */ public void markAsNotDone() { this.isDone = false; } + /** + * Returns a string representation of the task's description for data storage. + * + * @return The task's description. + */ public String toDataString() { return description; } + + /** + * Returns a string representation of the task. + * + * @return A string representation of the task. + */ @Override public String toString() { return (isDone ? "[X] " : "[ ] ") + description; diff --git a/src/main/java/duke/TaskList.java b/src/main/java/duke/TaskList.java index 4582fea15c..d93458d1f0 100644 --- a/src/main/java/duke/TaskList.java +++ b/src/main/java/duke/TaskList.java @@ -4,31 +4,77 @@ import java.util.List; public class TaskList { private final List tasks; + + /** + * Constructs an empty TaskList. + */ public TaskList() { this.tasks = new ArrayList<>(); } + + /** + * Constructs a TaskList with the list of tasks. + * + * @param tasks The list of the tasks. + */ public TaskList(List tasks) { this.tasks = new ArrayList<>(tasks); } + + /** + * Adds a task to the TaskList. + * + * @param task The task to be added. + */ public void addTask(Task task) { tasks.add(task); } + + /** + * Deletes a task from the TaskList. + * + * @param taskIndex The index of the task. + */ public void deleteTask(int taskIndex) { if (taskIndex >= 0 && taskIndex < tasks.size()) { tasks.remove(taskIndex); } } + + /** + * Gets the number of tasks in the TaskList. + * + * @return The number of tasks in the TaskList. + */ public int size() { return tasks.size(); } + + /** + * Gets a task from the TaskList at the specified index. + * + * @param index The index of the task. + * @return The task at the specified index. + */ public Task getTask(int index) { return tasks.get(index); } + + /** + * Marks a task as done. + * + * @param index The index of the task. + */ public void markTaskAsDone(int index) { Task task = tasks.get(index); task.markAsDone(); } + /** + * Marks a task as not done. + * + * @param index The index of the task. + */ public void markTaskAsNotDone(int index) { Task task = tasks.get(index); task.markAsNotDone(); diff --git a/src/main/java/duke/Todo.java b/src/main/java/duke/Todo.java index 18e5029b81..5ea7eec7e8 100644 --- a/src/main/java/duke/Todo.java +++ b/src/main/java/duke/Todo.java @@ -1,13 +1,30 @@ package duke; public class Todo extends Task { + /** + * Constructs a Todo task. + * + * @param description The description of the todo task. + */ public Todo(String description) { super(description); } + + /** + * Returns a tring representation of the Todo task. + * + * @return A string representation of the Todo task for the data storage. + */ @Override public String toDataString() { return "TODO | " + super.toDataString(); } + + /** + * Returns a string representation of the Todo task. + * + * @return A string representation of the Todo task for display. + */ @Override public String toString() { return "[T]" + super.toString(); diff --git a/src/main/java/duke/Ui.java b/src/main/java/duke/Ui.java index 2b7e190392..d1fe93b31d 100644 --- a/src/main/java/duke/Ui.java +++ b/src/main/java/duke/Ui.java @@ -8,12 +8,29 @@ public class Ui { private Scanner scanner; + + /** + * Constructs a Ui object. + */ public Ui() { scanner = new Scanner(System.in); } + + /** + * Reads a user command. + * + * @return The user's command. + */ public String readCommand() { return scanner.nextLine(); } + + /** + * Loads tasks from the file path. + * + * @param filePath The file path. + * @return A TaskList containing the loaded tasks. + */ public TaskList loadTasks(String filePath) { TaskList tasks = new TaskList(); File file = new File(filePath); @@ -56,6 +73,15 @@ public TaskList loadTasks(String filePath) { return tasks; } + + /** + * Handles user commands. + * + * @param userCommand The user's command. + * @param tasks The list of tasks. + * @param storage The storage object to save tasks. + * @return True if the program should exit. + */ public boolean handleCommand(String userCommand, TaskList tasks, Storage storage) { try { String[] parts = userCommand.split(" ", 2); @@ -118,39 +144,87 @@ public boolean handleCommand(String userCommand, TaskList tasks, Storage storage } return false; } + + /** + * Displays a welcome message. + */ public void showWelcome() { System.out.println("Hi, I'm BiuBiu.\nWhat can I do for you?"); } + + /** + * Displays an error message. + * + * @param errorCommand The error message. + */ public void showError(String errorCommand) { System.out.println(errorCommand); } + + /** + * Displays a message confirming the addition of a task. + * + * @param task The task that we added. + * @param taskCount The current number of tasks in the list. + */ public void showTaskAdded(Task task, int taskCount) { System.out.println("Got it. I've added this task:"); System.out.println(" " + task); System.out.println("Now you have " + taskCount + " tasks in the list."); } + + /** + * Displays a message confirming the deletion of a task. + * + * @param taskCount The current number of tasks in the list. + */ public void showTaskDeleted(int taskCount) { System.out.println("OK, I've removed this task."); System.out.println("Now you have " + taskCount + " tasks in the list."); } + + /** + * Displays the list of tasks. + * + * @param taskList The task list. + */ public void showTaskList(TaskList taskList) { System.out.println("Here are the tasks in your list:"); for (int i = 0; i < taskList.size(); i++) { System.out.println((i + 1) + ". " + taskList.getTask(i)); } } + + /** + * Displays a message confirming that a task has been marked as done. + * + * @param task The task that was marked as done. + */ public void showTaskMarkedAsDone(Task task) { System.out.println("Nice! I've marked this task as done:"); System.out.println(" " + task); } + + /** + * Displays a message confirming that a task has been marked as not done. + * + * @param task The task that was marked as not done. + */ public void showTaskMarkedAsNotDone(Task task) { System.out.println("Noted, I've marked this task as not done yet:"); System.out.println(" " + task); } + /** + * Displays an loading error message. + */ public void showLoadingError() { System.out.println("Error loading tasks from file."); } + + /** + * Displays an exit message. + */ public void showExit() { System.out.println("Bye. Have a great day!"); } From 83e9a4424bd23d8bb237dc191ededb1f11591fe0 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 21:54:50 +0800 Subject: [PATCH 22/43] Coding standard --- src/main/java/duke/Deadline.java | 13 ++++++++----- src/main/java/duke/Duke.java | 4 ++-- src/main/java/duke/Event.java | 12 ++++++++---- src/main/java/duke/Parser.java | 2 +- src/main/java/duke/Storage.java | 4 ++-- src/main/java/duke/Task.java | 2 +- src/main/java/duke/TaskList.java | 10 +++++----- src/main/java/duke/Todo.java | 2 +- src/main/java/duke/Ui.java | 17 +++++++++-------- 9 files changed, 37 insertions(+), 29 deletions(-) diff --git a/src/main/java/duke/Deadline.java b/src/main/java/duke/Deadline.java index 6d68d66f0f..fa5fbdb323 100644 --- a/src/main/java/duke/Deadline.java +++ b/src/main/java/duke/Deadline.java @@ -3,6 +3,7 @@ import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; + import java.util.Locale; /** @@ -18,7 +19,7 @@ public class Deadline extends Task { * @param description The description of the task. * @param deadlineString The deadline date string in "yyyy-MM-dd format. */ - public Deadline(String description, String deadlineString) { + public Deadline (String description, String deadlineString) { super(description); this.deadline = parseDeadline(deadlineString); } @@ -29,9 +30,9 @@ public Deadline(String description, String deadlineString) { * @param deadlineString The deadline date string in "yyyy-MM-dd" format. * @return The parsed deadline date as a LocalDate object, or null if parsing fails. */ - private LocalDate parseDeadline(String deadlineString) { + private LocalDate parseDeadline (String deadlineString) { try { - if(!deadlineString.isEmpty()) { + if (!deadlineString.isEmpty()) { return LocalDate.parse(deadlineString, DateTimeFormatter.ofPattern("yyyy-MM-dd")); } } catch (DateTimeParseException e) { @@ -39,14 +40,16 @@ private LocalDate parseDeadline(String deadlineString) { } return null; } - private String formatDeadline(LocalDate deadlineDate) { + + private String formatDeadline (LocalDate deadlineDate) { if (deadlineDate == null) { return "Invalid date."; } DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd yyyy", Locale.ENGLISH); return deadlineDate.format(formatter); } - private String saveFormatDeadline(LocalDate deadlineDate) { + + private String saveFormatDeadline (LocalDate deadlineDate) { if (deadlineDate == null) { return ""; } diff --git a/src/main/java/duke/Duke.java b/src/main/java/duke/Duke.java index a8df6de7f2..3cb774cc62 100644 --- a/src/main/java/duke/Duke.java +++ b/src/main/java/duke/Duke.java @@ -258,7 +258,7 @@ public class Duke { * * @param args Command-line arguments (not used). */ - public static void main(String[] args) { + public static void main (String[] args) { ui.showWelcome(); try { @@ -269,7 +269,7 @@ public static void main(String[] args) { boolean isExit = false; - while(!isExit) { + while (!isExit) { String userCommand = ui.readCommand(); isExit = ui.handleCommand(userCommand, tasks, storage); } diff --git a/src/main/java/duke/Event.java b/src/main/java/duke/Event.java index d3d11dc728..1ccf6e6c58 100644 --- a/src/main/java/duke/Event.java +++ b/src/main/java/duke/Event.java @@ -3,6 +3,7 @@ import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; + import java.util.Locale; public class Event extends Task { @@ -18,12 +19,13 @@ public class Event extends Task { * @param startDateTimeString The start date and time of the event in the format of "yyyy-MM-dd HHmm". * @param endDateTimeString The end date and time of the event in the format of "yyyy-MM-dd HHmm". */ - public Event(String description, String startDateTimeString, String endDateTimeString) { + public Event (String description, String startDateTimeString, String endDateTimeString) { super(description); this.startTime = parseDateTime(startDateTimeString); this.endTime = parseDateTime(endDateTimeString); } - private LocalDateTime parseDateTime(String dateTimeString) { + + private LocalDateTime parseDateTime (String dateTimeString) { try { if (!dateTimeString.isEmpty()) { return LocalDateTime.parse(dateTimeString, DateTimeFormatter.ofPattern("yyyy-MM-dd HHmm")); @@ -34,14 +36,16 @@ private LocalDateTime parseDateTime(String dateTimeString) { } return null; } - private String formatDateTime(LocalDateTime dateTime) { + + private String formatDateTime (LocalDateTime dateTime) { if (dateTime == null) { return "Invalid Date and Time!"; } DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd yyyy h:mm a", Locale.ENGLISH); return dateTime.format(formatter); } - private String saveFormatDateTime(LocalDateTime dateTime) { + + private String saveFormatDateTime (LocalDateTime dateTime) { if (dateTime == null) { return ""; } diff --git a/src/main/java/duke/Parser.java b/src/main/java/duke/Parser.java index 870d7f5632..76460e94e6 100644 --- a/src/main/java/duke/Parser.java +++ b/src/main/java/duke/Parser.java @@ -7,7 +7,7 @@ public class Parser { * @param userCommand The user command. * @return A Task object. */ - public static Task parse(String userCommand) { + public static Task parse (String userCommand) { String[] commandParts = userCommand.split(" ", 2); String taskType = commandParts[0].toLowerCase(); diff --git a/src/main/java/duke/Storage.java b/src/main/java/duke/Storage.java index 22734f4e74..abb161db50 100644 --- a/src/main/java/duke/Storage.java +++ b/src/main/java/duke/Storage.java @@ -13,7 +13,7 @@ public class Storage { * * @param filePath The file path where the task data will be saved. */ - public Storage(String filePath) { + public Storage (String filePath) { this.filePath = filePath; } @@ -29,7 +29,7 @@ public enum TaskType { * * @param tasks The taskList containing tasks to be saved. */ - public void saveTasks(TaskList tasks) { + public void saveTasks (TaskList tasks) { File file = new File(filePath); file.getParentFile().mkdirs(); diff --git a/src/main/java/duke/Task.java b/src/main/java/duke/Task.java index e0dbbcd77e..f67d0c87db 100644 --- a/src/main/java/duke/Task.java +++ b/src/main/java/duke/Task.java @@ -9,7 +9,7 @@ public class Task { * * @param description The description of the task. */ - public Task(String description) { + public Task (String description) { this.description = description; this.isDone = false; } diff --git a/src/main/java/duke/TaskList.java b/src/main/java/duke/TaskList.java index d93458d1f0..8af4fc2101 100644 --- a/src/main/java/duke/TaskList.java +++ b/src/main/java/duke/TaskList.java @@ -56,7 +56,7 @@ public int size() { * @param index The index of the task. * @return The task at the specified index. */ - public Task getTask(int index) { + public Task getTask (int index) { return tasks.get(index); } @@ -65,9 +65,9 @@ public Task getTask(int index) { * * @param index The index of the task. */ - public void markTaskAsDone(int index) { - Task task = tasks.get(index); - task.markAsDone(); + public void markTaskAsDone (int index) { + Task task = tasks.get(index); + task.markAsDone(); } /** @@ -75,7 +75,7 @@ public void markTaskAsDone(int index) { * * @param index The index of the task. */ - public void markTaskAsNotDone(int index) { + public void markTaskAsNotDone (int index) { Task task = tasks.get(index); task.markAsNotDone(); } diff --git a/src/main/java/duke/Todo.java b/src/main/java/duke/Todo.java index 5ea7eec7e8..26cd3e649b 100644 --- a/src/main/java/duke/Todo.java +++ b/src/main/java/duke/Todo.java @@ -6,7 +6,7 @@ public class Todo extends Task { * * @param description The description of the todo task. */ - public Todo(String description) { + public Todo (String description) { super(description); } diff --git a/src/main/java/duke/Ui.java b/src/main/java/duke/Ui.java index d1fe93b31d..8814c9fa0e 100644 --- a/src/main/java/duke/Ui.java +++ b/src/main/java/duke/Ui.java @@ -4,6 +4,7 @@ import java.io.File; import java.io.FileReader; import java.io.IOException; + import java.util.Scanner; public class Ui { @@ -31,7 +32,7 @@ public String readCommand() { * @param filePath The file path. * @return A TaskList containing the loaded tasks. */ - public TaskList loadTasks(String filePath) { + public TaskList loadTasks (String filePath) { TaskList tasks = new TaskList(); File file = new File(filePath); @@ -82,7 +83,7 @@ public TaskList loadTasks(String filePath) { * @param storage The storage object to save tasks. * @return True if the program should exit. */ - public boolean handleCommand(String userCommand, TaskList tasks, Storage storage) { + public boolean handleCommand (String userCommand, TaskList tasks, Storage storage) { try { String[] parts = userCommand.split(" ", 2); String commandType = parts[0].toLowerCase(); @@ -157,7 +158,7 @@ public void showWelcome() { * * @param errorCommand The error message. */ - public void showError(String errorCommand) { + public void showError (String errorCommand) { System.out.println(errorCommand); } @@ -167,7 +168,7 @@ public void showError(String errorCommand) { * @param task The task that we added. * @param taskCount The current number of tasks in the list. */ - public void showTaskAdded(Task task, int taskCount) { + public void showTaskAdded (Task task, int taskCount) { System.out.println("Got it. I've added this task:"); System.out.println(" " + task); System.out.println("Now you have " + taskCount + " tasks in the list."); @@ -178,7 +179,7 @@ public void showTaskAdded(Task task, int taskCount) { * * @param taskCount The current number of tasks in the list. */ - public void showTaskDeleted(int taskCount) { + public void showTaskDeleted (int taskCount) { System.out.println("OK, I've removed this task."); System.out.println("Now you have " + taskCount + " tasks in the list."); } @@ -188,7 +189,7 @@ public void showTaskDeleted(int taskCount) { * * @param taskList The task list. */ - public void showTaskList(TaskList taskList) { + public void showTaskList (TaskList taskList) { System.out.println("Here are the tasks in your list:"); for (int i = 0; i < taskList.size(); i++) { System.out.println((i + 1) + ". " + taskList.getTask(i)); @@ -200,7 +201,7 @@ public void showTaskList(TaskList taskList) { * * @param task The task that was marked as done. */ - public void showTaskMarkedAsDone(Task task) { + public void showTaskMarkedAsDone (Task task) { System.out.println("Nice! I've marked this task as done:"); System.out.println(" " + task); } @@ -210,7 +211,7 @@ public void showTaskMarkedAsDone(Task task) { * * @param task The task that was marked as not done. */ - public void showTaskMarkedAsNotDone(Task task) { + public void showTaskMarkedAsNotDone (Task task) { System.out.println("Noted, I've marked this task as not done yet:"); System.out.println(" " + task); } From eaea925be4909a13cac383715b94c8f16c791952 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 21:55:06 +0800 Subject: [PATCH 23/43] Revert "Coding standard" This reverts commit 83e9a4424bd23d8bb237dc191ededb1f11591fe0. --- src/main/java/duke/Deadline.java | 13 +++++-------- src/main/java/duke/Duke.java | 4 ++-- src/main/java/duke/Event.java | 12 ++++-------- src/main/java/duke/Parser.java | 2 +- src/main/java/duke/Storage.java | 4 ++-- src/main/java/duke/Task.java | 2 +- src/main/java/duke/TaskList.java | 10 +++++----- src/main/java/duke/Todo.java | 2 +- src/main/java/duke/Ui.java | 17 ++++++++--------- 9 files changed, 29 insertions(+), 37 deletions(-) diff --git a/src/main/java/duke/Deadline.java b/src/main/java/duke/Deadline.java index fa5fbdb323..6d68d66f0f 100644 --- a/src/main/java/duke/Deadline.java +++ b/src/main/java/duke/Deadline.java @@ -3,7 +3,6 @@ import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; - import java.util.Locale; /** @@ -19,7 +18,7 @@ public class Deadline extends Task { * @param description The description of the task. * @param deadlineString The deadline date string in "yyyy-MM-dd format. */ - public Deadline (String description, String deadlineString) { + public Deadline(String description, String deadlineString) { super(description); this.deadline = parseDeadline(deadlineString); } @@ -30,9 +29,9 @@ public Deadline (String description, String deadlineString) { * @param deadlineString The deadline date string in "yyyy-MM-dd" format. * @return The parsed deadline date as a LocalDate object, or null if parsing fails. */ - private LocalDate parseDeadline (String deadlineString) { + private LocalDate parseDeadline(String deadlineString) { try { - if (!deadlineString.isEmpty()) { + if(!deadlineString.isEmpty()) { return LocalDate.parse(deadlineString, DateTimeFormatter.ofPattern("yyyy-MM-dd")); } } catch (DateTimeParseException e) { @@ -40,16 +39,14 @@ private LocalDate parseDeadline (String deadlineString) { } return null; } - - private String formatDeadline (LocalDate deadlineDate) { + private String formatDeadline(LocalDate deadlineDate) { if (deadlineDate == null) { return "Invalid date."; } DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd yyyy", Locale.ENGLISH); return deadlineDate.format(formatter); } - - private String saveFormatDeadline (LocalDate deadlineDate) { + private String saveFormatDeadline(LocalDate deadlineDate) { if (deadlineDate == null) { return ""; } diff --git a/src/main/java/duke/Duke.java b/src/main/java/duke/Duke.java index 3cb774cc62..a8df6de7f2 100644 --- a/src/main/java/duke/Duke.java +++ b/src/main/java/duke/Duke.java @@ -258,7 +258,7 @@ public class Duke { * * @param args Command-line arguments (not used). */ - public static void main (String[] args) { + public static void main(String[] args) { ui.showWelcome(); try { @@ -269,7 +269,7 @@ public static void main (String[] args) { boolean isExit = false; - while (!isExit) { + while(!isExit) { String userCommand = ui.readCommand(); isExit = ui.handleCommand(userCommand, tasks, storage); } diff --git a/src/main/java/duke/Event.java b/src/main/java/duke/Event.java index 1ccf6e6c58..d3d11dc728 100644 --- a/src/main/java/duke/Event.java +++ b/src/main/java/duke/Event.java @@ -3,7 +3,6 @@ import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; - import java.util.Locale; public class Event extends Task { @@ -19,13 +18,12 @@ public class Event extends Task { * @param startDateTimeString The start date and time of the event in the format of "yyyy-MM-dd HHmm". * @param endDateTimeString The end date and time of the event in the format of "yyyy-MM-dd HHmm". */ - public Event (String description, String startDateTimeString, String endDateTimeString) { + public Event(String description, String startDateTimeString, String endDateTimeString) { super(description); this.startTime = parseDateTime(startDateTimeString); this.endTime = parseDateTime(endDateTimeString); } - - private LocalDateTime parseDateTime (String dateTimeString) { + private LocalDateTime parseDateTime(String dateTimeString) { try { if (!dateTimeString.isEmpty()) { return LocalDateTime.parse(dateTimeString, DateTimeFormatter.ofPattern("yyyy-MM-dd HHmm")); @@ -36,16 +34,14 @@ private LocalDateTime parseDateTime (String dateTimeString) { } return null; } - - private String formatDateTime (LocalDateTime dateTime) { + private String formatDateTime(LocalDateTime dateTime) { if (dateTime == null) { return "Invalid Date and Time!"; } DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd yyyy h:mm a", Locale.ENGLISH); return dateTime.format(formatter); } - - private String saveFormatDateTime (LocalDateTime dateTime) { + private String saveFormatDateTime(LocalDateTime dateTime) { if (dateTime == null) { return ""; } diff --git a/src/main/java/duke/Parser.java b/src/main/java/duke/Parser.java index 76460e94e6..870d7f5632 100644 --- a/src/main/java/duke/Parser.java +++ b/src/main/java/duke/Parser.java @@ -7,7 +7,7 @@ public class Parser { * @param userCommand The user command. * @return A Task object. */ - public static Task parse (String userCommand) { + public static Task parse(String userCommand) { String[] commandParts = userCommand.split(" ", 2); String taskType = commandParts[0].toLowerCase(); diff --git a/src/main/java/duke/Storage.java b/src/main/java/duke/Storage.java index abb161db50..22734f4e74 100644 --- a/src/main/java/duke/Storage.java +++ b/src/main/java/duke/Storage.java @@ -13,7 +13,7 @@ public class Storage { * * @param filePath The file path where the task data will be saved. */ - public Storage (String filePath) { + public Storage(String filePath) { this.filePath = filePath; } @@ -29,7 +29,7 @@ public enum TaskType { * * @param tasks The taskList containing tasks to be saved. */ - public void saveTasks (TaskList tasks) { + public void saveTasks(TaskList tasks) { File file = new File(filePath); file.getParentFile().mkdirs(); diff --git a/src/main/java/duke/Task.java b/src/main/java/duke/Task.java index f67d0c87db..e0dbbcd77e 100644 --- a/src/main/java/duke/Task.java +++ b/src/main/java/duke/Task.java @@ -9,7 +9,7 @@ public class Task { * * @param description The description of the task. */ - public Task (String description) { + public Task(String description) { this.description = description; this.isDone = false; } diff --git a/src/main/java/duke/TaskList.java b/src/main/java/duke/TaskList.java index 8af4fc2101..d93458d1f0 100644 --- a/src/main/java/duke/TaskList.java +++ b/src/main/java/duke/TaskList.java @@ -56,7 +56,7 @@ public int size() { * @param index The index of the task. * @return The task at the specified index. */ - public Task getTask (int index) { + public Task getTask(int index) { return tasks.get(index); } @@ -65,9 +65,9 @@ public Task getTask (int index) { * * @param index The index of the task. */ - public void markTaskAsDone (int index) { - Task task = tasks.get(index); - task.markAsDone(); + public void markTaskAsDone(int index) { + Task task = tasks.get(index); + task.markAsDone(); } /** @@ -75,7 +75,7 @@ public void markTaskAsDone (int index) { * * @param index The index of the task. */ - public void markTaskAsNotDone (int index) { + public void markTaskAsNotDone(int index) { Task task = tasks.get(index); task.markAsNotDone(); } diff --git a/src/main/java/duke/Todo.java b/src/main/java/duke/Todo.java index 26cd3e649b..5ea7eec7e8 100644 --- a/src/main/java/duke/Todo.java +++ b/src/main/java/duke/Todo.java @@ -6,7 +6,7 @@ public class Todo extends Task { * * @param description The description of the todo task. */ - public Todo (String description) { + public Todo(String description) { super(description); } diff --git a/src/main/java/duke/Ui.java b/src/main/java/duke/Ui.java index 8814c9fa0e..d1fe93b31d 100644 --- a/src/main/java/duke/Ui.java +++ b/src/main/java/duke/Ui.java @@ -4,7 +4,6 @@ import java.io.File; import java.io.FileReader; import java.io.IOException; - import java.util.Scanner; public class Ui { @@ -32,7 +31,7 @@ public String readCommand() { * @param filePath The file path. * @return A TaskList containing the loaded tasks. */ - public TaskList loadTasks (String filePath) { + public TaskList loadTasks(String filePath) { TaskList tasks = new TaskList(); File file = new File(filePath); @@ -83,7 +82,7 @@ public TaskList loadTasks (String filePath) { * @param storage The storage object to save tasks. * @return True if the program should exit. */ - public boolean handleCommand (String userCommand, TaskList tasks, Storage storage) { + public boolean handleCommand(String userCommand, TaskList tasks, Storage storage) { try { String[] parts = userCommand.split(" ", 2); String commandType = parts[0].toLowerCase(); @@ -158,7 +157,7 @@ public void showWelcome() { * * @param errorCommand The error message. */ - public void showError (String errorCommand) { + public void showError(String errorCommand) { System.out.println(errorCommand); } @@ -168,7 +167,7 @@ public void showError (String errorCommand) { * @param task The task that we added. * @param taskCount The current number of tasks in the list. */ - public void showTaskAdded (Task task, int taskCount) { + public void showTaskAdded(Task task, int taskCount) { System.out.println("Got it. I've added this task:"); System.out.println(" " + task); System.out.println("Now you have " + taskCount + " tasks in the list."); @@ -179,7 +178,7 @@ public void showTaskAdded (Task task, int taskCount) { * * @param taskCount The current number of tasks in the list. */ - public void showTaskDeleted (int taskCount) { + public void showTaskDeleted(int taskCount) { System.out.println("OK, I've removed this task."); System.out.println("Now you have " + taskCount + " tasks in the list."); } @@ -189,7 +188,7 @@ public void showTaskDeleted (int taskCount) { * * @param taskList The task list. */ - public void showTaskList (TaskList taskList) { + public void showTaskList(TaskList taskList) { System.out.println("Here are the tasks in your list:"); for (int i = 0; i < taskList.size(); i++) { System.out.println((i + 1) + ". " + taskList.getTask(i)); @@ -201,7 +200,7 @@ public void showTaskList (TaskList taskList) { * * @param task The task that was marked as done. */ - public void showTaskMarkedAsDone (Task task) { + public void showTaskMarkedAsDone(Task task) { System.out.println("Nice! I've marked this task as done:"); System.out.println(" " + task); } @@ -211,7 +210,7 @@ public void showTaskMarkedAsDone (Task task) { * * @param task The task that was marked as not done. */ - public void showTaskMarkedAsNotDone (Task task) { + public void showTaskMarkedAsNotDone(Task task) { System.out.println("Noted, I've marked this task as not done yet:"); System.out.println(" " + task); } From 38fdfbf1bb9962f79d95f8f81fad43922c6116d3 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 22:02:48 +0800 Subject: [PATCH 24/43] Coding Standard --- src/main/java/duke/Deadline.java | 13 ++++++++----- src/main/java/duke/Duke.java | 4 ++-- src/main/java/duke/Event.java | 15 ++++++++++----- src/main/java/duke/Parser.java | 2 +- src/main/java/duke/Storage.java | 4 ++-- src/main/java/duke/Task.java | 6 +++++- src/main/java/duke/TaskList.java | 21 ++++++++++++++------- src/main/java/duke/Todo.java | 4 +++- src/main/java/duke/Ui.java | 28 ++++++++++++++++++++-------- 9 files changed, 65 insertions(+), 32 deletions(-) diff --git a/src/main/java/duke/Deadline.java b/src/main/java/duke/Deadline.java index 4ca2b87044..ac5897fb5b 100644 --- a/src/main/java/duke/Deadline.java +++ b/src/main/java/duke/Deadline.java @@ -3,19 +3,20 @@ import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; + import java.util.Locale; public class Deadline extends Task { // protected String by; private LocalDate deadline; - public Deadline(String description, String deadlineString) { + public Deadline (String description, String deadlineString) { super(description); this.deadline = parseDeadline(deadlineString); } - private LocalDate parseDeadline(String deadlineString) { + private LocalDate parseDeadline (String deadlineString) { try { - if(!deadlineString.isEmpty()) { + if (!deadlineString.isEmpty()) { return LocalDate.parse(deadlineString, DateTimeFormatter.ofPattern("yyyy-MM-dd")); } } catch (DateTimeParseException e) { @@ -23,24 +24,26 @@ private LocalDate parseDeadline(String deadlineString) { } return null; } - private String formatDeadline(LocalDate deadlineDate) { + private String formatDeadline (LocalDate deadlineDate) { if (deadlineDate == null) { return "Invalid date."; } DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd yyyy", Locale.ENGLISH); return deadlineDate.format(formatter); } - private String saveFormatDeadline(LocalDate deadlineDate) { + private String saveFormatDeadline (LocalDate deadlineDate) { if (deadlineDate == null) { return ""; } DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); return deadlineDate.format(formatter); } + @Override public String toDataString() { return "DEADLINE | " + super.toDataString() + " | " + saveFormatDeadline(deadline); } + @Override public String toString() { return "[D]" + super.toString() + " (by: " + formatDeadline(deadline) + ")"; diff --git a/src/main/java/duke/Duke.java b/src/main/java/duke/Duke.java index 68c2863f5c..b36c5766c8 100644 --- a/src/main/java/duke/Duke.java +++ b/src/main/java/duke/Duke.java @@ -253,7 +253,7 @@ public class Duke { private static Ui ui = new Ui(); private static Storage storage = new Storage("./docs/duke.txt"); - public static void main(String[] args) { + public static void main (String[] args) { ui.showWelcome(); try { @@ -264,7 +264,7 @@ public static void main(String[] args) { boolean isExit = false; - while(!isExit) { + while (!isExit) { String userCommand = ui.readCommand(); isExit = ui.handleCommand(userCommand, tasks, storage); } diff --git a/src/main/java/duke/Event.java b/src/main/java/duke/Event.java index 54320eab87..2a15b2c166 100644 --- a/src/main/java/duke/Event.java +++ b/src/main/java/duke/Event.java @@ -3,6 +3,7 @@ import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; + import java.util.Locale; public class Event extends Task { @@ -11,12 +12,13 @@ public class Event extends Task { private LocalDateTime startTime; private LocalDateTime endTime; - public Event(String description, String startDateTimeString, String endDateTimeString) { + public Event (String description, String startDateTimeString, String endDateTimeString) { super(description); this.startTime = parseDateTime(startDateTimeString); this.endTime = parseDateTime(endDateTimeString); } - private LocalDateTime parseDateTime(String dateTimeString) { + + private LocalDateTime parseDateTime (String dateTimeString) { try { if (!dateTimeString.isEmpty()) { return LocalDateTime.parse(dateTimeString, DateTimeFormatter.ofPattern("yyyy-MM-dd HHmm")); @@ -27,25 +29,28 @@ private LocalDateTime parseDateTime(String dateTimeString) { } return null; } - private String formatDateTime(LocalDateTime dateTime) { + + private String formatDateTime (LocalDateTime dateTime) { if (dateTime == null) { return "Invalid Date and Time!"; } DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd yyyy h:mm a", Locale.ENGLISH); return dateTime.format(formatter); } - private String saveFormatDateTime(LocalDateTime dateTime) { + + private String saveFormatDateTime (LocalDateTime dateTime) { if (dateTime == null) { return ""; } DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HHmm"); return dateTime.format(formatter); } + @Override public String toDataString() { - return "EVENT | " + super.toDataString() + " | " + saveFormatDateTime(startTime) + " | " + saveFormatDateTime(endTime); } + @Override public String toString() { return "[E]" + super.toString() + " (from: " + formatDateTime(startTime) + " to: " + formatDateTime(endTime) + ")"; diff --git a/src/main/java/duke/Parser.java b/src/main/java/duke/Parser.java index f416dde300..752332800b 100644 --- a/src/main/java/duke/Parser.java +++ b/src/main/java/duke/Parser.java @@ -1,7 +1,7 @@ package duke; public class Parser { - public static Task parse(String userCommand) { + public static Task parse (String userCommand) { String[] commandParts = userCommand.split(" ", 2); String taskType = commandParts[0].toLowerCase(); diff --git a/src/main/java/duke/Storage.java b/src/main/java/duke/Storage.java index 0f6dba39dd..eb976dff94 100644 --- a/src/main/java/duke/Storage.java +++ b/src/main/java/duke/Storage.java @@ -8,13 +8,13 @@ public class Storage { private String filePath; - public Storage(String filePath) { + public Storage (String filePath) { this.filePath = filePath; } public enum TaskType { TODO, DEADLINE, EVENT } - public void saveTasks(TaskList tasks) { + public void saveTasks (TaskList tasks) { File file = new File(filePath); file.getParentFile().mkdirs(); diff --git a/src/main/java/duke/Task.java b/src/main/java/duke/Task.java index bbd0477a94..4f794308dc 100644 --- a/src/main/java/duke/Task.java +++ b/src/main/java/duke/Task.java @@ -3,13 +3,16 @@ public class Task { protected String description; protected boolean isDone; - public Task(String description) { + + public Task (String description) { this.description = description; this.isDone = false; } + public void markAsDone() { this.isDone = true; } + public void markAsNotDone() { this.isDone = false; } @@ -17,6 +20,7 @@ public void markAsNotDone() { public String toDataString() { return description; } + @Override public String toString() { return (isDone ? "[X] " : "[ ] ") + description; diff --git a/src/main/java/duke/TaskList.java b/src/main/java/duke/TaskList.java index 4582fea15c..3d3a2836ce 100644 --- a/src/main/java/duke/TaskList.java +++ b/src/main/java/duke/TaskList.java @@ -4,32 +4,39 @@ import java.util.List; public class TaskList { private final List tasks; + public TaskList() { this.tasks = new ArrayList<>(); } - public TaskList(List tasks) { + + public TaskList (List tasks) { this.tasks = new ArrayList<>(tasks); } - public void addTask(Task task) { + + public void addTask (Task task) { tasks.add(task); } + public void deleteTask(int taskIndex) { if (taskIndex >= 0 && taskIndex < tasks.size()) { tasks.remove(taskIndex); } } + public int size() { return tasks.size(); } - public Task getTask(int index) { + + public Task getTask (int index) { return tasks.get(index); } - public void markTaskAsDone(int index) { - Task task = tasks.get(index); - task.markAsDone(); + + public void markTaskAsDone (int index) { + Task task = tasks.get(index); + task.markAsDone(); } - public void markTaskAsNotDone(int index) { + public void markTaskAsNotDone (int index) { Task task = tasks.get(index); task.markAsNotDone(); } diff --git a/src/main/java/duke/Todo.java b/src/main/java/duke/Todo.java index 18e5029b81..d6e86789ef 100644 --- a/src/main/java/duke/Todo.java +++ b/src/main/java/duke/Todo.java @@ -1,13 +1,15 @@ package duke; public class Todo extends Task { - public Todo(String description) { + public Todo (String description) { super(description); } + @Override public String toDataString() { return "TODO | " + super.toDataString(); } + @Override public String toString() { return "[T]" + super.toString(); diff --git a/src/main/java/duke/Ui.java b/src/main/java/duke/Ui.java index 2b7e190392..4c46daf807 100644 --- a/src/main/java/duke/Ui.java +++ b/src/main/java/duke/Ui.java @@ -4,17 +4,20 @@ import java.io.File; import java.io.FileReader; import java.io.IOException; + import java.util.Scanner; public class Ui { private Scanner scanner; + public Ui() { scanner = new Scanner(System.in); } + public String readCommand() { return scanner.nextLine(); } - public TaskList loadTasks(String filePath) { + public TaskList loadTasks (String filePath) { TaskList tasks = new TaskList(); File file = new File(filePath); @@ -56,7 +59,8 @@ public TaskList loadTasks(String filePath) { return tasks; } - public boolean handleCommand(String userCommand, TaskList tasks, Storage storage) { + + public boolean handleCommand (String userCommand, TaskList tasks, Storage storage) { try { String[] parts = userCommand.split(" ", 2); String commandType = parts[0].toLowerCase(); @@ -118,32 +122,39 @@ public boolean handleCommand(String userCommand, TaskList tasks, Storage storage } return false; } + public void showWelcome() { System.out.println("Hi, I'm BiuBiu.\nWhat can I do for you?"); } - public void showError(String errorCommand) { + + public void showError (String errorCommand) { System.out.println(errorCommand); } - public void showTaskAdded(Task task, int taskCount) { + + public void showTaskAdded (Task task, int taskCount) { System.out.println("Got it. I've added this task:"); System.out.println(" " + task); System.out.println("Now you have " + taskCount + " tasks in the list."); } - public void showTaskDeleted(int taskCount) { + + public void showTaskDeleted (int taskCount) { System.out.println("OK, I've removed this task."); System.out.println("Now you have " + taskCount + " tasks in the list."); } - public void showTaskList(TaskList taskList) { + + public void showTaskList (TaskList taskList) { System.out.println("Here are the tasks in your list:"); for (int i = 0; i < taskList.size(); i++) { System.out.println((i + 1) + ". " + taskList.getTask(i)); } } - public void showTaskMarkedAsDone(Task task) { + + public void showTaskMarkedAsDone (Task task) { System.out.println("Nice! I've marked this task as done:"); System.out.println(" " + task); } - public void showTaskMarkedAsNotDone(Task task) { + + public void showTaskMarkedAsNotDone (Task task) { System.out.println("Noted, I've marked this task as not done yet:"); System.out.println(" " + task); } @@ -151,6 +162,7 @@ public void showTaskMarkedAsNotDone(Task task) { public void showLoadingError() { System.out.println("Error loading tasks from file."); } + public void showExit() { System.out.println("Bye. Have a great day!"); } From c1aa9e66d158e09d5ce1111979206129c9c382f9 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 22:21:18 +0800 Subject: [PATCH 25/43] Find --- docs/duke.txt | 1 + src/main/java/duke/TaskList.java | 16 ++++++++++++++++ src/main/java/duke/Ui.java | 23 +++++++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/docs/duke.txt b/docs/duke.txt index e329af49b9..97e044f7bb 100644 --- a/docs/duke.txt +++ b/docs/duke.txt @@ -1,3 +1,4 @@ TODO | read book DEADLINE | project | 2022-10-10 EVENT | meet | 2023-06-12 1400 | 2023-06-12 1600 +TODO | return book diff --git a/src/main/java/duke/TaskList.java b/src/main/java/duke/TaskList.java index 4582fea15c..47ccc0a493 100644 --- a/src/main/java/duke/TaskList.java +++ b/src/main/java/duke/TaskList.java @@ -33,4 +33,20 @@ public void markTaskAsNotDone(int index) { Task task = tasks.get(index); task.markAsNotDone(); } + + /** + * Finds the tasks that match the keyword. + * + * @param keyword The keywords used to search matching tasks. + * @return Tasks that match the keyword. + */ + public TaskList findTasksByKeyword (String keyword) { + TaskList matchingTasks = new TaskList(); + for (Task task : tasks) { + if (task.description.toLowerCase().contains(keyword.toLowerCase())) { + matchingTasks.addTask(task); + } + } + return matchingTasks; + } } diff --git a/src/main/java/duke/Ui.java b/src/main/java/duke/Ui.java index 2b7e190392..8955d75165 100644 --- a/src/main/java/duke/Ui.java +++ b/src/main/java/duke/Ui.java @@ -110,6 +110,13 @@ public boolean handleCommand(String userCommand, TaskList tasks, Storage storage showTaskDeleted(tasks.size()); storage.saveTasks(tasks); break; + case "find": + if (parts.length == 1) { + System.out.println("Please specify a keywork to search for."); + } else { + showFindCommand(parts[1], tasks); + } + break; default: showError("Invalid command format."); } @@ -151,6 +158,22 @@ public void showTaskMarkedAsNotDone(Task task) { public void showLoadingError() { System.out.println("Error loading tasks from file."); } + + /** + * Displays tasks tha match the keyword. + * + * @param keyword The keyword to search for the matching task. + * @param tasks The list of tasks to search within. + */ + public void showFindCommand (String keyword, TaskList tasks) { + TaskList matchingTasks = tasks.findTasksByKeyword(keyword); + + System.out.println("Here are the matching tasks: "); + for (int i = 0; i < matchingTasks.size(); i++) { + System.out.println((i + 1) + "." + matchingTasks.getTask(i)); + } + + } public void showExit() { System.out.println("Bye. Have a great day!"); } From a9e9748744a81e053edafac59330852323d2939e Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Sat, 9 Sep 2023 23:02:29 +0800 Subject: [PATCH 26/43] Merge all branches --- src/main/java/duke/Deadline.java | 18 +++------- src/main/java/duke/Duke.java | 6 +--- src/main/java/duke/Event.java | 10 ------ src/main/java/duke/Parser.java | 6 +--- src/main/java/duke/Storage.java | 8 ----- src/main/java/duke/Task.java | 13 ------- src/main/java/duke/TaskList.java | 39 +++------------------ src/main/java/duke/Todo.java | 10 ------ src/main/java/duke/Ui.java | 58 ++++---------------------------- 9 files changed, 17 insertions(+), 151 deletions(-) diff --git a/src/main/java/duke/Deadline.java b/src/main/java/duke/Deadline.java index a0657cb7bf..a38961f306 100644 --- a/src/main/java/duke/Deadline.java +++ b/src/main/java/duke/Deadline.java @@ -12,9 +12,6 @@ public class Deadline extends Task { // protected String by; private LocalDate deadline; -<<<<<<< HEAD - public Deadline (String description, String deadlineString) { -======= /** * Constructs a Deadline task. @@ -23,14 +20,10 @@ public Deadline (String description, String deadlineString) { * @param deadlineString The deadline date string in "yyyy-MM-dd format. */ public Deadline(String description, String deadlineString) { ->>>>>>> branch-A-JavaDoc super(description); this.deadline = parseDeadline(deadlineString); } -<<<<<<< HEAD - private LocalDate parseDeadline (String deadlineString) { -======= /** * Parses the deadline date from string. * @@ -38,7 +31,7 @@ private LocalDate parseDeadline (String deadlineString) { * @return The parsed deadline date as a LocalDate object, or null if parsing fails. */ private LocalDate parseDeadline(String deadlineString) { ->>>>>>> branch-A-JavaDoc + try { if (!deadlineString.isEmpty()) { return LocalDate.parse(deadlineString, DateTimeFormatter.ofPattern("yyyy-MM-dd")); @@ -48,6 +41,7 @@ private LocalDate parseDeadline(String deadlineString) { } return null; } + private String formatDeadline (LocalDate deadlineDate) { if (deadlineDate == null) { return "Invalid date."; @@ -55,6 +49,7 @@ private String formatDeadline (LocalDate deadlineDate) { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd yyyy", Locale.ENGLISH); return deadlineDate.format(formatter); } + private String saveFormatDeadline (LocalDate deadlineDate) { if (deadlineDate == null) { return ""; @@ -63,27 +58,22 @@ private String saveFormatDeadline (LocalDate deadlineDate) { return deadlineDate.format(formatter); } -<<<<<<< HEAD -======= + /** * Returns a string representation of the task for saving. * * @return The formatted string representation of the task. */ ->>>>>>> branch-A-JavaDoc @Override public String toDataString() { return "DEADLINE | " + super.toDataString() + " | " + saveFormatDeadline(deadline); } -<<<<<<< HEAD -======= /** * Returns a string representation of the task for display. * * @return The formatted string representation fo the task. */ ->>>>>>> branch-A-JavaDoc @Override public String toString() { return "[D]" + super.toString() + " (by: " + formatDeadline(deadline) + ")"; diff --git a/src/main/java/duke/Duke.java b/src/main/java/duke/Duke.java index bb8e69726f..3cb774cc62 100644 --- a/src/main/java/duke/Duke.java +++ b/src/main/java/duke/Duke.java @@ -253,16 +253,12 @@ public class Duke { private static Ui ui = new Ui(); private static Storage storage = new Storage("./docs/duke.txt"); -<<<<<<< HEAD - public static void main (String[] args) { -======= /** * The main entry point of the Duke program. * * @param args Command-line arguments (not used). */ - public static void main(String[] args) { ->>>>>>> branch-A-JavaDoc + public static void main (String[] args) { ui.showWelcome(); try { diff --git a/src/main/java/duke/Event.java b/src/main/java/duke/Event.java index 1a45815a04..82faf596a5 100644 --- a/src/main/java/duke/Event.java +++ b/src/main/java/duke/Event.java @@ -12,9 +12,6 @@ public class Event extends Task { private LocalDateTime startTime; private LocalDateTime endTime; -<<<<<<< HEAD - public Event (String description, String startDateTimeString, String endDateTimeString) { -======= /** * Initializes a new Event task. * @@ -23,7 +20,6 @@ public Event (String description, String startDateTimeString, String endDateTime * @param endDateTimeString The end date and time of the event in the format of "yyyy-MM-dd HHmm". */ public Event(String description, String startDateTimeString, String endDateTimeString) { ->>>>>>> branch-A-JavaDoc super(description); this.startTime = parseDateTime(startDateTimeString); this.endTime = parseDateTime(endDateTimeString); @@ -57,27 +53,21 @@ private String saveFormatDateTime (LocalDateTime dateTime) { return dateTime.format(formatter); } -<<<<<<< HEAD -======= /** * Converts the event task to a formatted string. * * @return A string representation of the event task. */ ->>>>>>> branch-A-JavaDoc @Override public String toDataString() { return "EVENT | " + super.toDataString() + " | " + saveFormatDateTime(startTime) + " | " + saveFormatDateTime(endTime); } -<<<<<<< HEAD -======= /** * Converts the event task to a string representation for displaying. * * @return A string representation of the event task. */ ->>>>>>> branch-A-JavaDoc @Override public String toString() { return "[E]" + super.toString() + " (from: " + formatDateTime(startTime) + " to: " + formatDateTime(endTime) + ")"; diff --git a/src/main/java/duke/Parser.java b/src/main/java/duke/Parser.java index fcd2562f70..76460e94e6 100644 --- a/src/main/java/duke/Parser.java +++ b/src/main/java/duke/Parser.java @@ -1,17 +1,13 @@ package duke; public class Parser { -<<<<<<< HEAD - public static Task parse (String userCommand) { -======= /** * Parses a user command and creates a task object. * * @param userCommand The user command. * @return A Task object. */ - public static Task parse(String userCommand) { ->>>>>>> branch-A-JavaDoc + public static Task parse (String userCommand) { String[] commandParts = userCommand.split(" ", 2); String taskType = commandParts[0].toLowerCase(); diff --git a/src/main/java/duke/Storage.java b/src/main/java/duke/Storage.java index dcaffbffb9..22734f4e74 100644 --- a/src/main/java/duke/Storage.java +++ b/src/main/java/duke/Storage.java @@ -8,16 +8,12 @@ public class Storage { private String filePath; -<<<<<<< HEAD - public Storage (String filePath) { -======= /** * Constructs a Storage object. * * @param filePath The file path where the task data will be saved. */ public Storage(String filePath) { ->>>>>>> branch-A-JavaDoc this.filePath = filePath; } @@ -27,9 +23,6 @@ public Storage(String filePath) { public enum TaskType { TODO, DEADLINE, EVENT } -<<<<<<< HEAD - public void saveTasks (TaskList tasks) { -======= /** * Saves the tasks from the TaskList to the file path. @@ -37,7 +30,6 @@ public void saveTasks (TaskList tasks) { * @param tasks The taskList containing tasks to be saved. */ public void saveTasks(TaskList tasks) { ->>>>>>> branch-A-JavaDoc File file = new File(filePath); file.getParentFile().mkdirs(); diff --git a/src/main/java/duke/Task.java b/src/main/java/duke/Task.java index 269c32f4a1..e0dbbcd77e 100644 --- a/src/main/java/duke/Task.java +++ b/src/main/java/duke/Task.java @@ -4,36 +4,26 @@ public class Task { protected String description; protected boolean isDone; -<<<<<<< HEAD - public Task (String description) { -======= /** * Constructs a Task object. * * @param description The description of the task. */ public Task(String description) { ->>>>>>> branch-A-JavaDoc this.description = description; this.isDone = false; } -<<<<<<< HEAD -======= /** * Marks the task as done. */ ->>>>>>> branch-A-JavaDoc public void markAsDone() { this.isDone = true; } -<<<<<<< HEAD -======= /** * Marks the tasks as not dome yet. */ ->>>>>>> branch-A-JavaDoc public void markAsNotDone() { this.isDone = false; } @@ -47,14 +37,11 @@ public String toDataString() { return description; } -<<<<<<< HEAD -======= /** * Returns a string representation of the task. * * @return A string representation of the task. */ ->>>>>>> branch-A-JavaDoc @Override public String toString() { return (isDone ? "[X] " : "[ ] ") + description; diff --git a/src/main/java/duke/TaskList.java b/src/main/java/duke/TaskList.java index 5cae0d13ac..9a16dc1a1a 100644 --- a/src/main/java/duke/TaskList.java +++ b/src/main/java/duke/TaskList.java @@ -2,35 +2,23 @@ import java.util.ArrayList; import java.util.List; + public class TaskList { private final List tasks; -<<<<<<< HEAD -======= /** - * Constructs an empty TaskList. + * Constructs a empty TaskList. */ ->>>>>>> branch-A-JavaDoc public TaskList() { this.tasks = new ArrayList<>(); } -<<<<<<< HEAD - public TaskList (List tasks) { - this.tasks = new ArrayList<>(tasks); - } - - public void addTask (Task task) { - tasks.add(task); - } - -======= /** * Constructs a TaskList with the list of tasks. * * @param tasks The list of the tasks. */ - public TaskList(List tasks) { + public TaskList (List tasks) { this.tasks = new ArrayList<>(tasks); } @@ -39,7 +27,7 @@ public TaskList(List tasks) { * * @param task The task to be added. */ - public void addTask(Task task) { + public void addTask (Task task) { tasks.add(task); } @@ -48,37 +36,21 @@ public void addTask(Task task) { * * @param taskIndex The index of the task. */ ->>>>>>> branch-A-JavaDoc - public void deleteTask(int taskIndex) { + public void deleteTask (int taskIndex) { if (taskIndex >= 0 && taskIndex < tasks.size()) { tasks.remove(taskIndex); } } -<<<<<<< HEAD -======= /** * Gets the number of tasks in the TaskList. * * @return The number of tasks in the TaskList. */ ->>>>>>> branch-A-JavaDoc public int size() { return tasks.size(); } -<<<<<<< HEAD - public Task getTask (int index) { - return tasks.get(index); - } - - public void markTaskAsDone (int index) { - Task task = tasks.get(index); - task.markAsDone(); - } - - public void markTaskAsNotDone (int index) { -======= /** * Gets a task from the TaskList at the specified index. * @@ -105,7 +77,6 @@ public void markTaskAsDone(int index) { * @param index The index of the task. */ public void markTaskAsNotDone(int index) { ->>>>>>> branch-A-JavaDoc Task task = tasks.get(index); task.markAsNotDone(); } diff --git a/src/main/java/duke/Todo.java b/src/main/java/duke/Todo.java index fe511b249e..5ea7eec7e8 100644 --- a/src/main/java/duke/Todo.java +++ b/src/main/java/duke/Todo.java @@ -1,12 +1,6 @@ package duke; public class Todo extends Task { -<<<<<<< HEAD - public Todo (String description) { - super(description); - } - -======= /** * Constructs a Todo task. * @@ -21,20 +15,16 @@ public Todo(String description) { * * @return A string representation of the Todo task for the data storage. */ ->>>>>>> branch-A-JavaDoc @Override public String toDataString() { return "TODO | " + super.toDataString(); } -<<<<<<< HEAD -======= /** * Returns a string representation of the Todo task. * * @return A string representation of the Todo task for display. */ ->>>>>>> branch-A-JavaDoc @Override public String toString() { return "[T]" + super.toString(); diff --git a/src/main/java/duke/Ui.java b/src/main/java/duke/Ui.java index 525dfdcab7..32b2519791 100644 --- a/src/main/java/duke/Ui.java +++ b/src/main/java/duke/Ui.java @@ -10,22 +10,13 @@ public class Ui { private Scanner scanner; -<<<<<<< HEAD -======= /** * Constructs a Ui object. */ ->>>>>>> branch-A-JavaDoc public Ui() { scanner = new Scanner(System.in); } -<<<<<<< HEAD - public String readCommand() { - return scanner.nextLine(); - } - public TaskList loadTasks (String filePath) { -======= /** * Reads a user command. * @@ -42,7 +33,6 @@ public String readCommand() { * @return A TaskList containing the loaded tasks. */ public TaskList loadTasks(String filePath) { ->>>>>>> branch-A-JavaDoc TaskList tasks = new TaskList(); File file = new File(filePath); @@ -85,9 +75,6 @@ public TaskList loadTasks(String filePath) { return tasks; } -<<<<<<< HEAD - public boolean handleCommand (String userCommand, TaskList tasks, Storage storage) { -======= /** * Handles user commands. * @@ -97,7 +84,6 @@ public boolean handleCommand (String userCommand, TaskList tasks, Storage storag * @return True if the program should exit. */ public boolean handleCommand(String userCommand, TaskList tasks, Storage storage) { ->>>>>>> branch-A-JavaDoc try { String[] parts = userCommand.split(" ", 2); String commandType = parts[0].toLowerCase(); @@ -167,23 +153,13 @@ public boolean handleCommand(String userCommand, TaskList tasks, Storage storage return false; } -<<<<<<< HEAD -======= /** * Displays a welcome message. */ ->>>>>>> branch-A-JavaDoc public void showWelcome() { System.out.println("Hi, I'm BiuBiu.\nWhat can I do for you?"); } -<<<<<<< HEAD - public void showError (String errorCommand) { - System.out.println(errorCommand); - } - - public void showTaskAdded (Task task, int taskCount) { -======= /** * Displays an error message. * @@ -199,67 +175,50 @@ public void showError(String errorCommand) { * @param task The task that we added. * @param taskCount The current number of tasks in the list. */ - public void showTaskAdded(Task task, int taskCount) { ->>>>>>> branch-A-JavaDoc + public void showTaskAdded (Task task, int taskCount) { System.out.println("Got it. I've added this task:"); System.out.println(" " + task); System.out.println("Now you have " + taskCount + " tasks in the list."); } -<<<<<<< HEAD - public void showTaskDeleted (int taskCount) { -======= /** * Displays a message confirming the deletion of a task. * * @param taskCount The current number of tasks in the list. */ - public void showTaskDeleted(int taskCount) { ->>>>>>> branch-A-JavaDoc + public void showTaskDeleted (int taskCount) { System.out.println("OK, I've removed this task."); System.out.println("Now you have " + taskCount + " tasks in the list."); } -<<<<<<< HEAD - public void showTaskList (TaskList taskList) { -======= /** * Displays the list of tasks. * * @param taskList The task list. */ - public void showTaskList(TaskList taskList) { ->>>>>>> branch-A-JavaDoc + public void showTaskList (TaskList taskList) { System.out.println("Here are the tasks in your list:"); for (int i = 0; i < taskList.size(); i++) { System.out.println((i + 1) + ". " + taskList.getTask(i)); } } -<<<<<<< HEAD - public void showTaskMarkedAsDone (Task task) { -======= /** * Displays a message confirming that a task has been marked as done. * * @param task The task that was marked as done. */ - public void showTaskMarkedAsDone(Task task) { ->>>>>>> branch-A-JavaDoc + public void showTaskMarkedAsDone (Task task) { System.out.println("Nice! I've marked this task as done:"); System.out.println(" " + task); } -<<<<<<< HEAD - public void showTaskMarkedAsNotDone (Task task) { -======= /** * Displays a message confirming that a task has been marked as not done. * * @param task The task that was marked as not done. */ - public void showTaskMarkedAsNotDone(Task task) { ->>>>>>> branch-A-JavaDoc + public void showTaskMarkedAsNotDone (Task task) { System.out.println("Noted, I've marked this task as not done yet:"); System.out.println(" " + task); } @@ -271,9 +230,6 @@ public void showLoadingError() { System.out.println("Error loading tasks from file."); } -<<<<<<< HEAD -<<<<<<< HEAD -======= /** * Displays tasks tha match the keyword. * @@ -289,12 +245,10 @@ public void showFindCommand (String keyword, TaskList tasks) { } } ->>>>>>> branch-Level-9 -======= + /** * Displays an exit message. */ ->>>>>>> branch-A-JavaDoc public void showExit() { System.out.println("Bye. Have a great day!"); } From 0f748d0014436e18b0eb13e5ccb34a52d2173fa8 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Mon, 11 Sep 2023 17:59:16 +0800 Subject: [PATCH 27/43] Add a GUI to the chatbot --- build.gradle | 15 ++ docs/duke.txt | 5 +- src/main/java/duke/DialogBox.java | 56 ++++++ src/main/java/duke/Duke.java | 247 +++++++++++++++++++++--- src/main/java/duke/Launcher.java | 9 + src/main/java/duke/Main.java | 32 +++ src/main/java/duke/MainWindow.java | 52 +++++ src/main/resources/images/BiuBiu.jpg | Bin 0 -> 18074 bytes src/main/resources/images/User.jpg | Bin 0 -> 18920 bytes src/main/resources/view/DialogBox.fxml | 17 ++ src/main/resources/view/MainWindow.fxml | 19 ++ 11 files changed, 419 insertions(+), 33 deletions(-) create mode 100644 src/main/java/duke/DialogBox.java create mode 100644 src/main/java/duke/Launcher.java create mode 100644 src/main/java/duke/Main.java create mode 100644 src/main/java/duke/MainWindow.java create mode 100644 src/main/resources/images/BiuBiu.jpg create mode 100644 src/main/resources/images/User.jpg create mode 100644 src/main/resources/view/DialogBox.fxml create mode 100644 src/main/resources/view/MainWindow.fxml diff --git a/build.gradle b/build.gradle index be4087ba18..3f584e9294 100644 --- a/build.gradle +++ b/build.gradle @@ -11,6 +11,21 @@ repositories { dependencies { testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0' testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0' + + String javaFxVersion = '17.0.7' + + implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux' + implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'linux' + implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'linux' + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'linux' } test { diff --git a/docs/duke.txt b/docs/duke.txt index 97e044f7bb..05749c5f23 100644 --- a/docs/duke.txt +++ b/docs/duke.txt @@ -1,4 +1 @@ -TODO | read book -DEADLINE | project | 2022-10-10 -EVENT | meet | 2023-06-12 1400 | 2023-06-12 1600 -TODO | return book +TODO | read diff --git a/src/main/java/duke/DialogBox.java b/src/main/java/duke/DialogBox.java new file mode 100644 index 0000000000..7057b399a7 --- /dev/null +++ b/src/main/java/duke/DialogBox.java @@ -0,0 +1,56 @@ +package duke; + +import java.io.IOException; +import java.util.Collections; + +import javafx.collections.FXCollections; +import javafx.collections.ObservableList; +import javafx.fxml.FXML; +import javafx.fxml.FXMLLoader; +import javafx.geometry.Pos; +import javafx.scene.Node; +import javafx.scene.control.Label; +import javafx.scene.image.Image; +import javafx.scene.image.ImageView; +import javafx.scene.layout.HBox; + +public class DialogBox extends HBox { + @FXML + private Label dialog; + @FXML + private ImageView displayPicture; + + private DialogBox(String text, Image img) { + try { + FXMLLoader fxmlLoader = new FXMLLoader(MainWindow.class.getResource("/view/DialogBox.fxml")); + fxmlLoader.setController(this); + fxmlLoader.setRoot(this); + fxmlLoader.load(); + } catch (IOException e) { + e.printStackTrace(); + } + + dialog.setText(text); + displayPicture.setImage(img); + } + + /** + * Flips the dialog box such that the ImageView is on the left and text on the right. + */ + private void flip() { + ObservableList tmp = FXCollections.observableArrayList(this.getChildren()); + Collections.reverse(tmp); + getChildren().setAll(tmp); + setAlignment(Pos.TOP_LEFT); + } + + public static DialogBox getUserDialog(String text, Image img) { + return new DialogBox(text, img); + } + + public static DialogBox getDukeDialog(String text, Image img) { + var db = new DialogBox(text, img); + db.flip(); + return db; + } +} diff --git a/src/main/java/duke/Duke.java b/src/main/java/duke/Duke.java index 3cb774cc62..64aeed08a7 100644 --- a/src/main/java/duke/Duke.java +++ b/src/main/java/duke/Duke.java @@ -1,5 +1,223 @@ package duke; +import javafx.application.Application; +import javafx.scene.Scene; +import javafx.scene.control.Button; +import javafx.scene.control.Label; +import javafx.scene.control.ScrollPane; +import javafx.scene.control.TextField; +import javafx.scene.image.Image; +import javafx.scene.image.ImageView; +import javafx.scene.layout.AnchorPane; +import javafx.scene.layout.Region; +import javafx.scene.layout.VBox; +import javafx.stage.Stage; + +public class Duke extends Application { + private static final int MAX_TASKS = 100; + private static final String DATA_FILE_PATH = "./docs/duke.txt"; + + private static TaskList tasks = new TaskList(); + private static Ui ui = new Ui(); + private static Storage storage = new Storage(DATA_FILE_PATH); + private ScrollPane scrollPane; + private VBox dialogContainer; + private TextField userInput; + private Button sendButton; + private Scene scene; + private Image user = new Image(this.getClass().getResourceAsStream("/images/User.jpg")); + private Image biubiu = new Image(this.getClass().getResourceAsStream("/images/BiuBiu.jpg")); + + /** + * The main entry point of the Duke program. + * + * @param args Command-line arguments (not used). + */ + public static void main (String[] args) { + ui.showWelcome(); + + try { + tasks = ui.loadTasks("./docs/duke.txt"); + } catch (Exception e) { + ui.showLoadingError(); + } + + boolean isExit = false; + + while (!isExit) { + String userCommand = ui.readCommand(); + isExit = ui.handleCommand(userCommand, tasks, storage); + } + } + + @Override + public void start (Stage stage) { +// Label helloWorld = new Label("Hello World!"); +// Scene scene = new Scene(helloWorld); + // Step 1 + scrollPane = new ScrollPane(); + dialogContainer = new VBox(); + scrollPane.setContent(dialogContainer); + + userInput = new TextField(); + sendButton = new Button("Send"); + + AnchorPane mainLayout = new AnchorPane(); + mainLayout.getChildren().addAll(scrollPane, userInput, sendButton); + + scene = new Scene(mainLayout); + + stage.setScene(scene); + stage.show(); + + // Step 2 + stage.setTitle("Duke"); + stage.setResizable(false); + stage.setMinHeight(600.0); + stage.setMinWidth(400.0); + + mainLayout.setPrefSize(400.0, 600.0); + + scrollPane.setPrefSize(385, 535); + scrollPane.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); + scrollPane.setVbarPolicy(ScrollPane.ScrollBarPolicy.ALWAYS); + + scrollPane.setVvalue(1.0); + scrollPane.setFitToWidth(true); + + dialogContainer.setPrefHeight(Region.USE_COMPUTED_SIZE); + + userInput.setPrefWidth(325.0); + + sendButton.setPrefWidth(55.0); + + AnchorPane.setTopAnchor(scrollPane, 1.0); + + AnchorPane.setBottomAnchor(sendButton, 1.0); + AnchorPane.setRightAnchor(sendButton, 1.0); + + AnchorPane.setLeftAnchor(userInput, 1.0); + AnchorPane.setBottomAnchor(userInput, 1.0); + + // Step 3 + sendButton.setOnMouseClicked(event -> { + handleUserInput(); + }); + + userInput.setOnAction((event -> { + handleUserInput(); + })); + + // Scroll down to the end automatically + dialogContainer.heightProperty().addListener((observable -> scrollPane.setVvalue(1.0))); + } + + private Label getDialogLabel (String text) { + Label textToAdd = new Label(text); + textToAdd.setWrapText(true); + + return textToAdd; + } + + private void handleUserInput() { + // Label userText = new Label(userInput.getText()); + // Label dukeText = new Label(getResponse(userInput.getText())); + String userText = userInput.getText(); + String dukeText = getResponse(userInput.getText()); + + dialogContainer.getChildren().addAll( + // DialogBox.getUserDialog(userText, new ImageView(user)), + // DialogBox.getDukeDialog(dukeText, new ImageView(biubiu)) + DialogBox.getUserDialog(userText, user), + DialogBox.getDukeDialog(dukeText, biubiu) + ); + userInput.clear(); + } + int taskCount = 0; + public String getResponse (String input) { + try { + String output = ""; + if (input.equalsIgnoreCase("bye")) { + storage.saveTasks(tasks); + return "Bye. Have a great day!"; + } else if (input.equalsIgnoreCase("list")) { + output = "Here are the tasks in your list:"; + for (int i = 0; i < tasks.size(); i++) { + output += "\n " + (i + 1) + ". " + tasks.getTask(i); + } + return output; + } + + String[] parts = input.split(" ", 2); + String commandType = parts[0].toLowerCase(); + String command = parts[1]; + + switch (commandType) { + case "mark": + int doneTaskIndex = Integer.parseInt(command) - 1; + tasks.markTaskAsDone(doneTaskIndex); + output = "Nice! I've marked this task as done:"; + output += "\n " + tasks.getTask(doneTaskIndex); + storage.saveTasks(tasks); + return output; + case "unmark": + int notDoneTaskIndex = Integer.parseInt(command) - 1; + tasks.markTaskAsNotDone(notDoneTaskIndex); + output = "Nice! I've marked this task as not done yet:"; + output += "\n " + tasks.getTask(notDoneTaskIndex); + storage.saveTasks(tasks); + return output; + case "todo": + if (parts.length == 1) { + return "What you want to do?"; + } + case "deadline": + if (parts.length == 1) { + return "What deadline do you have?"; + } + case "event": + if (parts.length == 1) { + return "What event do you have?"; + } + Task newTask = Parser.parse(input); + if (newTask == null) { + break; + } + + tasks.addTask(newTask); + taskCount++; + output = "Got it. I've added this task:"; + output += "\n " + tasks.getTask(taskCount - 1); + System.out.println("\nNow you have " + taskCount + " tasks in the list."); + storage.saveTasks(tasks); + return output; + case "delete": + int deletedTaskIndex = Integer.parseInt(parts[1]) - 1; + tasks.deleteTask(deletedTaskIndex); + taskCount--; + output = "OK, I've removed this task."; + output += "\nNow you have " + taskCount + " tasks in the list."; + storage.saveTasks(tasks); + return output; + case "find": + if (parts.length == 1) { + return "Please specify a keywork to search for."; + } + TaskList matchingTasks = tasks.findTasksByKeyword(command); + output = "Here are the matching tasks: "; + for (int i = 0; i < matchingTasks.size(); i++) { + output += "\n " + (i + 1) + "." + matchingTasks.getTask(i); + } + return output; + default: + return "Invalid command format."; + } + } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { + return input; + } + return ""; + } +} //import java.io.BufferedReader; //import java.io.BufferedWriter; //import java.io.File; @@ -245,36 +463,7 @@ // } // } //} -public class Duke { - private static final int MAX_TASKS = 100; - private static final String DATA_FILE_PATH = "./docs/duke.txt"; - - private static TaskList tasks = new TaskList(); - private static Ui ui = new Ui(); - private static Storage storage = new Storage("./docs/duke.txt"); - /** - * The main entry point of the Duke program. - * - * @param args Command-line arguments (not used). - */ - public static void main (String[] args) { - ui.showWelcome(); - - try { - tasks = ui.loadTasks("./docs/duke.txt"); - } catch (Exception e) { - ui.showLoadingError(); - } - - boolean isExit = false; - - while (!isExit) { - String userCommand = ui.readCommand(); - isExit = ui.handleCommand(userCommand, tasks, storage); - } - } -} /* TODO | read book diff --git a/src/main/java/duke/Launcher.java b/src/main/java/duke/Launcher.java new file mode 100644 index 0000000000..95322cd22e --- /dev/null +++ b/src/main/java/duke/Launcher.java @@ -0,0 +1,9 @@ +package duke; + +import javafx.application.Application; + +public class Launcher { + public static void main (String[] args) { + Application.launch(Main.class, args); + } +} diff --git a/src/main/java/duke/Main.java b/src/main/java/duke/Main.java new file mode 100644 index 0000000000..5e0cb2d0ac --- /dev/null +++ b/src/main/java/duke/Main.java @@ -0,0 +1,32 @@ +package duke; + +import java.io.IOException; + +import javafx.application.Application; +import javafx.fxml.FXMLLoader; +import javafx.scene.Scene; +import javafx.scene.layout.AnchorPane; +import javafx.stage.Stage; + +/** + * A GUI for Duke using FXML. + */ +public class Main extends Application { + + private Duke duke = new Duke(); + + @Override + public void start(Stage stage) { + try { + FXMLLoader fxmlLoader = new FXMLLoader(Main.class.getResource("/view/MainWindow.fxml")); + AnchorPane ap = fxmlLoader.load(); + Scene scene = new Scene(ap); + stage.setScene(scene); + fxmlLoader.getController().setDuke(duke); + stage.show(); + } catch (IOException e) { + e.printStackTrace(); + } + } +} + diff --git a/src/main/java/duke/MainWindow.java b/src/main/java/duke/MainWindow.java new file mode 100644 index 0000000000..af515d7a7c --- /dev/null +++ b/src/main/java/duke/MainWindow.java @@ -0,0 +1,52 @@ +package duke; + +import javafx.fxml.FXML; +import javafx.scene.control.Button; +import javafx.scene.control.ScrollPane; +import javafx.scene.control.TextField; +import javafx.scene.image.Image; +import javafx.scene.layout.AnchorPane; +import javafx.scene.layout.VBox; +/** + * Controller for MainWindow. Provides the layout for the other controls. + */ +public class MainWindow extends AnchorPane { + @FXML + private ScrollPane scrollPane; + @FXML + private VBox dialogContainer; + @FXML + private TextField userInput; + @FXML + private Button sendButton; + + private Duke duke; + + private Image userImage = new Image(this.getClass().getResourceAsStream("/images/User.jpg")); + private Image dukeImage = new Image(this.getClass().getResourceAsStream("/images/BiuBiu.jpg")); + + @FXML + public void initialize() { + scrollPane.vvalueProperty().bind(dialogContainer.heightProperty()); + } + + public void setDuke(Duke d) { + duke = d; + } + + /** + * Creates two dialog boxes, one echoing user input and the other containing Duke's reply and then appends them to + * the dialog container. Clears the user input after processing. + */ + @FXML + private void handleUserInput() { + String input = userInput.getText(); + String response = duke.getResponse(input); + dialogContainer.getChildren().addAll( + DialogBox.getUserDialog(input, userImage), + DialogBox.getDukeDialog(response, dukeImage) + ); + userInput.clear(); + } +} + diff --git a/src/main/resources/images/BiuBiu.jpg b/src/main/resources/images/BiuBiu.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dd0d6d2211936e6ad510da7c6e13afb460041edc GIT binary patch literal 18074 zcmc(`1z23o(l9vqpqas)!JVMNgAML5SdhTr?gR+I-Q6L$y9IZb-~?^a*A>QBqRU;32_7N-U4I* znCKWl40KE&1`rDi6C0QK0WJ;>E(IYGh!{deM+c#zp@L6MjjH090JHh+8Jz^a-Bm`8F8mv$mRsaBk9Egk*)gPQp2t?v0kV)26kkoS^ z=E>FJ2Ea|ZwHj;`RhnEIlVTSxNh#j$16Ry4Dl_s-k@AadWRw=^=vi@~+yv2qNs&Rw zr7Xdw;lLNVUe~?#FW>op5ghehoSZ-HhOU<6#MmJfn8{#*<_?ITI_mQAfGfMgx)w9( z4Z=X@Yv?THZ%Cb*j_Y<)s2GJ|=tl}>L=6hgP z)_G*z%)ow9h6Q2S3`5!Ry==QrTc4c~%TUe{oOi0xo{G_sw6dUJeq>a|QC+pk1IFagIO7}KUl)@00{gc6sy^p6 zo&Zh$5EVcxt|TguCC?Y!EK;*uEhMu3L+HAmZv{3u5ExW6x3$>O^22bZ_7N@l0 zqS@+{8rZ&`_?%BUOK7Jyb&6xW)O$QNibJ4UF$1NrOWWLcRxdlA{_@!{bfC^<9#Eso z$fEd2oF@CSYcJFuG`%?ex`Dvp7==I*0AS(AtdP`xGqyN#e7N^X+K_gU?shtG(9e0?fe#m)CC*YbkAi=q45@<@iPOPb8%n_tt1YNE6S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ZFGnZKp@?PQd!~`$qxmQvquUw>#P-KgWpPb$nz* z{3o(Lz;O8R04E_bH=_I+zDd)k_$?qZV)0hK{JWTBLggu5`TKK<+lZE**29ncZXtM& z5&x{He}60EjAn-sG<6O6p8NLa!#H2WcU|+WzDQ~-DU-7l8;`M)J%YuS8={6i_k-CS zYO%HE{h1s}zaL-rXJ0-R^FAMp%XuW`{Y5S=`4P@)z&QdRM+2}~bJ)5LE#p2Zy_VSM zc-3l}9CesIs2i!W74!t+C0@8HUTl?MyCq&8bSn11cI&x1%DOl8+(+?JQR>D1Z}}K4 zXa6+|flM&{mVaOBf0IuY@gL=78os4|d@j@QT*>R62j0-S_k9hBRN?Bs;{s9YIjRI3 QwPCa^NhB$Bp}V#J13I!GT>t<8 literal 0 HcmV?d00001 diff --git a/src/main/resources/images/User.jpg b/src/main/resources/images/User.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d05764f20a087e702139b3dd61ad24048b6dfdcf GIT binary patch literal 18920 zcmbSx1yo#3v*4g%(7`3xpo0d75Oi?2!6mpu&>$hf24`>&KG*=kJwSpJECB`$NsvJB zK!5~@?ZEr~_rKlq_MF|<_nf}n)zwwqRn^^f>-OK}zv}>yrmBW201FEMz`{I$zwZG` z03iMyf;;#?f;$9+gg_z^8Zr`MVv@U5)F2vGCN?%!CKeVBh!{TymoPUAi-4?vu(+hO zv@|=Pyt2HMlGuG|$r~bAgoK17#3T%4WDJs=ES!@6-|6olfSdqp6>Aj-iw%HHj)g;x z^>-L>7XZM(Y0!_xyD)$YU1NRAZ;Oz(VmLCG24ztM;HLP_ z*|(H_=N88eKkT@iW=psI+OP?>86@);Q0P$t7156bL{_}khT2ww*jceaGzloGG$E=a zbu1{s9z;DV%UwVWpnxT|@269S#Z3=jpS^y>w=X%%d%Y$-C|g+6?++q1=|$7g7< zSZgU4T(I4NT|rZUj;1FsH*mGLjQ|0=5Ms%A0D^V}5ZqK_P=hXDCjtNvGp8T)m>pH- zpy(jflofnRTRQORqlj3m*!B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kr{Hr?*2HsP0 z?t4By|Hy)am)}kBgMIoTJIN)EKe?;w1L7ovr+>6zapOo~KjQ8w`c=#HRs4y&$$yXT z{&!&FhiQ`wuLx;;{FHc8Z}*HNQ>CXGN2(rQf5$Skb7sy_FQs#)@-x)KrDv#aYwUHI z`YPRUp76WiaP2G7XCKAzW{JIwtV_(XIrQh#9`?rn3`YBW87_ROf45X$MOJ|IOiRbY zS#MrH?|h=E`JZ8md;Wihx}~uTzU`Dqee3$x5d_~mzAq5?wnL)&4vXyz+ZDF!KX@dt zZ$03AtNB**?FWi)9p5;p$c_ZF zzb#)n?+R4lW%|N-N4^+*0tqb+FlVxqV4Kj{bMEDL>scF;gck~Y@X~i#d=N<42=KEk rKB%!*sGo)Tpaw)3NZ}U-$_sU01Svz&hGGZ + + + + + + + + + + + + + + diff --git a/src/main/resources/view/MainWindow.fxml b/src/main/resources/view/MainWindow.fxml new file mode 100644 index 0000000000..4f5e2d03c7 --- /dev/null +++ b/src/main/resources/view/MainWindow.fxml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + - + From 130c3aad6fb136f69d792209afc29394800cc748 Mon Sep 17 00:00:00 2001 From: Chen-Kuei Date: Wed, 20 Sep 2023 19:27:21 +0800 Subject: [PATCH 34/43] update GUI --- docs/duke.txt | 3 +-- src/main/java/duke/Duke.java | 2 +- src/main/java/duke/MainWindow.java | 11 ++++++++ src/main/java/duke/Ui.java | 36 ++++++++++++++++++++----- src/main/resources/view/MainWindow.fxml | 3 +++ 5 files changed, 45 insertions(+), 10 deletions(-) diff --git a/docs/duke.txt b/docs/duke.txt index fa8df75c74..8b1f8c848b 100644 --- a/docs/duke.txt +++ b/docs/duke.txt @@ -1,2 +1 @@ -EVENT | meeting | 2023-09-22 1400 | 2023-09-22 1600 -EVENT | meet | 2023-09-22 1445 | 2023-09-23 1650 +TODO | read book diff --git a/src/main/java/duke/Duke.java b/src/main/java/duke/Duke.java index 9b44fdf9f3..bfc6b7571c 100644 --- a/src/main/java/duke/Duke.java +++ b/src/main/java/duke/Duke.java @@ -45,7 +45,7 @@ public static void main (String[] args) { boolean isExit = false; - while (!isExit) { + while(!isExit) { String userCommand = ui.readCommand(); isExit = ui.handleCommand(userCommand, tasks, storage) == ui.showExit() ? true diff --git a/src/main/java/duke/MainWindow.java b/src/main/java/duke/MainWindow.java index af515d7a7c..ee6b2ff8a8 100644 --- a/src/main/java/duke/MainWindow.java +++ b/src/main/java/duke/MainWindow.java @@ -2,6 +2,7 @@ import javafx.fxml.FXML; import javafx.scene.control.Button; +import javafx.scene.control.Label; import javafx.scene.control.ScrollPane; import javafx.scene.control.TextField; import javafx.scene.image.Image; @@ -19,8 +20,11 @@ public class MainWindow extends AnchorPane { private TextField userInput; @FXML private Button sendButton; + @FXML + private Label welcomeLabel; private Duke duke; + private Ui ui; private Image userImage = new Image(this.getClass().getResourceAsStream("/images/User.jpg")); private Image dukeImage = new Image(this.getClass().getResourceAsStream("/images/BiuBiu.jpg")); @@ -28,6 +32,13 @@ public class MainWindow extends AnchorPane { @FXML public void initialize() { scrollPane.vvalueProperty().bind(dialogContainer.heightProperty()); +// welcomeLabel.setText("ui.showWelcome()"); // new + String welcomeMessage = "Hi, I'm BiuBiu.\nI'm ready to help u!\n" + + "\n(u can save your task as todo/deadline/event)\n" + + "(can mark/unmark/find/delete/list your tasks)\n" + + "(type these keyword to find out more!)\n" + + "type 'woof' for surprise><"; + dialogContainer.getChildren().add(DialogBox.getDukeDialog(welcomeMessage, dukeImage)); } public void setDuke(Duke d) { diff --git a/src/main/java/duke/Ui.java b/src/main/java/duke/Ui.java index b206145b7b..e07f95a168 100644 --- a/src/main/java/duke/Ui.java +++ b/src/main/java/duke/Ui.java @@ -9,6 +9,7 @@ public class Ui { private Scanner scanner; + private boolean hasDisplayedWelcome = false; /** * Constructs a Ui object. @@ -116,11 +117,14 @@ public String handleCommand(String userCommand, TaskList tasks, Storage storage) case "find": output = handleFindCommand(parts, tasks); break; + case "woof": + output = "meow"; + break; default: output = showError(userCommand); } } catch (NumberFormatException | ArrayIndexOutOfBoundsException e) { - return showError("Invalid command format."); + return showError("I don't know this..."); } return output; } @@ -145,6 +149,10 @@ public String handleByeCommand(TaskList tasks, Storage storage) { * @param storage The Storage object for saving tasks. */ public String handleMarkCommand(String[] parts, TaskList tasks, Storage storage) { + if (parts.length == 1) { + return "pls enter: mark "; + } + int doneTaskIndex = Integer.parseInt(parts[1]) - 1; tasks.markTaskAsDone(doneTaskIndex); storage.saveTasks(tasks); @@ -159,6 +167,10 @@ public String handleMarkCommand(String[] parts, TaskList tasks, Storage storage) * @param storage The Storage object for saving tasks. */ public String handleUnmarkCommand(String[] parts, TaskList tasks, Storage storage) { + if (parts.length == 1) { + return "pls enter: unmark "; + } + int notDoneTaskIndex = Integer.parseInt(parts[1]) - 1; tasks.markTaskAsNotDone(notDoneTaskIndex); storage.saveTasks(tasks); @@ -175,7 +187,7 @@ public String handleUnmarkCommand(String[] parts, TaskList tasks, Storage storag public String handleTodoCommand(String userCommand, TaskList tasks, Storage storage) { Task newTask = Parser.parse(userCommand); if (newTask == null) { - return "Please describe what you want to do!"; + return "What you want to do?? \n(format: todo )"; } tasks.addTask(newTask); storage.saveTasks(tasks); @@ -192,7 +204,9 @@ public String handleTodoCommand(String userCommand, TaskList tasks, Storage stor public String handleDeadlineCommand(String userCommand, TaskList tasks, Storage storage) { Task newTask = Parser.parse(userCommand); if (newTask == null) { - return "Please describe your deadline!"; + return "Please describe your deadline! \n" + + "(format: deadline /by