19 Commits

Author SHA1 Message Date
Jarrett Johnson
7d7eed2b73 clang-format gadget module 2026-02-10 15:17:23 -05:00
Jarrett Johnson
fbfda4a257 Replace NULL with nullptr 2024-05-20 09:07:33 -04:00
Jarrett Johnson
65835f9991 Remove OOMac 2021-07-07 12:03:25 -04:00
Jarrett Johnson
b184f73cce RenderContext enum class 2021-04-28 05:13:30 -04:00
Jarrett Johnson
355c45d229 Place CObject in pymol namespace 2021-02-11 19:14:06 +01:00
Jarrett Johnson
e4a8aaca9c SceneClick logic extraction and misc improvements 2020-11-11 16:53:13 +01:00
Thomas Holder
15b74a6062 Refactor: Remove fFree methods
Also remove unused members:
- GadgetSet::P
- GadgetSet::Setting
2020-10-16 11:14:05 +02:00
Jarrett Johnson
4431dd0ce2 Settings copied on object copy 2020-10-16 11:07:17 +02:00
Jarrett Johnson
1c26a96739 Named Renderpasses 2020-07-03 15:00:38 +02:00
Thomas Holder
75f06a974e CObject function pointers -> virtual methods 2019-10-29 16:24:12 +01:00
Jarrett Johnson
00473b5656 C++ inheritance for Object classes 2019-09-04 18:18:01 +02:00
Thomas Holder
035d6fe611 C++ inheritance for all CObject subclasses 2019-03-29 13:36:14 +01:00
Thomas Holder
4f3c781a74 cleanup: compiler warnings
-Wdangling-else
-Wmisleading-indentation
-Wmismatched-tags
-Wparentheses
-Wsometimes-uninitialized
-Wunused-but-set-variable
-Wunused-function
-Wunused-label
-Wunused-variable
2018-08-16 19:00:17 +02:00
Thomas Holder
f21c61958e Graphics refactoring, ported from Incentive PyMOL 2018-07-03 20:19:12 +02:00
Thomas Holder
5faa72b373 call SceneObjectDel in ObjectPurge
Some object types did not call SceneObjectDel (e.g. ObjectGroup) which
could cause segmentation fault in ExecutiveFree
2018-06-19 17:29:02 -04:00
Thomas Holder
434613d836 fix memory leak, pse_export_version, ...
- fix memory leak in get_global_components_bond_dict
- new setting: pse_export_version to save to old session formats
- change default: pdb_conect_nodup 0 -> 1
- sphere_mode=-1 -> 9 if shaders available else 0
- fix Tcl/Tk File menu unicode handling
2015-04-17 23:16:13 +00:00
Thomas Holder
e274a46085 fast CIF loading, 1.7.3.1 (unstable/experimental)
* fast PDBx/mmCIF and core CIF loading in C++
* new connect_mode=4 does bonding with components.cif dictionary
  (mmCIF only, components.cif needs to be present in current
  directory)
* gray out residues in the sequence viewer that are missing from the
  current state; Read missing residues from mmCIF files
  (_pdbx_unobs_or_zero_occ_residues records) so that they show up in
  the sequence viewer
* add spider map reading support
* load "map" as ccp4 instead of throwing "ambiguous" error
* xyz write support
* Improve right-button zoom: use origin instead of clipping slab
  center as depth indicator, fixes zoom speed when far clipping plane
  is very far away
* don't use dynamic_width for nonbonded rep
2014-10-16 20:14:27 +00:00
Thomas Holder
4dd7c7ffd4 SCALEn, numpy, set_state_order, ...
* ignore SCALEn if CRYST1 is 1x1x1 or invalid
* new/refactored API functions for accessing coordinates and maps as numpy arrays
* new API function: cmd.set_state_order
* Session file (PSE) support for callback objects
* fix/silence many compiler warnings
* fix bg_rgb_top/bg_rgb_bottom side effects
* revert "fix setting surface_circumscribe"
* delete some obsolete files
2014-09-17 19:17:56 +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