This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c3abbddae78e654df9322ad1020ff79dd6332946 Mon Sep 17 00:00:00 2001 | |
From: Matt Swain <[email protected]> | |
Date: Thu, 31 Oct 2013 15:25:53 +0000 | |
Subject: [PATCH] Detect libc++ as this is now the default in OS X Mavericks | |
--- | |
include/openbabel/obmolecformat.h | 7 ++++++- | |
include/openbabel/shared_ptr.h | 12 ++++++++++-- | |
src/ops/unique.cpp | 8 ++++++-- | |
3 files changed, 22 insertions(+), 5 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/makefile b/makefile | |
index 7afcae0..533b228 100644 | |
--- a/makefile | |
+++ b/makefile | |
@@ -2,13 +2,3 @@ OBJECTS =main.o SCA.o bitvector.o argv.o error.o mem_2.o label_vector.o linkedli | |
CFLAGS = -O | |
subset: $(OBJECTS) | |
$(CC) $(OBJECTS) -o subset -lm | |
- subset < Test/label_vector.tab | |
- subset -sim 0.5 < Test/label_vector.tab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/iwaray.h b/include/iwaray.h | |
index 1b58e95..213f25a 100644 | |
--- a/include/iwaray.h | |
+++ b/include/iwaray.h | |
@@ -341,7 +341,7 @@ resizable_array_p<T>::resizable_array_p (int n) | |
template <typename T> | |
resizable_array_p<T>::resizable_array_p (T * item) | |
{ | |
- add (item); | |
+ this->add (item); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Parse booking confirmation emails from Cinema and add Calendar event | |
-- Author: Matt Swain <[email protected]>, Version 1.0, License: MIT | |
-- Triggered by Mail rule. | |
using terms from application "Mail" | |
on perform mail action with messages msgs for rule theRule | |
tell application "Mail" | |
repeat with msg in msgs | |
try | |
set msgcontent to content of msg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import copy | |
from itertools import tee, izip | |
import logging | |
from rdkit import Chem | |
from rdkit.Chem.rdchem import BondType, BondStereo, BondDir | |
__author__ = 'Matt Swain' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/character_r11.cc b/character_r11.cc | |
index 9b054e1..794e9c0 100644 | |
--- a/character_r11.cc | |
+++ b/character_r11.cc | |
@@ -18,6 +18,7 @@ | |
#include <algorithm> | |
#include <cstdio> | |
+#include <cstdlib> | |
#include <vector> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Code/RDGeneral/Dict.h b/Code/RDGeneral/Dict.h | |
index 6d368a4..6f586a8 100644 | |
--- a/Code/RDGeneral/Dict.h | |
+++ b/Code/RDGeneral/Dict.h | |
@@ -32,14 +32,12 @@ | |
//! | |
class Dict { | |
public: | |
- typedef std::map<const std::string, boost::any> DataType; | |
+ typedef std::map<std::string, boost::any> DataType; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/parsmart.cpp b/src/parsmart.cpp | |
index 120963e..22fe56e 100644 | |
--- a/src/parsmart.cpp | |
+++ b/src/parsmart.cpp | |
@@ -1181,7 +1181,6 @@ namespace OpenBabel | |
FreeAtomExpr(expr1); | |
return (AtomExpr*)0; | |
} | |
- delete expr1; | |
expr1 = BuildAtomBin(AE_ANDLO,expr1,expr2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Makefile.in b/src/Makefile.in | |
index bf4181f..883fec2 | |
--- a/src/Makefile.in | |
+++ b/src/Makefile.in | |
@@ -10,7 +10,7 @@ PROGRAM = gocr$(EXEEXT) | |
PGMASCLIB = Pgm2asc | |
#LIBPGMASCLIB = lib$(PGMASCLIB).a | |
# ToDo: need a better pgm2asc.h for lib users | |
-#INCLUDEFILES = gocr.h | |
+INCLUDEFILES = pgm2asc.h output.h list.h unicode.h gocr.h pnm.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/INCHI_API/gcc_so_makefile/libinchi.map b/INCHI_API/gcc_so_makefile/libinchi.map | |
index 0526992..0f768c8 100755 | |
--- a/INCHI_API/gcc_so_makefile/libinchi.map | |
+++ b/INCHI_API/gcc_so_makefile/libinchi.map | |
@@ -1,5 +1,32 @@ | |
-{ | |
-global: CheckINCHI; CheckINCHIKey; FreeINCHI; FreeStdINCHI; FreeStructFromINCHI; FreeStructFromStdINCHI; Free_inchi_Input; Free_std_inchi_Input; GetINCHI; GetINCHIKeyFromINCHI; GetINCHIfromINCHI; GetStdINCHI; GetStdINCHIKeyFromStdINCHI; GetStringLength; GetStructFromINCHI; GetStructFromStdINCHI; Get_inchi_Input_FromAuxInfo; Get_std_inchi_Input_FromAuxInfo; INCHIGEN_Create; INCHIGEN_Destroy; INCHIGEN_DoCanonicalization; INCHIGEN_DoNormalization; INCHIGEN_DoSerialization; INCHIGEN_Reset; INCHIGEN_Setup; STDINCHIGEN_Create; STDINCHIGEN_Destroy; STDINCHIGEN_DoCanonicalization; STDINCHIGEN_DoNormalization; STDINCHIGEN_DoSerialization; STDINCHIGEN_Reset; STDINCHIGEN_Setup; | |
-local: *; | |
-}; | |
- |