Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongentertainment committed Jul 2, 2012
2 parents a760336 + 39431d5 commit 24bf515
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 58 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ ofxOsc (ofxOscSender, ofxOscReceiver)
Also you can use the xml to store other variables.

**Current Version:**
0.1.1 (stable and versioned using [semantic versioning](http://semver.org/))
0.1.2 (stable and versioned using [semantic versioning](http://semver.org/))

**Tested Platform:**
MacOS 10.6
MacOS 10.6+
Win ???
Linux ???
**openFrameworks version:**
0.07
0071
**Dependencies**
ofxXmlSettings

Expand All @@ -38,6 +38,9 @@ You can find a list of all known bugs at [GitHub](https://github.com/wrongentert
## Changelog
A detailed changelog, intended for programmers.

0.1.2
added missing #ifndef

0.1.1
added ofxOsc settings

Expand Down
8 changes: 4 additions & 4 deletions example_addonSettings/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.17
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "ofMain.h"
Expand Down
8 changes: 4 additions & 4 deletions example_addonSettings/src/testApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.17
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "testApp.h"
Expand Down
8 changes: 4 additions & 4 deletions example_addonSettings/src/testApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.17
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "ofMain.h"
Expand Down
8 changes: 4 additions & 4 deletions example_customSettings/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.06
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "ofMain.h"
Expand Down
9 changes: 5 additions & 4 deletions example_customSettings/src/testApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.06
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "testApp.h"
Expand Down Expand Up @@ -59,6 +59,7 @@ void testApp::setup(){
tempVar2 = defXML.getValue("wng:myVar2", 0, 0);
tempVar3 = defXML.getValue("wng:myVar3", 0, 0);
} else {
// if no default parameter exist, let create some.
tempVar1 = 100;
tempVar2 = 200;
tempVar3 = 300;
Expand Down
8 changes: 4 additions & 4 deletions example_customSettings/src/testApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.06
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "ofMain.h"
Expand Down
8 changes: 4 additions & 4 deletions example_defaultSettings/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.06
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "ofMain.h"
Expand Down
8 changes: 4 additions & 4 deletions example_defaultSettings/src/testApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.06
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "testApp.h"
Expand Down
8 changes: 4 additions & 4 deletions example_defaultSettings/src/testApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.06
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "ofMain.h"
Expand Down
2 changes: 1 addition & 1 deletion install.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<install>
<name>ofxXmlDefaultSettings</name>
<version>0.1.1</version>
<version>0.1.2</version>
<author>Paul Vollmer</author>
<url>http://www.wng.cc</url>

Expand Down
12 changes: 6 additions & 6 deletions src/ofxXmlDefaultSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.17
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "ofxXmlDefaultSettings.h"
Expand Down Expand Up @@ -203,10 +203,10 @@ void ofxXmlDefaultSettings::setLogToFile(){
if(!dir.exists()){
dir.create(true);
}
ofLogToFile(ofFilePath::getCurrentWorkingDirectory()+"/logs"+"/"+tempName, 1);
ofLogToFile(ofFilePath::getCurrentWorkingDirectory()+"/logs"+"/"+ofGetTimestampString()+"_"+tempName, 1);

} else {
ofLogToFile(tempPath+"/"+tempName, 1);
ofLogToFile(tempPath+"/"+ofGetTimestampString()+"_"+tempName, 1);
}

}
Expand Down
13 changes: 9 additions & 4 deletions src/ofxXmlDefaultSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.17
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#ifndef _OFXXMLDEFAULTSETTINGS
#define _OFXXMLDEFAULTSETTINGS

#include "ofxXmlSettings.h"

// If "OFXXMLDEFAULTSETTINGS_LOG" is defined, the addon prints out ofLog messages.
Expand Down Expand Up @@ -76,3 +79,5 @@ class ofxXmlDefaultSettings : public ofxXmlSettings {
void createDefaultXml();

};

#endif
8 changes: 4 additions & 4 deletions src/ofxXmlOscSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.17
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#include "ofxXmlOscSettings.h"
Expand Down
13 changes: 9 additions & 4 deletions src/ofxXmlOscSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@
* THE SOFTWARE.
*
*
* @testet_oF 0.07
* @testet_plattform MacOs 10.6
* @testet_oF 0071
* @testet_plattform MacOs 10.6+
* ??? Win
* ??? Linux
* @dependencies ofxXmlSettings
* @modified 2012.05.17
* @version 0.1.1
* @modified 2012.07.02
* @version 0.1.2
*/

#ifndef _OFXXMLOSCSETTINGS
#define _OFXXMLOSCSETTINGS

#include "ofxXmlSettings.h"

// If "OFXXMLOSCSETTINGS_LOG" is defined, the addon prints out ofLog messages.
Expand Down Expand Up @@ -77,3 +80,5 @@ class ofxXmlOscSettings : public ofxXmlSettings {


};

#endif

0 comments on commit 24bf515

Please sign in to comment.