From: Roland Häder Date: Wed, 2 Dec 2009 20:10:23 +0000 (+0000) Subject: Global fix/add/update: X-Git-Url: https://git.mxchange.org/?p=hub.git;a=commitdiff_plain;h=38f4f44ce9a67054283d7be05777e629144a50db Global fix/add/update: - index.php updated in all projects from ship-simu - Missing todo-builder.sh added - TODOs.txt updated in all projects - Missing svn:executable added --- diff --git a/docs/TODOs.txt b/docs/TODOs.txt index 57553e46d..87a2bf96b 100644 --- a/docs/TODOs.txt +++ b/docs/TODOs.txt @@ -1,17 +1,19 @@ ### WARNING: THIS FILE IS AUTO-GENERATED BY ./todo-builder.sh ### ### DO NOT EDIT THIS FILE. ### ./application/hub/interfaces/nodes/class_NodeHelper.php:10: * @todo We need to find a better name for this interface -./application/hub/main/commands/console/class_HubConsoleMainCommand.php:104: * @todo Should we add some more filters? +./application/hub/main/commands/console/class_HubConsoleMainCommand.php:107: * @todo Should we add some more filters? ./application/hub/main/connectors/query/local/class_LocalQueryConnector.php:10: * @todo Find an interface for: handleAllQueries() +./application/hub/main/filter/activation/class_HubActivationSelfAnnouncementFilter.php:54: * @todo 0% done ./application/hub/main/filter/node/class_NodeInitializationFilter.php:54: * @todo 0% done ./application/hub/main/filter/node/class_NodeInitializationFilter.php:87: // @TODO Can we rewrite this to app_die() ? +./application/hub/main/filter/node/class_NodePhpRequirementsFilter.php:54: * @todo 0% done ./application/hub/main/filter/shutdown/class_HubShutdownDeinitQueuesFilter.php:55: * @todo 0% done ./application/hub/main/filter/shutdown/class_HubShutdownFlushNodeListFilter.php:55: * @todo 0% done ./application/hub/main/filter/shutdown/class_HubShutdownListenerPoolFilter.php:55: * @todo 0% done ./application/hub/main/filter/task/class_TaskHandlerInitializerFilter.php:55: * @todo 0% done ./application/hub/main/handler/network/tcp/class_TcpNetworkPackageHandler.php:61: * @todo 0% ./application/hub/main/handler/network/udp/class_UdpNetworkPackageHandler.php:55: * @todo 0% -./application/hub/main/handler/tasks/class_TaskHandler.php:140: // @TODO Messurement can be added around this call +./application/hub/main/handler/tasks/class_TaskHandler.php:143: // @TODO Messurement can be added around this call ./application/hub/main/iterator/network/class_NetworkListenIterator.php:10: * @todo This current implementation is not recommended, use a ./application/hub/main/iterator/network/class_NetworkListenIterator.php:11: * @todo latency-based iteration or similar approaches ./application/hub/main/iterator/pool/handler/class_HandlerPoolIterator.php:10: * @todo This current implementation is not recommended, use a @@ -23,23 +25,23 @@ ./application/hub/main/listener/udp/class_UdpListener.php:62: * @todo Please rewrite it to socket_create() and its brothers. ./application/hub/main/listener/udp/class_UdpListener.php:85: * @todo 0% done ./application/hub/main/lists/class_BaseList.php:236: // @TODO Extend this somehow? -./application/hub/main/nodes/boot/class_HubBootNode.php:113: * @todo 0% +./application/hub/main/nodes/boot/class_HubBootNode.php:119: // @TODO Add some filters here ./application/hub/main/nodes/boot/class_HubBootNode.php:58: * @todo add some more special bootstrap things for this boot node ./application/hub/main/nodes/boot/class_HubBootNode.php:99: * @todo Unfinished method -./application/hub/main/nodes/class_BaseHubNode.php:324: * @todo This should be implemented in a generic way to keep things easy. -./application/hub/main/nodes/class_BaseHubNode.php:358: * @todo Try to make this method more generic so we can move it in BaseFrameworkSystem -./application/hub/main/nodes/class_BaseHubNode.php:510: // @TODO Add some criteria, e.g. if the node is active or so +./application/hub/main/nodes/class_BaseHubNode.php:356: * @todo Try to make this method more generic so we can move it in BaseFrameworkSystem +./application/hub/main/nodes/class_BaseHubNode.php:529: // @TODO Add some criteria, e.g. if the node is active or so ./application/hub/main/nodes/list/class_HubListNode.php:58: * @todo Implement more bootstrap steps -./application/hub/main/nodes/list/class_HubListNode.php:75: * @todo Unfinished method -./application/hub/main/nodes/list/class_HubListNode.php:89: * @todo 0% +./application/hub/main/nodes/list/class_HubListNode.php:68: * @todo Unfinished method +./application/hub/main/nodes/list/class_HubListNode.php:91: // @TODO Add some filters here ./application/hub/main/nodes/master/class_HubMasterNode.php:58: * @todo Implement this method -./application/hub/main/nodes/master/class_HubMasterNode.php:75: * @todo Unfinished method -./application/hub/main/nodes/master/class_HubMasterNode.php:89: * @todo 0% +./application/hub/main/nodes/master/class_HubMasterNode.php:68: * @todo Unfinished method +./application/hub/main/nodes/master/class_HubMasterNode.php:91: // @TODO Add some filters here ./application/hub/main/nodes/regular/class_HubRegularNode.php:58: * @todo Implement this method -./application/hub/main/nodes/regular/class_HubRegularNode.php:75: * @todo Unfinished method -./application/hub/main/nodes/regular/class_HubRegularNode.php:89: * @todo 0% +./application/hub/main/nodes/regular/class_HubRegularNode.php:68: * @todo Unfinished method +./application/hub/main/nodes/regular/class_HubRegularNode.php:91: // @TODO Add some filters here ./application/hub/main/resolver/state/network/class_NetworkStateResolver.php:69: * @todo 0% ./application/hub/main/resolver/state/network/class_NetworkStateResolver.php:78: // @TODO On some systems it is 134, on some 107? +./application/hub/main/tasks/hub/announcement/class_HubSelfAnnouncementTask.php:53: * @todo 0% ./application/hub/main/tasks/hub/class_HubSelfConnectTask.php:53: * @todo 0% ./application/hub/main/tasks/hub/ping/class_HubPingTask.php:63: * @todo 0% ./application/hub/main/tasks/hub/update/class_HubUpdateCheckTask.php:53: * @todo 0% diff --git a/index.php b/index.php index f2e1c4c49..979aa45f3 100644 --- a/index.php +++ b/index.php @@ -62,13 +62,13 @@ final class ApplicationEntryPoint { */ public static function app_die ($message = '', $code = false, $extraData = '', $silentMode = false) { // Is this method already called? - if (defined('EMERGENCY_EXIT_CALLED')) { + if (isset($GLOBALS['app_die_called'])) { // Then output the text directly die($message); } // END - if // This method shall not be called twice - define('EMERGENCY_EXIT_CALLED', true); + $GLOBALS['app_die_called'] = true; // Is a message set? if (empty($message)) {