Skip to content

Commit

Permalink
Updated to version 1.3.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenNI committed Jul 13, 2011
1 parent 8c24e16 commit 98501c4
Show file tree
Hide file tree
Showing 476 changed files with 93,044 additions and 3,867 deletions.
104 changes: 101 additions & 3 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,105 @@
Detailed Change log:
--------------------

Version 1.1.0.38 (Stable version - Apr 11th 2010)
Version 1.3.2.1 (Stable version - July 4th 2011)
-----------------------------------------------
* Moved HandTouchingFOVEdge to be a Capability, available through the HandGenerator.
* Skeleton Capability:
- CalibrationCallbacks (bundle of CalibrationStart and CalibrationEnd) marked as deprecated
- New callback: CalibrationStart (with RegisterTo/UnregisterFrom) - replacing deprecated CalibrationCallbacks
- Removed forceFixedLength, IsForcedFixedLength, SetPostProcessing - not general API. Instead, int property of XnVFeatures
* Pose Detection Capability
- PoseCallbacks (bundle of PoseStart and PoseEnd) marked as deprecated
- New callback: PoseDetected (with RegisterTo/UnregisterFrom) - replacing deprecated PoseCallbacks
- New callback: OutOfPose (with RegisterTo/UnregisterFrom) - replacing deprecated PoseCallbacks
* PoseDetectionStatus enum changed, to contain only relevant options
* All relevant samples use new APIs.
* Memory leak fix - creating temporary C++ wrapper node objects cause memory leaks.
* Linux: allowing OpenNI to be installed in a different directory.
* Linux Bug Fix: logs are not created if log dir does not exist.
* Removed MessageBoxes from uninstallation process.
* New Java wrappers and samples!
* Bug Fix: Exporter singleton functions might be called *after* its destruction (when global objects are destroyed, destruction order is undetermined).
* Raise the shutdown event *after* all nodes have been destroyed (some nodes might call the context or other nodes when destroying)
* BugFix: running xml script would startGenerateAll instead of just the ones that were created. NOTE: this also changes behavior so that nodes are now started in the order in which they were written in the script.
* Changed recorder buffer size to support UXGA with worst case compression.
* NiViewer bug fix: if no depth when NiViewer starts, scale is never drawn, even if depth is created later on.
* Initial support for Android.
* NiConvertXToONI: now when specifying node type in command line, only nodes of that type are converted.
* Bug Fix: NiSimpleViewer crashes when image node does not exist (#1211).
* Bug Fix: Unnecessary full file paths in samples csproj files (#964).
* Bug Fix: NiAudioSample memory leak (#971).
* Bug Fix: wrong error codes returned form semaphore functions.
* Added GetDestination() function to Recorder.
* Exposed xnNodeInfoAllocate() and xnNodeInfoFree().
* Bug Fix: after closing the log, opening it again might not work.
* Bug Fix: Create production tree didn't return hNode if already exists.
* Added option to query for non-existing nodes only
* Added options to xml script for querying existing nodes and non-existing nodes
* Added documentation for creating recorder from xml script
* Added documentation for querying for existing nodes and non-existing nodes through xml
* UpdateVersion.py now updates version number in doxygen project name
* Added APIs to register to new callbacks
- GestureInProgress
- GestureReadyForNextStage
- HandTouchingFOV
- CalibrationInProgress (with status)
- CalibrationComplete (with status)
- PoseDetectionInProgress (with status)
- UserExit
- UserReEnter
* Added APIs for forcing fixed length skeleton.
* Added API for skeleton post processing.

Version 1.2.0.7 (Stable version - May 9th 2011)
-----------------------------------------------
* Wrappers Bug Fix in C++ and C#: Calling Shutdown() might cause a crash in other objects destructors.
* Changed GLES to work properly on CE4100.
* Added virtual to LogWriterBase dtor.
* Fixed bug in queries - xnIsNodeMatch returned TRUE when there was no match.
* Added input pointer validation in xnGetModuleNodeHandle().
* C++ Wrapper Bug Fix: CreateProductionTree would not return created node, so node always had a ref count of at least 1.
* Log Bug Fix: changing output folder causes file to be created (even if not requested).
* Bug Fix: xnAddNeededNode() did not add an already added node, but also didn't notify caller. Changed to add it again.
* Bug Fix: playing ONI files does not work in application using deprecated API.
* Bug Fix: enumerating with a query might cause a crash.
* Bug Fix: playing ONI files might cause extra ref count to context.
* Bug Fix: When an enumeration error occurs in running XML file, trying to access this error causes crash.
* Ref count dump improvement.
* API change: running XML scripts is now done via ScriptNode object, and this object is responsible for the lifetime of created objects.
* API change: from now on, context object works with reference count:
1. InitFromXml() was marked deprecated. Now has another overload with takes the script node as output.
2. RunXmlScript() was marked deprecated. Now has another overload with takes the script node as output.
3. RunXmlScriptFromFile() was marked deprecated. Now has another overload with takes the script node as output.
4. Shutdown() was marked deprecated. Release() should be used instead (or let dtor do its stuff)
* Log: adding LogWriter framework. It is now possible to add other log writers (others than console/file).

Version 1.1.0.41 (Unstable version - Apr 18th 2011)
---------------------------------------------------
* .Net wrapper: adding publisher policy to the installation, to redirect previous versions to current one.
* Fixed the 32-bit VCRedist problem (the MSI installer didn't call it by mistake)
* Bug Fix: Log multithreaded sync issue - when writing to log from multiple threads, messages sometime got garbled
* Log optimization: don't waste time formatting message if not writing to screen and not writing to file
* NiViewer bug fix: when image is off, only write "Image stream is off" if drawing mode includes image.
* Adding Additional Data field to XnNodeInfo.
* .NET wrapper - adding a ctor to Query object.
* CE4100: stop using /var/lib - filesystem is replaced by tempfs.
* CE4100: proper support in makefile, redist and install.

Version 1.1.0.39 (Unstable version - Apr 11th 2011)
---------------------------------------------------
* Typo fix: ANTI_FILCKER was misspelled (should be ANTI_FLICKER)
* Bug Fix #788: NiViewer bug fix: a crash when playback speed is extremely high.
* Win32 Redist Bug Fix: csproj files were a bit corrupted, resulting in bad view in visual studio.
* Bug Fix: when adding a node to recording, check if it's already added (otherwise a corrupt file is created).
* Audio mock node:
1. Use data from file instead of hard-coded one.
2. Aggregate data up till next UpdateData().
* Audio recording: property names were wrong for supported modes, as well as buffer size.
* NiViewer: improve error message when trying to seek in a live source.
* .NET wrapper - better reference safety for delegates.

Version 1.1.0.38 (Stable version - Apr 11th 2011)
-------------------------------------------------
* Fixed .NET requirements in the Win32 installer.
* Linux Bug Fix: xnOS timeouts did not work well, causing ISO mode to get stuck sometimes when closing the device.
Expand Down Expand Up @@ -144,5 +242,5 @@ Version 1.0.0.25 (Unstable version - Jan 10th 2011)
* C++ wrappers Bug Fix: RegisterToGestureChange would register to pixel format change.

Version 1.0.0.23 (Stable version - Dec 8th 2010)
-----------------------------------------------------
* Initial release...
------------------------------------------------
* Initial release...
Binary file modified Documentation/OpenNI.chm
Binary file not shown.
Binary file modified Documentation/OpenNI_UserGuide.pdf
Binary file not shown.
49 changes: 49 additions & 0 deletions Include/Android-Arm/XnPlatformAndroid-Arm.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/****************************************************************************
* *
* OpenNI 1.1 Alpha *
* Copyright (C) 2011 PrimeSense Ltd. *
* *
* This file is part of OpenNI. *
* *
* OpenNI is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as published *
* by the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* OpenNI 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 Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with OpenNI. If not, see <http://www.gnu.org/licenses/>. *
* *
****************************************************************************/
#ifndef _XN_PLATFORM_ANDROID_ARM_H_
#define _XN_PLATFORM_ANDROID_ARM_H_

// Start with Linux-x86, and override what's different
#include "../Linux-x86/XnPlatformLinux-x86.h"

//---------------------------------------------------------------------------
// Platform Basic Definition
//---------------------------------------------------------------------------
#undef XN_PLATFORM
#undef XN_PLATFORM_STRING

#define XN_PLATFORM XN_PLATFORM_ANDROID_ARM
#define XN_PLATFORM_STRING "Android-Arm"

#define XN_PLATFORM_HAS_NO_TIMED_OPS
#define XN_PLATFORM_HAS_NO_CLOCK_GETTIME
#define XN_PLATFORM_HAS_NO_SCHED_PARAM
#define XN_PLATFORM_HAS_BUILTIN_SEMUN

#define XN_PLATFORM_LINUX_NO_GLIBC
#define XN_PLATFORM_LINUX_NO_SYSV
#define XN_PLATFORM_LINUX_NO_GLOB
#define XN_PLATFORM_LINUX_NO_POSIX_MEMALIGN
#define XN_PLATFORM_LINUX_NO_SHM
#define XN_PLATFORM_LINUX_NO_PTHREAD_CANCEL

#endif //_XN_PLATFORM_LINUX_ARM_H_
15 changes: 3 additions & 12 deletions Include/Linux-x86/XnOSLinux-x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ typedef void* XN_THREAD_PARAM;
//---------------------------------------------------------------------------
/** A Xiron mutex type. */
struct XnMutex;
typedef XnMutex* XN_MUTEX_HANDLE;
typedef struct XnMutex* XN_MUTEX_HANDLE;

//---------------------------------------------------------------------------
// Critical Sections
Expand All @@ -128,17 +128,8 @@ typedef XN_MUTEX_HANDLE XN_CRITICAL_SECTION_HANDLE;
// Events
//---------------------------------------------------------------------------
/** A Xiron event type. */
typedef struct
{
int NamedSem;
pthread_cond_t cond;
pthread_mutex_t mutex;
XnBool bSignaled;
XnBool bManualReset;
XnBool bNamed;
XnChar csSemFileName[XN_FILE_MAX_PATH];
int hSemFile;
} _XnEvent, *XN_EVENT_HANDLE;
struct _XnEvent;
typedef struct _XnEvent _XnEvent, *XN_EVENT_HANDLE ;

//---------------------------------------------------------------------------
// Semaphores
Expand Down
2 changes: 1 addition & 1 deletion Include/Linux-x86/XnPlatformLinux-x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ typedef size_t XnSizeT;
#define XN_API_IMPORT

/** Indicates a deprecated function */
#define XN_API_DEPRECATED(msg) __attribute__((deprecated))
#define XN_API_DEPRECATED(msg) __attribute__((warning("This function is deprecated: " msg)))

/** Declares a global shared library export function. */
#define XN_API_EXPORT_INIT()
Expand Down
13 changes: 8 additions & 5 deletions Include/Win32/XnPlatformWin32.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,23 @@
// Prerequisites
//---------------------------------------------------------------------------
#ifndef WINVER // Allow use of features specific to Windows XP or later
#define WINVER 0x0501
#define WINVER 0x0501
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later
#define _WIN32_WINNT 0x0501
#define _WIN32_WINNT 0x0501
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later
#define _WIN32_WINDOWS 0x0410
#define _WIN32_WINDOWS 0x0410
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later
#define _WIN32_IE 0x0600
#define _WIN32_IE 0x0600
#endif
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers

#define _CRT_SECURE_NO_DEPRECATE 1 // Undeprecate CRT functions
// Undeprecate CRT functions
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE 1
#endif

//---------------------------------------------------------------------------
// Includes
Expand Down
4 changes: 2 additions & 2 deletions Include/XnBaseNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ typedef struct XnBaseNode
/**
* Provide an available xnBaseNode from the node pool.
*/
XN_C_API XnBaseNode* xnAllocateBaseNode();
XN_C_API XnBaseNode* XN_C_DECL xnAllocateBaseNode();

/**
* Release an xnBaseNode to the node pool.
* @param pNode [in] The base node to return to the pool.
*/
XN_C_API void xnDeallocateBaseNode(XnBaseNode* pNode);
XN_C_API void XN_C_DECL xnDeallocateBaseNode(XnBaseNode* pNode);

#endif //_NINODEALLOC_H
Loading

0 comments on commit 98501c4

Please sign in to comment.