Ricardo Rodriguez
92d5d2c657
Refactor to stop using iterator definitions in types.h ( #9275 )
...
* clean up iterator defs in types.h
* do not use auto for inline constexpr
* restore undef max,min
* restore types.h declarations
2026-05-21 19:19:38 +02:00
Ricardo Rodriguez
7b7a8a4e17
Refactor iostreams includes ( #8846 )
...
* refactor iostreams includes
* restore ostream to MonomerInfo.cpp
2025-10-08 16:08:01 +02:00
Eisuke Kawashima
11532089de
Run clang-format against cpp ( #4358 )
2021-10-20 04:25:27 +02:00
Greg Landrum
d41752d558
run clang-tidy with readability-braces-around-statements ( #2899 )
...
* run clang-tidy with readability-braces-around-statements
clang-format the results
clean up all the parts that clang-tidy-8 broke
* fix problem on windows
2020-01-25 14:19:32 +01:00
Greg Landrum
87786c08b5
Merge branch 'master' into modern_cxx
...
# Conflicts:
# .travis.yml
# Code/GraphMol/FileParsers/MolFileParser.cpp
# Code/GraphMol/FileParsers/MolFileStereochem.cpp
# Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp
# Code/GraphMol/MolAlign/testMolAlign.cpp
# Code/GraphMol/MolDraw2D/MolDraw2D.cpp
# Code/GraphMol/MolDraw2D/Wrap/rdMolDraw2D.cpp
# Code/GraphMol/QueryOps.cpp
# Code/GraphMol/ROMol.cpp
# Code/GraphMol/SmilesParse/test.cpp
# Code/GraphMol/Trajectory/Trajectory.cpp
# Code/GraphMol/Wrap/Atom.cpp
# Code/GraphMol/Wrap/Bond.cpp
# Code/GraphMol/new_canon.cpp
# Code/RDGeneral/testDict.cpp
# Code/SimDivPickers/Wrap/MaxMinPicker.cpp
2017-10-05 05:58:38 +02:00
Brian Kelley
7488840ac4
Fix/urange check ( #1506 )
...
* Fixes atom documentation
* Fixes #1461
This is a complicated one. Basically URANGE_CHECK when
used on unsigned integers has a problem when the size of
the range it’s checking is 0. The standard operations is
to check
URANGE(num, size-1)
Which (for unsigned integers) obviously rolls over.
This fixes all usage cases to be
URANGE(num+1, size)
And fixes the bugs found. (addBond and the mmff tests)
* Fixes #1461 - Updates URANGE_CHECK to be 0<=x<hi
2017-09-11 21:17:33 +02:00
Greg Landrum
7c0bb0b743
clang-tidy output
2017-04-22 17:09:24 +02:00
Greg Landrum
e08e0d16d8
first pass, using google style
2015-11-14 14:58:11 +01:00
Brian Kelley
fb84c9f0b7
Switches to URANGE_CHECK when appropriate
2015-10-18 21:14:02 -04:00
Brian Kelley
6ebbeb3bd3
Major conversion of std::string API to const std::string &
2015-09-25 15:15:59 -04:00
Riccardo Vianello
7c346d7c2e
Code/RDBoost/Exceptions.h moved to Code/RDGeneral
2015-03-16 22:31:48 +01:00
Greg Landrum
9f4471f872
more on #204
...
A few other cleanups
2014-02-06 06:43:28 +01:00
Greg Landrum
f3fbef45c5
update copyright statements
2010-09-26 17:04:37 +00:00
Greg Landrum
052ec66542
cleanups:
...
remove x bit from headers and sources;
remove a couple empty files from Code/GraphMol
2010-09-08 04:25:57 +00:00
Greg Landrum
20096c76a9
refactoring of the BitVect interface to make capitalization consistent
...
w/ the rest of the RDKit. i.e.: SetNumBits -> setNumBits
2010-05-30 15:15:46 +00:00
Greg Landrum
7402b6639f
two more small cleanups
2008-02-16 07:24:46 +00:00
Greg Landrum
9c46caf34c
update docs; minor refactoring
2007-11-10 05:51:36 +00:00
Greg Landrum
455d1a82f4
mostly refactoring. NOTE: This may not build as is.
2007-11-09 17:31:45 +00:00
Greg Landrum
5d03333c22
setup svn keywords (should have done this before import... grn)
2006-05-06 22:54:39 +00:00
Greg Landrum
75a79b6327
initial import
2006-05-06 22:20:08 +00:00