Commit Graph
18 Commits
Author SHA1 Message Date
Geoffrey Hutchison 2b8127c377 Fix UNIX builds of SVN trunk:
* */Makefile.in: Regenerate UNIX build files.

  * src/plugin.cpp: Make sure to #include <iterator> to solve GCC
  compile problem. 

  * src/descriptor.cpp: Change _isnan to IsNan, as discussed on the
  list to solve GCC compile problem.

  * scripts/*: Updated to compile. May have removed functionality
  because of plugin changes.

  * tools/obminimize.cpp, tools/obgen.cpp, tools/obenergy.cpp:
  Switch to OBPlugin::List().
2007-05-22 14:55:46 +00:00
Noel O'Boyle 174b5452bf * SWIG interface files: Added template for vectors of strings
* pybel.py: Added informats and outformats, dictionaries corresponding
	to the supported input and output format
2007-05-12 11:45:39 +00:00
Geoffrey Hutchison 56f11e72f9 * scripts/*.i: Added casting from OBGenericData to OBUnitCell. 2007-05-08 17:04:53 +00:00
Noel O'Boyle 503b33dc4a 2007-05-08 Noel O'Boyle <baoilleach@gmail.com>
* scripting interfaces: added a template for a vector of OBRing*
	which is required for OBMol.GetSSSR()
2007-05-08 13:03:30 +00:00
Noel O'Boyle 8270b862df 2007-05-08 Noel O'Boyle <baoilleach@gmail.com>
* scripting interfaces: added a method to cast OBGenericData to
	OBPairData
	* pybel: added dictionary-like support for accessing molecule data,
	and updated the tests and the API documentation
2007-05-08 12:33:05 +00:00
Geoffrey Hutchison 6369377128 Fix Java compile from previous revision. 2007-02-20 15:27:03 +00:00
Geoffrey Hutchison bb3c908eed * scripts/*.i, scripts/*: Add access to OBForceField classes and methods. 2007-02-20 15:05:35 +00:00
Noel O'Boyle 51d76550c9 Removed %apply of OUTPUT in the script interface files, and regenerated the bindings 2007-02-05 20:19:01 +00:00
Noel O'Boyle d18872df68 * scripts/openbabel-[python,java,perl,ruby].i: Added ability to
handle
	the new pluginiter.h, and in particular, its use in
	OBFingerprint.Iter. Also, regenerated all of the dependent 
files.

	* scripts/openbabel-python.i: Removed python code added on 
2006-12-20
	to set BABEL_DATADIR as it actually had no effect.
2007-01-06 18:19:41 +00:00
Geoffrey Hutchison 9d98c5e948 Fixed Java (JNI) interfaces to compile cleanly. Updated other SWIG interfaces. 2006-12-14 23:17:34 +00:00
Noel O'Boyle b2528f043e * scripts/openbabel-[python,ruby,java,perl].i: Updated to include all
iterators in obiter.h. Note: there is a problem getting
	OBMolPairIter to work even if std_pair.i is included and a template
	<int, int> created (compile of openbabel_python.cpp fails in this case
	so these additions have not been included).
2006-12-14 13:15:31 +00:00
Noel O'Boyle d3783a87a9 * scripts/openbabel-[python,ruby,java,perl].i: Tidied up the
references to classes in obiter.h (e.g. there's no such thing
	as OBResidueBondIter). Added some comments. Added wrappers for Python
	to allow iteration over atoms in a molecule, etc.
	This involved renaming the original OB method, and replacing
	it by a Python class implementing the iterator protocol.
2006-12-13 13:29:36 +00:00
Noel O'Boyle f95f7182df * scripts/openbabel-[python,ruby,java,perl].i: Added a line to
create a vector of unisigned ints, required to use the Fingerprint
	class. Also, added lines to prevent warnings due to shadowed classes
	in obiter.h.
2006-12-12 12:48:54 +00:00
Geoffrey Hutchison 0afe511e34 * include/openbabel: New directory for public headers. Ensures
internal and external code use the same 
  #include <openbabel/header.h> syntax.
2006-12-10 13:56:00 +00:00
Geoffrey Hutchison 6bb194a602 * scripts/: Added fingerprint.h header for direct access to
OBFingerprint classes.
2006-12-08 00:05:39 +00:00
Geoffrey Hutchison 8dad311517 * src/atom.h, src/base.h, src/bond.h, src/residue.h, src/mol.h,
src/ring.h, src/mol.cpp, src/base.cpp, src/obiter.h: Remove
  OBNodeBase, OBEdgeBase, and OBGraphBase classes, contributed by
  Gerd Menche.

  * tools/obprop.cpp: Ditto. Example of changing iterators to new format.

  * scripts/*: Updated based on above changes.
2006-11-20 18:43:41 +00:00
Geoffrey Hutchison 3e4bd6ae3c Updated with automated Java generation and SWIG 1.3.30. 2006-11-06 17:44:10 +00:00
Geoffrey Hutchison 07164cb7be * scripts/*: Split openbabel.i into individual copies for each
language.

  * scripts/java/*: Initial attempt at a java interface from SWIG. Untested.
2006-11-03 22:23:31 +00:00