Index: typo3/mod/tools/em/class.nusoap.php =================================================================== --- typo3/mod/tools/em/class.nusoap.php (revision 6300) +++ typo3/mod/tools/em/class.nusoap.php (working copy) @@ -188,7 +188,7 @@ * * @var array * @access public - * @deprecated + * @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5. * @see expandEntities */ var $xmlEntities = array('quot' => '"','amp' => '&', @@ -654,9 +654,11 @@ * @param string $str The string to format * @return string The formatted string * @access public - * @deprecated + * @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5 */ function formatDump($str){ + t3lib_div::logDeprecatedFunction(); + $str = htmlspecialchars($str); return nl2br($str); } @@ -886,10 +888,12 @@ * * @param string $usec the number of microseconds to sleep * @access public -* @deprecated +* @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5. */ function usleepWindows($usec) { + t3lib_div::logDeprecatedFunction(); + $start = gettimeofday(); do @@ -1607,9 +1611,11 @@ * @param string $ns, namespace of type * @return mixed * @access public - * @deprecated + * @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5. */ function getPHPType($type,$ns){ + t3lib_div::logDeprecatedFunction(); + if(isset($this->typemap[$ns][$type])){ //print "found type '$type' and ns $ns in typemap
"; return $this->typemap[$ns][$type]; @@ -1709,9 +1715,11 @@ * @param string $type, name of type * @return mixed * @access public - * @deprecated + * @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5. */ function serializeTypeDef($type){ + t3lib_div::logDeprecatedFunction(); + //print "in sTD() for type $type
"; if($typeDef = $this->getTypeDef($type)){ $str .= '<'.$type; @@ -1745,9 +1753,11 @@ * @param string $type, name of type * @return string * @access public - * @deprecated + * @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5. */ function typeToForm($name,$type){ + t3lib_div::logDeprecatedFunction(); + // get typedef if($typeDef = $this->getTypeDef($type)){ // if struct @@ -2402,9 +2412,11 @@ * @param string $lb * @returns string * @access public - * @deprecated + * @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5. */ function decodeChunked($buffer, $lb){ + t3lib_div::logDeprecatedFunction(); + // length := 0 $length = 0; $new = ''; @@ -4039,10 +4051,12 @@ * @param mixed $ param value * @return mixed new param or false if initial value didn't validate * @access public - * @deprecated + * @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5. */ function serializeParameters($operation, $direction, $parameters) { + t3lib_div::logDeprecatedFunction(); + $this->debug("in serializeParameters: operation=$operation, direction=$direction, XMLSchemaVersion=$this->XMLSchemaVersion"); $this->appendDebug('parameters=' . $this->varDump($parameters)); @@ -5891,9 +5905,11 @@ * * @return boolean * @access public - * @deprecated + * @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5. */ function getDefaultRpcParams() { + t3lib_div::logDeprecatedFunction(); + return $this->defaultRpcParams; } @@ -5906,9 +5922,11 @@ * * @param boolean $rpcParams * @access public - * @deprecated + * @deprecated since at least TYPO3 4.3, will be removed in TYPO3 4.5. */ function setDefaultRpcParams($rpcParams) { + t3lib_div::logDeprecatedFunction(); + $this->defaultRpcParams = $rpcParams; } Index: typo3/sysext/indexed_search/class.indexer.php =================================================================== --- typo3/sysext/indexed_search/class.indexer.php (revision 6300) +++ typo3/sysext/indexed_search/class.indexer.php (working copy) @@ -1196,9 +1196,11 @@ * * @param array Array of content to index, see splitHTMLContent() and splitRegularContent() * @return array Content input array modified so each key is not a unique array of words - * @deprecated since TYPO3 4.0 + * @deprecated since TYPO3 4.0, this function will be removed in TYPO3 4.5. */ function procesWordsInArrays($contentArr) { + t3lib_div::logDeprecatedFunction(); + return $this->processWordsInArrays($contentArr); } @@ -1995,9 +1997,11 @@ * * @param array Array of GET parameters to encode * @return void - * @deprecated since TYPO3 4.3 - use directly t3lib_div::calculateCHash() + * @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, use directly t3lib_div::calculateCHash() */ function makeCHash($paramArray) { + t3lib_div::logDeprecatedFunction(); + $addQueryParams = t3lib_div::implodeArrayForUrl('', $paramArray); $pA = t3lib_div::cHashParams($addQueryParams); @@ -2073,9 +2077,11 @@ * @param array Parameters from frontend * @param object TSFE object (reference under PHP5) * @return void - * @deprecated since TYPO3 4.3 - the method was extracted to hooks/class.tx_indexedsearch_tslib_fe_hook.php + * @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, the method was extracted to hooks/class.tx_indexedsearch_tslib_fe_hook.php */ function fe_headerNoCache(&$params, $ref) { + t3lib_div::logDeprecatedFunction(); + require_once t3lib_extMgm::extPath('indexed_search') . 'hooks/class.tx_indexedsearch_tslib_fe_hook.php'; t3lib_div::makeInstance('tx_indexedsearch_tslib_fe_hook')->headerNoCache($params, $ref); } Index: t3lib/class.t3lib_tceforms.php =================================================================== --- t3lib/class.t3lib_tceforms.php (revision 6300) +++ t3lib/class.t3lib_tceforms.php (working copy) @@ -4117,9 +4117,11 @@ * @param string The string which - if empty - will become the no-title string. * @param array Array with wrappin parts for the no-title output (in keys [0]/[1]) * @return string - * @deprecated since TYPO3 4.1 + * @deprecated since TYPO3 4.1, this function will be removed in TYPO3 4.5. */ function noTitle($str,$wrapParts=array()) { + t3lib_div::logDeprecatedFunction(); + return strcmp($str,'') ? $str : $wrapParts[0].'['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title').']'.$wrapParts[1]; } Index: t3lib/class.t3lib_timetrack.php =================================================================== --- t3lib/class.t3lib_timetrack.php (revision 6300) +++ t3lib/class.t3lib_timetrack.php (working copy) @@ -257,9 +257,11 @@ * Returns the current time in milliseconds * * @return integer - * @deprecated since TYPO3 4.3 - use getDifferenceToStarttime() instead + * @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, use getDifferenceToStarttime() instead */ protected function mtime() { + t3lib_div::logDeprecatedFunction(); + return $this->getDifferenceToStarttime(); } @@ -268,7 +270,7 @@ * * @param string PHP microtime string * @return integer - * @deprecated since TYPO3 4.3 - use getMilliseconds() instead that expects microtime as float instead of a string + * @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, use getMilliseconds() instead that expects microtime as float instead of a string */ public function convertMicrotime($microtime) { t3lib_div::logDeprecatedFunction(); Index: t3lib/class.t3lib_tstemplate.php =================================================================== --- t3lib/class.t3lib_tstemplate.php (revision 6300) +++ t3lib/class.t3lib_tstemplate.php (working copy) @@ -1258,10 +1258,12 @@ * @param string Property name in the menu array * @param array Menu array to traverse * @return array Modified menu array - * @deprecated since TYPO3 3.6 + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5. * @internal */ function checkFile($name,$menuArr) { + t3lib_div::logDeprecatedFunction(); + reset ($menuArr); while (list($aKey,)=each($menuArr)) { $menuArr[$aKey][$name] = $this->getFileName($menuArr[$aKey][$name]); Index: t3lib/class.t3lib_userauth.php =================================================================== --- t3lib/class.t3lib_userauth.php (revision 6300) +++ t3lib/class.t3lib_userauth.php (working copy) @@ -1215,11 +1215,13 @@ * Redirect to somewhere (obsolete). * * @return void - * @deprecated since TYPO3 3.6 + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5. * @obsolete * @ignore */ function redirect() { + t3lib_div::logDeprecatedFunction(); + if (!$this->userid && $this->auth_url) { // if no userid AND an include-document for login is given include ($this->auth_include); exit; Index: typo3/sysext/cms/tslib/class.tslib_adminpanel.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_adminpanel.php (revision 6300) +++ typo3/sysext/cms/tslib/class.tslib_adminpanel.php (working copy) @@ -166,6 +166,7 @@ // Hook for post processing the frontend admin configuration. Added with TYPO3 4.2, so naming is now incorrect but preserves compatibility. // @deprecated since TYPO3 4.3 if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extSaveFeAdminConfig-postProc'])) { + t3lib_div::deprecationLog('Frontend admin post processing hook extSaveFeAdminConfig-postProc is deprecated since TYPO3 4.3.'); $_params = array('input' => &$input, 'pObj' => &$this); foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extSaveFeAdminConfig-postProc'] as $_funcRef) { t3lib_div::callUserFunction($_funcRef, $_params, $this); @@ -217,6 +218,7 @@ // Hook for post processing the frontend admin configuration. Added with TYPO3 4.2, so naming is now incorrect but preserves compatibility. // @deprecated since TYPO3 4.3 if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extEditAction-postProc'])) { + t3lib_div::deprecationLog('Frontend admin post processing hook extEditAction-postProc is deprecated since TYPO3 4.3.'); $_params = array('cmd' => &$cmd, 'tce' => &$this->tce, 'pObj' => &$this); foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['extEditAction-postProc'] as $_funcRef) { t3lib_div::callUserFunction($_funcRef, $_params, $this); Index: typo3/sysext/cms/tslib/class.tslib_fe.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_fe.php (revision 6300) +++ typo3/sysext/cms/tslib/class.tslib_fe.php (working copy) @@ -472,9 +472,11 @@ * May exit after outputting an error message or some JavaScript redirecting to the install tool. * * @return void - * @deprecated since TYPO3 3.8 - Use connectToDB() instead! + * @deprecated since TYPO3 3.8, this function will be removed in TYPO3 4.5, use connectToDB() instead! */ function connectToMySQL() { + t3lib_div::logDeprecatedFunction(); + $this->connectToDB(); } @@ -1603,6 +1605,8 @@ * @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly */ function idPartsAnalyze($str) { + t3lib_div::logDeprecatedFunction(); + $GET_VARS = ''; switch(substr($str,0,2)) { case 'B6': @@ -3929,6 +3933,8 @@ * @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly */ function makeSimulFileName($inTitle, $page, $type, $addParams = '', $no_cache = false) { + t3lib_div::logDeprecatedFunction(); + if (t3lib_extMgm::isLoaded('simulatestatic')) { $parameters = array( 'inTitle' => $inTitle, @@ -3956,6 +3962,8 @@ * @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly */ function simulateStaticDocuments_pEnc_onlyP_proc($linkVars) { + t3lib_div::logDeprecatedFunction(); + if (t3lib_extMgm::isLoaded('simulatestatic')) { return t3lib_div::callUserFunction( 'EXT:simulatestatic/class.tx_simulatestatic.php:&tx_simulatestatic->processEncodedQueryString', @@ -3975,6 +3983,8 @@ * @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly */ function getSimulFileName() { + t3lib_div::logDeprecatedFunction(); + return $this->makeSimulFileName( $this->page['title'], ($this->page['alias'] ? $this->page['alias'] : $this->id), @@ -3989,6 +3999,8 @@ * @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly */ function setSimulReplacementChar() { + t3lib_div::logDeprecatedFunction(); + $replacement = $defChar = t3lib_div::compat_version('4.0') ? '-' : '_'; if (isset($this->config['config']['simulateStaticDocuments_replacementChar'])) { $replacement = trim($this->config['config']['simulateStaticDocuments_replacementChar']); @@ -4010,6 +4022,8 @@ * @deprecated since TYPO3, 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly */ function fileNameASCIIPrefix($inTitle,$titleChars,$mergeChar='.') { + t3lib_div::logDeprecatedFunction(); + $out = $this->csConvObj->specCharsToASCII($this->renderCharset, $inTitle); // Get replacement character $replacementChar = $this->config['config']['simulateStaticDocuments_replacementChar']; @@ -4504,7 +4518,7 @@ * Seeds the random number engine. * * @return void - * @deprecated since TYPO3 4.3 - the random number generator is seeded automatically since PHP 4.2.0 + * @deprecated since TYPO3 4.3, this function will be removed in TYPO3 4.5, the random number generator is seeded automatically since PHP 4.2.0 */ function make_seed() { t3lib_div::logDeprecatedFunction(); Index: typo3/sysext/cms/tslib/class.tslib_menu.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_menu.php (revision 6300) +++ typo3/sysext/cms/tslib/class.tslib_menu.php (working copy) @@ -924,10 +924,12 @@ * @param array TypoScript parameters for "special.". In particular the property "file" is reserved and specifies the file to include. Seems like any other property can be used freely by the script. * @param string The sorting field. Can be used from the script in the $incFile. * @return array An array with the menu items - * @deprecated since TYPO3 3.6 - use HMENU of type "userfunction" instead of "userdefined" + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5, use HMENU of type "userfunction" instead of "userdefined" * @access private */ function includeMakeMenu($conf,$altSortField) { + t3lib_div::logDeprecatedFunction(); + $incFile = $GLOBALS['TSFE']->tmpl->getFileName($conf['file']); if ($incFile && $GLOBALS['TSFE']->checkFileInclude($incFile)) { include($incFile); Index: typo3/sysext/cms/tslib/class.tslib_pibase.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_pibase.php (revision 6300) +++ typo3/sysext/cms/tslib/class.tslib_pibase.php (working copy) @@ -784,11 +784,13 @@ * @param string $data: CSS data * @param string If $selector is set to any CSS selector, eg 'P' or 'H1' or 'TABLE' then the style $data will regard those HTML-elements only * @return void - * @deprecated since TYPO3 3.6 - I think this function should not be used (and probably isn't used anywhere). It was a part of a concept which was left behind quite quickly. + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5, I think this function should not be used (and probably isn't used anywhere). It was a part of a concept which was left behind quite quickly. * @obsolete * @private */ function pi_setClassStyle($class,$data,$selector='') { + t3lib_div::logDeprecatedFunction(); + $GLOBALS['TSFE']->setCSS($this->pi_getClassName($class).($selector?' '.$selector:''),'.'.$this->pi_getClassName($class).($selector?' '.$selector:'').' {'.$data.'}'); } @@ -1042,7 +1044,7 @@ * @param boolean If set, the function will return the query not as a string but array with the various parts. * @return mixed The query build. * @access private - * @deprecated since TYPO3 3.6 - Use pi_exec_query() instead! + * @deprecated since TYPO3 3.6, this function will be removed in TYPO3 4.5, use pi_exec_query() instead! */ function pi_list_query($table,$count=0,$addWhere='',$mm_cat='',$groupBy='',$orderBy='',$query='',$returnQueryArray=FALSE) {