22 Commits

Author SHA1 Message Date
Jarrett Johnson
57daee0b7e Refactor Result to include less across source files 2025-09-26 12:07:31 -04:00
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
Jarrett Johnson
a869dc396e Wizard result_t metafunction result type #193 2021-10-14 16:22:03 -04:00
Jarrett Johnson
024dccf3fb Wizard result_t metafunction test #193 2021-10-07 10:53:47 -04:00
Jarrett Johnson
108e698242 InternalGUIMode enum class 2021-04-28 05:31:23 -04:00
Thomas Holder
0885768b02 Simplify Wizard _PYMOL_NOPY 2021-04-28 04:04:26 -04:00
Jarrett Johnson
776e557feb Wizard.cpp refactor 2021-04-28 03:47:12 -04:00
Thomas Holder
3c48f80eac Wizard pretty error printing 2021-01-14 15:31:42 +01:00
Jarrett Johnson
33b1f33e1f Extract Scene Mouse logic to another source 2020-11-11 16:52:12 +01:00
Thomas Holder
ae040fa85b clang-tidy modernize-use-override
... and modernize-use-equals-default
2019-01-18 10:06:08 +01:00
Thomas Holder
bd64bd2ef2 AddressSanitizer: heap-use-after-free
regression of 566fb8c817d74a32042bc1f427e11324a20ff2aa
2018-11-15 16:28:42 +01:00
Jarrett Johnson
c818a27635 refactor2018A: Block's PyMOLGlobals member now named m_G 2018-11-15 16:27:01 +01:00
Jarrett Johnson
b02d002026 PYMOL-3104 Block II Refactor 2018-11-15 16:26:35 +01:00
Jarrett Johnson
78021420a7 PYMOL-3095 Block Refactor 2018-11-15 15:48:32 +01: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
1742d75d13 anaglyph batch mode, all_states measurements, ...
* fix anaglyph stereo in batch (headless) mode
* fix possible memory corruption with boolean settings
* measurement wizard: distances between states (all_states=on)
* get_fastastr: nucleic acid, by chain
* menu: A (Action) > group
* sequence viewer menu: ss (Secondary Structure)
* MAE export of groups (s_m_subgroupid)
* macOS: -O3 -fno-strict-aliasing (bugs/205)
2018-05-03 14:46:44 +00:00
Thomas Holder
4bbe42513c stick_round_nub, UTF-8, display_scale_factor, ...
* stick_round_nub for COLLADA export
* UTF-8 in feedback
* display_scale_factor (ported from Incentive PyMOL)
* dx map import: support "type float" and skewed delta
2018-02-28 13:16:16 +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
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
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
f42840260b c++ for all PyMOL c files
- renaming files c -> cpp
- c++ specific syntax (::)
2014-09-08 13:42:11 +00:00