Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
65f72a8
Add support for Gradle workflow
j-lum Aug 6, 2019
0112efe
Add sample checkstyle configuration
j-lum Aug 12, 2019
cfd6da7
Change file mode on `gradle` to be executable
j-lum Aug 18, 2019
6e6ace1
Merge pull request #12 from j-lum/gradle+x
j-lum Aug 18, 2019
a3ca5a4
Add configuration for console applications
j-lum Aug 20, 2019
7b60e81
Merge pull request #13 from j-lum/javaexec
j-lum Aug 21, 2019
f26d506
Merge branch 'gradle'
Aug 27, 2019
721456d
Restructured project package to match seedu.duke
Aug 27, 2019
4b0e11d
Revert "Restructured project package to match seedu.duke"
Aug 27, 2019
927003f
Restructured project package to match seedu.duke
Aug 27, 2019
ba90bb3
Added Text UI Test script
Aug 27, 2019
d90d445
Correct directory structure for main.
Aug 29, 2019
f266333
Added Greeting
Aug 29, 2019
ab09b93
Implemented "Add to list" feature
Aug 29, 2019
9aeab16
Revert "Implemented "Add to list" feature"
Aug 29, 2019
122ef5a
Implemented "Add to list" feature
Aug 29, 2019
1cd0b74
Replaced Horizontal Line printing with Method printLine()
Aug 29, 2019
da82080
Resolve Conflicts
Aug 29, 2019
eabde14
Added Enums for Commands to easily identify.
Aug 29, 2019
b6374a5
Added error handling for parsing of command input
Aug 30, 2019
2af728d
Added Abstraction for Tasks - Event, Todo & Deadline
Aug 30, 2019
565e91b
Added Commands to support 3 new trackables
Aug 30, 2019
e843efa
Resolved CheckStyle Issues
Sep 2, 2019
565e66e
Delete feature added
Sep 2, 2019
84c5441
Resolve Formatting issue for PR Comment
Sep 3, 2019
bb2df00
Travis CI Configuration
Sep 12, 2019
37dddf2
Corrected Travis Script
Sep 12, 2019
e9405ca
Added Save/Load Feature
Sep 12, 2019
5963c68
Added support for Date (Event and Deadline type tasks)
Sep 12, 2019
eb6f476
Merge branch 'branch-Level-8'
Sep 12, 2019
f81ab80
Resolved Regression due to Level-7/Level-8 Merge and missed Merge Con…
Sep 12, 2019
525b6b8
Abstracted out Parsing into Parser.java from Duke.java
Sep 16, 2019
9c7bebb
Resolved Regressions from Abstracting UI
Sep 16, 2019
ae8268c
Resolved regression caused by abstracting List<Task> to TaskList.java.
Sep 16, 2019
77a384d
Added JUnit Testing for DeleteCommand, DoneCommand and Parser
Sep 16, 2019
da3854e
Implemented Find functionality
Sep 18, 2019
d82b284
Revert "Implemented Find functionality"
Sep 18, 2019
aa20df6
Implemented Find functionality
Sep 18, 2019
cf56d68
Added Complete JavaDoc.
Sep 18, 2019
d92462d
Updated codebase to match Java Coding Standards.
Sep 18, 2019
f6dca9a
Merge branch 'branch-JavaDoc'
Sep 18, 2019
b8e2b87
Merge branch 'branch-CodingStandard'
Sep 18, 2019
2c1f4cd
Corrected the 0-Index issue with delete and done command.
Sep 18, 2019
f38016b
Fixed a Dead format issue and reversed the 0-index correction from th…
Sep 18, 2019
a4b785f
Added JavaFX Support
Sep 19, 2019
a35f3ad
Updated Commands to return the response as a String.
Sep 19, 2019
9989611
Resolved clipping issue with DialogBox.
Sep 19, 2019
f00a2c3
Added Assertions (#6)
muhammadaljunied Sep 21, 2019
3f199be
Updated codebase to match Code Quality.
Sep 21, 2019
43986b8
Updated Photos
Sep 22, 2019
f7e9957
Added Ui Screenshot
Sep 22, 2019
49a883c
Updated build for Cross Platform support.
Sep 22, 2019
73d5a54
Incremented Build
Sep 22, 2019
6d68dcd
Updated README.md
Sep 22, 2019
d56b7f4
update README.MD
Sep 22, 2019
fc3ad4e
Set theme jekyll-theme-cayman
muhammadaljunied Sep 22, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin/main" path="src/main/java">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/test" path="src/test/java">
<attributes>
<attribute name="gradle_scope" value="test"/>
<attribute name="gradle_used_by_scope" value="test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
23 changes: 23 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>duke</name>
<comment>Project duke created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: java

matrix:
include:
- jdk: openjdk11
45 changes: 13 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,19 @@

**Prerequisites**

* JDK 11
* Recommended: IntelliJ IDE
* Fork this repo to your GitHub account and clone the fork to your computer

**Importing the project into IntelliJ**

1. Open IntelliJ (if you are not in the welcome screen, click `File` > `Close Project` to close the existing project dialog first).
1. Set up the correct JDK version.
* Click `Configure` > `Structure for new Projects` (in older versions of Intellij:`Configure` > `Project Defaults` > `Project Structure`).
* If JDK 11 is listed in the drop down, select it. If it is not, click `New...` and select the directory where you installed JDK 11.
* Click `OK`.
1. Click `Import Project`.
1. Locate the project directory and click `OK`.
1. Select `Create project from existing sources` and click `Next`.
1. Rename the project if you want. Click `Next`.
1. Ensure that your src folder is checked. Keep clicking `Next`.
1. Click `Finish`.

# Tutorials

Duke Increment | Tutorial
---------------|---------------
`A-Gradle` | [Gradle Tutorial](tutorials/gradleTutorial.md)
`A-TextUiTesting` | [Text UI Testing Tutorial](tutorials/textUiTestingTutorial.md)
`Level-10` | JavaFX tutorials:<br>→ [Part 1: Introduction to JavaFX][fx1]<br>→ [Part 2: Creating a GUI for Duke][fx2]<br>→ [Part 3: Interacting with the user][fx3]<br>→ [Part 4: Introduction to FXML][fx4]

[fx1]: <tutorials/javaFxTutorialPart1.md>
[fx2]: <tutorials/javaFxTutorialPart2.md>
[fx3]: <tutorials/javaFxTutorialPart3.md>
[fx4]: <tutorials/javaFxTutorialPart4.md>
* Duke was built using JDK 11, thus the JRE that comes together with JDK 11 needs to be set as the default JVM when running the JAR. You will need to install the JDK 11 for your Respective operating system from here :
[Download JDK 11](https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html)
* Duke runs on Windows, MacOS and Linux.

#Duke UI

<img src="/docs/Ui.png" width="800px">


# User Guide

Please refer to the [User Guide](docs/README.md) on how to get started!

# Feedback, Bug Reports

* If you have feedback or bug reports, please post in [se-edu/duke issue tracker](https://github.com/se-edu/duke/issues).
* We welcome pull requests too.
* If you have feedback or bug reports, please post in [muhammadaljunied/duke issue tracker](https://github.com/muhammadaljunied/duke/issues)
57 changes: 57 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'

}

checkstyle {
toolVersion = '8.23'
}

shadowJar {
archiveBaseName = "duke"
archiveVersion = "0.2.0"
archiveClassifier = null
archiveAppendix = null
}

dependencies {

// XPlatform Suggestion from https://github.com/Oscar-B-Liang/duke/pull/6/files
String javaFxVersion = '11'
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'
testImplementation 'org.junit.jupiter:junit-jupiter:5.5.0'
}

test {
useJUnitPlatform()
}

group 'seedu.duke'
version '0.2.0'

repositories {
mavenCentral()
}

application {
// Change this to your main class.
mainClassName = "seedu.duke.Launcher"
}

run {
standardInput = System.in
}
Loading