[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34106] trunk/blender/intern/ghost: SVN maintenance.
gsr b3d
gsr.b3d at infernal-iceberg.com
Wed Jan 5 20:19:49 CET 2011
Revision: 34106
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=34106
Author: gsrb3d
Date: 2011-01-05 20:19:49 +0100 (Wed, 05 Jan 2011)
Log Message:
-----------
SVN maintenance.
Modified Paths:
--------------
trunk/blender/intern/ghost/GHOST_ISystemPaths.h
trunk/blender/intern/ghost/intern/GHOST_ISystemPaths.cpp
trunk/blender/intern/ghost/intern/GHOST_Path-api.cpp
trunk/blender/intern/ghost/intern/GHOST_SystemPaths.h
trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.cpp
trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.h
trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.h
trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.mm
trunk/blender/intern/ghost/intern/GHOST_SystemPathsWin32.cpp
trunk/blender/intern/ghost/intern/GHOST_SystemPathsWin32.h
trunk/blender/intern/ghost/intern/GHOST_SystemPathsX11.cpp
trunk/blender/intern/ghost/intern/GHOST_SystemPathsX11.h
Property Changed:
----------------
trunk/blender/intern/ghost/GHOST_ISystemPaths.h
trunk/blender/intern/ghost/intern/GHOST_ISystemPaths.cpp
trunk/blender/intern/ghost/intern/GHOST_SystemPaths.h
trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.cpp
trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.h
trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.h
trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.mm
trunk/blender/intern/ghost/intern/GHOST_SystemPathsWin32.cpp
trunk/blender/intern/ghost/intern/GHOST_SystemPathsWin32.h
trunk/blender/intern/ghost/intern/GHOST_SystemPathsX11.cpp
trunk/blender/intern/ghost/intern/GHOST_SystemPathsX11.h
Modified: trunk/blender/intern/ghost/GHOST_ISystemPaths.h
===================================================================
--- trunk/blender/intern/ghost/GHOST_ISystemPaths.h 2011-01-05 18:12:54 UTC (rev 34105)
+++ trunk/blender/intern/ghost/GHOST_ISystemPaths.h 2011-01-05 19:19:49 UTC (rev 34106)
@@ -1,5 +1,5 @@
/**
- * $Id: $
+ * $Id$
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
Property changes on: trunk/blender/intern/ghost/GHOST_ISystemPaths.h
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Modified: trunk/blender/intern/ghost/intern/GHOST_ISystemPaths.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_ISystemPaths.cpp 2011-01-05 18:12:54 UTC (rev 34105)
+++ trunk/blender/intern/ghost/intern/GHOST_ISystemPaths.cpp 2011-01-05 19:19:49 UTC (rev 34106)
@@ -1,5 +1,5 @@
/**
- * $Id: GHOST_ISystem.cpp 28254 2010-04-18 10:28:37Z campbellbarton $
+ * $Id$
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@@ -28,7 +28,7 @@
/**
- * $Id: GHOST_ISystem.cpp 28254 2010-04-18 10:28:37Z campbellbarton $
+ * $Id$
* Copyright (C) 2001 NaN Technologies B.V.
* @author Maarten Gribnau
* @date May 7, 2001
Property changes on: trunk/blender/intern/ghost/intern/GHOST_ISystemPaths.cpp
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Modified: trunk/blender/intern/ghost/intern/GHOST_Path-api.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_Path-api.cpp 2011-01-05 18:12:54 UTC (rev 34105)
+++ trunk/blender/intern/ghost/intern/GHOST_Path-api.cpp 2011-01-05 19:19:49 UTC (rev 34106)
@@ -66,4 +66,4 @@
if (systemPaths) {
systemPaths->addToSystemRecentFiles(filename);
}
-}
\ No newline at end of file
+}
Modified: trunk/blender/intern/ghost/intern/GHOST_SystemPaths.h
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemPaths.h 2011-01-05 18:12:54 UTC (rev 34105)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemPaths.h 2011-01-05 19:19:49 UTC (rev 34106)
@@ -1,5 +1,5 @@
/**
- * $Id: $
+ * $Id$
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
Property changes on: trunk/blender/intern/ghost/intern/GHOST_SystemPaths.h
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Modified: trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.cpp 2011-01-05 18:12:54 UTC (rev 34105)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.cpp 2011-01-05 19:19:49 UTC (rev 34106)
@@ -1,5 +1,5 @@
/**
- * $Id: $
+ * $Id$
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
@@ -80,4 +80,4 @@
{
/* XXXXX TODO: Implementation for Carbon if possible */
-}
\ No newline at end of file
+}
Property changes on: trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.cpp
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Modified: trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.h
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.h 2011-01-05 18:12:54 UTC (rev 34105)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.h 2011-01-05 19:19:49 UTC (rev 34106)
@@ -1,5 +1,5 @@
/**
- * $Id: $
+ * $Id$
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
Property changes on: trunk/blender/intern/ghost/intern/GHOST_SystemPathsCarbon.h
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Modified: trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.h
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.h 2011-01-05 18:12:54 UTC (rev 34105)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.h 2011-01-05 19:19:49 UTC (rev 34106)
@@ -1,5 +1,5 @@
/**
- * $Id: $
+ * $Id$
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
Property changes on: trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.h
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Modified: trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.mm 2011-01-05 18:12:54 UTC (rev 34105)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemPathsCocoa.mm 2011-01-05 19:19:49 UTC (rev 34106)
@@ -1,121 +1,121 @@
-/**
- * $Id: $
- *
- * ***** BEGIN GPL LICENSE BLOCK *****
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * The Original Code is Copyright (C) 2010 Blender Foundation.
- * All rights reserved.
- *
- *
- * Contributor(s): Damien Plisson 2010
- *
- * ***** END GPL LICENSE BLOCK *****
- */
-
-#import <Cocoa/Cocoa.h>
-
-/*For the currently not ported to Cocoa keyboard layout functions (64bit & 10.6 compatible)*/
-#include <Carbon/Carbon.h>
-
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/sysctl.h>
-
-#include "GHOST_SystemPathsCocoa.h"
-
-
-#pragma mark initialization/finalization
-
-
-GHOST_SystemPathsCocoa::GHOST_SystemPathsCocoa()
-{
-}
-
-GHOST_SystemPathsCocoa::~GHOST_SystemPathsCocoa()
-{
-}
-
-
-#pragma mark Base directories retrieval
-
-const GHOST_TUns8* GHOST_SystemPathsCocoa::getSystemDir() const
-{
- static GHOST_TUns8 tempPath[512] = "";
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- NSString *basePath;
- NSArray *paths;
-
- paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSLocalDomainMask, YES);
-
- if ([paths count] > 0)
- basePath = [paths objectAtIndex:0];
- else {
- [pool drain];
- return NULL;
- }
-
- strcpy((char*)tempPath, [basePath cStringUsingEncoding:NSASCIIStringEncoding]);
-
- [pool drain];
- return tempPath;
-}
-
-const GHOST_TUns8* GHOST_SystemPathsCocoa::getUserDir() const
-{
- static GHOST_TUns8 tempPath[512] = "";
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- NSString *basePath;
- NSArray *paths;
-
- paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES);
-
- if ([paths count] > 0)
- basePath = [paths objectAtIndex:0];
- else {
- [pool drain];
- return NULL;
- }
-
- strcpy((char*)tempPath, [basePath cStringUsingEncoding:NSASCIIStringEncoding]);
-
- [pool drain];
- return tempPath;
-}
-
-const GHOST_TUns8* GHOST_SystemPathsCocoa::getBinaryDir() const
-{
- static GHOST_TUns8 tempPath[512] = "";
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- NSString *basePath;
-
- basePath = [[NSBundle mainBundle] bundlePath];
-
- if (basePath == nil) {
- [pool drain];
- return NULL;
- }
-
- strcpy((char*)tempPath, [basePath cStringUsingEncoding:NSASCIIStringEncoding]);
-
- [pool drain];
- return tempPath;
-}
-
-void GHOST_SystemPathsCocoa::addToSystemRecentFiles(const char* filename) const
-{
- /* XXXXX TODO: Implementation for X11 if possible */
-}
+/**
+ * $Id$
+ *
+ * ***** BEGIN GPL LICENSE BLOCK *****
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * The Original Code is Copyright (C) 2010 Blender Foundation.
+ * All rights reserved.
+ *
+ *
+ * Contributor(s): Damien Plisson 2010
+ *
+ * ***** END GPL LICENSE BLOCK *****
+ */
+
+#import <Cocoa/Cocoa.h>
+
+/*For the currently not ported to Cocoa keyboard layout functions (64bit & 10.6 compatible)*/
+#include <Carbon/Carbon.h>
+
+#include <sys/time.h>
+#include <sys/types.h>
+#include <sys/sysctl.h>
+
+#include "GHOST_SystemPathsCocoa.h"
+
+
+#pragma mark initialization/finalization
+
+
+GHOST_SystemPathsCocoa::GHOST_SystemPathsCocoa()
+{
+}
+
+GHOST_SystemPathsCocoa::~GHOST_SystemPathsCocoa()
+{
+}
+
+
+#pragma mark Base directories retrieval
+
+const GHOST_TUns8* GHOST_SystemPathsCocoa::getSystemDir() const
+{
+ static GHOST_TUns8 tempPath[512] = "";
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ NSString *basePath;
+ NSArray *paths;
+
+ paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSLocalDomainMask, YES);
+
+ if ([paths count] > 0)
+ basePath = [paths objectAtIndex:0];
+ else {
+ [pool drain];
+ return NULL;
+ }
+
+ strcpy((char*)tempPath, [basePath cStringUsingEncoding:NSASCIIStringEncoding]);
+
+ [pool drain];
+ return tempPath;
+}
+
+const GHOST_TUns8* GHOST_SystemPathsCocoa::getUserDir() const
+{
+ static GHOST_TUns8 tempPath[512] = "";
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ NSString *basePath;
+ NSArray *paths;
+
+ paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES);
+
+ if ([paths count] > 0)
+ basePath = [paths objectAtIndex:0];
+ else {
+ [pool drain];
+ return NULL;
+ }
+
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list