* Source/NSBundle.m (+gnustepBundle,

+pathForGNUstepResource:ofType:inDirectory:]): Add depreciated
log message.
* Source/NSNotificationQueue.m, Source/null-load.h:
Fix copyright message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20823 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2005-03-01 15:50:26 +00:00
parent 41275af5f8
commit 0528b31e80
4 changed files with 20 additions and 30 deletions

View file

@ -1,3 +1,11 @@
2005-03-01 Adam Fedor <fedor@gnu.org>
* 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 <n.pero@mi.flashnet.it> 2005-03-01 02:50 Nicola Pero <n.pero@mi.flashnet.it>
* Source/Makefile.preamble (ADDITIONAL_LIB_DIRS): When building a * Source/Makefile.preamble (ADDITIONAL_LIB_DIRS): When building a

View file

@ -1781,6 +1781,9 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
+ (NSBundle *) gnustepBundle + (NSBundle *) gnustepBundle
{ {
/* Depreciated since 1.7.0 */
GSOnceMLog(@"Warning: Deprecated method %@ called. Use +bundleForLibrary: instead",
NSStringFromSelector(_cmd));
return _gnustep_bundle; return _gnustep_bundle;
} }
@ -1814,7 +1817,8 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
ofType: (NSString *)ext ofType: (NSString *)ext
inDirectory: (NSString *)bundlePath 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)); NSStringFromSelector(_cmd));
return [self pathForLibraryResource: name ofType: ext return [self pathForLibraryResource: name ofType: ext
inDirectory: bundlePath]; inDirectory: bundlePath];

View file

@ -1,33 +1,8 @@
/** /** Implementation for NSNotificationQueue for GNUStep
NSNotificationQueue.m Copyright (C) 1995-1999 Free Software Foundation, Inc.
Copyright (C) 1995, 1996 Ovidiu Predescu and Mircea Oancea.
All rights reserved.
Author: Mircea Oancea <mircea@jupiter.elcom.pub.ro> Author: Mircea Oancea <mircea@jupiter.elcom.pub.ro>
Date: 1995
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.
<title>NSNotificationQueue class reference</title>
$Date$ $Revision$
*/
/* Implementation for NSNotificationQueue for GNUStep
Copyright (C) 1997-1999 Free Software Foundation, Inc.
Modified by: Richard Frith-Macdonald <richard@brainstorm.co.uk> Modified by: Richard Frith-Macdonald <richard@brainstorm.co.uk>
Date: 1997 Date: 1997
Rewritten: 1999 Rewritten: 1999
@ -47,6 +22,9 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
<title>NSNotificationQueue class reference</title>
$Date$ $Revision$
*/ */
#include "config.h" #include "config.h"

View file

@ -1,7 +1,7 @@
/* /*
null-load - NULL dynamic loader. Doesn't do anything. null-load - NULL dynamic loader. Doesn't do anything.
Copyright (C) 1995, Adam Fedor. Copyright (C) 1995, Free Software Foundation, Inc.
*/ */