Jarrett Johnson
fbfda4a257
Replace NULL with nullptr
2024-05-20 09:07:33 -04:00
Jarrett Johnson
eea082966b
Remove orthoCGO defines; fix warnings
2022-03-08 15:31:11 -05:00
Thomas Holder
dc2aff4133
Refactor: Doxygen comments, ObjectMoleculeUpdateNeighbors
...
- Use proper doxygen syntax for all function comments
- ObjectMoleculeUpdateNeighbors allow const argument
- Remove obsolete ObjectMolecule::BondCounter
2021-01-14 15:23:06 +01:00
Thomas Holder
3bc6158376
Some const-correctness
2020-12-03 18:10:46 +01:00
Jarrett Johnson
8b5c37db76
Remove unused function: TextSetLabPos
2020-08-04 14:02:34 +02:00
Jarrett Johnson
006b7cc872
Fix warnings on VS
2020-08-04 14:02:34 +02:00
Thomas Holder
455ec882d9
refactoring: CText::getFont
2019-11-27 18:08:17 +01:00
Thomas Holder
a188383b2b
refactor color picking, add cPickableThrough
...
cPickableThrough for transparency_picking_mode (spheres only so far)
2019-11-27 14:44:28 +01:00
Jarrett Johnson
fa89670168
Proper Font inhertiance (ASAN-detected)
2019-11-27 13:48:44 +01:00
Thomas Holder
b59ce09d8a
refactor: pymol::malloc<T>
...
- use typed/namespaced malloc wrapper
- remove Alloc et al.
- remove mmalloc et al.
- remove CINTERFACE define
2019-02-21 17:41:58 +01:00
Thomas Holder
90939028a3
const correctness for Color.cpp
2018-07-03 20:31:13 +02:00
Thomas Holder
f21c61958e
Graphics refactoring, ported from Incentive PyMOL
2018-07-03 20:19:12 +02:00
Thomas Holder
0bf52c82c0
TextSetColorFromCode
...
Fix cases where object title, wizard text or menu text contains backslash
and was incorrectly interpreted as a color.
2018-06-19 17:28:23 -04:00
Thomas Holder
528716142e
const correctness for Text.cpp
2018-06-19 17:27:13 -04:00
Thomas Holder
5cbfe6b0d4
fix invalid memory access during PyMOL_Stop
...
- https://sourceforge.net/p/pymol/bugs/162/
- Free ShaderMgr after Scene
- check (G != NULL) in MainOnExit
- https://sourceforge.net/p/pymol/bugs/161/
apply clang logical-op-parentheses suggestion
- more `const char *` arguments refactoring
2015-03-16 18:58:36 +00:00
Thomas Holder
22fdfe3e81
fixed roving detail/density demos, removed unused code
...
* fixed roving density and roving detail demos (regression from last commit)
http://sourceforge.net/p/pymol/bugs/156
* fix "narrowing conversion" C++ errors
* removed unused code and preprocessors:
_PYMOL_GL_DRAWARRAYS
_PYMOL_GL_CALLLISTS
_PYMOL_CGO_DRAWARRAYS
_PYMOL_CGO_DRAWBUFFERS
OPENGL_ES_1
OPENGL_ES_2
* removed deprecated "register" specifier
2015-03-13 22:19:47 +00:00
Thomas Holder
f42840260b
c++ for all PyMOL c files
...
- renaming files c -> cpp
- c++ specific syntax (::)
2014-09-08 13:42:11 +00:00