aboutsummaryrefslogtreecommitdiff
path: root/Gem
diff options
context:
space:
mode:
Diffstat (limited to 'Gem')
-rwxr-xr-xGem/Gem.pd_darwinbin5235268 -> 5109228 bytes
-rw-r--r--Gem/develop/include/Gem/Base/CPPExtern.h4
-rw-r--r--Gem/develop/include/Gem/Base/TextBase.h2
-rw-r--r--Gem/develop/include/Gem/Gem/Dylib.h18
-rw-r--r--Gem/develop/include/Gem/Gem/Exception.h4
-rw-r--r--Gem/develop/include/Gem/Gem/ImageIO.h6
-rw-r--r--Gem/develop/include/Gem/Gem/Properties.h4
-rw-r--r--Gem/develop/include/Gem/Gem/Settings.h12
-rw-r--r--Gem/develop/include/Gem/RTE/MessageCallbacks.h4
-rw-r--r--Gem/develop/include/Gem/Utils/WorkerThread.h2
-rw-r--r--Gem/develop/include/Gem/plugins/film.h2
-rw-r--r--Gem/develop/include/Gem/plugins/imagesaver.h2
-rw-r--r--Gem/develop/include/Gem/plugins/record.h6
-rw-r--r--Gem/develop/include/Gem/plugins/video.h8
-rwxr-xr-xGem/gem_filmAVFoundation.sobin71512 -> 67408 bytes
-rwxr-xr-xGem/gem_imageJPEG.sobin52104 -> 52272 bytes
-rwxr-xr-xGem/gem_imageMAGICK.la2
-rwxr-xr-xGem/gem_imageMAGICK.sobin54504 -> 54672 bytes
-rwxr-xr-xGem/gem_imageSGI.sobin59176 -> 59344 bytes
-rwxr-xr-xGem/gem_imageTIFF.sobin68244 -> 68412 bytes
-rwxr-xr-xGem/gem_modelOBJ.sobin90220 -> 90396 bytes
-rwxr-xr-xGem/gemcocoawindow.pd_darwinbin36484 -> 36500 bytes
-rwxr-xr-xGem/gemglfw3window.pd_darwinbin38192 -> 38240 bytes
-rwxr-xr-xGem/gemglutwindow.pd_darwinbin44428 -> 44492 bytes
-rwxr-xr-xGem/gemsdlwindow.pd_darwinbin40704 -> 40760 bytes
-rwxr-xr-xGem/pix_drum.pd_darwinbin26312 -> 26304 bytes
-rwxr-xr-xGem/pix_fiducialtrack.pd_darwinbin76412 -> 76332 bytes
-rwxr-xr-xGem/pix_hit.pd_darwinbin24320 -> 24312 bytes
-rwxr-xr-xGem/pix_mano.pd_darwinbin40456 -> 40512 bytes
29 files changed, 37 insertions, 39 deletions
diff --git a/Gem/Gem.pd_darwin b/Gem/Gem.pd_darwin
index e395a37..6929b2c 100755
--- a/Gem/Gem.pd_darwin
+++ b/Gem/Gem.pd_darwin
Binary files differ
diff --git a/Gem/develop/include/Gem/Base/CPPExtern.h b/Gem/develop/include/Gem/Base/CPPExtern.h
index ddacc54..1f296d9 100644
--- a/Gem/develop/include/Gem/Base/CPPExtern.h
+++ b/Gem/develop/include/Gem/Base/CPPExtern.h
@@ -146,8 +146,8 @@ class GEM_EXTERN CPPExtern
// wraps open_via_path() and canvas_makefilename()
// the full filename is returned
// if the file does not exist, it is constructed
- std::string findFile(const std::string filename, const std::string ext) const;
- std::string findFile(const std::string filename) const;
+ std::string findFile(const std::string&filename, const std::string&ext) const;
+ std::string findFile(const std::string&filename) const;
private:
mutable bool m_endpost; /* internal state for startpost/post/endpost */
diff --git a/Gem/develop/include/Gem/Base/TextBase.h b/Gem/develop/include/Gem/Base/TextBase.h
index f65204a..de1ebbe 100644
--- a/Gem/develop/include/Gem/Base/TextBase.h
+++ b/Gem/develop/include/Gem/Base/TextBase.h
@@ -97,7 +97,7 @@ class GEM_EXTERN TextBase : public GemBase
//////////
// The font to use
- virtual void fontNameMess(const std::string filename);
+ virtual void fontNameMess(const std::string&filename);
//////////
// set line distance
diff --git a/Gem/develop/include/Gem/Gem/Dylib.h b/Gem/develop/include/Gem/Gem/Dylib.h
index 5ed7fda..30fea7e 100644
--- a/Gem/develop/include/Gem/Gem/Dylib.h
+++ b/Gem/develop/include/Gem/Gem/Dylib.h
@@ -26,11 +26,11 @@ class GEM_EXTERN GemDylib {
public:
GemDylib(const CPPExtern*obj,
- const std::string libname,
- const std::string extension=std::string("")
+ const std::string&libname,
+ const std::string&extension=std::string("")
); // throws GemException
- GemDylib(const std::string libname,
- const std::string extension=std::string("")
+ GemDylib(const std::string&libname,
+ const std::string&extension=std::string("")
); // throws GemException
GemDylib(const GemDylib&);
@@ -43,10 +43,10 @@ class GEM_EXTERN GemDylib {
// if void<procname>(void) exists in dylib, run it and return "true"
// else return false;
- bool run(const std::string procname);
+ bool run(const std::string&procname);
// if <procname> exists in dylib, return it, else return NULL
- function_t proc(const std::string procname);
+ function_t proc(const std::string&procname);
public:
/**
@@ -54,9 +54,9 @@ class GEM_EXTERN GemDylib {
* if "extension" is NULL, a platform-specific default is used
* on success "true" is returned, else "false
*/
- static bool LoadLib(const std::string procname,
- const std::string baselibname,
- const std::string fileext=std::string(""));
+ static bool LoadLib(const std::string&procname,
+ const std::string&baselibname,
+ const std::string&fileext=std::string(""));
static const std::string getDefaultExtension(void);
diff --git a/Gem/develop/include/Gem/Gem/Exception.h b/Gem/develop/include/Gem/Gem/Exception.h
index 8815b0a..85a91f6 100644
--- a/Gem/develop/include/Gem/Gem/Exception.h
+++ b/Gem/develop/include/Gem/Gem/Exception.h
@@ -41,13 +41,13 @@ class GEM_EXTERN GemException
public:
GemException(void);
GemException(const char*error);
- GemException(const std::string error);
+ GemException(const std::string&error);
virtual ~GemException(void);
virtual const char *what(void) const;
virtual void report(const char*origin=0) const;
private:
- const std::string ErrorString;
+ const char*ErrorString;
};
namespace gem {
diff --git a/Gem/develop/include/Gem/Gem/ImageIO.h b/Gem/develop/include/Gem/Gem/ImageIO.h
index 7e71226..8b66e15 100644
--- a/Gem/develop/include/Gem/Gem/ImageIO.h
+++ b/Gem/develop/include/Gem/Gem/ImageIO.h
@@ -48,7 +48,7 @@ namespace gem {
* the loaded image is stored in 'img'
* 'props' holds a list of additional image properties discovered during loading
*/
- static bool sync(const std::string filename,
+ static bool sync(const std::string&filename,
imageStruct&img,
Properties&props);
@@ -97,7 +97,7 @@ namespace gem {
*/
static bool async(callback cb,
void*userdata,
- const std::string filename,
+ const std::string&filename,
id_t&ID
);
@@ -113,7 +113,7 @@ namespace gem {
*/
static bool sync(callback cb,
void*userdata,
- const std::string filename,
+ const std::string&filename,
id_t&ID);
/*
diff --git a/Gem/develop/include/Gem/Gem/Properties.h b/Gem/develop/include/Gem/Gem/Properties.h
index 7ce011d..588fbf3 100644
--- a/Gem/develop/include/Gem/Gem/Properties.h
+++ b/Gem/develop/include/Gem/Gem/Properties.h
@@ -63,7 +63,7 @@ namespace gem
* if the key was in the property-map, return the type of the property
* if no key of the given value exists, return <code>PropertyType::UNSET</code>
*/
- virtual enum PropertyType type(const std::string) const;
+ virtual enum PropertyType type(const std::string&) const;
/* set a property
* e.g.: double w=640; prop.set("width", w);
@@ -92,7 +92,7 @@ namespace gem
/*
* delete a given key from the Properties
*/
- virtual void erase(const std::string);
+ virtual void erase(const std::string&);
/*
* delete all keys from the Properties
*/
diff --git a/Gem/develop/include/Gem/Gem/Settings.h b/Gem/develop/include/Gem/Gem/Settings.h
index e54b9d5..9052982 100644
--- a/Gem/develop/include/Gem/Gem/Settings.h
+++ b/Gem/develop/include/Gem/Gem/Settings.h
@@ -22,13 +22,13 @@ namespace gem { namespace Settings {
void print(void);
void save(void);
- t_atom*get(const std::string key);
- void set(const std::string key, t_atom*value=NULL);
+ t_atom*get(const std::string&key);
+ void set(const std::string&key, t_atom*value=NULL);
- void get(const std::string key, int&value);
- void get(const std::string key, float&value);
- void get(const std::string key, double&value);
- void get(const std::string key, std::string&value);
+ void get(const std::string&key, int&value);
+ void get(const std::string&key, float&value);
+ void get(const std::string&key, double&value);
+ void get(const std::string&key, std::string&value);
std::vector<std::string> keys();
}; };
diff --git a/Gem/develop/include/Gem/RTE/MessageCallbacks.h b/Gem/develop/include/Gem/RTE/MessageCallbacks.h
index b4df71b..79e174e 100644
--- a/Gem/develop/include/Gem/RTE/MessageCallbacks.h
+++ b/Gem/develop/include/Gem/RTE/MessageCallbacks.h
@@ -20,13 +20,13 @@
* CPPEXTERN_MSG (classPtr, "foo", gimmeMess); // A_GIMME
* CPPEXTERN_MSG0(classPtr, "doit", bangMess); // no args
* CPPEXTERN_MSG1(classPtr, "name", nameMess, t_symbol*); // 1 arg (A_SYMBOL)
- * CPPEXTERN_MSG1(classPtr, "title", titleMess, std::string); // 1 arg (A_SYMBOL)
+ * CPPEXTERN_MSG1(classPtr, "title", titleMess, const std::string&); // 1 arg (A_SYMBOL)
* CPPEXTERN_MSG3(classPtr, "values", tripletMess, t_float, t_float, t_float); // 3 args (A_FLOAT)
* }
* void myclass::gimmeMess (t_symbol*s, int argc, t_atom*argv) {;}
* void myclass::bangMess (void) {;}
* void myclass::nameMess (t_symbol*s) {;}
- * void myclass::titleMess (std::string s) {;}
+ * void myclass::titleMess (const std::string&s) {;}
* void myclass::tripletMess(t_float a, t_float b, t_float c) {;}
*/
#ifndef _INCLUDE__GEM_RTE_MESSAGECALLBACKS_H_
diff --git a/Gem/develop/include/Gem/Utils/WorkerThread.h b/Gem/develop/include/Gem/Utils/WorkerThread.h
index 9ab2285..36d4a4d 100644
--- a/Gem/develop/include/Gem/Utils/WorkerThread.h
+++ b/Gem/develop/include/Gem/Utils/WorkerThread.h
@@ -71,7 +71,7 @@ namespace gem { namespace thread {
// you can use it to set a semaphore in the main thread, to fetch
// the data
// it get's called once after process() has been successful
- // and will nott be called before dequeue has been called at least once
+ // and will not be called before dequeue has been called at least once
//
virtual void signal(void);
diff --git a/Gem/develop/include/Gem/plugins/film.h b/Gem/develop/include/Gem/plugins/film.h
index 679c753..14f39ec 100644
--- a/Gem/develop/include/Gem/plugins/film.h
+++ b/Gem/develop/include/Gem/plugins/film.h
@@ -80,7 +80,7 @@ class GEM_EXTERN film
* anything about the internal cs of the decoder
*/
/* returns TRUE if loading was successful, FALSE otherwise */
- virtual bool open(const std::string,
+ virtual bool open(const std::string&,
const gem::Properties&requestprops) = 0;
/* some error codes */
diff --git a/Gem/develop/include/Gem/plugins/imagesaver.h b/Gem/develop/include/Gem/plugins/imagesaver.h
index 4ba2515..e883669 100644
--- a/Gem/develop/include/Gem/plugins/imagesaver.h
+++ b/Gem/develop/include/Gem/plugins/imagesaver.h
@@ -106,7 +106,7 @@ namespace gem { namespace plugins {
*/
virtual void getWriteCapabilities(std::vector<std::string>&mimetypes, gem::Properties&props) = 0;
- /* returns TRUE, if it is save to use this backend from multple threads
+ /* returns TRUE, if it is save to use this backend from multiple threads
*/
virtual bool isThreadable(void) = 0;
};
diff --git a/Gem/develop/include/Gem/plugins/record.h b/Gem/develop/include/Gem/plugins/record.h
index b2aa254..ed0113c 100644
--- a/Gem/develop/include/Gem/plugins/record.h
+++ b/Gem/develop/include/Gem/plugins/record.h
@@ -54,11 +54,11 @@ public:
/**
* get a human readable description of the given codec (e.g. "Motion Jpeg A")
*/
- virtual const std::string getCodecDescription(const std::string codecname) = 0;
+ virtual const std::string getCodecDescription(const std::string&codecname) = 0;
/**
* set the current codec
*/
- virtual bool setCodec(const std::string name) = 0;
+ virtual bool setCodec(const std::string&name) = 0;
/**
* list all properties the currently selected codec supports
@@ -76,7 +76,7 @@ public:
/*
* returns TRUE if opening was successful, FALSE otherwise
*/
- virtual bool start(const std::string filename, gem::Properties&props) = 0;
+ virtual bool start(const std::string&filename, gem::Properties&props) = 0;
//////////
// record a frame
diff --git a/Gem/develop/include/Gem/plugins/video.h b/Gem/develop/include/Gem/plugins/video.h
index 7be968d..a949c86 100644
--- a/Gem/develop/include/Gem/plugins/video.h
+++ b/Gem/develop/include/Gem/plugins/video.h
@@ -71,7 +71,7 @@ namespace gem { namespace plugins {
* the default implementation (which you normally shouldn't need to override)
* will simply set m_devicename and clear m_devicenum
*/
- virtual bool setDevice(const std::string) = 0;
+ virtual bool setDevice(const std::string&) = 0;
//! open the device (calls openDevice())
@@ -164,8 +164,6 @@ namespace gem { namespace plugins {
-
-
/**
* returns TRUE if the object can be used in a thread or FALSE otherwise
* if a backend implements threading itself, it should return FALSE
@@ -177,7 +175,7 @@ namespace gem { namespace plugins {
/** turn on/off "asynchronous"-grabbing
* default is "true"
* "asynchronous" means, that the device is constantly grabbing, and grabFrame() returns the current frame
- * non-"continuous" means, that the device will only issue a new grab when a frame has read
+ * non-"asynchronous" means, that the device will only issue a new grab when a frame has read
* (thus potentially reducing the CPU-load to what is needed, at the cost of slightly outdated images
* returns: the old state
*/
@@ -194,7 +192,7 @@ namespace gem { namespace plugins {
// for pix_video: query whether this backend provides access to this class of devices
// (e.g. "dv")
- virtual bool provides(const std::string) = 0;
+ virtual bool provides(const std::string&) = 0;
// get a list of all provided devices
virtual std::vector<std::string>provides(void) = 0;
diff --git a/Gem/gem_filmAVFoundation.so b/Gem/gem_filmAVFoundation.so
index 7749329..88f80c1 100755
--- a/Gem/gem_filmAVFoundation.so
+++ b/Gem/gem_filmAVFoundation.so
Binary files differ
diff --git a/Gem/gem_imageJPEG.so b/Gem/gem_imageJPEG.so
index e4a258e..12e614a 100755
--- a/Gem/gem_imageJPEG.so
+++ b/Gem/gem_imageJPEG.so
Binary files differ
diff --git a/Gem/gem_imageMAGICK.la b/Gem/gem_imageMAGICK.la
index 0714df8..30ed3fb 100755
--- a/Gem/gem_imageMAGICK.la
+++ b/Gem/gem_imageMAGICK.la
@@ -17,7 +17,7 @@ old_library=''
inherited_linker_flags=' -pthread'
# Libraries that this one depends upon.
-dependency_libs=' -L/Users/travis/build/umlaeute/Gem/build/travis-ci/deps/Pd-0.46-5-64bit.app/Contents/Resources//bin -L../.. -L/usr/local/Cellar/imagemagick/7.0.7-11/lib /usr/local/Cellar/imagemagick/7.0.7-11/lib/libMagickCore-7.Q16HDRI.la -L/usr/local/opt/freetype/lib -L/usr/local/Cellar/xz/5.2.3/lib -lfreetype -llzma -lbz2 -lltdl -ldl -lz -lm'
+dependency_libs=' -L/Users/travis/build/umlaeute/Gem/build/travis-ci/deps/Pd-0.46-5-64bit.app/Contents/Resources//bin -L../.. -L/usr/local/Cellar/imagemagick/7.0.7-13/lib /usr/local/Cellar/imagemagick/7.0.7-13/lib/libMagickCore-7.Q16HDRI.la -L/usr/local/opt/freetype/lib -L/usr/local/Cellar/xz/5.2.3/lib -lfreetype -llzma -lbz2 -lltdl -ldl -lz -lm'
# Names of additional weak libraries provided by this library
weak_library_names=''
diff --git a/Gem/gem_imageMAGICK.so b/Gem/gem_imageMAGICK.so
index e696741..5d978e8 100755
--- a/Gem/gem_imageMAGICK.so
+++ b/Gem/gem_imageMAGICK.so
Binary files differ
diff --git a/Gem/gem_imageSGI.so b/Gem/gem_imageSGI.so
index 562c78c..1d7a110 100755
--- a/Gem/gem_imageSGI.so
+++ b/Gem/gem_imageSGI.so
Binary files differ
diff --git a/Gem/gem_imageTIFF.so b/Gem/gem_imageTIFF.so
index 153974f..ccc1fdf 100755
--- a/Gem/gem_imageTIFF.so
+++ b/Gem/gem_imageTIFF.so
Binary files differ
diff --git a/Gem/gem_modelOBJ.so b/Gem/gem_modelOBJ.so
index 4956b60..ffea004 100755
--- a/Gem/gem_modelOBJ.so
+++ b/Gem/gem_modelOBJ.so
Binary files differ
diff --git a/Gem/gemcocoawindow.pd_darwin b/Gem/gemcocoawindow.pd_darwin
index d682592..c965320 100755
--- a/Gem/gemcocoawindow.pd_darwin
+++ b/Gem/gemcocoawindow.pd_darwin
Binary files differ
diff --git a/Gem/gemglfw3window.pd_darwin b/Gem/gemglfw3window.pd_darwin
index d4cf4a6..7e8e3c7 100755
--- a/Gem/gemglfw3window.pd_darwin
+++ b/Gem/gemglfw3window.pd_darwin
Binary files differ
diff --git a/Gem/gemglutwindow.pd_darwin b/Gem/gemglutwindow.pd_darwin
index 71ed15e..96907c8 100755
--- a/Gem/gemglutwindow.pd_darwin
+++ b/Gem/gemglutwindow.pd_darwin
Binary files differ
diff --git a/Gem/gemsdlwindow.pd_darwin b/Gem/gemsdlwindow.pd_darwin
index 9ffbd13..abd1e55 100755
--- a/Gem/gemsdlwindow.pd_darwin
+++ b/Gem/gemsdlwindow.pd_darwin
Binary files differ
diff --git a/Gem/pix_drum.pd_darwin b/Gem/pix_drum.pd_darwin
index dfc94c6..59b086b 100755
--- a/Gem/pix_drum.pd_darwin
+++ b/Gem/pix_drum.pd_darwin
Binary files differ
diff --git a/Gem/pix_fiducialtrack.pd_darwin b/Gem/pix_fiducialtrack.pd_darwin
index 4e4b3b7..f82cccc 100755
--- a/Gem/pix_fiducialtrack.pd_darwin
+++ b/Gem/pix_fiducialtrack.pd_darwin
Binary files differ
diff --git a/Gem/pix_hit.pd_darwin b/Gem/pix_hit.pd_darwin
index 41ec56b..0de05bf 100755
--- a/Gem/pix_hit.pd_darwin
+++ b/Gem/pix_hit.pd_darwin
Binary files differ
diff --git a/Gem/pix_mano.pd_darwin b/Gem/pix_mano.pd_darwin
index 1a219d5..b5b5924 100755
--- a/Gem/pix_mano.pd_darwin
+++ b/Gem/pix_mano.pd_darwin
Binary files differ