Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Socket Layer Removed. #33

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2589af5
admin panel scoring ui added
ngsankha Oct 1, 2012
1e522a7
updated missing link to general panel from scoring panel
ngsankha Oct 1, 2012
2afef18
Scoring system landed
ngsankha Dec 23, 2012
d424cd4
Updated installation script for scoring system
ngsankha Dec 23, 2012
2d0979b
Merge pull request #14 from sankha93/scoring
ngsankha Dec 23, 2012
4459ea4
Removed extra garbage line
ngsankha Dec 23, 2012
125bff7
Submission of a solution stores a timestamp in the database
ngsankha Dec 23, 2012
46402fb
Judge now uses StringBuilder to concatenate strings. Closes #16.
ngsankha May 5, 2013
5a6cec7
Contests can now be run for a predefined period
swapagarwal Jun 26, 2013
9d47a03
TimeZone changed to UTC
swapagarwal Jun 26, 2013
c7e47cd
Merge pull request #18 from swapagarwal/master
ngsankha Jun 26, 2013
cf6fd38
BugFix
swapagarwal Jun 27, 2013
b987cd0
Filename not required while submitting solution
swapagarwal Jun 27, 2013
da10ae9
Filename changed to 'Solution'
swapagarwal Jun 27, 2013
7c3ede0
Merge pull request #22 from swapagarwal/master
ngsankha Jun 27, 2013
6aabe28
Syntax Highlighter Added
swapagarwal Jun 28, 2013
b412eab
Brackets now close automatically
swapagarwal Jun 28, 2013
7530eb1
Merge pull request #23 from swapagarwal/master
ngsankha Jun 29, 2013
b44c9e0
Performance Enhance in eval.php
Jul 28, 2013
d9e4f61
Performance enhance in Eval.php
devenbhooshan Jul 28, 2013
373ef0a
Merge pull request #30 from devenbhooshan/master
ngsankha Jul 28, 2013
900b84f
Fix date selection UI. Closes #24
ngsankha Jul 28, 2013
1fe1d71
create database config file only if connected to db
devenbhooshan Jul 28, 2013
0a75df5
create database config file only if connected to db
devenbhooshan Jul 28, 2013
5012622
Socket Layer Removed.
devenbhooshan Jul 30, 2013
e2b90a8
Socket Layer Removed.
devenbhooshan Jul 30, 2013
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
Prev Previous commit
Next Next commit
Judge now uses StringBuilder to concatenate strings. Closes #16.
ngsankha committed May 5, 2013
commit 46402fbbf5aa7dff2320c930f113488bcaa62ddd
14 changes: 8 additions & 6 deletions codejudge-compiler/src/codejudge/compiler/RequestThread.java
Original file line number Diff line number Diff line change
@@ -85,31 +85,33 @@ else if(lang.equals("python"))

// method to return the compiler errors
public String compileErrors() {
String line, content = "";
String line = "";
StringBuilder content = new StringBuilder();
try {
BufferedReader fin = new BufferedReader(new InputStreamReader(new FileInputStream(dir.getAbsolutePath() + "/err.txt")));
while((line = fin.readLine()) != null)
content += (line + "\n");
content.append(line + "\n");
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return content.trim();
return content.toString().trim();
}

// method to return the execution output
public String execMsg() {
String line, content = "";
String line = "";
StringBuilder content = new StringBuilder();
try {
BufferedReader fin = new BufferedReader(new InputStreamReader(new FileInputStream(dir.getAbsolutePath() + "/out.txt")));
while((line = fin.readLine()) != null)
content += (line + "\n");
content.append(line + "\n");
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return content.trim();
return content.toString().trim();
}
}