Author: rmottola
Date: Mon Jan 18 21:20:49 2016
New Revision: 39293

URL: http://svn.gna.org/viewcvs/gnustep?rev=39293&view=rev
Log:
indexOfObjectIdenticalTo returns a NSUInteger

Modified:
    apps/gworkspace/trunk/ChangeLog
    apps/gworkspace/trunk/FSNode/FSNListView.m
    apps/gworkspace/trunk/GWMetadata/MDKit/MDKWindow.m
    apps/gworkspace/trunk/GWorkspace/Desktop/Dock/Dock.m
    apps/gworkspace/trunk/GWorkspace/Finder/Finder.m
    apps/gworkspace/trunk/GWorkspace/Finder/LiveSearch/LSFEditor.m

Modified: apps/gworkspace/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/ChangeLog?rev=39293&r1=39292&r2=39293&view=diff
==============================================================================
--- apps/gworkspace/trunk/ChangeLog     (original)
+++ apps/gworkspace/trunk/ChangeLog     Mon Jan 18 21:20:49 2016
@@ -1,3 +1,12 @@
+2016-01-18 Riccardo Mottola <[email protected]>
+
+       * FSNode/FSNListView.m
+       * GWMetadata/MDKit/MDKWindow.m
+       * GWorkspace/Desktop/Dock/Dock.m
+       * GWorkspace/Finder/Finder.m
+       * GWorkspace/Finder/LiveSearch/LSFEditor.m
+       indexOfObjectIdenticalTo returns a NSUInteger
+
 2016-01-18 Riccardo Mottola <[email protected]>
 
        * FSNode/FSNBrowser.m

Modified: apps/gworkspace/trunk/FSNode/FSNListView.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/FSNode/FSNListView.m?rev=39293&r1=39292&r2=39293&view=diff
==============================================================================
--- apps/gworkspace/trunk/FSNode/FSNListView.m  (original)
+++ apps/gworkspace/trunk/FSNode/FSNListView.m  Mon Jan 18 21:20:49 2016
@@ -376,7 +376,7 @@
 
 - (void)redisplayRep:(id)aRep
 {
-  int row = [nodeReps indexOfObjectIdenticalTo: aRep];
+  NSUInteger row = [nodeReps indexOfObjectIdenticalTo: aRep];
   NSRect rect = [listView rectOfRow: row];
   [listView setNeedsDisplayInRect: rect];
 }
@@ -934,7 +934,7 @@
         FSNListViewNodeRep *rep = [self repOfSubnodePath: fpath]; 
         
         if (rep) {  
-          int index = [nodeReps indexOfObjectIdenticalTo: rep];
+          NSUInteger index = [nodeReps indexOfObjectIdenticalTo: rep];
         
           [self selectReps: [NSArray arrayWithObject: rep]];
           [listView scrollRowToVisible: index];
@@ -1244,7 +1244,7 @@
     
   if ([selected count]) {
     id rep = [selected objectAtIndex: 0];
-    int index = [nodeReps indexOfObjectIdenticalTo: rep];
+    NSUInteger index = [nodeReps indexOfObjectIdenticalTo: rep];
     [listView scrollRowToVisible: index];
   } else if ([nodeReps count]) {
     [listView scrollRowToVisible: 0];

Modified: apps/gworkspace/trunk/GWMetadata/MDKit/MDKWindow.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWMetadata/MDKit/MDKWindow.m?rev=39293&r1=39292&r2=39293&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWMetadata/MDKit/MDKWindow.m  (original)
+++ apps/gworkspace/trunk/GWMetadata/MDKit/MDKWindow.m  Mon Jan 18 21:20:49 2016
@@ -1,6 +1,6 @@
 /* MDKWindow.m
  *  
- * Copyright (C) 2006-2013 Free Software Foundation, Inc.
+ * Copyright (C) 2006-2016 Free Software Foundation, Inc.
  *
  * Author: Enrico Sersale <[email protected]>
  * Date: December 2006
@@ -543,12 +543,12 @@
   NSArray *usedAttributes = [self usedAttributes];
 
   if ([usedAttributes count] < [attributes count]) {
-    int index = [attrViews indexOfObjectIdenticalTo: view];  
+    NSUInteger index = [attrViews indexOfObjectIdenticalTo: view];  
     MDKAttribute *attr = [self firstUnusedAttribute];
     MDKAttributeView *attrview = [[MDKAttributeView alloc] initInWindow: self];
-    int count;
-    int attrcount;
-    int i;
+    NSUInteger count;
+    NSUInteger attrcount;
+    NSUInteger i;
 
     [attr setInUse: YES];
     [attrview setAttribute: attr];

Modified: apps/gworkspace/trunk/GWorkspace/Desktop/Dock/Dock.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/Desktop/Dock/Dock.m?rev=39293&r1=39292&r2=39293&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/Desktop/Dock/Dock.m        (original)
+++ apps/gworkspace/trunk/GWorkspace/Desktop/Dock/Dock.m        Mon Jan 18 
21:20:49 2016
@@ -1,6 +1,6 @@
 /* Dock.m
  *  
- * Copyright (C) 2005-2012 Free Software Foundation, Inc.
+ * Copyright (C) 2005-2016 Free Software Foundation, Inc.
  *
  * Author: Enrico Sersale <[email protected]>
  * Date: January 2005
@@ -778,7 +778,7 @@
   icon = [self iconContainingPoint: location];
                  
   if (icon) {
-    int index = [icons indexOfObjectIdenticalTo: icon];
+    NSUInteger index = [icons indexOfObjectIdenticalTo: icon];
         
     if (dndSourceIcon && ([sender draggingSource] == dndSourceIcon)) {
       if (icon != dndSourceIcon) {
@@ -805,7 +805,7 @@
         FSNode *node = [FSNode nodeWithPath: path];
       
         if ([node isApplication] && ([icon isSpecialIcon] == NO)) {
-          int i;
+          NSUInteger i;
           
           for (i = 0; i < [icons count]; i++) {
             if ([[[icons objectAtIndex: i] node] isEqualToNode: node]) {
@@ -870,7 +870,7 @@
   }
     
   if (icon) {
-    int index = [icons indexOfObjectIdenticalTo: icon];
+    NSUInteger index = [icons indexOfObjectIdenticalTo: icon];
 
     if (dndSourceIcon && ([sender draggingSource] == dndSourceIcon)) {
       if ((icon != dndSourceIcon) && ([icon isSpecialIcon] == NO)) {
@@ -915,7 +915,7 @@
     }   
   }
 
-       return NSDragOperationNone;
+  return NSDragOperationNone;
 }
 
 - (void)draggingExited:(id <NSDraggingInfo>)sender
@@ -978,7 +978,7 @@
         if ([node isApplication]) {
           if ((icon == nil) || (icon && ([icon isTrashIcon] == NO))) {
             BOOL duplicate = NO;
-            int i;
+            NSUInteger i;
 
             for (i = 0; i < [icons count]; i++) {
               DockIcon *icon = [icons objectAtIndex: i];

Modified: apps/gworkspace/trunk/GWorkspace/Finder/Finder.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/Finder/Finder.m?rev=39293&r1=39292&r2=39293&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/Finder/Finder.m    (original)
+++ apps/gworkspace/trunk/GWorkspace/Finder/Finder.m    Mon Jan 18 21:20:49 2016
@@ -1,6 +1,6 @@
 /* Finder.m
  *  
- * Copyright (C) 2005-2014 Free Software Foundation, Inc.
+ * Copyright (C) 2005-2016 Free Software Foundation, Inc.
  *
  * Author: Enrico Sersale <[email protected]>
  * Date: January 2005
@@ -400,7 +400,7 @@
   NSArray *usedModules = [self usedModules];
 
   if ([usedModules count] < [modules count]) {
-    int index = [fmviews indexOfObjectIdenticalTo: aview];  
+    NSUInteger index = [fmviews indexOfObjectIdenticalTo: aview];  
     id module = [self firstUnusedModule];
     id fmview = [[FindModuleView alloc] initWithDelegate: self];
     NSUInteger count;

Modified: apps/gworkspace/trunk/GWorkspace/Finder/LiveSearch/LSFEditor.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/Finder/LiveSearch/LSFEditor.m?rev=39293&r1=39292&r2=39293&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/Finder/LiveSearch/LSFEditor.m      
(original)
+++ apps/gworkspace/trunk/GWorkspace/Finder/LiveSearch/LSFEditor.m      Mon Jan 
18 21:20:49 2016
@@ -1,6 +1,6 @@
 /* LSFEditor.m
  *  
- * Copyright (C) 2005-2013 Free Software Foundation, Inc.
+ * Copyright (C) 2005-2016 Free Software Foundation, Inc.
  *
  * Author: Enrico Sersale <[email protected]>
  * Date: January 2005
@@ -259,7 +259,7 @@
   NSArray *usedModules = [self usedModules];
 
   if ([usedModules count] < [modules count]) {
-    int index = [fmviews indexOfObjectIdenticalTo: aview];  
+    NSUInteger index = [fmviews indexOfObjectIdenticalTo: aview];  
     id module = [self firstUnusedModule];
     id fmview = [[FindModuleView alloc] initWithDelegate: self];
     NSUInteger count;


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to