diff --git a/ChangeLog b/ChangeLog index b9d031cc3..07a5d0c6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-03-01 Adam Fedor + + * Source/NSBundle.m (+gnustepBundle, + +pathForGNUstepResource:ofType:inDirectory:]): Add depreciated + log message. + * Source/NSNotificationQueue.m, Source/null-load.h: + Fix copyright message. + 2005-03-01 02:50 Nicola Pero * Source/Makefile.preamble (ADDITIONAL_LIB_DIRS): When building a diff --git a/Source/NSBundle.m b/Source/NSBundle.m index 96798c9b0..979119d7c 100644 --- a/Source/NSBundle.m +++ b/Source/NSBundle.m @@ -1781,6 +1781,9 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory) + (NSBundle *) gnustepBundle { + /* Depreciated since 1.7.0 */ + GSOnceMLog(@"Warning: Deprecated method %@ called. Use +bundleForLibrary: instead", + NSStringFromSelector(_cmd)); return _gnustep_bundle; } @@ -1814,7 +1817,8 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory) ofType: (NSString *)ext inDirectory: (NSString *)bundlePath { - NSLog(@"Warning: Deprecated method %@ called. Use +pathForLibraryResource:ofType:inDirectory: or +bundleForLibrary: instead", + /* Depreciated since 1.7.0 */ + GSOnceMLog(@"Warning: Deprecated method %@ called. Use +pathForLibraryResource:ofType:inDirectory: or +bundleForLibrary: instead", NSStringFromSelector(_cmd)); return [self pathForLibraryResource: name ofType: ext inDirectory: bundlePath]; diff --git a/Source/NSNotificationQueue.m b/Source/NSNotificationQueue.m index ad957f7c2..5d7682381 100644 --- a/Source/NSNotificationQueue.m +++ b/Source/NSNotificationQueue.m @@ -1,33 +1,8 @@ -/** - NSNotificationQueue.m - - Copyright (C) 1995, 1996 Ovidiu Predescu and Mircea Oancea. - All rights reserved. +/** Implementation for NSNotificationQueue for GNUStep + Copyright (C) 1995-1999 Free Software Foundation, Inc. Author: Mircea Oancea - - This file is part of libFoundation. - - Permission to use, copy, modify, and distribute this software and its - documentation for any purpose and without fee is hereby granted, provided - that the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - We disclaim all warranties with regard to this software, including all - implied warranties of merchantability and fitness, in no event shall - we be liable for any special, indirect or consequential damages or any - damages whatsoever resulting from loss of use, data or profits, whether in - an action of contract, negligence or other tortious action, arising out of - or in connection with the use or performance of this software. - - NSNotificationQueue class reference - $Date$ $Revision$ -*/ - -/* Implementation for NSNotificationQueue for GNUStep - Copyright (C) 1997-1999 Free Software Foundation, Inc. - + Date: 1995 Modified by: Richard Frith-Macdonald Date: 1997 Rewritten: 1999 @@ -47,6 +22,9 @@ You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. + + NSNotificationQueue class reference + $Date$ $Revision$ */ #include "config.h" diff --git a/Source/null-load.h b/Source/null-load.h index b5216668d..d917cb576 100644 --- a/Source/null-load.h +++ b/Source/null-load.h @@ -1,7 +1,7 @@ /* null-load - NULL dynamic loader. Doesn't do anything. - Copyright (C) 1995, Adam Fedor. + Copyright (C) 1995, Free Software Foundation, Inc. */