]> mj.ucw.cz Git - eval.git/log
eval.git
15 years agoMerge branch 'layout' layout
Martin Mares [Sat, 28 Mar 2009 13:08:14 +0000 (14:08 +0100)]
Merge branch 'layout'

15 years agoFixed typesetting of logins.
Martin Mares [Thu, 26 Mar 2009 12:59:05 +0000 (13:59 +0100)]
Fixed typesetting of logins.

15 years agoAdjusted configuration of tempfiles to new libucw.
Martin Mares [Wed, 18 Mar 2009 13:56:19 +0000 (14:56 +0100)]
Adjusted configuration of tempfiles to new libucw.

15 years agoUpdated libucw config from upstream.
Martin Mares [Wed, 18 Mar 2009 13:50:22 +0000 (14:50 +0100)]
Updated libucw config from upstream.

15 years agoNeed to switch directory when reading configuration.
Martin Mares [Wed, 18 Mar 2009 13:42:13 +0000 (14:42 +0100)]
Need to switch directory when reading configuration.

The reason is that cf/mop needs to include cf/eval, but it cannot
use absolute paths, because the config file is read both before and
after installation to $MO_ROOT/.

15 years agoDereference links when installing.
Martin Mares [Wed, 18 Mar 2009 13:42:05 +0000 (14:42 +0100)]
Dereference links when installing.

15 years agoFixed a couple of very confusing bugs in the Makefiles.
Martin Mares [Wed, 18 Mar 2009 13:41:51 +0000 (14:41 +0100)]
Fixed a couple of very confusing bugs in the Makefiles.

15 years agoMore updates of MO-P admin scripts.
Martin Mares [Wed, 18 Mar 2009 13:28:05 +0000 (14:28 +0100)]
More updates of MO-P admin scripts.

15 years agoUpdated MO-P admin scripts to new directory layout.
Martin Mares [Wed, 18 Mar 2009 13:17:28 +0000 (14:17 +0100)]
Updated MO-P admin scripts to new directory layout.

15 years agoSubmit: `make certs' is no longer used.
Martin Mares [Wed, 18 Mar 2009 13:16:38 +0000 (14:16 +0100)]
Submit: `make certs' is no longer used.

However, the certificate templates should be installed to lib/.

15 years agoUpdated create-certs to the new directory layout.
Martin Mares [Wed, 18 Mar 2009 13:16:25 +0000 (14:16 +0100)]
Updated create-certs to the new directory layout.

15 years agoInclude the right libucw config.
Martin Mares [Wed, 18 Mar 2009 13:15:40 +0000 (14:15 +0100)]
Include the right libucw config.

15 years agoUpdated tests after the recent change of judges' messages to stderr.
Martin Mares [Mon, 16 Mar 2009 22:48:39 +0000 (23:48 +0100)]
Updated tests after the recent change of judges' messages to stderr.

15 years agoDisable building of libucw utilities.
Martin Mares [Mon, 16 Mar 2009 22:45:35 +0000 (23:45 +0100)]
Disable building of libucw utilities.

15 years agoAdapted to reflect changes in libucw.
Martin Mares [Mon, 16 Mar 2009 22:43:56 +0000 (23:43 +0100)]
Adapted to reflect changes in libucw.

15 years agoUpdated libucw to current version (Sherlock commit 17f29eb1ab186e9f053299c25f47ce368e...
Martin Mares [Mon, 16 Mar 2009 22:42:52 +0000 (23:42 +0100)]
Updated libucw to current version (Sherlock commit 17f29eb1ab186e9f053299c25f47ce368ee7e1de)

15 years agoDefault Pascal flags no longer enable range and stack checking.
Martin Mares [Sun, 15 Mar 2009 12:31:14 +0000 (13:31 +0100)]
Default Pascal flags no longer enable range and stack checking.

15 years agoThe judge reports errors in a more useful way
Martin Mares [Sat, 14 Mar 2009 22:58:00 +0000 (23:58 +0100)]
The judge reports errors in a more useful way

They are reported to stderr as two lines: one is the location of the error,
another contains the error message. This is parsed by the evaluator and the
second line is displayed on the screen, while both are logged.

15 years agoThe judge IO streams remember the basename of the file instead of its full name
Martin Mares [Sat, 14 Mar 2009 22:57:02 +0000 (23:57 +0100)]
The judge IO streams remember the basename of the file instead of its full name

15 years agoCompile the judge support functions as a separate library.
Martin Mares [Sat, 14 Mar 2009 22:35:12 +0000 (23:35 +0100)]
Compile the judge support functions as a separate library.

15 years agoJudge: Added function get_nl() for checking of an expected end of line.
Martin Mares [Sat, 14 Mar 2009 22:34:57 +0000 (23:34 +0100)]
Judge: Added function get_nl() for checking of an expected end of line.

15 years agoMore makefile fixes.
Martin Mares [Sat, 14 Mar 2009 17:56:24 +0000 (18:56 +0100)]
More makefile fixes.

15 years agoFix makefiles for compilation in a different directory.
Martin Mares [Sat, 14 Mar 2009 17:55:19 +0000 (18:55 +0100)]
Fix makefiles for compilation in a different directory.

15 years agoHandle exit code translation failures gracefully.
Martin Mares [Sun, 2 Nov 2008 20:12:43 +0000 (21:12 +0100)]
Handle exit code translation failures gracefully.

Apparantly, "X=`false`" fails with a non-zero exit code
(and the script stops), even though "echo `false`" doesn't.

15 years agoAvoid Perl when printing signal names.
Martin Mares [Sat, 13 Sep 2008 13:08:18 +0000 (15:08 +0200)]
Avoid Perl when printing signal names.

Use `kill -l $SIG` as suggested by Lukas Turek.

This was the only Perl dependency in the whole libeval.

15 years agoUpdated TODO.
Martin Mares [Sun, 24 Aug 2008 22:09:47 +0000 (00:09 +0200)]
Updated TODO.

15 years agoSample memory usage only on selected syscalls.
Martin Mares [Sun, 24 Aug 2008 22:09:32 +0000 (00:09 +0200)]
Sample memory usage only on selected syscalls.

15 years agoDetect breakpoint instructions, which are reported as syscall #-1.
Martin Mares [Sun, 24 Aug 2008 21:59:24 +0000 (23:59 +0200)]
Detect breakpoint instructions, which are reported as syscall #-1.

15 years agoIntroduced sampling of memory usage.
Martin Mares [Sun, 24 Aug 2008 21:56:44 +0000 (23:56 +0200)]
Introduced sampling of memory usage.

This patch introduces the basic stuff. So far, it samples VmPeak before and after
each syscalls, which will be fixed in subsequent commits.

15 years agoOops, there was a typo in the previous patch.
Martin Mares [Sun, 24 Aug 2008 21:11:55 +0000 (23:11 +0200)]
Oops, there was a typo in the previous patch.

15 years agoThe mmap2() syscall is available even in the strict mode.
Martin Mares [Sun, 24 Aug 2008 21:08:40 +0000 (23:08 +0200)]
The mmap2() syscall is available even in the strict mode.

There is no reason to handle it differently from mmap().

15 years agoPermit the set_tid_address() syscall.
Martin Mares [Sun, 24 Aug 2008 21:07:28 +0000 (23:07 +0200)]
Permit the set_tid_address() syscall.

It used by glibc 2.3.6 automagically.

15 years agoDocument various error reporting functions.
Martin Mares [Sun, 24 Aug 2008 21:03:34 +0000 (23:03 +0200)]
Document various error reporting functions.

15 years agoThe FIXME was wrong, start_time is available whenever box_pid is.
Martin Mares [Fri, 22 Aug 2008 18:25:01 +0000 (20:25 +0200)]
The FIXME was wrong, start_time is available whenever box_pid is.

15 years agoInternal errors are reported properly.
Martin Mares [Fri, 22 Aug 2008 18:23:49 +0000 (20:23 +0200)]
Internal errors are reported properly.

15 years agoWrite all relevant information to the metafile.
Martin Mares [Fri, 22 Aug 2008 18:20:23 +0000 (20:20 +0200)]
Write all relevant information to the metafile.

15 years agousage() should exit with code 2, too.
Martin Mares [Fri, 22 Aug 2008 18:17:18 +0000 (20:17 +0200)]
usage() should exit with code 2, too.

15 years agoWe do not care about ancient C libraries any more.
Martin Mares [Fri, 22 Aug 2008 17:10:06 +0000 (19:10 +0200)]
We do not care about ancient C libraries any more.

15 years agoDistinguish between die() and err().
Martin Mares [Fri, 22 Aug 2008 17:02:18 +0000 (19:02 +0200)]
Distinguish between die() and err().

die() is used for internal errors only and it exits with status 2,
err() is used for reporting errors of the process inside the box with status 1.

15 years agoChanged formatting of time metas.
Martin Mares [Fri, 22 Aug 2008 16:54:49 +0000 (18:54 +0200)]
Changed formatting of time metas.

15 years agoGather timing statistics on unsuccessful exit, too.
Martin Mares [Fri, 22 Aug 2008 16:50:08 +0000 (18:50 +0200)]
Gather timing statistics on unsuccessful exit, too.

15 years agoAdded basic support for writing meta-files.
Martin Mares [Fri, 22 Aug 2008 15:55:50 +0000 (17:55 +0200)]
Added basic support for writing meta-files.

Original patch by TomGav, cleaned up by me.

15 years agoUse new Configure module to configure crypto libs.
Martin Mares [Sat, 7 Jun 2008 21:17:15 +0000 (23:17 +0200)]
Use new Configure module to configure crypto libs.

15 years agoImported new Configure module from libucw which handles pkg-config.
Martin Mares [Sat, 7 Jun 2008 21:16:54 +0000 (23:16 +0200)]
Imported new Configure module from libucw which handles pkg-config.

16 years agoCONFIG_MOP is now enabled by default.
Martin Mares [Sun, 25 May 2008 21:42:58 +0000 (23:42 +0200)]
CONFIG_MOP is now enabled by default.

16 years agoClean up exit codes of judges.
Martin Mares [Sun, 25 May 2008 21:42:36 +0000 (23:42 +0200)]
Clean up exit codes of judges.

exit(1) always means an error in the judged output,
exit(2) is used whenever an internal error is encountered (missing files etc.).

16 years agoUpdated TODO.
Martin Mares [Sun, 25 May 2008 21:29:07 +0000 (23:29 +0200)]
Updated TODO.

16 years agoRemoved mo-create-packages from the makefile as well.
Martin Mares [Sun, 25 May 2008 21:23:30 +0000 (23:23 +0200)]
Removed mo-create-packages from the makefile as well.

16 years agoCleaned up mop/admin/.
Martin Mares [Sun, 25 May 2008 21:19:04 +0000 (23:19 +0200)]
Cleaned up mop/admin/.

The script still need some updates and thorough testing.

16 years agoRemoved mo-create-packages.
Martin Mares [Sun, 25 May 2008 21:18:47 +0000 (23:18 +0200)]
Removed mo-create-packages.

16 years agoClean up backup, grab and push scripts.
Martin Mares [Sun, 25 May 2008 21:06:23 +0000 (23:06 +0200)]
Clean up backup, grab and push scripts.

16 years agoCleanups in mop/score/.
Martin Mares [Sun, 25 May 2008 20:59:41 +0000 (22:59 +0200)]
Cleanups in mop/score/.

16 years agoCleanups in mop/eval/.
Martin Mares [Sun, 25 May 2008 20:59:33 +0000 (22:59 +0200)]
Cleanups in mop/eval/.

16 years agoCT_UID_MAX is no longer used.
Martin Mares [Sun, 25 May 2008 20:52:38 +0000 (22:52 +0200)]
CT_UID_MAX is no longer used.

16 years agoMove more things to mop.cf and also include userlist.
Martin Mares [Sun, 25 May 2008 20:51:56 +0000 (22:51 +0200)]
Move more things to mop.cf and also include userlist.

The old method of listing users by matching UID's is no longer supported.

16 years agoMO_ROOT belongs to mop.cf.
Martin Mares [Sun, 25 May 2008 20:51:11 +0000 (22:51 +0200)]
MO_ROOT belongs to mop.cf.

16 years agoBuild all mop/ subdirs.
Martin Mares [Sun, 25 May 2008 20:25:13 +0000 (22:25 +0200)]
Build all mop/ subdirs.

16 years agoSplit mop/ to several subdirectories: admin, eval, public and score.
Martin Mares [Sun, 25 May 2008 20:09:09 +0000 (22:09 +0200)]
Split mop/ to several subdirectories: admin, eval, public and score.

This commit involves only file moves and renames.

16 years agomop/print-score is gone.
Martin Mares [Sun, 25 May 2008 20:05:34 +0000 (22:05 +0200)]
mop/print-score is gone.

16 years agomo-merge-tests removed
Martin Mares [Sun, 25 May 2008 20:05:20 +0000 (22:05 +0200)]
mo-merge-tests removed

Merging is already handled by both mo-score and mo-report.

16 years agoLinked mop/ to the build system.
Martin Mares [Sun, 25 May 2008 19:37:41 +0000 (21:37 +0200)]
Linked mop/ to the build system.

CONFIG_MOP is not enabled by default yet.

16 years agoMoved md5crypt from utils/ to mop/
Martin Mares [Sun, 25 May 2008 19:37:15 +0000 (21:37 +0200)]
Moved md5crypt from utils/ to mop/

(The utility is used only by MO-P admin scripts anyway and I want to
avoid utils/ depending on libucw.)

16 years agoAllow `configure OPTIONS' without specifying configuration name.
Martin Mares [Sun, 25 May 2008 17:40:59 +0000 (19:40 +0200)]
Allow `configure OPTIONS' without specifying configuration name.

This involves a little bit of dwimmery -- we assume that the options are
all uppercase and the configuration files do not, but that's hopefully
a fair game.

16 years agoSynchronized with current libucw.
Martin Mares [Sun, 25 May 2008 17:39:47 +0000 (19:39 +0200)]
Synchronized with current libucw.

16 years ago`exceptions' moved to mop/.
Martin Mares [Wed, 21 May 2008 13:16:29 +0000 (15:16 +0200)]
`exceptions' moved to mop/.

16 years agoTomGav's TODO list.
Tomas Gavenciak [Wed, 21 May 2008 13:08:26 +0000 (15:08 +0200)]
TomGav's TODO list.

16 years agoImproved description of IO_TYPE=dir.
Martin Mares [Wed, 21 May 2008 13:07:57 +0000 (15:07 +0200)]
Improved description of IO_TYPE=dir.

16 years agoIntroduced IO_TYPE=dir.
Tomas Gavenciak [Wed, 21 May 2008 13:06:56 +0000 (15:06 +0200)]
Introduced IO_TYPE=dir.

16 years agoIntroduced TEST_EXEC_CMD.
Tomas Gavenciak [Wed, 21 May 2008 13:06:07 +0000 (15:06 +0200)]
Introduced TEST_EXEC_CMD.

16 years agoHDIR should default to `.'.
Martin Mares [Wed, 21 May 2008 13:04:38 +0000 (15:04 +0200)]
HDIR should default to `.'.

16 years agoThe dir-init function updated to use full paths by default.
Tomas Gavenciak [Wed, 21 May 2008 13:04:12 +0000 (15:04 +0200)]
The dir-init function updated to use full paths by default.

16 years agoSensible defaults for EVAL_USER, EVAL_GROUP and TEST_USER.
Tomas Gavenciak [Wed, 21 May 2008 13:03:32 +0000 (15:03 +0200)]
Sensible defaults for EVAL_USER, EVAL_GROUP and TEST_USER.

16 years agoFixed a bug in expansion of variables.
Tomas Gavenciak [Wed, 21 May 2008 13:02:55 +0000 (15:02 +0200)]
Fixed a bug in expansion of variables.

16 years agoPolished configuration scripts.
Martin Mares [Thu, 15 May 2008 10:59:14 +0000 (12:59 +0200)]
Polished configuration scripts.

16 years agoMoved `public' to MO-P stuff, too. I will decide later where to put it.
Martin Mares [Thu, 15 May 2008 10:56:38 +0000 (12:56 +0200)]
Moved `public' to MO-P stuff, too. I will decide later where to put it.

16 years agoThe userlist is also MO-P stuff.
Martin Mares [Thu, 15 May 2008 10:55:54 +0000 (12:55 +0200)]
The userlist is also MO-P stuff.

16 years agoMoved settings specific to MO-P to mop/mop.cf.
Martin Mares [Thu, 15 May 2008 10:55:28 +0000 (12:55 +0200)]
Moved settings specific to MO-P to mop/mop.cf.

This file is not referenced anywhere yet.

16 years agoMoved the main config file to cf/eval.
Martin Mares [Thu, 15 May 2008 10:51:03 +0000 (12:51 +0200)]
Moved the main config file to cf/eval.

16 years agoUpdated TODO.
Martin Mares [Thu, 15 May 2008 10:47:08 +0000 (12:47 +0200)]
Updated TODO.

16 years agoMoved templates to mop/template/.
Martin Mares [Thu, 15 May 2008 10:42:28 +0000 (12:42 +0200)]
Moved templates to mop/template/.

16 years ago`md5crypt' now uses MD5 from libucw.
Martin Mares [Thu, 15 May 2008 10:40:36 +0000 (12:40 +0200)]
`md5crypt' now uses MD5 from libucw.

16 years agoUpdated .gitignore.
Martin Mares [Thu, 15 May 2008 10:38:47 +0000 (12:38 +0200)]
Updated .gitignore.

16 years agoInstall the configuration file of submitd at the right location.
Martin Mares [Thu, 15 May 2008 10:37:16 +0000 (12:37 +0200)]
Install the configuration file of submitd at the right location.

16 years agoAdded configuration file for libucw modules.
Martin Mares [Thu, 15 May 2008 10:35:37 +0000 (12:35 +0200)]
Added configuration file for libucw modules.

16 years agoTeach the build system how to preprocess configs from non-deafult locations.
Martin Mares [Thu, 15 May 2008 10:33:31 +0000 (12:33 +0200)]
Teach the build system how to preprocess configs from non-deafult locations.

16 years agoConnect now calls `msg' instead of `log' as required by the new libucw.
Martin Mares [Thu, 15 May 2008 10:21:19 +0000 (12:21 +0200)]
Connect now calls `msg' instead of `log' as required by the new libucw.

16 years agoIntegrated the submitter to the build system.
Martin Mares [Thu, 15 May 2008 10:21:02 +0000 (12:21 +0200)]
Integrated the submitter to the build system.

16 years agoinstall-certs has been superseded by mo-push-certs.
Martin Mares [Thu, 15 May 2008 10:16:19 +0000 (12:16 +0200)]
install-certs has been superseded by mo-push-certs.

16 years agoFix libsh (I have pruned it too much).
Martin Mares [Thu, 15 May 2008 10:14:34 +0000 (12:14 +0200)]
Fix libsh (I have pruned it too much).

16 years agoMoved timelib to examples/timelib. The misc directory is gone.
Martin Mares [Thu, 15 May 2008 09:58:08 +0000 (11:58 +0200)]
Moved timelib to examples/timelib. The misc directory is gone.

16 years agoJudges now compile and they use build/tester for the tests.
Martin Mares [Thu, 15 May 2008 09:56:25 +0000 (11:56 +0200)]
Judges now compile and they use build/tester for the tests.

16 years agoMoved everything related to MO-P to mop/. This cleans up bin/.
Martin Mares [Thu, 15 May 2008 09:46:14 +0000 (11:46 +0200)]
Moved everything related to MO-P to mop/. This cleans up bin/.

These utilities are however not compiled yet.

16 years agoMoved the evaluator scripts to eval/.
Martin Mares [Thu, 15 May 2008 09:45:24 +0000 (11:45 +0200)]
Moved the evaluator scripts to eval/.

16 years agoThe iwrapper moved to eval/.
Martin Mares [Thu, 15 May 2008 09:39:33 +0000 (11:39 +0200)]
The iwrapper moved to eval/.

16 years agoMoved md5crypt and pedant to utils/ and make them compile again.
Martin Mares [Thu, 15 May 2008 09:38:15 +0000 (11:38 +0200)]
Moved md5crypt and pedant to utils/ and make them compile again.

16 years agoMoved sandbox to box/.
Martin Mares [Thu, 15 May 2008 09:34:46 +0000 (11:34 +0200)]
Moved sandbox to box/.

16 years agoCreated a new Makefile.
Martin Mares [Thu, 15 May 2008 09:28:02 +0000 (11:28 +0200)]
Created a new Makefile.

So far, it does not compile anything, but it initializes the build system.

16 years agoAdded libucw documentation regarding configuration to doc/ucw/.
Martin Mares [Thu, 15 May 2008 09:25:33 +0000 (11:25 +0200)]
Added libucw documentation regarding configuration to doc/ucw/.

16 years agoAdded a trivial configure script.
Martin Mares [Thu, 15 May 2008 09:24:10 +0000 (11:24 +0200)]
Added a trivial configure script.

16 years agoAdded parts of libsh from Sherlock v3.12.2.
Martin Mares [Thu, 15 May 2008 09:22:52 +0000 (11:22 +0200)]
Added parts of libsh from Sherlock v3.12.2.

Only the modules related to configuration and Sherlock objects
have been retained. (This is probably a short-time solution only,
I intend to replace all uses of Sherlock objects.)