11 Commits

Author SHA1 Message Date
Jarrett Johnson
d46baf8943 Removed unused Memory cache 2025-09-26 12:07:26 -04:00
Jarrett Johnson
ef9bcd85a1 Remove _PYMOL_IOS (Discontinued; prep for MVK) 2024-08-30 10:05:58 -04:00
Jarrett Johnson
fbfda4a257 Replace NULL with nullptr 2024-05-20 09:07:33 -04:00
Thomas Holder
54595ff88a fix PYMOL-3118 CGO integer overflow 2020-04-09 16:00:19 +02: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
34d06bac7c PYMOL-3147 refactor: remove _MemoryDebug_ON
_MemoryDebug_ON
_MemoryCache_ON
2018-11-15 16:46:07 +01:00
Jarrett Johnson
53231a4553 PYMOL-3146 Remove C booleans macros 2018-11-15 16:36:18 +01:00
Thomas Holder
59d84a385b assembly fix, ref count fix, ...
* fix assemblies for cases like 4f3r which have multiple entries in the _pdbx_struct_assembly_gen table
* fix ref counts in iterate/alter subscripts
* improve side_chain_helper and nucleic_adic_mode situation
* eliminate all "try/catch" blocks for std::map lookups
* clean up some MemoryDebug stuff and remove unused jenarix wrapper
2015-06-23 14:07:26 +00: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
9bb5c2d971 1.7.5.0 (unstable/experimental)
* mmCIF _atom_sites.fract_transf support (SCALEn equivalent)
* Complete port of scenes to C++
* warn user if setting a setting on the wrong level
* cmd.extendaa: shortcut for cmd.extend with argument auto-completion
* reduced memory footprint of AtomInfoType
* expose "reps" to iterate/alter
* expose "protons" to iterate/alter
* adaptive cartoon quality and sampling, depending on number of atoms
* fix ring center color with cartoon_ring_color=default
* make SelectorGetTmp strictly molecular, fixes for example "dss" with group names
* fix "copy" can cause crash
* fix "custom" selection operator
* consider spec_count in shaders
* don't invalidate shaders for lighting settings
* don't disable shaders for all Intel chips
* don't touch sphere_mode when disabling shaders
* map_new buffer == -1 -> gaussian_resolution
* fix all_states picking
* remove cylinder_shader_ff_workaround and cylinders_shader_filter_faces
* remove unused gl_ambient setting
* fix Tcl/Tk menu settings logging
* fix: grid mode scales down label size incorrectly
* fix: no animate argument for cmd.origin
* fix side_chain_helper for hetatm polymer atoms
* fix .mmd export
* refactor many function to take "const" pointer arguments
2015-03-12 17:44:19 +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