Commit Graph

544 Commits

Author SHA1 Message Date
Pasi Kallinen e80d1c338b Remove the watcher if user kills the terminal while watching.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@556 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-06 16:01:08 +00:00
Pasi Kallinen f11bf73dd8 Closing the terminal while watching a game did not update the # of watchers.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@555 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 17:13:18 +00:00
Pasi Kallinen 6581664456 Remove support for uuencoded ttyrec output.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@554 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 13:59:57 +00:00
Pasi Kallinen ce1dd29060 Output some identifying info to the first frame of the ttyrec.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@553 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 13:37:40 +00:00
Pasi Kallinen 54c7cc29e5 Clear screen after ttyrec playback, but before enabling curses.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@552 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 11:37:59 +00:00
Pasi Kallinen 91f5cc7b07 Shouldn't exit out of dgl while watching ttyrecs.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@551 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 11:32:37 +00:00
Pasi Kallinen 80baf8a856 Adjust the watching-menu Size-column slightly.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@550 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-04 14:54:07 +00:00
Pasi Kallinen 124161588a Move watching-menu column info into struct.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@549 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-03 19:15:09 +00:00
Pasi Kallinen 082c777fe8 Add $INCLUDE(filename) menu banner command.
That text in any line of a menu banner file will cause
the file 'filename' to be included in that place.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@548 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-03 17:54:13 +00:00
Pasi Kallinen 431ef1e791 Don't put the info lines too low on the page in the watching menu.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@547 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-03 16:27:42 +00:00
Pasi Kallinen b0da5fedd1 Restore the old watching-menu paging. This time for reals.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@546 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-03 16:17:28 +00:00
Pasi Kallinen 879d6956e4 Changelog update
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@544 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 17:12:43 +00:00
Pasi Kallinen dc40fe10a1 Sort also by idle time when sorting by watchers.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@543 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 16:16:13 +00:00
Pasi Kallinen cb781bc3d6 Watchers fix. Memory alignment on 64bit systems?
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@542 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 08:34:19 +00:00
Pasi Kallinen ffc63ae838 Use longs in shmem structs (Might prevent alignment problems)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@541 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 08:15:01 +00:00
Pasi Kallinen afa0b07631 Increment/decrement the games[] nwatchers too.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@540 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 07:28:46 +00:00
Pasi Kallinen 3610e6c436 Reverse the watchers column sort order.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@539 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-01 19:02:10 +00:00
Pasi Kallinen 0ad8f2cead Fix idletime display.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@538 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-01 15:30:04 +00:00
Pasi Kallinen a0a9bb8cdc Check if chdir-command failed.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@537 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-01 15:01:03 +00:00
Pasi Kallinen 113fc564ef Show the number of people watching each game in the watching-menu.
Also allow sorting by # of watchers.   
Requires dgamelaunch to be compiled with --enable-shmem


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@536 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-01 14:41:54 +00:00
Pasi Kallinen 6245e81b59 Restore the exact paging in watching-menu.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@535 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-04-29 16:30:59 +00:00
Pasi Kallinen 4caec176f1 chroot creation script should handle statically linked binaries.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@534 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-13 19:08:31 +00:00
Pasi Kallinen 13c2d4ec3f Update TODO
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@533 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-13 18:33:34 +00:00
Pasi Kallinen e677422418 Test commit from joshk
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@532 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-12 22:07:08 +00:00
Pasi Kallinen ef7d6eb846 Define menu_max_idle_time option to kill dgl when the user idles too long. From Darshan Shaligram
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@531 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 18:32:57 +00:00
Pasi Kallinen 9934d365bd Allow dgamelaunch to kill processes that are idle for too long with SIGHUP. From Darshan Shaligram
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@530 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 18:02:51 +00:00
Pasi Kallinen 6adfa1dca6 Accept spectate commands when doing catchup-playback for ttyrecs. From Darshan Shaligram
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@529 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 17:42:24 +00:00
Pasi Kallinen 2c35a5ceee typedef sighandler_t to fix compile on Mac. From Darshan Shaligram
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@528 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 17:19:43 +00:00
Pasi Kallinen 5c7b28686d Experimental fix for huge ttyrecs making dgl hit ulimit. From Darshan Shaligram
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@527 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-02-28 11:35:30 +00:00
Pasi Kallinen 445e54f8f8 Change max. length of mail message from magic number to a define.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@526 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-02-25 17:02:32 +00:00
Pasi Kallinen 298178b49f Allow access to help menu '?' while watching a game. From Marc H. Thoben
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@525 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-02-25 16:55:07 +00:00
Pasi Kallinen cd69271684 Add short game name (%s) for string substitutions. From Marc H. Thoben
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@524 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-02-25 16:52:25 +00:00
Pasi Kallinen 11eef77614 Allow setting resource limits on core dump size and memory usage. Idea and some code from crawl.develz.org dgl.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@523 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-02-25 16:40:55 +00:00
Pasi Kallinen 43f2b685c7 Update TODO
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@522 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-01-09 11:24:56 +00:00
Pasi Kallinen 64c9bf043f Fix a segfault when selecting a non-existent game entry to watch. Found by blackpenguin.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@521 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-12-23 18:04:26 +00:00
Pasi Kallinen 4b8e110006 Move the cursor after writing the banner only if cursor coords were explicitly defined.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@520 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-12-01 21:55:48 +00:00
Pasi Kallinen 4a258cc775 Close the file after checking it exists.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@519 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-12-01 21:53:28 +00:00
Pasi Kallinen 41c0322ad9 Change max. length of passwords from magic number to a define.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@518 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-28 17:53:00 +00:00
Pasi Kallinen de5177592c When term is resized when watching, should replay from the last screen clear.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@517 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-27 21:12:05 +00:00
Pasi Kallinen 9bed813458 Change max. length of player name from magic number to a define.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@516 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-27 18:41:35 +00:00
Pasi Kallinen 160ddf3b5b Remove unused variable. Update TODO.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@515 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-27 18:05:36 +00:00
Pasi Kallinen 482382c585 Make configure accept both lex _and_ flex.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@514 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-23 07:16:29 +00:00
Pasi Kallinen 2d92746975 Abort configure if lex or flex cannot be found.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@513 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 15:03:56 +00:00
Pasi Kallinen 0d2f412ae6 Abort configure if we cannot find bison/byacc/yacc.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@512 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 14:59:37 +00:00
Pasi Kallinen ada8b7d674 Abort configure if we cannot find [n]curses devel libs.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@511 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 14:49:46 +00:00
Pasi Kallinen 4a76ab5733 Remove the "unsorted" watch-menu sort method, and make "username" the default.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@510 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 09:06:44 +00:00
Pasi Kallinen 65eb9a89bc Prep for 1.5.1
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@509 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-20 15:51:29 +00:00
Pasi Kallinen add9a7fa49 Allow ',' in the watching menu to sort by the previous column.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@508 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 20:45:27 +00:00
Pasi Kallinen ae11d81827 Allow sorting by all of the fields in the watching-menu.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@507 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 19:29:47 +00:00
Pasi Kallinen 91675def98 Don't clear the menu screen if the keypress wasn't recognized.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@505 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 15:17:28 +00:00