Debian Codegraph @

ChangeLog

raw
1
2 2025-08-01 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
3
4 * Release 1.1.18
5
6 2025-06-16 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
7
8 * Release 1.1.17
9
10 2025-06-04 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
11
12 * Release 1.1.16
13
14 2025-03-30 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
15
16 * Release 1.1.15
17
18 2025-03-16 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
19
20 * Release 1.1.14
21
22 2025-02-23 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
23
24 * Release 1.1.13
25
26 2025-02-09 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
27
28 * Release 1.1.12
29
30 2024-12-11 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
31
32 * Release 1.1.11
33
34 2024-07-20 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
35
36 * Release 1.1.10
37
38 2024-06-11 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
39
40 * Release 1.1.09
41
42 2024-04-22 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
43
44 * Release 1.1.08
45
46 2024-01-17 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
47
48 * Release 1.1.07
49
50 2024-01-15 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
51
52 * Release 1.1.06
53
54 2024-01-15 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
55
56 * Release 1.1.05
57
58 2024-01-14 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
59
60 * Release 1.1.04
61
62 2023-12-22 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
63
64 * Release 1.1.03
65
66 2023-11-10 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
67
68 * Release 1.1.02
69
70 2023-11-09 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
71
72 * Release 1.1.01
73
74 2023-10-31 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
75
76 * Release 1.1
77
78 2022-04-14 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
79
80 * Release 1.0.04
81
82 2022-04-12 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
83
84 * Release 1.0.03
85
86 2022-04-04 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
87
88 * Release 1.0.01
89
90 2022-04-01 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
91
92 * Release 1
93
94 2024-04-22 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
95
96 * Release 0.9.8.94
97
98 2024-01-09 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
99
100 * Release 0.9.8.93
101
102 2023-09-04 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
103
104 * Release 0.9.8.92
105
106 2023-08-04 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
107
108 * Release 0.9.8.91
109
110 2023-07-25 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
111
112 * Release 0.9.8.9
113
114 2023-06-23 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
115
116 * Release 0.9.8.8
117
118 2023-01-02 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
119
120 * Release 0.9.8.7
121
122 2022-12-05 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
123
124 * Release 0.9.8.6
125
126 2022-10-01 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
127
128 * Release 0.9.8.5
129
130 2022-09-17 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
131
132 * Release 0.9.8.4
133
134 2022-05-31 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
135
136 * Release 0.9.8.2
137
138 2022-03-18 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
139
140 * Release 0.9.8.1
141
142 2022-03-01 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
143
144 * Release 0.9.8
145
146 2022-01-24 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
147
148 * Release 0.9.7
149
150 2021-07-02 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
151
152 * Release 0.9.6
153
154 2021-03-16 Paul Emsley <pemsley at mrc dash lmb dot cam ac dot uk>
155
156 * Release 0.9.5
157
158 2021-02-02 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
159
160 * Release 0.9.4.1
161
162 2021-01-29 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
163
164 * Release 0.9.4
165
166 2020-10-18 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
167
168 * Release 0.9.3
169
170 2020-10-02 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
171
172 * Release 0.9.2
173
174 2020-09-25 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
175
176 * Release 0.9.1
177
178 2020-04-01 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
179
180 * Release 0.9
181
182 2018-04-01 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
183
184 * Release 0.8.9.2
185
186 2018-03-18 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
187
188 * Release 0.8.9.1
189
190 2018-01-09 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
191
192 * Release 0.8.9
193
194 2017-03-13 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
195
196 * Release 0.8.8
197
198 2016-11-07 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
199
200 * Release 0.8.7
201
202 2016-08-18 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
203
204 * Release 0.8.6
205
206 2016-08-08 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
207
208 * Release 0.8.5
209
210 2016-07-28 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
211
212 * Release 0.8.4
213
214 2016-04-01 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
215
216 * Release 0.8.3
217
218 2015-08-27 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
219
220 * Release 0.8.2
221
222 2013-12-10 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
223
224 * Release 0.8.1
225
226 2013-05-14 Paul Emsley <pemsley at mrc dash lmb dot ac dot uk>
227
228 * Release 0.8
229
230 2013-05-14 Paul Emsley <[email protected]>
231
232 * Release 0.7.1
233
234 2012-09-28 Paul Emsley <[email protected]>
235
236 * Release 0.7
237
238 2010-01-26 Paul Emsley <[email protected]>
239
240 * Release 0.6.1
241
242 2009-12-01 Paul Emsley <[email protected]>
243
244 * Release 0.6
245
246 2008-12-15 Paul Emsley <[email protected]>
247
248 * Release 0.5.2, fix silly shift labelling atoms bug.
249
250 * Release 0.5.1
251
252 2008-09-24 Paul Emsley <[email protected]>
253
254 * Release 0.5
255
256 2008-01-02 Paul Emsley <[email protected]>
257
258 * Release 0.4
259
260 2007-07-12 Paul Emsley <[email protected]>
261
262 * src/graphics-info.h: add geom_p->add_planar_peptide_restraint()
263 to graphics_info_t::init().
264
265 2007-07-11 Paul Emsley <[email protected]>
266
267 * src/globjects.cc: changed smooth_scroll_step to 80 from 8.
268
269 2007-06-29 Paul Emsley <[email protected]>
270
271 * Release 0.3.2
272
273 2007-06-26 Paul Emsley <[email protected]>
274
275 * coot-utils/coot-shelx-ins.cc: (make_atom): set the U matrix
276 correctly. There was a transposition of u12 and u23. Ouch.
277
278 2007-06-16 Paul Emsley <[email protected]>
279
280 * src/molecule-class-info.cc: (add try/catch mechanism round
281 file.open_read() in read_ccp4_map()). Fixes a crash on reading a
282 non-CCP4 map.
283
284 2007-06-21 Paul Emsley <emsley@localhost>
285
286 * db-main/db-main.cc (clear_results): clear the output fragment
287 too.
288
289 2007-06-18 Paul Emsley <emsley@localhost>
290
291 * src/c-interface.cc: Add action view - as a direct view. But,
292 don't we really instead want to insert such a thing into a set of
293 views that we already have?
294
295 2007-06-17 Paul Emsley <emsley@localhost>
296
297 * ligand/wiggly-ligand.cc: turn off debugging for wiggly ligands.
298
299 2007-06-07 Paul Emsley <[email protected]>
300
301 * coords/Bond_lines.cc: (construct_from_atom_selection): Don't
302 mark S, SE, CL, BR, or P as bonded.
303
304 2007-05-29 Paul Emsley <emsley@localhost>
305
306 * src/molecule-class-info-other.cc:
307 change_chain_id_with_residue_range_helper_insert_or_add() the
308 target_residue should simply be a residue that will appear in the
309 pdb file before the inserted residue.
310
311 2007-05-18 Paul Emsley <[email protected]>
312
313 * src/c-interface.cc: (hardware_stereo_mode): kill off the
314 SIDE_BY_SIDE_STEREO widget, if it was active.
315
316 2007-05-12 Paul Emsley <emsley@localhost>
317
318 * src/c-interface-build.cc (get_monomer): check that the library
319 does not provide the restraints for the given 3-letter-code before
320 passing to the libcheck function [Judit Debreczeni].
321
322 2007-05-04 Paul Emsley <emsley@localhost>
323
324 * src/molecule-class-info.cc: (anisotropic_atoms): Add in cholesky
325 decomposition to the matrix.
326
327 2007-05-03 Paul Emsley <emsley@localhost>
328
329 * src/graphics-info-modelling.cc: Added
330 execute_simple_nucleotide_addition() function.
331
332 2007-05-01 Paul Emsley <emsley@localhost>
333
334 * src/molecule-class-info.cc: Kevin Cowtan provided a patch for
335 CNS map reading.
336
337 2007-04-13 Paul Emsley <emsley@localhost>
338
339 * src/pick.cc: Added Segid info to picked atom output info
340 [Christie Durnham]
341
342 2007-04-07 Paul Emsley <[email protected]>
343
344 * Release 0.3.1
345
346 * enable NCS ghosts. Add fractional matrix for LSQing.
347
348 * Release 0.3
349
350 2007-03-31 Paul Emsley <[email protected]>
351
352 * src/graphics-info.cc: (destroy_edit_backbone_rama_plot): set
353 edit_phi_psi_plot to null so that it is not left dangling when we
354 do edit phi/psi the the N-terminal residue, where there is no
355 Ramachandran plot made. Fixes Richard Baxter bug.
356
357 (update_molecule_to): don't call molecule_class_info_t's
358 update_molecule_to if there are no atoms in the guide point
359 vector. This stops the creation of a molecule with no atoms in
360 it, which causes problems because it seems to be closed. Also
361 this means that the model is not modified without creating a new
362 atom selection. Fixes Richard Baxter bug.
363
364 2007-03-19 Paul Emsley <[email protected]>
365
366 * src/cc-interface.hh: Add USE_GUILE protection to
367 dictionaries_read().
368
369 2007-03-06 Paul Emsley <[email protected]>
370
371 * src/c-interface-build.cc: (replace_fragment): function added.
372
373 2007-03-05 Paul Emsley <[email protected]>
374
375 * src/c-interface.h: (zoom_factor) function added.
376
377 2007-02-13 Paul Emsley <[email protected]>
378
379 * mapview.glade: Fix typo in "No Restraints" window [Steven
380 Sheriff].
381
382 2007-02-10 Paul Emsley <[email protected]>
383
384 * configure.in: Changed to version 0.2.1-pre-2 as I manually apply
385 diffs from Paris.
386
387 2007-02-08 Paul Emsley <[email protected]>
388
389 * src/callbacks.c: Many functions: change return types from gchar*
390 to const char * [typically from entries] to compile cleanly with
391 GTK2.
392
393 * src/c-interface-info.cc:
394 (generic_string_vector_to_list_internal): needs USE_GUILE
395 protection.
396
397 * macros/guile-gtk.m4 (AM_PATH_GUILE_GTK): Use coot_gtk2 to set
398 the version of libguilegtk-x.y.la for GUILE_GTK_LIBS.
399
400 2007-02-07 Paul Emsley <[email protected]>
401
402 * src/Makefile.am (INCLUDES): reordered because we want GTK flags
403 and GUILE flags to come first because they could be in a different
404 directory - when test building.
405
406 * src/molecule-class-info-other.cc: (get_term_type) return
407 "singleton" as a possible terminal residue type.
408
409 * ligand/residue_by_phi_psi.cc: (residue_by_phi_psi) and other
410 functions: add support for terminus type "singleton". Treat as a
411 C-terminal addition.
412
413 * src/graphics-info-modelling.cc:
414 (execute_rotate_translate_ready): change the code path to check
415 for atoms being in the same chain before putting up the GUI and
416 making an intermediate molecule.
417
418 * src/graphics-info-modelling.cc:
419 (execute_rigid_body_refine): change the code path to check for
420 atoms being in the same chain before doing rigid body refine. Does
421 that fix Bob Nolte's bug?
422
423 2007-01-30 Paul Emsley <[email protected]>
424
425 * ligand/rigid-body.cc: (rigid_body_fit): Assign a (0,0,0)
426 grad_vec when the occupancy of the atom is 0, otherwise it was
427 undefined. Fixes crazy alpha helix placement?
428
429 2007-01-04 Paul Emsley <[email protected]>
430
431 * Release 0.2
432
433 2006-12-05 Paul Emsley <[email protected]>
434
435 * src/graphics-info-state.cc: (save_state_file) save the map
436 sampling rate if it not the default.
437
438 2006-11-06 Paul Emsley <[email protected]>
439
440 * src/c-interface.cc: (dragged_refinement_steps_per_frame): return
441 the number of steps so that we can save them.
442
443 2006-11-02 Paul Emsley <[email protected]>
444
445 * src/c-interface-build.cc: (set_show_chi_angle_bond): Add a
446 redraw so that the new mode of chi angle drawing [typically called
447 from callbacks.c functions] are made effective [green bond no
448 longer left behind].
449
450 * src/c-interface-preferences.cc:
451 (save_accept_reject_dialog_window_position): only [dereference and]
452 save the position if the dialog is not null.
453
454 2006-11-03 Paul Emsley <[email protected]>
455
456 * src/molecule-class-info.cc: (handle_read_draw_molecule): only
457 update the bond width if this is NOT a undo.
458
459 2006-09-17 Paul Emsley <[email protected]>
460
461 * src/graphics-info-modelling.cc: (rot_trans_adjustment_changed):
462 add in code to check for CA bonds in master molecule and find
463 bonds appropriately.
464
465 * src/molecule-class-info.cc: remove intermediate pair of Cartesians
466 in draw_skeleton(), suggestion from Ezra Peisach.
467
468 2006-08-31 Paul Emsley <[email protected]>
469
470 * src/globjects.cc (key_press_event): mark as handled GDK_Meta_L
471 and GDK_Meta_R [for mac].
472
473 2006-08-23 Paul Emsley <[email protected]>
474
475 * Release 0.1.2.
476
477 2006-08-24 Paul Emsley <[email protected]>
478
479 * src/callbacks.c (on_auto_open_mtz_activate): correctly set the
480 sort_button [fixes random crash maybe].
481
482 * ligand/ligand.cc: ligand constructor: Change the default
483 map_atom_mask_radius to 2.0A.
484
485 2006-08-20 Paul Emsley <[email protected]>
486
487 * src/c-interface.cc: also c-interface-preferences.cc and
488 globjects.cc, callback.c and graphics-info-state.cc: Add code to
489 store, save and restore the position of the ramachandran plot.
490
491 2006-08-19 Paul Emsley <[email protected]>
492
493 * src/molecule-class-info-ncs.cc: (copy_residue_range): completely
494 re-written to fix bug noted by Panagis Filippakopoulos.
495
496 2006-08-14 Paul Emsley <[email protected]>
497
498 * src/c-interface-preferences.cc: (Add functions to save the
499 position of major widgets).
500
501 2006-08-08 Paul Emsley <[email protected]>
502
503 * src/globjects.cc: (handle_scroll_event): abstracted from long
504 glarea_button_press [More of the same please!]. Now scroll_events
505 [GTK2?] are handled similarly.
506
507 2006-08-08 Paul Emsley <[email protected]>
508
509 * src/geometry-graphs.cc:
510 (render_geometry_distortion_blocks_internal): Use sane_occupancy
511 to convert from shelx occupancies. Stops geometry distortions
512 going negative.
513
514 * src/c-interface.cc: function to set the default bond thickness,
515 saved/used in save_state_file().
516
517 * src/c-interface-build.cc: (on_merge_molecules_check_button_toggled):
518 Use GPOINTER_TO_INT to type user data. LTE bug.
519
520 * src/c-interface-build.cc (execute_refmac): Use GPOINTER_TO_INT
521 to get user data from active item. LTE bug.
522
523 * src/c-interface.cc (on_filename_filter_toggle_button_toggled):
524 Use GPOINTER_TO_INT to type user data. LTE bug.
525
526 * src/graphics-info-modelling.cc: (rot_trans_adjustment_changed):
527 Use GPOINTER_TO_INT to type user_data. LTE bug.
528
529 2006-08-07 Paul Emsley <[email protected]>
530
531 * src/graphics-info.cc: (on_change_current_chi_button_clicked):
532 use GPOINTER_TO_INT to type user data. LTE bug.
533
534 (difference_map_peaks_neighbour_peak): user GPOINTER_TO_INT to
535 type result of gtk_object_get_user_data(). LTE bug.
536
537 (rotamer_dialog_neighbour_rotamer): user GPOINTER_TO_INT to type
538 user_data. LTE bug.
539
540 (bonds_colour_rotation_adjustment_changed): use
541 GPOINTER_TO_INT. LTE bug.
542
543 2006-08-04 Paul Emsley <[email protected]>
544
545 * src/graphics-info.cc: (float_to_string): Valgrind was
546 complaining about uninitialized memory. Not sure why. Index the
547 arrays to 99 instead when zeroing.
548
549 * coords/Bond_lines.cc: (construct_from_asc): when outputing UDD
550 error for atom [it sholdn't happen] index the correct array. Valgrind
551
552 2006-08-03 Paul Emsley <[email protected]>
553
554 * src/molecule-class-info.cc: (label_atom): only draw the atom
555 labels if the molecule is being displayed.
556
557 * src/geometry-graphs.cc:
558 (render_geometry_distortion_blocks_internal): Don't do things for
559 atom index -1 [Not sure why atom index *is* -1 though]. This and
560 below fixes bug on geometry validation of 1HJ9 [Ulrich Englich].
561
562 * ideal/simple-restraint.cc: (distortion_score_plane_internal):
563 Don't do things for atom index -1.
564
565 2006-07-24 Paul Emsley <[email protected]>
566
567 * doc/user-manual.texi (masks): mask-map-by-molecule not
568 mask-map-by-protein.
569
570 * src/graphics-info-defines.cc: (check_if_in_pepflip_define): do a
571 redraw of the graphics after a pepflip.
572
573 2006-07-22 Paul Emsley <[email protected]>
574
575 * macros/glut.m4 (AM_PATH_GLUT): Add i686-apple-darwin* option.
576
577 2006-07-17 Paul Emsley <[email protected]>
578
579 * coot-utils/coot-shelx-ins.cc: move the precision setting out of
580 the format statement [ooops!] - fixes Doug Kuntz bug.
581
582 2006-07-28 Paul Emsley <[email protected]>
583
584 * build-it: Fix position of test of status of making guile.
585
586 * README: Removed the joke at the start of the README. It is
587 stale and misleading and I am not sure anyone got the joke (the
588 URL no longer gave a useful page).
589
590 2006-06-23 Paul Emsley <[email protected]>
591
592 * ligand/find-ligand.cc (main): add wiggly [flexible] ligand option.
593
594 * src/molecule-class-info-other.cc: (delete_residue_with_altconf):
595 when we have a shelxl molecule with just 1 alt conf left, set the
596 remaining occs to 11.0.
597
598 2006-06-16 Paul Emsley <[email protected]>
599
600 * coords/Bond_lines.cc: (construct_from_asc): Don't draw unbonded
601 hydrogens if the we are not drawing hydrogens. Fixed bug of
602 Donnie B.
603
604 2006-06-22 Paul Emsley <[email protected]>
605
606 * ligand/ideal-rna.cc: (make_molecule): put the antisense residues
607 in the chain in reverse order [so that they appear in the pdb file
608 in increasing order] by using a vector of residues.
609
610 2006-06-08 Paul Emsley <emsley@localhost>
611
612 * sequence-view/sequence-view.cc: (mol_to_canvas): check that
613 strand is non-null before doing anything with it. Fixes crash
614 with 1h5w reported by Roeland Boer [[email protected]].
615
616 2007-06-05 Paul Emsley <[email protected]>
617
618 * ideal/simple-restraint.cc: (find_link_type): Allow D-peptides as
619 well as L-peptides.
620
621 2006-06-05 Paul Emsley <[email protected]>
622
623 * geometry/protein-geometry.cc: (init_standard): use CLIBD_MON if
624 it is set.
625
626 2006-06-04 Paul Emsley <[email protected]>
627
628 * src/molecule-class-info-widget-work.cc:
629 (fill_ncs_control_frame_internal): don't test for display_it_flag
630 before setting the toggle button. [Actually, that whole frame
631 should be desensitised according to display_it button state].
632
633 2006-05-24 Paul Emsley <[email protected]>
634
635 * src/c-interface.h: enable documentation for superpose functions.
636
637 2006-05-22 Paul Emsley <[email protected]>
638
639 * src/c-interface.cc:
640 read_phs_and_make_map_using_cell_symm_from_mol renamed to
641 read_phs_and_make_map_using_cell_symm_from_mol_using_implicit_phs_filename.
642 read_phs_and_make_map_using_cell_symm_from_previous_mol created.
643 read_phs_and_make_map_using_cell_symm_from_mol created. So that
644 putting phs data on the command line will use the given pdb.
645 command line data handling needs to be call this function.
646
647 (add_filename_filter_button): filter button created.
648
649 (set_file_selection_pre_filtered): function created. To satisfy
650 Phil, I think.
651
652 * coot-utils/coot-shelx-ins.cc: (write_ins_file): use precision(9)
653 when outputting coords - stops [unreadable] accidental exponential
654 output formatting.
655
656 * src/c-interface-build.cc: (set_undo_molecule): Allow the setting
657 of the undo molecule to a molecule that might have 0 selected
658 atoms [e.g. we have a ligand as a molecule and accidently delete
659 it]
660
661 2006-05-21 Paul Emsley <[email protected]>
662
663 * src/c-interface-build.cc: (ideal_nucleic_acid): downcase the
664 sequence.
665
666 2006-05-30 Paul Emsley <[email protected]>
667
668 * src/c-interface.cc: (get_text_for_aniso_limit_radius_entry):
669 don't write over the end of the malloced memory.
670
671 2006-05-19 Paul Emsley <[email protected]>
672
673 * Release 0.1.1
674
675 2006-05-15 Paul Emsley <[email protected]>
676
677 * src/c-interface-build.cc:
678 (save_symmetry_coords_from_fileselection): remove origin pre-shift
679 from trans of symm atom before writing coords.
680
681 2006-05-11 Paul Emsley <[email protected]>
682
683 * coords/Bond_lines.cc: (construct_from_asc): Added in cross-bonds
684 to hydrogens that don't have bonds. Blasted hydrogens will no
685 longer seem to disappear.
686
687 2006-05-10 Paul Emsley <[email protected]>
688
689 * src/molecule-class-info.h: ghost_molecule_display_t, cleaned up
690 usage of display_it_flag [valgrind was complaining [rightly]].
691
692 2006-05-09 Paul Emsley <[email protected]>
693
694 * src/c-interface.cc: (set_show_unit_cells_all): Check maps too!
695 [PRE].
696
697 * src/callbacks.c (on_unit_cell_no_radiobutton_toggled): unit cell
698 radio button callbacks added. Now these radio button pair has
699 immediate effect [PRE].
700
701 2006-04-25 Paul Emsley <[email protected]>
702
703 * src/molecule-class-info.cc: (add_typed_pointer_atom): Set
704 attributes correctly for user-typed pointer atom.
705
706 2006-04-24 Paul Emsley <[email protected]>
707
708 * ligand/Makefile.am: Use libcoot-ligand.la throughout.
709
710 2006-04-24 Paul Emsley <[email protected]>
711
712 * src/rama_plot.cc: (draw_2_phi_psi_sets_on_canvas): remove bad
713 shadowing of loop variable. [FR].
714
715 * src/molecule-class-info-other.cc: proper syntax for
716 coot::nomenclature [remove extra qualification] [FR].
717
718 * src/molecule-class-info-ncs.cc: make
719 copy_residue_range_using_from_ncs_master_to_other_using_ghost()
720 return a value [FR].
721
722 2006-04-19 Paul Emsley <[email protected]>
723
724 * src/c-interface.cc: (set_graphics_window_size) add
725 use_graphics_interface_flag protection.
726
727 2006-04-17 Paul Emsley <[email protected]>
728
729 * src/c-interface-info.cc: (place_text), (remove_text) Added
730 fuctions. Add 3-d text [the text doesn't rotate, it stays
731 readable].
732
733 * src/c-interface.cc: Created function get_monomer() from the
734 internals of handle_get_libcheck_monomer_code(). get_monomer()
735 can be used from the scripting layer.
736
737 * src/c-interface.cc (safe-scheme-command). Now returns a value,
738 SCM, which can be decoded in the calling function. A good thing.
739 [This means that libguile.h had to be included in c-interface.h].
740
741 2006-04-15 Paul Emsley <[email protected]>
742
743 * coot-utils/peak-search.hh (coot): remove extra qualification for
744 find_protein_to_origin_translations() [test compile with 4.1.0].
745
746 2006-04-14 Paul Emsley <[email protected]>
747
748 * src/molecule-class-info.h: remove molecule_class_info_t from
749 function declaration for change_chain_id_with_residue_range [DB].
750
751 * src/rama_plot.hh: remove coot::rama_plot:: from function
752 declaration for get_phi_psi [DB].
753
754 * coot-utils/coot-map-heavy.hh (ffear_search): remove class
755 component of function name for
756 filter_by_distance_to_higher_peak() [also DB].
757
758 * coords/Cartesian.h: add proper declaration of friend functions.
759 Ancient broken code (however did it compile before?)! Compilation
760 problem spotted Donnie Berkholz.
761
762 2006-04-12 Paul Emsley <emsley@localhost>
763
764 * src/molecule-class-info-mutate.cc (mutate_base_internal): Allow
765 Ud and Tr as possible bases from which to mutate.
766
767 2006-04-13 Paul Emsley <[email protected]>
768
769 * ligand/wiggly-ligand.cc: Added #include for coot-utils.hh, it
770 seems to be needed in the case where GSL is not defined? Anyway,
771 no harm in explicitly including it.
772
773 2006-04-11 Paul Emsley <[email protected]>
774
775 * src/graphics-info-navigation.cc: (fill_go_to_atom_residue_list):
776 make the 2000 residue item limit change to 20000. Now the widget
777 behaviour is different, but you can exapand chains past the G
778 chain [the 2000th residue] individually. This is better, I suppose.
779
780 2006-04-11 Paul Emsley <[email protected]>
781
782 * src/graphics-info.cc: (apply_undo): Update the ramachandran plot
783 [if it exists for this molecule].
784
785 * coot-utils/coot-utils.cc: (create_directory): moved body of
786 make_directory_maybe here and changed logic of fstat vs is_dir
787 tests so that we don't test for a directory before file exists.
788
789 2006-04-04 Paul Emsley <[email protected]>
790
791 Release 0.1
792
793 * src/graphics-info-modelling.cc:
794 (new_alt_conf_occ_adjustment_changed): Don't change the alt conf
795 for fully occupied atoms.
796
797 2006-04-03 Paul Emsley <[email protected]>
798
799 * src/callbacks.c (on_rotate_translate_obj_cancel_button_clicked):
800 COOT_ROTATE_TRANSLATE_DIALOG remembers where it was put when we
801 press the Cancel button.
802
803 2006-04-01 Paul Emsley <[email protected]>
804
805 * src/c-interface-build.cc (delete_residue_range): check the
806 status of the "Keep Active" dialog before trying to close the
807 dialog. Bug reported by Bernhard Lohkamp.
808
809 2006-03-30 Paul Emsley <[email protected]>
810
811 * src/c-interface-waters.cc (renumber_waters): function added
812
813 * src/molecule-class-info-other.cc (renumber_waters): function
814 added.
815
816 * src/c-interface.cc: (auto_read_make_and_draw_maps): if "FWT",
817 "DELFWT" column labels fail, try "2FOFCWT" and "FOFCWT" also.
818
819 * src/rama_plot.cc: created function phi_psi_pair_helper_t
820 make_phi_psi_pair() which is the engine for making phi/psi pairs
821 from 2 chains. Uses new utility function std::pair<short int,
822 coot::phi_psi_t> get_phi_psi().
823
824 The GUI menu item has been renamed to "Kleywegt Plot" as per
825 conversation with George Sheldrick.
826
827 2006-02-26 Paul Emsley <[email protected]>
828
829 * ligand/Makefile.am (test_fffear_in_coot_LDADD): Add coot-compat
830 to get the correct getopt_long() as suggested by Ezra.
831
832 * src/main.cc and cmtz-cinterface.cc: Patch as Ezra suggests
833 commenting out NLS code.
834
835 2005-12-02 Paul Emsley <[email protected]>
836
837 * coords/Bond_lines.cc: (do_colour_by_chain_bonds) and
838 (do_colour_by_molecule_bonds): both now look at the atom element
839 and draw_hydrogens_flag. Also removed atom selection indexing and
840 just just atom pointers (which should be propogated to other
841 functions in this class).
842
843 2005-12-01 Paul Emsley <[email protected]>
844
845 * src/c-interface.cc: (apply_bond_parameters): remove looking for
846 the "carbons only" checkbuton.
847
848 2005-11-30 Paul Emsley <[email protected]>
849
850 * src/molecule-class-info.cc:
851 (initialize_coordinate_things_on_read_molecule_internal): add
852 setting of the [initial] bond colour map rotation step and "doit"
853 flag.
854
855 2005-11-12 Paul Emsley <[email protected]>
856
857 * src/molecule-class-info.cc: (insert_coords_chage_altconf) and
858 (insert_coords_atoms_into_residue_internal): Add shelx occupancy.
859 -1 is used when this is not from a shelx file.
860
861 * coot-utils/coot-shelx-ins.cc: Add add_fvar function which added
862 a free variable and returns the index of the new free variable
863
864 * coords/mmdb.cc: (get_atom_selection): added ifdefs for
865 HAVE_MMDB_IGNORE_HASH. May need to sort this out by hand.
866
867 2005-11-11 Paul Emsley <[email protected]>
868
869 * src/molecule-class-info-widget-work.cc:
870 (ncs_control_change_ncs_master_to_chain_update_widget): created.
871 When we change the NCS master the toggle buttons for the displayed
872 ghost chains need to change too.
873
874 2005-11-10 Paul Emsley <[email protected]>
875
876 * src/cmtz-interface.cc: (get_f_phi_columns): use try/catch
877 mechanism to stop crash on trying to CCP4MTZfile::open_read a cif
878 file.
879
880 2005-11-06 Paul Emsley <[email protected]>
881
882 * The move to CCP4 distribution of fftw, cmtz, cmap, mmdb, ssm,
883 clipper libraries. Substantial changes not documented here.
884
885 This diff is 38,000 lines.
886
887 mmtz and mmtz-extras have gone. New clipper-based mtz looking
888 routine added (cmtz-interface.cc).
889
890 Crystal and dataset info now appear in the mtz column chooser and
891 this had to be accounted for, so much splitting and recombining of
892 strings (new functions added).
893
894 macros updates to match ccp4 placing of include files.
895
896 The autobuilder is updated.
897
898
899 2005-11-05 Paul Emsley <[email protected]>
900
901 * geometry/protein-geometry-mmdb.cc (comp_atom_pad_atom_name): I
902 was getting the atom name wrong for "CCB" with element "C", so now
903 a check is made to see if first letter is the element name.
904
905 2005-10-31 Paul Emsley <[email protected]>
906
907 * macros/with-guile.m4, macros/with-python.m4: applied Ezra's
908 patch to use AM_CONDITIONAL to get to the wrapped guile interface.
909
910 2005-10-30 Paul Emsley <[email protected]>
911
912 * src/c-interface.cc: (handle_read_draw_molecule_with_recentre):
913 add statusbar text when the molecule fails to read.
914
915 2005-10-29 Paul Emsley <[email protected]>
916
917 * src/globjects.cc (key_press_event): add call to new scheme
918 function graphics-general-key-press-hook for as yet undefined
919 keys [Bryan Lepore].
920
921 2005-10-19 Paul Emsley <emsley@localhost>
922
923 * src/c-interface.cc: (another_level_from_map_molecule_number):
924 only try to mess with the contor levels of molecule istat if istat
925 is not an error [-1, e.g. from map, not mtz file]. Fixes
926 another-level crash.
927
928 2005-10-18 Paul Emsley <emsley@localhost>
929
930 * coot-utils/coot-fffear.cc: file created. For fffear class,
931 moved out of coot-map-heavy.cc
932
933 * coot-utils/coot-coord-utils.cc (pad_atom_name): copied from
934 geometry class. Should rationalize at some stage.
935
936 * coot-utils/coot-shelx-ins.cc: (make_atom_name): new version
937 which uses atom element and calls new util function
938 pad_atom_name().
939
940 2005-10-16 Paul Emsley <[email protected]>
941
942 * src/graphics-info.cc: (drag_refine_refine_intermediate_atoms):
943 created. Function for Frank von Delft.
944
945 * src/globjects.cc: (glarea_motion_notify): if dragged refinement
946 intermediate refinement set then refine intermediate atoms.
947
948 * src/molecule-class-info-other.cc: (add_OXT_to_residue): instead
949 of finding total 4 atoms, check that each of them has been
950 found. Now we can add OXT to residues with an alt conf.
951
952 2005-10-04 Paul Emsley <[email protected]>
953
954 * src/graphics-info-pick.cc
955 (rotate_intermediate_atoms_round_screen_x): function created.
956 Called by rotate_intermediate_atoms_maybe().
957
958 * src/globjects.cc: (glarea_motion_notify):
959 rotate_intermediate_atoms_maybe() now has axis argument and uses y
960 diff for rotation round the screen X axis.
961
962 2005-09-23 Paul Emsley <[email protected]>
963
964 * src/graphics-info-state.cc: (save-state_command): If
965 contoured_by_sigma_p() I meant to push back command strings, not
966 display strings. Fixes saving contour state issue for Bob Nolte.
967
968 * src/graphics-info-graphs.cc: (rotamers_from_mol): use dunbrack
969 constructor that adds extra PHE/TYR.
970
971 2005-09-20 Paul Emsley <[email protected]>
972
973 * coot-utils/peak-search.cc: (get_peaks): don't move the negative
974 cluster centres to local peak.
975
976 * ligand/ligand.cc: (fit_ligand_to_cluster): Try each orientation
977 eigen. Changed [created a version with extra args of the eigen
978 ori] of transform_ligand_atom() and fit_ligand_copy().
979
980 (calculate_cluster_centres_and_eigens): After sorting the eigen
981 values, check the matrix determinant. If negative, swap axes 2
982 and 3. No longer inverts [chiral] ligands.
983
984 * coot-utils/peak-search.cc: (get_peaks): Don't used
985 move_grid_to_peak on cluster centres of negative peaks.
986
987 2005-09-19 Paul Emsley <[email protected]>
988
989 * coords/Bond_lines.cc: (handle_MET_or_MSE_case): Add alt conf
990 testing to bonds. Also changed CYS case.
991
992 * ligand/ligand-extras.cc: (fit_water_internal): major rewrite.
993 Now uses list for clusters rather than vector. We only calculate
994 clusters once. Sphericity test has been removed.
995
996 2005-09-16 Paul Emsley <[email protected]>
997
998 * ideal/simple-restraint.cc: (make_link_restraints): test for
999 neighbouring residues [by residue seq number]. Fixes problem of
1000 refining next to residue with all atoms in alt confs.
1001
1002 * src/molecule-class-info-other.cc:
1003 (do_180_degree_side_chain_flip): make the alt conf work by using a
1004 residue copy.
1005
1006 2005-09-15 Paul Emsley <[email protected]>
1007
1008 * geometry/protein-geometry.cc: (try_dynamic_add): Add in logic to
1009 try to find "XXX-b-D.cif" or "XXX-a-L.cif"
1010
1011 * ideal/simple-restraint.cc: (find_link_type): override the return
1012 value of find_glycosidic_linkage_type() until
1013 find_glycosidic_linkage_type() returns sensible result. Fixing
1014 flying carbohydrate.
1015
1016 2005-09-12 Paul Emsley <[email protected]>
1017
1018 * src/molecule-class-info-other.cc: (make_ball_and_stick): put the
1019 glMaterialfv() call for specular inside the bond loop to colour
1020 for bond type and comment out GL_AMBIENT_AND_DIFFUSE and
1021 GL_EMISSION [no idea why they were there - not clear thinking...].
1022 Ball and stick looks good now. I need to be able to remove the
1023 object at some stage.
1024
1025 2005-09-11 Paul Emsley <[email protected]>
1026
1027 * src/graphics-info-defines.cc:
1028 (other_modelling_tools_toggle_button_name_list): correct name of
1029 cis/trans button.
1030
1031 * ligand/residue_by_phi_psi.cc: extract function
1032 build_C_terminal_ALA() and build_N_terminal_ALA() out of
1033 residue_by_phi_psi class [from
1034 construct_prev_res_from_rama_angles() and
1035 construct_next_res_from_rama_angles()].
1036
1037 * ligand/helix-placement.cc: (build_on_N_end, build_on_C_end,
1038 trim_end, build_N_terminal_ALA, build_C_terminal_ALA): created to
1039 extend or trim the placed helix.
1040
1041 * src/graphics-info-render.cc: (povray): Move the eye back.
1042 (povray_molecule): change the scale of the rendered objects to 1.0.
1043
1044 2005-09-08 Paul Emsley <[email protected]>
1045
1046 * mini-mol/mini-mol.cc: add occupancy characteristic to a minimol
1047 atom. Update pdb reading and writing.
1048
1049 * ligand/ligand.cc: (get_rigid_body_angle_components): The scaling
1050 of the gradients to [angle] steps was too high, leading to
1051 overstepping the minimum and therefore oscillations. 0.03 changed
1052 to 0.01. Resulting in more rapid and more robust rigid body
1053 refinement now.
1054
1055 2005-09-06 Paul Emsley <[email protected]>
1056
1057 * ligand/find-ligand.cc (main): corrected usage text.
1058
1059 2005-09-05 Paul Emsley <[email protected]>
1060
1061 * src/c-interface.cc: (parse_ccp4i_defs): line length limit was
1062 100 chars on read. How *could* I have been so short-sighted?
1063 expanded to 1000. Fixes crash reported by Lari Lehtiö I hope.
1064
1065 2005-09-02 Paul Emsley <[email protected]>
1066
1067 * src/molecule-class-info-other.cc:
1068 (change_chain_id_with_residue_range): Fix crash reported by GSK's
1069 Nino: ie. crash when Change Chain ID residue range to a chain id
1070 that already exists [nresidues -> to_chain_nresidues].
1071
1072 2005-09-01 Paul Emsley <[email protected]>
1073
1074 * src/callbacks.c (on_raster3d1_activate): and friends. Added
1075 default filename.
1076
1077 * ccp4mg-utils/Makefile.am: Clean up Makefile.am [remove the fink
1078 hardcoding of CXXFLAGS for png]. PNG is not available then.
1079
1080 * src/graphics-info.cc: (update_residue_by_chi_change): update
1081 chi_ang.change_by() to use pointer to Geom.
1082
1083 * src/c-interface-ligands.cc: (execute_ligand_search): update
1084 install_simple_wiggly_ligands call to pass the pointer to Geom.
1085
1086 * geometry/protein-geometry.cc:
1087 (get_monomer_torsions_from_geometry): now we have dynamic add,
1088 this function is not const.
1089
1090 2005-08-31 Paul Emsley <[email protected]>
1091
1092 * src/callbacks.c (on_screendump_image_ok_button_clicked):
1093 Created. Call the image creation functions according to
1094 fileselection type.
1095
1096 * src/c-interface.cc: (make_image_raster3d) and
1097 (make_image_povray) functions created to be used by new Snapshot
1098 menu items.
1099
1100 * coot-utils/coot-shelx-ins.cc: (make_atom): abstracted out to
1101 make the keyword conditions a bit more readable. Fixed read of
1102 isotropic B factor and keep HKL card for output. As per GMS
1103 instructions.
1104
1105 (write_ins_file): use function remove_leading_spaces for the atom
1106 names.
1107
1108 * coot-utils/coot-utils.cc: (remove_leading_spaces): function
1109 created [used for shelx output atom names].
1110
1111 * src/graphics-info-defines.cc
1112 (check_if_in_reverse_direction_define): Created for new button on
1113 other modelling tools menu. (setup_reverse_direction) created too
1114 in c-interface-build.cc
1115
1116 2005-08-29 Paul Emsley <[email protected]>
1117
1118 * geometry/protein-geometry.cc:
1119 (get_monomer_torsions_from_geometry): try_dynamic_add was not
1120 being used if the monomer_type was not found in the list. It is
1121 now. This needs to be passed read_number.
1122
1123 * src/graphics-info.cc: (set_transient_and_position): a copy of
1124 the c-interface.cc's function - so that widgets created from
1125 inside graphics-info.cc can be transiented and positioned
1126 [e.g. chi angles and rotamers]. Needed the creation of
1127 (positioned-widgets.h) which is included by c-interface.cc,
1128 callbacks.c and graphics-info.cc.
1129
1130 * high-res/high-res.cc: (buccafilter): removed the
1131 fragment-sort-by-length.
1132
1133 2005-08-25 Paul Emsley <[email protected]>
1134
1135 * analysis/bfkurt.cc: Tidied up with unsigning the for loop ints.
1136 Also pass extra flag to write_table that allows the output of
1137 every residue, not just the questionables.
1138
1139 * src/molecule-class-info.cc: (mutate): 5364 uncommented and
1140 repositioned the DeleteSelection(). Or it should be. check me.
1141
1142 2005-08-23 Paul Emsley <[email protected]>
1143
1144 * doc/user-manual.texi (SHELX .ins/.res files): section created.
1145
1146 * coot-utils/coot-shelx-ins.cc: (debug) added.
1147
1148 * src/molecule-class-info-other.cc:
1149 (reverse_direction_of_fragment): Given a residue spec, find the
1150 fragment that that residue was in and reverse the direction of
1151 that fragment leaving only CAs.
1152
1153 * src/c-interface-build.cc: (fill_partial_residues): function
1154 created. Uses the new missing_atoms() function.
1155
1156 * src/molecule-class-info-other.cc (missing_atoms): created. Do a
1157 check against the atom names in the dictionary and return a class
1158 that contains a vector of CResidue *s of atoms that don't have all
1159 their atoms.
1160
1161 * coot-utils/coot-coord-extras.hh: Added missing atom helper classes.
1162
1163 * src/graphics-info-pick.cc: (symmetry_atom_pick): Kevin inserted
1164 some throw/catch code here on the setting of the space group name.
1165 Also, construct the space group from the symops, not the space
1166 group name.
1167
1168 * coords/Bond_lines.cc: (handle_MSE_case) changed considerably.
1169 Also handled here now are CYS and MET. The normal construct bond
1170 length limit has been reduced to 1.7A [whcih left Sulfur bonds
1171 which this routine deals with].
1172
1173 * coot-utils/coot-shelx-ins.cc: (symm_card_composition_t): correct
1174 the indexing of the ele array to set the symmetry card correctly
1175 [rather than totally mis-indexed, as it had been].
1176
1177 * src/graphics-info-defines.cc:
1178 (check_if_in_180_degree_flip_define): created and extensive
1179 changes. Ligand fitting was moved out of the model/fit/refine
1180 dialog and the 180 degree flip moved in. A mol is created from
1181 the residue, so that we can call update_geometry_graphs [which has
1182 presumed an intermediate atom molecule], so that 180 degree flips
1183 can upate the rotamer graph. A chi_angles function
1184 rotate_chi2_180() was created.
1185
1186 * src/c-interface.cc: (handle_read_draw_molecule_with_recentre):
1187 rather than use the shelx split in get_atom_selection(), where a
1188 normal atom_sel is returned [and the ShelxIns is lost], we call
1189 read_shelx_ins_file directly and molecule_class_info_t keeps the
1190 ShelxIns. Now shelx ins files can be output.
1191
1192 * coords/Bond_lines.cc: (add_atom_centres): put a lower limit on
1193 the occupancy needed to have a zero occ spot, so that shelx
1194 molecule with occ -61 is correctly represented.
1195
1196 2005-08-21 Paul Emsley <[email protected]>
1197
1198 * ligand/chi-angles.cc: (add_IUPAC_extras_PHE_and_TYR_rotamers):
1199 new function created. Used in intialization of chi angles. We add
1200 extra rotamers for PHE and TYR to cope with the 180 degree flip to
1201 match IUPAC convention, but rotamer there didn't exist.
1202
1203 2005-08-13 Paul Emsley <[email protected]>
1204
1205 * high-res/high-res.cc: buccafilter() function created and also
1206 function to add cbetas and o positions. Had 2 goes at the
1207 filtering. The first was to average the position of the similarly
1208 placed atom - but it was too complex. So I then tried scoring by
1209 fragment length then just deleting the other atoms if they
1210 overlapped.
1211
1212 * mini-mol/mini-mol-utils.cc (o_position, cbeta_position): created
1213 file and functions and added to Makefile.am These are called by
1214 post-buccaneer filtering.
1215
1216 2005-08-12 Paul Emsley <[email protected]>
1217
1218 * setup/coot.sh.in: and coot.csh.in. Don't override the
1219 PYTHONPATH if it was set already.
1220
1221 2005-08-08 Paul Emsley <[email protected]>
1222
1223 * src/callbacks.c:
1224 on_residue_info_b_factor_apply_all_checkbutton_toggled and
1225 on_residue_info_occ_apply_all_checkbutton_toggled: toggle the
1226 sensitivity of the entries so that people can't make edits until
1227 the edits are active.
1228
1229 2005-08-04 Paul Emsley <[email protected]>
1230
1231 * src/globjects.cc: scroll-wheel event handling altered - no
1232 longer can get maps that can be increased in level, but not
1233 decreased.
1234
1235 * doc/user-manual.texi (Maps in General): Add documentation for
1236 "Expert mode".
1237
1238 2005-08-03 Paul Emsley <[email protected]>
1239
1240 * src/read-phs.c: add stdio for clean compile.
1241
1242 * src/c-inner-main.c: Add string.h and stdio for a clean compile.
1243
1244 * src/gtk-manual.c: include stdio.h, stdlib.h and string.h to
1245 clean the compilation on GCC 4.0 (FC4).
1246
1247 * src/read-cif.c: include stdio.h to declare printf()
1248
1249 * src/c-interface-superpose.cc: (superpose_with_chain_selection)
1250 add ifdef HAVE_SSMLIB to this function [Jinghua Tang reported the
1251 compilation error].
1252
1253 2005-08-02 Paul Emsley <[email protected]>
1254
1255 * coords/Bond_lines.cc: (do_Ca_plus_ligands_bonds): ooops, remove
1256 tmp debugging line that set atom_colour_type to COLOUR_BY_RAINBOW
1257 for everything.
1258
1259 2005-07-28 Paul Emsley <[email protected]>
1260
1261 * high-res/globularize.cc: globularize_protein now takes
1262 --centre-x [etc] arguments.
1263
1264 2005-07-26 Paul Emsley <[email protected]>
1265
1266 * geometry/protein-geometry.cc: now partial charges are not needed
1267 for the dictionary to read correctly.
1268
1269 2005-07-25 Paul Emsley <[email protected]>
1270
1271 * Fixed: Alt conf split on water [ignores the value in the dialog].
1272
1273 * Fixed: occupancy of remaining single atoms set to 1.0 on deletion.
1274
1275 * Fixed: set the cell and symmetry in setup of minimol.
1276
1277 * Fixed: remove the Control Delete description [it doesn't work].
1278
1279 * The water distance validation check now works.
1280
1281 * Update: Go To Atom window after renumber-residue-range.
1282
1283 * scheme/fitting.scm: added fit-waters function. Needed
1284 atom_index_first_atom_in_residue() function.
1285
1286 * Fixed: waters added to protein model with no waters had the waters
1287 added to the last chain [instead of a new chain].
1288
1289 * Created: high-res/globularize.cc
1290
1291 2005-06-30 Paul Emsley <[email protected]>
1292
1293 * Release 0.0.33
1294
1295 2005-06-29 Paul Emsley <[email protected]>
1296
1297 * src/graphics-info-state.cc: (save_state_file): use
1298 molecule_count to find the go_to_atom_molecule for the output
1299 script [not i].
1300
1301 * src/molecule-class-info.cc: (insert_waters_into_molecule):
1302 Create insert_waters_into_molecule() and rename old function of
1303 that name to append_to_molecule(). insert_waters_into_molecule()
1304 checks that we have a solvent chain, and if it does then add
1305 waters to that chain, not create a new chain.
1306
1307 * analysis/bfkurt.cc: (stats) Add a new element to store the
1308 residue name [and then use it to label the b-factor validation
1309 graph blocks].
1310
1311 2005-06-28 Paul Emsley <[email protected]>
1312
1313 * src/c-interface.cc: (new_close_molecules): it is not an error
1314 for the sequence view not to be displayed.
1315
1316 2005-06-28 Paul Emsley <emsley@localhost>
1317
1318 * ligand/chi-angles-autogen.cc (add_all_rotamers): generated new
1319 chi-angles-autogen.sh, but I needed to kludge in a MSE rotamer so
1320 that we didn't get 100s of the "Oops, MSE not found in
1321 typed_rotamers" messages in the console.
1322
1323 * ligand/read-dunbrack.awk: if chi2 for TYR and PHE is > 90, take
1324 180 from the angle to fit to IUPAC nomenclature.
1325
1326 2005-06-28 Paul Emsley <[email protected]>
1327
1328 * src/graphics-info.cc: (smooth_scroll_maybe) get an extra pair of
1329 args, a target zoom and a flag. Now reset view has animate zoom
1330 too.
1331
1332 * src/molecule-class-info.cc: (display_bonds): Put if test round
1333 set_bond_colour_by_mol_no(), suggested by Ezra Peisach.
1334
1335 2005-06-27 Paul Emsley <[email protected]>
1336
1337 * src/molecule-class-info-other.cc: (cis_trans_convert) and
1338 (cis_trans_convertion) created for CIS <-> TRANS conversion and
1339 other graphics_info_t and c-interface infrastructure to deal with
1340 it.
1341
1342 * "Other Modelling Tools" menu item and dialog created.
1343
1344 * src/command-line.cc (handle_command_line_data): add --auto
1345 handler [which does auto_read_make_and_draw_maps].
1346
1347 (parse_command_line): add --auto command-line option.
1348
1349 2005-06-26 Paul Emsley <[email protected]>
1350
1351 * mapview.glade: move Residue/monomer to top of list.
1352
1353 * src/callbacks.c (on_run_refmac_run_button_clicked): Add some
1354 debugging.
1355
1356 * src/c-interface-build.cc: (wrapped_create_delete_item_dialog):
1357 If we were in water delete mode, then set the appropriate radio
1358 button.
1359
1360 * src/graphics-info.cc: (execute_rotate_translate_ready): Swap
1361 from copying the whole of the molecule to using a residue
1362 selection and using create_mmdbmanager_from_res_selection().
1363 Fixes memory leak hopefully and allows CA mode for intermediate
1364 atoms without crashing on accept of the moving atoms.
1365
1366 2005-06-25 Paul Emsley <[email protected]>
1367
1368 * src/graphics-info.cc: (make_moving_atoms_graphics_object): Make
1369 bonds in CA mode if the moving atoms molecule was in CA mode.
1370
1371 * src/graphics-info-pick.cc:
1372 (move_moving_atoms_by_simple_translation): Make bonds in CA mode
1373 if the moving atoms molecule was in CA mode.
1374
1375 * src/c-interface.cc (map_scroll_wheel_mol_selector_activate):
1376 Call activate_scroll_radio_button_in_diplay_manager() so that the
1377 display manager is consistent.
1378
1379 2005-06-24 Paul Emsley <[email protected]>
1380
1381 * src/graphics-info-graphs.cc: (rotamer_graphs): in missing atoms
1382 case, set a string_user_data to signal missing data and in
1383 geometry-graphs.cc's plot_block change the colour of the block for
1384 missing atoms case.
1385
1386 2005-06-23 Paul Emsley <[email protected]>
1387
1388 * ligand/dunbrack.cc: (probability_of_this_rotamer): Kludge the
1389 residue type to MET from MSE *after* the atom pairs have been
1390 assigned. Fixes Juergen Bosch "MSE in rotamer graph bug".
1391
1392 * geometry/protein-geometry.cc: (init_refmac_mon_lib): use the
1393 read_number_in to determine if this file should update the
1394 chem_comp info [in the refmac libs, the chem_comp information is
1395 given twice, in the mon_lib_list.cif and a/ALA.cif - we only want
1396 the second one or we get allresidues added to the dictionary
1397 [which may not be a bad thing for the future]].
1398
1399 * ideal/simple-restraint.cc: (find_link_type): created. Given 2
1400 residues and the dictionary, find the linkage type.
1401
1402 * (find_glycosidic_linkage_type): for pyranoses and furanoses.
1403 This is just a stub function at the moment. It should be filled
1404 and return the correct linkage. We need to find the anomericity
1405 of the linking oxygen. There are issues of the linking oxygen -
1406 the convention in refmac might be different to conventional
1407 biochemistry. Needs investigation at some stage.
1408
1409 2005-06-22 Paul Emsley <[email protected]>
1410
1411 * src/graphics-info-navigation.cc: (split_resno_inscode): allow
1412 for residues with negative residue numbers. Fixes bug reported by
1413 Qingping Xu.
1414
1415 * geometry/protein-geometry.cc: (chem_comp),
1416 (mon_lib_add_chem_comp): created. mon_lib_add_chem_comp() does
1417 the trashing of the old residue restraints so that a new file will
1418 update create a new usable library. mon_lib_add_chem_comp() adds
1419 monomer information such as the group [e.g. "L-peptide"] used in
1420 determining the linkage type.
1421
1422 (init_refmac_mon_lib): now takes a read_number argument.
1423
1424 Why the read number?
1425
1426 Currently [20050620] the way the restraints are found is FIFO. we
1427 start from entry 0 and check upwards for the matching
1428 residue/monomer type.
1429
1430 But we need to be able to "override" the current restraints by
1431 reading in a new file. How do we do that?
1432
1433 When reading in a restraint and trying to add it, we find that a
1434 dictionary entry for that residue type exists. Do we want to
1435 override it?
1436
1437 In init_refmac_mon_lib() we would want to check through
1438 dict_res_restraints for the existance of this restraint. If it
1439 does exist, kill it by changing its name to blank. However, we
1440 don't know the name of the restraint yet! We only know that at
1441 the add_atom(), add_bond() [etc] stage.
1442
1443 So, at each of those stages we need to know if this we are adding
1444 to an already existing dictionary entry or this restraint is from
1445 a different file to the previous entry. We want to do different
1446 things they are different.
1447
1448 * geometry/protein-geometry.cc: (clear_dictionary_residue): created.
1449
1450 * src/graphics-info-pick.cc: (symmetry_atom_pick): On Kevin's
1451 advice add the string type to the constructor of the Spgr_descr.
1452
1453 * coot-utils/coot-shelx-ins.cc: (read_file): On Kevin's advice add
1454 the string type to the constructor of the Spgr_descr.
1455
1456 2005-06-17 Paul Emsley <[email protected]>
1457
1458 * src/c-interface-build.cc: (delete_atom): now calls simply
1459 go_to_atom_molecule() rather than look at the option menu to find
1460 the active position. Fixes delete water crash [EJD, Bob Nolte].
1461
1462 * src/c-interface.cc: (set_pick_cursor_index) added so that users
1463 can set their own pick cursor.
1464
1465 * ideal/Makefile.am: noinst the programs here [test-indexing,
1466 with-map, with-geometry].
1467
1468 2005-06-16 Paul Emsley <[email protected]>
1469
1470 * src/graphics-info.cc: (make_pointer_distance_objects): only draw
1471 pointer distances to displayed molecules.
1472
1473 2005-06-13 Paul Emsley <[email protected]>
1474
1475 * ligand/find-waters.cc (main): add --chop functionality.
1476
1477 * src/molecule-class-info-other.cc: (bad_chiral_volumes): return
1478 also a vector of residue types for which we fail to find
1479 restraints. Use this to change the label of a warning pop-up.
1480
1481 * coords/mmdb.cc: (get_atom_selection): IgnoreHash flag added.
1482
1483 * db-main/db-main.cc: -Wall fixes.
1484
1485 * geometry/protein-geometry-mmdb.cc (comp_atom_pad_atom_name):
1486 Properly pad hydrogen names of length 2. HH of TYR no longer
1487 explodes.
1488
1489 * density-contour/CIsoSurface.cpp: (add): Ezra's suggestion 1 ->
1490 i. 2% better FPS.
1491
1492 2005-06-11 Paul Emsley <[email protected]>
1493
1494 * ligand/ligand.cc: (mask_map): Make the mask_map functions
1495 consistent re: xmap_masked.
1496
1497 * coot-utils/trim.cc (trim_molecule_by_map): Add extra flag,
1498 waters_only.
1499
1500 * ligand/find-waters.cc (main): add support for --chop flag,
1501 i.e. call trim_molecule_by_map() [with waters only].
1502
1503 2005-06-10 Paul Emsley <[email protected]>
1504
1505 * ligand/find-waters.cc (main): Add --chop command line option.
1506
1507 * src/main.cc: (show_citation_request): Add Refmac dictionary
1508 reference.
1509
1510 * src/c-interface-info.cc: (output_residue_info): Handle Master
1511 Atom entries and check buttons.
1512
1513 * src/graphics-info-defines.cc: (check_if_in_delete_item_define):
1514 Make checks for waters for residue and water modes. Now waters
1515 can be deleted only in water mode, and residue in residue mode.
1516
1517 * src/callbacks.c (on_delete_item_cancel_button_clicked): Add
1518 clear of pending picks on close [and also in the destroy
1519 callback], so that the graphics can rotate.
1520
1521 * src/graphics-info.cc: (wrapped_create_edit_chi_angles_dialog):
1522 transiented dialog.
1523
1524 2005-06-09 Paul Emsley <[email protected]>
1525
1526 * src/molecule-class-info.cc:
1527 (map_fill_from_mtz_with_reso_limits): Apply the *dataset* reso
1528 limit [rather than the mtz file reso limit] from Kevin for
1529 Eleanor.
1530
1531 2005-06-04 Paul Emsley <[email protected]>
1532
1533 * src/molecule-class-info-ncs.cc: (fill_ghost_info) [and other
1534 upstream functions]: takes the argument of the [user-changable]
1535 homology level.
1536
1537 * ideal/simple-restraint.cc: (minimize): change the meaning of the
1538 flag so that it controls the output of the *initial* chi squared.
1539 Now always on termination, we get to see the final chi squareds.
1540
1541 * src/c-interface-info.cc: (apply_residue_info_changes): add a
1542 redraw when we finish.
1543
1544 * src/Makefile.am move coot-shelx in the linking list.
1545
1546 * ligand/Makefile.am add coot-shelx for findligand and findwaters.
1547
1548 2005-06-02 Paul Emsley <[email protected]>
1549
1550 * src/graphics-info-state.cc: (save_state_file): Add [sleezy]
1551 molecule number usage to save the active and displayed state of
1552 molecules.
1553
1554 * src/c-interface.cc (set_save_molecule_number): created for
1555 use in callback from callbacks.c
1556
1557 * src/callbacks.c (on_save_coordinates1_activate),
1558 graphics_info_t: change mechanism of passing the molecule number
1559 of coordinates to be saved, created graphics_info_t::save_imol.
1560
1561 * src/c-interface-build.cc:
1562 (set_model_fit_refine_rotate_translate_zone_label) and
1563 (set_model_fit_refine_place_atom_at_pointer): add configurability
1564 to Model/Fit/Refine dialog.
1565
1566 * src/molecule-class-info-other.cc: (find_water_baddies_OR): Added
1567 flags dependent on the value of the passed parameters.. maybe it
1568 would have been better to simply pass the flags too.
1569
1570 * src/c-interface-validate.cc: (do_check_waters_by_widget): Add
1571 check buttons to Check/Delete water tests. Add a list of usage
1572 flags that depend on the state of the "Active" checkbuttons.
1573 These alter the values that are passed to molecule_class_info_t's
1574 find_water_baddies().
1575
1576 2005-05-29 Paul Emsley <[email protected]>
1577
1578 * src/c-interface-build.cc: (execute_refmac): Now that the
1579 coordinates use the conventional mechanism, I had to move from
1580 get_user_data on the active menu item and introduce and use a
1581 graphics_info_t static called refmac imol.
1582
1583 2005-05-28 Paul Emsley <[email protected]>
1584
1585 * coot-utils/peak-search.cc: (get_peaks): New interface created
1586 that also uses a CMMDBManager. make_sample_protein_coords(),
1587 move_point_close_to_protein() and min_dist_to_protein() created to
1588 help out.
1589
1590 2005-05-27 Paul Emsley <[email protected]>
1591
1592 * src/graphics-info-superpose.cc (superpose_with_atom_selection):
1593 Turn off symmetry on the molecule that has been superposed.
1594
1595 * src/callbacks.c (on_save_coords_dialog_save_button_clicked):
1596 reworked the transfer of the save model info, from a pointer to a
1597 graphics_info_t static [save_imol]. Access is this static is
1598 provided at the c-interface:
1599 save_molecule_number_from_option_menu().
1600
1601 2005-05-26 Paul Emsley <[email protected]>
1602
1603 * src/c-interface.cc: (fill_go_to_atom_window): completely gutted
1604 the option menu usage to make it conventional usage where we also
1605 pass the default molecule number. Removed other version from the
1606 c-interface which did not use the molecule number. Go To Atom and
1607 other option menus now work as they should [or seem to].
1608
1609 2005-05-25 Paul Emsley <[email protected]>
1610
1611 * src/molecule-class-info-other.cc: (bad_chiral_volumes): added
1612 console message when the restraint was not found for that
1613 residue/monomer type.
1614
1615 2005-05-24 Paul Emsley <[email protected]>
1616
1617 * src/molecule-class-info.cc: (draw_unit_cell_internal): change to
1618 segmented lines.
1619
1620 * src/globjects.cc (key_press_event): add hooks for dot and comma
1621 pressed.
1622
1623 * src/graphics-info-superpose.cc (superpose_with_atom_selection):
1624 After atom transformation, no longer show the symmetry of the
1625 moved molecule.
1626
1627 2005-05-23 Paul Emsley <[email protected]>
1628
1629 * src/molecule-class-info.cc: (name_sans_extension): No longer
1630 ignore the include_path_flag.
1631
1632 * src/c-interface.cc: (print_sequence_chain): Filled the stub.
1633
1634 * setup/Makefile.am: moved coot.csh and coot.sh from bin_SCRIPTS
1635 to EXTRA_DIST.
1636
1637 2005-05-22 Paul Emsley <[email protected]>
1638
1639 * src/c-interface.cc: (wrapped_create_display_control_window): The
1640 display manager was changed to a pane and the size parts of it get
1641 saved in a static. Here we create the widget dependent on its
1642 bits [included the pane position].
1643
1644 * src/callbacks.c (on_show_symmetry_ok_button_clicked): Use
1645 set_show_symmetry_master().
1646
1647 2005-05-19 Paul Emsley <[email protected]>
1648
1649 * mapview.glade: removed "Import all Dictionary CIFs" too slow.
1650 Not needed now that we have "dynamic" addition of dictionary.
1651
1652 * src/callbacks.c (on_model_refine_dialog_delete_button_clicked):
1653 If not atom mode, then set the residue delete mode [it may have
1654 been in residue hydrogens mode and previously it was getting stuck
1655 there].
1656
1657 2005-05-18 Paul Emsley <[email protected]>
1658
1659 * cootrc: Buttons put in order and recoloured.
1660
1661 * src/graphics-info-defines.cc:
1662 (model_fit_refine_button_name_list): add refmac button to list.
1663
1664 * coot-utils/coot-shelx-ins.cc: (read_shelx_ins_file): substantial
1665 changes. The latt card is used to generate the strings to init
1666 the clipper space group.
1667
1668 * src/callbacks.c
1669 (on_mutate_sequence_do_autofit_checkbutton_toggled): fix the typo
1670 so that this checkbutton works correctly.
1671
1672 2005-05-17 Paul Emsley <[email protected]>
1673
1674 * src/read-phs.c: (try_read_phs_file): pha [from SHELX] is a phs
1675 file too.
1676
1677 2005-05-15 Paul Emsley <[email protected]>
1678
1679 * src/graphics-info.cc: (display_geometry_distance_symm): added
1680 distance to status bar.
1681
1682 2005-05-12 Paul Emsley <[email protected]>
1683
1684 * coot-utils/coot-shelx-ins.cc: (read_file): added more shelx
1685 keywords so that Coot knows they are not atoms.
1686
1687 2005-05-11 Paul Emsley <[email protected]>
1688
1689 * doc/user-manual.texi (set-scroll-by-wheel-mouse): add Ezra's doc
1690 fixes.
1691
1692 * Release 0.0.32
1693
1694 2005-05-10 Paul Emsley <emsley@localhost>
1695
1696 * src/globjects.cc: (glarea_button_press): z_is_pressed
1697 non-clickable atoms problem fixed?
1698
1699 2005-05-09 Paul Emsley <[email protected]>
1700
1701 * coords/Cartesian.cc: (on_a_face): include Ezra's NO_FACE
1702 cleanup.
1703
1704 * build/Makefile.am (testcabuild_LDADD): Use .la linking [Ezra].
1705
1706 * ligand/Makefile.am (findwaters_LDADD): better not to use the lib
1707 dir when the lib is in this directory [SMP - Ezra].
1708
1709 * geometry/Makefile.am: As Ezra suggests, use .la linking.
1710
1711 * src/globjects.cc: (display_density_level_maybe): apply Ezra's
1712 suggestion of removing the depth cueing for the density level
1713 text.
1714
1715 2005-04-26 Paul Emsley <[email protected]>
1716
1717 * src/molecule-class-info.cc: (make_maybe_backup_dir): use umask
1718 to set the permission on coot-backup.
1719
1720 (handle_map_colour_change): check for swapped difference map
1721 colours [fixes Dirk's bug].
1722
1723 * src/callbacks.c (on_save_state_ok_button1_clicked): save state
1724 now connected to a fileselection for the state file. This sets
1725 the static save_state_file_name.
1726
1727 2005-04-23 Paul Emsley <[email protected]>
1728
1729 * coords/Bond_lines.cc: (addSymmetry_whole_chain): delete the
1730 atoms of transsel too.
1731
1732 2005-04-19 Paul Emsley <[email protected]>
1733
1734 * src/callbacks.c (on_model_refine_dialog_delete_button_clicked):
1735 now this calls set_transient_and_position for the delete item
1736 dialog so it is recreated where it was last time.
1737
1738 * src/c-interface.cc: (undo_last_move): created. uses
1739 old_rotation_centre_? variables. Bound to keyboard U.
1740
1741 2005-04-18 Paul Emsley <emsley@localhost>
1742
1743 * src/c-interface-preferences: add_status_bar_text() created.
1744
1745 * pixmaps/coot-16-bevel.xpm make the hat top more orange [Neil
1746 Paterson].
1747
1748 2005-04-18 Paul Emsley <[email protected]>
1749
1750 * src/graphics-info.cc: (execute_rotate_translate_ready): Use
1751 gtk_window_set_transient_for to keep rotate_translate on top.
1752
1753 (do_accept_reject_dialog): Use gtk_window_set_transient_for to keep
1754 accept/reject window on top.
1755
1756 2005-04-15 Paul Emsley <[email protected]>
1757
1758 * src/geometry-graphs.cc: close_yourself(); set the block to null
1759 in the vector if it has been deleted.
1760
1761 2005-04-09 Paul Emsley <[email protected]>
1762
1763 * src/molecule-class-info.cc: (change_contour): allow contouring
1764 of negative peaks that are lower than the highest positive peak
1765 [Charlie Bond].
1766
1767 2005-04-08 Paul Emsley <[email protected]>
1768
1769 * src/c-interface.cc: (auto_read_make_and_draw_maps): Make the FWT
1770 map be the one that scrolls, not the difference map [Randy Read].
1771
1772 2005-04-05 Paul Emsley <[email protected]>
1773
1774 * src/c-interface.cc: (reset_view): Go to next molecule if we are
1775 already centred on one.
1776
1777 2005-04-02 Paul Emsley <[email protected]>
1778
1779 * src/c-interface-superpose.cc: (superpose_with_atom_selection):
1780 created - you can superpose any atom selection now given an mmdb
1781 atom selection string.
1782
1783 * src/molecule-class-info-other.cc: (find_water_baddies_AND): use
1784 map_sigma not map_sigma_in;
1785
1786 * src/graphics-info-defines.cc:
1787 (check_if_in_edit_backbone_torsion_define) change = to == in if
1788 statement [sharp intake of breath when that was discovered!].
1789
1790 2005-04-01 Paul Emsley <[email protected]>
1791
1792 * src/graphics-info.cc: (load_needed_monomers): fix indexing error
1793 - how did it ever work before?
1794
1795 2005-03-31 Paul Emsley <[email protected]>
1796
1797 * Release 0.0.31
1798
1799 * src/callbacks.c (on_delete_item_cancel_button_clicked): set the
1800 stored delete_item_widget pointer to NULL, fixed a crash when this
1801 was referenced by do_refine().
1802
1803 * src/c-interface-build.cc: (wrapped_create_add_OXT_dialog): fixed
1804 option menu so internal status variable matched the displayed
1805 molecule option.
1806
1807 * src/graphics-info-state.cc: (save_state_file): add status
1808 messages.
1809
1810 * src/c-interface-build.cc:
1811 (wrapped_create_merge_molecules_dialog): fix option menu so
1812 internal variable matches the displayed molecule option.
1813
1814 2005-03-28 Paul Emsley <[email protected]>
1815
1816 * src/graphics-info-pick.cc: (symmetry_atom_pick): override
1817 distance to centre limit when CA mode or whole chain mode [Fixes
1818 PRE bug?].
1819
1820 2005-03-25 Paul Emsley <[email protected]>
1821
1822 * src/graphics-info-state.cc: (save_state_file): put show-symmetry
1823 after the molecules have been read.
1824
1825 * src/c-interface.cc: (set_show_symmetry): display no symmetry
1826 popup warning only if there were models available.
1827
1828 2005-03-21 Paul Emsley <[email protected]>
1829
1830 * skeleton/BuildCas.cc: (setup_internal): Fixed Ezra non-inited
1831 variable.
1832
1833 * ideal/simple-restraint.cc: Ezra notes problems. Fixed.
1834
1835 2005-03-20 Paul Emsley <[email protected]>
1836
1837 * src/c-interface-build.cc (fit_loop_from_widget): created. Now
1838 we can call scheme function (fit-gap ..) from interface.
1839
1840 * src/c-interface.cc: (refine_zone): add valid model molecule
1841 protection [fixes fit-gap crash].
1842
1843 (set_show_symmetry): Test for zero molecules that symmetry
1844 available [called from Cell & Symmetry OK button callback].
1845
1846 * src/molecule-class-info.cc: (set_bond_colour_by_mol_no):
1847 rotation size multiplier is now non-zero for imol=0, so the colour
1848 map can be [is] also rotated for the 0th molecule.
1849
1850 (draw_map_unit_cell): turn off the cell drawing when the map is not
1851 displayed.
1852
1853 (draw_coord_unit_cell): turn off the cell drawing when the coords
1854 are not displayed.
1855
1856 2005-03-16 Paul Emsley <[email protected]>
1857
1858 * src/gtk-manual.c:
1859 on_display_control_mol_displayed_button_toggled and friends
1860 gslist_for_scroll_in_display_manager_p() and scroll_radio_button_1
1861 in the display manager now gives us clickable scrollable map,
1862 rather than having to use the menus. Horrah - within a minute I
1863 realise that it's a Good Thing. Will this please Charlie Bond?
1864
1865 2005-03-15 Paul Emsley <[email protected]>
1866
1867 * src/molecule-class-info.cc: (make_backup): don't test on
1868 n_selected_atoms, use mol [Joel Bard ligand deleting bug].
1869
1870 (save_molecule_filename): use name_for_display_manager() if
1871 unpathed_backup_file_names_flag is set.
1872
1873 * coords/Bond_lines.cc: (add_atom_centres) Don't add H atom
1874 centres when hydrogens are not drawn [Robin Owen bug].
1875
1876 2005-03-11 Paul Emsley <[email protected]>
1877
1878 * src/main.cc: (check_reference_structures_dir): Created.
1879
1880 * Release 0.0.30
1881
1882 * doc/Makefile.am (user-manual.html): various fixes here to make
1883 things go on bubbles too.
1884
1885 * ligand/dunbrack.cc: Add MSE special cases - now we have MSE
1886 rotamers.
1887
1888 2005-03-09 Paul Emsley <[email protected]>
1889
1890 * ccp4mg-utils/mgtree.cc: (RecurseCalculateTree): Fix suggested by
1891 Joel Bard in the case where
1892 (coordk->GetParentID()==-1&&scanned[*k]!=1) fails.
1893
1894 2005-03-08 Paul Emsley <[email protected]>
1895
1896 * db-main/db-main.hh (coot): remove class name from
1897 mainchain_fragment() declaration [Ezra Peisach].
1898
1899 * coords/mmdb-crystal.cc: (point_is_in_box): add coot namespace
1900 for dot_produc [Ezra Peisach].
1901
1902 * coot-utils/coot-fasta.hh: remove coot::fasta:: from declaration
1903 of is_fasta_aa [Ezra Peisach].
1904
1905 * angles/AngleInfo.h: moved definition of nint inline and into
1906 class.
1907
1908 * src/molecule-class-info-other.cc: (bad_chiral_volumes):
1909 is_bad_chiral_atom_p is in namespace coot [Ezra Peisach].
1910
1911 * skeleton/BuildCas.cc: Remove unused variables [Ezra Peisach].
1912
1913 * configure.in: add -LANG:std to CXXFLAGS if CC on irix if not
1914 there already [Ezra Peisach].
1915
1916 * coords/Bond_lines.cc: (addSymmetry_whole_chain) Use PCAtom not
1917 (CAtom *) [which could be mis-understood as a casting] for
1918 transsel [Ezra Peisach].
1919
1920 * coords/Bond_lines_ext.cc (find_molecule_middle): Use vector of
1921 int not dynamic [g++ extention] array of ints [Ezra Peisach].
1922
1923 * coords/Bond_lines.h: (Bond_lines_container) removed class name
1924 in front of make_graphical_bonds() [Ezra Peisach].
1925
1926 * src/c-interface.cc: (handle_cns_data_file) should return a value
1927 [Ezra Peisach].
1928
1929 * high-res/high-res.hh (high-res): fill_globular_protein should
1930 have differently named args [Ezra Peisach].
1931
1932 * src/graphics-info.h: state_command string should have
1933 differently named args [Ezra Peisach].
1934
1935 2005-03-03 Paul Emsley <[email protected]>
1936
1937 * src/c-interface.cc: add pick_cursor [how can it not have been
1938 there before!] and use it for delete item.
1939
1940 2005-03-02 Paul Emsley <[email protected]>
1941
1942 * src/Makefile.am (COOT_EXTRA_LIBS): Use .la linking
1943
1944 * other Makefile.ams: Use .la linking as Ezra suggests.
1945
1946 2005-03-01 Paul Emsley <[email protected]>
1947
1948 * src/molecule-class-info.cc: (add_typed_pointer_atom): Changed
1949 " OW1" to standard " O " here too.
1950
1951 * ligand/ligand-extras.cc: Changed " OW1" to standard " O ".
1952 Spotted by PRE.
1953
1954 2005-02-28 Paul Emsley <[email protected]>
1955
1956 * Release 0.0.29
1957
1958 2005-02-25 Paul Emsley <[email protected]>
1959
1960 * db-main/db-main.cc: (match_target_fragment): Add ires protection
1961 from start of fragment [bug found when fragment didn't contain any
1962 Calphas].
1963
1964 2005-02-24 Paul Emsley <[email protected]>
1965
1966 * ligand/ligand.cc: (ligand class): changed xmap_masked to
1967 xmap_cluster and now use xmap_masked to score ligands, not
1968 xmap_pristine.
1969
1970 * ligand/ligand.cc: (import_map_from): the version with sigma
1971 added also should set xmap_masked.
1972
1973 2005-02-24 Paul Emsley <emsley@localhost>
1974
1975 * src/molecule-class-info.cc: (export_coordinates): added statusbar text.
1976
1977 * ligand/wiggly-ligand.cc: (install_simple_wiggly_ligands): don't
1978 write 1.pdb 2.pdb etc for wiggly ligands.
1979
1980 2005-02-23 Paul Emsley <emsley@localhost>
1981
1982 * src/molecule-class-info.cc: (add_typed_pointer_atom): use
1983 max_resno_in_chain to find the resno off added water/thing.
1984
1985 * coot-utils/coot-coord-utils.cc: (max_resno_in_chain): created.
1986 To be used by add pointer atom function so that we don't get
1987 pointer atoms/SO4s in the same chain with the same residue number.
1988
1989 * ligand/ligand.cc: changed map_masked to map_clustered and
1990 introduced map_masked. ligand-extras.cc now uses map_masked [not
1991 map_cluster, how did it ever work before?].
1992
1993 2005-02-22 Paul Emsley <[email protected]>
1994
1995 * src/pick.cc: (atom_pick): moved the console pick info.
1996
1997 * src/c-interface.cc: (new_close_molecules): update go to atom
1998 molecule if it had been set to a deleted molecule [Phil Evans
1999 bug].
2000
2001 * doc/coot.tex (subsection{Raster3D output}): Add F8 to doc.
2002
2003 * src/callbacks.c (on_model_refine_dialog_dismiss_button_clicked):
2004 Use close_model_fit_dialog() to destroy the hbox and let us know
2005 if the dialog needs destroying.
2006
2007 * src/c-interface.cc: (): created [sometimes the
2008 model/refine/dialog has been sucked in - we need to hide the frame
2009 for dialog's hbox in that case].
2010
2011 * src/density-score-by-residue.cc: (density_score_molecule): add
2012 scored residue class and scored atom class fix up output. Joel
2013 Bard request.
2014
2015 2005-02-21 Paul Emsley <[email protected]>
2016
2017 * src/molecule-class-info-other.cc: (merge_molecules): add the
2018 adding_chain chain_id to this molecules chain ids, so that new
2019 [other] molecules don't come up with the same chain id. Fixes
2020 Harvard bug.
2021
2022 2005-02-20 Paul Emsley <[email protected]>
2023
2024 * src/c-interface-build.cc added functions for scripting
2025 translation/refinement/rotamers: chain_n_residues(),
2026 molecule_centre_internal(), resname_from_serial_number(),
2027 seqnum_from_serial_number(), insertion_code_from_serial_number(),
2028 chain_id(), n_chains().
2029
2030 * src/c-interface.cc: (set_colour_by_molecule): created. fixed up
2031 gtk-manual.c and .h and Bond-lines.cc/.hh and molecule_info_class
2032 too.
2033
2034 2005-02-19 Paul Emsley <[email protected]>
2035
2036 * src/graphics-info-state.cc (save_state_file) Add vt-surface to
2037 the state file.
2038
2039 * Makefile.am (SUBDIRS): Moved high-res after ideal.
2040
2041 * src/graphics-info.cc: (display_geometry_torsion): Created code
2042 for Torsions too, needed do_torsion_define() and gui elements [as
2043 per angle]. Angles and distances are now displayed on the
2044 graphics.
2045
2046 * src/graphics-info-defines.cc: (clear_pending_picks): clears the
2047 a_is_pressed flag too which is often what we want [even though it
2048 is possible that it may not be true].
2049
2050 2005-02-16 Paul Emsley <[email protected]>
2051
2052 * src/graphics-info.cc: (refine): Removed annoying "That water
2053 molecule doesn't have restraints" message.
2054
2055 2005-02-15 Paul Emsley <[email protected]>
2056
2057 * src/molecule-class-info.cc: (save_molecule_filename): Disaster!
2058 People report crashing on Accept moving atoms. reverted to version
2059 that worked and patched up. Still not sure what the problem was.
2060 Thank goodness for svn.
2061
2062 2005-02-13 Paul Emsley <[email protected]>
2063
2064 * Release 0.0.28
2065
2066 2005-02-13 Paul Emsley <[email protected]>
2067
2068 * src/globjects.cc: (glarea_button_press): Bin [synthetic] double
2069 click events which were giving us 2 "Accept Refinement" dialogs.
2070
2071 * src/molecule-class-info.cc: Various changes involving
2072 WINDOWS_MINGW to make Bernhard's job easier.
2073
2074 2005-02-12 Paul Emsley <[email protected]>
2075
2076 * src/xmap-utils.cc: (map_density_distribution): bins to vector.
2077 Berhard bug.
2078
2079 2005-02-10 Paul Emsley <[email protected]>
2080
2081 * src/c-interface.cc: Filled the read_shelx_ins_file() and
2082 write_shelx_ins_file() stubs.
2083
2084 2005-02-08 Paul Emsley <[email protected]>
2085
2086 * src/graphics-info-graphs.cc (density_fit_from_residues):
2087 Created. called both density_fit_graphs and density from mol [the
2088 update of the graph from intermediate atoms].
2089
2090 (update_geometry_graphs): created. Moved out out
2091 accept_moving_atoms. We need 2 version of this, one for moving
2092 atoms molecule and the other a residue/residue range for things
2093 like pepflip or auto-fit rotamer [i.e. things which don't create
2094 intermediate atoms].
2095
2096 2005-02-07 Paul Emsley <[email protected]>
2097
2098 * src/c-interface.cc: residue_density_fit_scale_factor() add
2099 interface to set this [useful for CNS/mapman users?]
2100
2101 2005-02-04 Paul Emsley <[email protected]>
2102
2103 * ideal/regularize-minimol.cc (regularize_minimol_molecule):
2104 created. Called from wiggly-ligands install_wiggly_ligands().
2105 Fixed up Makefile.am and various headers. Cool - minimized
2106 torsioned ligands. This took about an hour on the train to Oxford.
2107
2108 * ideal/simple-restraint.cc: Change the chain_id in the restraints
2109 constructor and the init_from_mol chain_id to const char *.
2110
2111 * ligand/wiggly-ligand.cc: (install_simple_wiggly_ligands): change
2112 RotateAboutBond() to SetDihedralAngle() now that ccp4mg tree has
2113 changed the function.
2114
2115 * ligand/dunbrack.cc: (ordered_residue_atoms): Remove "needs
2116 reordering" debugging line.
2117
2118 * ccp4mg-utils (mgtree): Un-apply adjustments suggested by Joel
2119 Bard [rotamers on prolines don't return - it gets stuck in a tree
2120 function].
2121
2122 2005-02-03 Paul Emsley <emsley@localhost>
2123
2124 * src/graphics-info.cc: (execute_edit_chi_angles): If MSE change
2125 clicked atom to C to set the tree right [Phil Evans bug].
2126
2127 * ligand/chi-angles.cc: (change_by): all these functions return
2128 the angle now as well as the status [now in a pair].
2129
2130 * src/graphics-info.cc: (update_residue_by_chi_change): Display
2131 the chi angle [like Dirk asked for].
2132
2133 * src/gtk-manual.c (on_map_col_sel_cancel_button_clicked): update
2134 to pass tmd [and change create_map_colour_selection_window() to
2135 pass it]. Along with molecule_info_class and c-interface save and
2136 restore_previous_map_colour() we eventually get the colour map
2137 selection cancel button to Do The Right Thing.
2138
2139 * src/molecule-class-info.cc: (save_previous_map_colour)
2140 (restore_previous_map_colour): created.
2141
2142 2005-02-03 Paul Emsley <[email protected]>
2143
2144 * doc/coot.tex (section{Environment Variables}): add reference
2145 structures to index.
2146
2147 2005-02-02 Paul Emsley <emsley@localhost>
2148
2149 * src/Makefile.am (coot_wrap_python_pre.cc): coot.i should be
2150 prefixed by top_srcdir for out of tree building.
2151
2152 2005-02-02 Paul Emsley <[email protected]>
2153
2154 * ccp4mg-utils (mgtree): apply adjustments suggested by Joel Bard.
2155
2156 2005-01-30 Paul Emsley <[email protected]>
2157
2158 * src/molecule-class-info.cc: (store_refmac_params): Fixed screen
2159 output typo.
2160
2161 * ligand/ligand.cc: (find_clusters): Tell us the distance limits
2162 too.
2163
2164 * src/molecule-class-info.cc: (delete_atom), (delete_atoms),
2165 (delete_residue), (delete_residue_with_altconf): update the
2166 symmetry too on object deletion.
2167
2168 * src/graphics-info-defines.cc: (check_if_in_delete_item_define):
2169 delete by symmetry atom click now enabled.
2170
2171 * src/c-interface-build.cc: (clear_pending_delete_item): added
2172 zeroing of delete_item_residue_hydrogens [too]. Fixes bug in
2173 notes.
2174
2175 (delete_atom_by_atom_index): Use [also] the dialog's checkbuton to
2176 see if the dialog should be destroyed.
2177
2178 * src/c-interface-validate.cc: (unset_geometry_graph): added null
2179 graphs protection.
2180
2181 (free_geometry_graph): added null graphs protection.
2182
2183 * src/globjects.cc:
2184 (graphics_info_t::display_lists_for_maps_flag): now that map
2185 colour update works, make display list for maps the default.
2186
2187 * src/molecule-class-info.cc: (compile_density_map_display_list):
2188 created - so that we can make update_map separate from the
2189 compilation of the display list. Caled from
2190 molecule-class-info.cc's handle_map_colour_change().
2191
2192 2005-01-29 Paul Emsley <[email protected]>
2193
2194 * macros/mmdb-ssm.m4 (AM_WITH_MMDBSSM): use $with_ssmlib_prefix in
2195 MMDBSSM_CXXFLAGS [Oops]. Hopefully fixes problems spotted by Joel
2196 Bard and Joseph Toth.
2197
2198 * src/graphics-info-pick.cc: (symmetry_atom_pick): tried to add
2199 null protection going from mmdb char * spacegroup to clipper
2200 Sprg_descr.
2201
2202 2005-01-28 Paul Emsley <[email protected]>
2203
2204 * src/globjects.cc (key_release_event): Added GDK_CONTROL_MASK
2205 checking and setting of internal params.
2206
2207 2005-01-27 Paul Emsley <[email protected]>
2208
2209 * src/molecule-class-info-ncs.cc (ncs_chains_match_p): Fix for
2210 non-consistant chain additions - should find NCS more consistantly
2211 now.
2212
2213 * src/molecule-class-info-mutate.cc: (align_on_chain): more
2214 tinkerining with the array indexing [fixes crashes].
2215
2216 2005-01-25 Paul Emsley <[email protected]>
2217
2218 * src/molecule-class-info-surface.cc (make_surface): put surface
2219 graphics object into a display list.
2220
2221 * src/c-interface.cc: (set_display_lists_for_maps): created.
2222 Tinkers with graphics info variable and is [now] used in
2223 molecule-class-info.cc's update_map() and draw_density_map().
2224
2225 2005-01-24 Paul Emsley <[email protected]>
2226
2227 * doc/coot.tex (section{Scripting}): say that parentheses are
2228 important.
2229
2230 2005-01-18 Paul Emsley <[email protected]>
2231
2232 * Release 0.0.27
2233
2234 * src/graphics-info.cc: (moving_atoms_graphics_object): Make Ns be
2235 blueish and oxygens redish.
2236
2237 * src/c-interface-build.cc:
2238 (wrapped_create_align_and_mutate_dialog): deal with pathological
2239 case of closed first molecule when filling chain optionmenu.
2240 INFO:: All chain option menu dialogs should use this construction.
2241
2242 2005-01-14 Paul Emsley <[email protected]>
2243
2244 * src/graphics-info.h: Added brief_atom_labels_flag for Ian
2245 Tickle.
2246
2247 * src/molecule-class-info.cc: (mutate) I deleleted the
2248 DeleteSelection(). Not sure this is safe - should test on PC
2249 [seems OK on Mac - yep seems OK].
2250
2251 * coot-utils/coot-coord-utils.cc: (get_ori_to_this_res): updated
2252 error message.
2253
2254 * ligand/ligand.cc: (make_sample_protein_coords): Use proper
2255 minimol limits to residues vector. Fixes Marianne's water/ligand
2256 addition crash.
2257
2258 2005-01-13 Paul Emsley <[email protected]>
2259
2260 * src/molecule-class-info-other.cc: (recent_backup_file_info):
2261 Added COOT_BACKUP_DIR configurability.
2262
2263 2005-01-11 Paul Emsley <[email protected]>
2264
2265 * src/graphics-info.cc: (new_alt_conf_occ_adjustment_changed):
2266 callback from [altconf] rotamer occupancy hscale sets the occ of
2267 intermediate atoms.
2268
2269 2005-01-10 Paul Emsley <[email protected]>
2270
2271 Release 0.0.26
2272
2273 2005-01-05 Paul Emsley <[email protected]>
2274
2275 * ligand/dunbrack.cc: use SetDihedralAngle not RotateAboutBond for
2276 as the Tree function [Urgh.. this needs a fix].
2277
2278 2005-01-04 Paul Emsley <[email protected]>
2279
2280 * src/molecule-class-info.cc: (show_spacegroup): don't try to
2281 construct a string from a null char *. Fixes crash [thanks Michal
2282 Jakob].
2283
2284 * coot-utils/coot-coord-lsq.cc: Created for lsq interface. Called
2285 by graphics-info-lsq.cc function.
2286
2287 2004-12-23 Paul Emsley <[email protected]>
2288
2289 * Release 0.0.25 [At long last]
2290
2291 2004-12-20 Paul Emsley <[email protected]>
2292
2293 * src/c-interface-build.cc: (align_and_mutate),
2294 (do_align_mutate_sequence): and friends created.
2295
2296 * src/molecule-class-info-mutate.cc created for "align and mutate"
2297 functions.
2298
2299 2004-12-20 Paul Emsley <[email protected]>
2300
2301 * ligand/ligand-extras.cc: removed high-res.hh dependencies.
2302 high-res now depends on ligand libs so is moved after ligand dir.
2303
2304 * src/molecule-class-info.cc: (make_map_from_cif): Added state commands.
2305
2306 2004-12-14 Paul Emsley <[email protected]>
2307
2308 * db-main/db-main.cc: (get_fragment_ca_atoms): change to new style
2309 minimol indexing.
2310
2311 (mainchain_ca_coords_of_db_frag): ditto.
2312
2313 * coot-utils/coot-coord-utils.cc (get_ori_to_this_res): moved from
2314 molecule_class_info_t. Tedious.
2315
2316 * src/molecule-class-info-ncs.cc: (ncs_averaged_maps): extend the
2317 extends by 5A.
2318
2319 * src/molecule-class-info.cc: (mutate): tinkered with the
2320 DeleteSelection placement.
2321
2322 * src/molecule-class-info-other.cc: (apply_atom_edits): created -
2323 new interface used by apply_residue_info_changes() changing
2324 several atoms at once.
2325
2326 * src/graphics-info.cc: (apply_residue_info_changes): complete
2327 re-written to instead check the values of the widget at "Apply"
2328 time rather than keep a list of edits as they happen [and that was
2329 failing because the edits were not recorded if the entry widget
2330 didn't have focus - which was quite possible with a swipper like
2331 Tracey]. Make a list of edits and apply them all at one.
2332
2333 2004-12-13 Paul Emsley <[email protected]>
2334
2335 * coot-utils/coot-coord-utils.cc: (extents): function
2336 created. Return a pair of Coord_orths [top left and bottom right -
2337 not face centres].
2338
2339 * src/molecule-class-info-ncs.cc: Use Coord_orth extents to box a
2340 map [as per density contouring] to use in NCS averaging.
2341
2342 * src/graphics-info-defines.cc: Added atom name labelling [as per
2343 refine check] for check_if_in_db_main_define(), rigid_body and
2344 totate/translate checks.
2345
2346 2004-12-07 Paul Emsley <[email protected]>
2347
2348 * src/c-interface-info.cc: (do_residue_info): Added check of
2349 pending residues edits before generating the widget.
2350
2351 * src/graphics-info.cc: (refine): trap refinement of a water and
2352 use Rigid body Fit Zone instead.
2353
2354 2004-12-06 Paul Emsley <[email protected]>
2355
2356 * src/c-interface-validate.cc: do_check_waters_by_widget(),
2357 wrapped_create_check_waters_dialog(),
2358 wrapped_checked_waters_baddies_dialog() created to make a water
2359 checking interface.
2360
2361 2004-12-04 Paul Emsley <[email protected]>
2362
2363 * coords/Bond_lines.cc: (trans_sel): in the trans_selection atoms
2364 set those atoms residues to be the same as the atom from which
2365 they are copied.
2366
2367 * src/graphics-info-pick.cc: (symmetry_atom_pick): changed
2368 min_dist to 0.4 [like regular pick]. Now we don't get
2369 suprious/unexpected symmetry atom click hits.
2370
2371 2004-12-03 Paul Emsley <[email protected]>
2372
2373 * db-main/db-main.cc: (match_target_fragment): changed max_devi
2374 from 2.0 to 2.6, less gaps now when converting to mainchain?
2375
2376 (fit_reference_structures): change from 0.3 to 0.4 for
2377 similar_eigens() similarity test.
2378
2379 * ligand/ligand.cc: (mask_map): introduced new version with
2380 Selection Handle that does the mask inversion [i.e. only leave map
2381 around the atom selection]. It's cool.
2382
2383 * coords/Bond_lines.cc: (do_normal_bonds_no_water): Use SKEY_NEW
2384 for atom selection to exclude waters - not the naive way it was
2385 done before causing atom indexing problems [thanks Ward Smith].
2386
2387 2004-12-01 Paul Emsley <[email protected]>
2388
2389 * src/molecule-class-info.cc: delete_residue,
2390 delete_residue_with_altconf, delete_residue_hydrogens, delete_atom
2391 all now have a call to delete_ghost_selections(). Are we stable
2392 now?
2393
2394 * src/molecule-class-info-ncs.cc: (delete_ghost_selections):
2395 created. To be called whenever we do a deletion of the atom_sel.
2396 Followed by an update_ghosts() after the modification.
2397
2398 2004-11-30 Paul Emsley <[email protected]>
2399
2400 * src/graphics-info.cc: (fill_bond_parameters_internals): Set the
2401 adjustment for the new hscale - a much better interface than the
2402 text entry box.
2403
2404 2004-11-29 Paul Emsley <[email protected]>
2405
2406 * coords/Bond_lines.cc (Bond_lines_container): Changed 1.82 to
2407 1.86.
2408
2409 * src/graphics-info.cc: (rot_trans_adjustment_changed): change to
2410 mmdb-idiomatic CAtom * for rotation centre holder rather than its
2411 index [Fixes Stephen Graham's alt conf rot/trans bug].
2412
2413 * coot-utils/coot-coord-utils.cc: (get_selection_handle): from a
2414 coot::atom_spec_t. Used first in rot/trans. Hopefully useful in
2415 future.
2416
2417 * coot-utils/coot-coord-utils.hh: (atom_spec_t): added constructor
2418 from a hierarchy CAtom *.
2419
2420 * src/graphics-info.cc: (flash_selection): added DeleteSelection().
2421
2422 2004-11-26 Paul Emsley <[email protected]>
2423
2424 * src/c-interface-waters.cc: (execute_find_waters_real): mask
2425 waters is no longer optional.
2426
2427 * src/c-interface-build.cc: (execute_refmac_real): add extra
2428 params so that we can choose to swap the map colour of post refmac
2429 maps to be the same as the pre-refmac map.
2430
2431 * src/main.cc: (show_citation_request): enable this code [at last,
2432 yey!]
2433
2434 * src/callbacks.c (on_model_refine_dialog_refmac_button_clicked):
2435 Set the difference map check button to be on by default.
2436
2437 2004-11-25 Paul Emsley <[email protected]>
2438
2439 * src/c-interface.cc: (do_refine) and (do_regularize): kill off
2440 the delete item dialog and unset the pending delete state if state
2441 is on.
2442
2443 * src/graphics-info-superpose.cc (superpose_with_atom_selection):
2444 Tinker with atom limits. Not sure if it's correct to be
2445 honest. Stops Miguel's crash though.
2446
2447 * src/c-interface.cc: (fill_option_menu_with_skeleton_options):
2448 call the version of the option_menu filter that also sets the
2449 active position. [Skeletonization problems gone, I hope].
2450
2451 * src/graphics-info.cc: (skeleton_map_select): Set the radio
2452 buttons according to the skeletonization state of the current map.
2453
2454 * src/molecule-class-info.cc: (close_yourself): also turn off the
2455 skeleton.
2456
2457 * density-contour/CIsoSurface.cpp: (returnTriangles): fix typo in
2458 line checking [thanks Ezra].
2459
2460 2004-11-24 Paul Emsley <[email protected]>
2461
2462 * src/pick.cc: (atom_pick): added a test on number of pickable
2463 molecules and display a dialog if there are none.
2464
2465 * src/graphics-info-defines.cc: (check_if_in_delete_item_define):
2466 added check to see if a symmetry atom was picked and if so give a
2467 warning.
2468
2469 * mini-mol/mini-mol.cc: (setup): completely re-written.
2470
2471 * src/graphics-info-render.cc: (render_molecule): Use atom centre
2472 info also to add balls to sticks.
2473
2474 * coords/Bond_lines.cc: (add_atom_centres): graphical bonds
2475 container now contains atom centre info.
2476
2477 * src/molecule-class-info.cc: (set_bond_colour_by_mol_no): When we
2478 run out of colours make some up based on i - fixed may grey Ca
2479 chains problem.
2480
2481 2004-11-21 Paul Emsley <[email protected]>
2482
2483 * src/molecule-class-info.cc: (make_map_from_phs): changed the
2484 default return status [as error] to -1.
2485
2486 2004-11-20 Paul Emsley <[email protected]>
2487
2488 * coords/Makefile.am (INCLUDES): Added CLIPPER_CXXFLAGS [for
2489 coot-close.cc usage].
2490
2491 2004-11-19 Paul Emsley <[email protected]>
2492
2493 * sequence-view/Makefile.am (INCLUDES): added CLIPPER_CXXFLAGS
2494
2495 * analysis/Makefile.am (INCLUDES): Added CLIPPER_CXXFLAGS
2496
2497 2004-11-16 Paul Emsley <emsley@localhost>
2498
2499 * src/molecule-class-info.cc: (add_typed_pointer_atom): check for
2500 chain that is chain only of the same type as added residue type
2501 before creating new chain.
2502
2503 2004-11-15 Paul Emsley <emsley@localhost>
2504
2505 * coot-utils/Makefile.am: add MMDB_CXXFLAGS to INCLUDE [thanks
2506 Joseph Toth].
2507
2508 * surface/CXXSphereNode.h: removed the ; again!
2509
2510 2004-11-14 Paul Emsley <[email protected]>
2511
2512 * ligand/Makefile.am (findligand_LDADD): use $(top_builddir)
2513 (findwaters_LDADD): Use $(top_builddir).
2514
2515 * high-res/Makefile.am (testatomgraph_LDADD): corrected
2516 testatomgraph_LDADD.
2517 (tracehighres_LDADD): corrected for coot-coord-utils usage.
2518
2519 * src/globjects.cc: (glarea_motion_notify): Tinkered with key
2520 modifier mask - should remove being stuck in "Translate Only"
2521 mode.
2522 (key_press_event): Added anomaly corrector here too.
2523
2524 * src/molecule-class-info.cc: (add_typed_pointer_atom): Check for
2525 a chain of a type before creating a new chain.
2526
2527 * coot-utils/coot-coord-utils.cc (chain_only_of_type): Find a
2528 chain in a molecule that is only of the given type. If not,
2529 return NULL.
2530
2531 2004-11-13 Paul Emsley <[email protected]>
2532
2533 * src/pick.cc: (atom_pick): check the molecules back to front to
2534 select atoms "on top" first.
2535
2536 * src/molecule-class-info.cc: (set_initial_contour_level): created
2537 - map creating functions [e.g. from ccp4 map file and from mtz]
2538 should call this function - which makes more sensible decisions
2539 about how to set the starting contour leve [e.g. for E-maps].
2540
2541 2004-11-10 Paul Emsley <[email protected]>
2542
2543 * src/graphics-info-state.cc: (save_state_file): save also the go
2544 to atom info.
2545
2546 * src/molecule-class-info-ncs.cc: created. With functions
2547 update_ghosts(), update_bonds [for ghost_molecule_display_t],
2548 fill_ghost_info(), find_ncs_matrix(),
2549 make_dynamically_transformed_maps(), install_map(),
2550 add_ncs_ghost() for first stab at NCS functions. Also various
2551 ghost display on/off flags and accessor functions in
2552 molecule_class_info_t and c-interface-preferences [for now].
2553 Glade NCS dialogs created and static GUI elements added to
2554 graphics-info.
2555
2556 * src/c-interface.cc: (valid_labels): check for null return of
2557 get_f_cols(), get_phi_cols() and get_weight_cols().
2558
2559 * src/mtz-bits.c: (get_f_cols), (get_phi_cols), (get_weight_cols):
2560 check for success of get_f_phi_columns and return NULL on badness.
2561
2562 * mmtz-extras/mmtz-extras.c: (get_f_phi_columns): now stat and
2563 return NULL on error.
2564
2565 2004-11-09 Paul Emsley <[email protected]>
2566
2567 * src/graphics-info-state.cc: Added set go to atom info.
2568
2569 2004-11-08 Paul Emsley <[email protected]>
2570
2571 * src/c-interface-info.cc: (set_show_pointer_distances),
2572 (toggle_pointer_distances_show_distances),
2573 (execute_pointer_distances_settings) created for pointer distances
2574 functions - good for use when running through difference map peaks
2575 [but no symmetry checking].
2576
2577 * src/molecule-class-info-other.cc (distances_to_point): Created
2578 for pointer distances support.
2579
2580 * src/main.cc: tinkered with gtk pending events for splash screen.
2581
2582 * src/callbacks.c (on_open_coordinates1_activate): make
2583 add_filename_filter_button() return the button and call
2584 gtk_signal_emit_by_name with clicked argument. Added state flag
2585 to graphics-info and accessor function to c-interface.h/cc.
2586
2587 2004-11-07 Paul Emsley <[email protected]>
2588
2589 * setup/coot.csh.in: uncommented COOT_RESOURCES_FILE.
2590
2591 2004-11-05 Paul Emsley <[email protected]>
2592
2593 * src/graphics-info.cc: (rotamer_dialog_neighbour_rotamer):
2594 created: makes a sythetic "clicked" event on next/prev rotamer
2595 radio buttons when keyboard , or . pressed.
2596
2597 * src/gtk-manual.c: (display_control_molecule_combo_box) and
2598 (display_control_map_combo_box), no expand, no fill on the
2599 molecule number [padding 3].
2600
2601 2004-11-04 Paul Emsley <[email protected]>
2602
2603 * coords/Cartesian.h: moved getStart and getFinish into the header
2604 for in-lining - should speed up map rotation?
2605
2606 2004-11-03 Paul Emsley <[email protected]>
2607
2608 * coords/Bond_lines.cc (Bond_lines_container): [constructor with
2609 no distance args] changed 1.9 to 1.82, does this fix MSE bonding
2610 problems?
2611
2612 2004-10-30 Paul Emsley <[email protected]>
2613
2614 * src/c-interface-superpose.cc: (superpose_with_chain_selection):
2615 created for use with [new] chain selection to SSM. Moved actual
2616 invocation of ssm to graphic-info-superpose.cc. Added chain GUI
2617 elements, with a generic chain chooser.
2618
2619 2004-10-29 Paul Emsley <[email protected]>
2620
2621 * src/graphics-info-state.cc: (state_command) fix for python
2622 commands with no args [thanks Bernhard].
2623
2624 * src/molecule-class-info-other.cc: (map_chains_to_new_chains):
2625 removed debugging code.
2626
2627 2004-10-27 Paul Emsley <[email protected]>
2628
2629 * Release 0.0.24
2630
2631 * src/molecule-class-info.cc: (close_yourself): move the setting
2632 to NULL of the atom pointers until after they have been deleted
2633 [d'oh!]
2634
2635 * setup/coot.csh.in: Added IRIX case.
2636
2637 * setup/coot.sh.in (systype): Added IRIX cse.
2638
2639 * src/molecule-class-info.h: (set_draw_hydrogens_state): use
2640 make_bonds_type_checked() not simply makebonds() - and don't even
2641 do that if the state is the same as it had been.
2642
2643 * src/molecule-class-info-other.cc: (add_OXT_to_residue): added a
2644 GUI warning.
2645
2646 * geometry/protein-geometry.cc: comp_bond, comp_angle, comp_plane,
2647 comp_chiral: added get_padded_name() to create the atom names.
2648 Note: links not done.
2649
2650 2004-10-26 Paul Emsley <[email protected]>
2651
2652 * geometry/protein-geometry.cc: (atom_id_mmdb_expand): reference
2653 the argument [oops!] and return early if atom name is 4 chars
2654 already.
2655
2656 * src/graphics-info-navigation.cc: (fill_go_to_atom_residue_list):
2657 don't call cb_chain_tree_itemsignal() on deselect.
2658
2659 2004-10-25 Paul Emsley <[email protected]>
2660
2661 * src/c-interface.cc: (add_on_map_colour_choices),
2662 (map_scroll_wheel_mol_selector_activate),
2663 (add_on_map_colour_choices), (add_map_colour_mol_menu_item): much
2664 tediousness adding dynamic an enumerated options to the scroll map
2665 menu and map colour chooser. Still, I've been wanting to do it for
2666 months. You can no longer choose to change the colour of a closed
2667 map.
2668
2669 * src/graphics-info.h: removed the array initialization to null
2670 for the various canvases and validation graphs as suggested by Tim
2671 Gruene.
2672
2673 * src/c-inner-main.c: (c_inner_main): Altered logic of scheme file
2674 loading, now COOT_SCHEME_DIR if defined, has priority.
2675
2676 * src/c-interface.cc: (set_symmetry_size): Added symmetry updating
2677 and redisplay.
2678
2679 (graphics_to_ca_representation) and other graphics_to_* functions:
2680 added valid molecule protection. Fixes scripting crash.
2681
2682 * src/graphics-info-navigation.cc:
2683 (update_widget_go_to_atom_values): added inscode to residue's
2684 entry string.
2685
2686 (split_resno_inscode): created. Used by
2687 apply_go_to_atom_from_widget() which interprets the widget's entry
2688 texts.
2689
2690 2004-10-24 Paul Emsley <[email protected]>
2691
2692 * src/molecule-class-info.cc: (save_coordinates): added error
2693 dialog.
2694
2695 (read_ccp4_map): Added non ext,map,msk extension error dialog.
2696
2697 2004-10-23 Paul Emsley <[email protected]>
2698
2699 * src/molecule-class-info.cc: (make_atom_label_string): Added ins
2700 code to atom label.
2701
2702 (model_view_residue_tree_labels): Add ins code to residue label.
2703
2704 2004-10-21 Paul Emsley <emsley@localhost>
2705
2706 * src/graphics-info.cc: (place_typed_atom_at_pointer): Added
2707 closed molecule protection. Fixes crash.
2708
2709 * src/graphics-info: (pointer_atom_molecule): added has_model()
2710 protection.
2711
2712 * src/c-interface-ligands.cc moved ligand stuff here and fixed the
2713 "test for ligand" bug on "reading" the widget at execute time.
2714
2715 2004-10-20 Paul Emsley <emsley@localhost>
2716
2717 * setup/coot.sh.in export COOT_REF_STRUCTS. Argh. Is this the
2718 end to it?
2719
2720 2004-10-19 Paul Emsley <emsley@localhost>
2721
2722 * Release 0.0.23
2723
2724 * high-res/Makefile.am linking libraries order changes.
2725
2726 2004-10-19 Paul Emsley <emsley@localhost>
2727
2728 * Release 0.0.22
2729
2730 * src/callbacks.c (on_show_symmetry_ok_button_clicked): symmetry
2731 whole chain button should call symmetry_whole_chain(), not
2732 set_symmetry_atom_labels_expanded() - cutn'paste error, I guess
2733 [Dirk K's bug].
2734
2735 2004-10-17 Paul Emsley <[email protected]>
2736
2737 * sequence-view/sequence-view.cc: (draw_mol_chain_label): Add a
2738 space when molecule name is blank. Thanks Ezra.
2739
2740 2004-10-16 Paul Emsley <[email protected]>
2741
2742 * src/gtk-manual.c
2743 (on_display_control_mol_displayed_button_toggled): Toggle the
2744 active button when the display button is toggled.
2745
2746 * src/c-interface.cc: (handle_read_draw_molecule_with_recentre):
2747 uses expand_molecule_space_maybe() now [a strubi-induced feature].
2748
2749 2004-10-15 Paul Emsley <[email protected]>
2750
2751 * src/graphics-info-pick.cc: (symmetry_atom_pick): don't allow
2752 symmetry atom picking if the atoms are not pickable.
2753
2754 * src/graphics-info.cc: (Imol_Refinement_Map): return the map
2755 number only if the map has not been closed - otherwise we search
2756 for a map as before.
2757
2758 2004-10-14 Paul Emsley <[email protected]>
2759
2760 * setup/coot.csh.in (COOT_REF_STRUCTS): added - Again. Likewise.
2761
2762 * setup/coot.sh.in (COOT_REF_STRUCTS): added - Again! I can't
2763 believe it.
2764
2765 * analysis/bfkurt.cc: (stats): numerical instability - with potential
2766 of sqrt of a negative number trapped. Also add occupancy weighting.
2767
2768 2004-10-13 Paul Emsley <[email protected]>
2769
2770 * src/callbacks.c (on_save_coords_dialog_save_button_clicked):
2771 Don't set the directory for this widget to be the directory of the
2772 last fileselection. Save files should by default now be saved in
2773 the directory in which coot was started - which is The Right
2774 Place.
2775
2776 * macros/clipper.m4 (AM_PATH_CLIPPER): removed fftw/lib and mccp4
2777 -L args, they are never used these days and the linker grumbles
2778 about them not existing.
2779
2780 2004-10-12 Paul Emsley <[email protected]>
2781
2782 * src/rama_plot.cc: converted abs to fabs [for SGI build].
2783
2784 * src/Makefile.am (density_score_by_residue_LDADD): Added compat
2785 libs [for SGI build].
2786
2787 2004-10-08 Paul Emsley <[email protected]>
2788
2789 * Release 0.0.21
2790
2791 * src/c-interface-preferences.cc: Created.
2792
2793 * ligand/dunbrack.cc: (GetResidue): return NULL if no rotamers
2794 available for this residue [type].
2795
2796 * src/graphics-info.cc: (generate_moving_atoms_from_rotamer):
2797 Added protection for d.GetResidue(irot) returning NULL;
2798
2799 * src/molecule-class-info-other.cc: (auto_fit_best_rotamer): added
2800 protection for probabilities.size() == 0.
2801
2802 * src/molecule-class-info.cc: (mutate): Added DeleteSelection.
2803
2804 2004-10-07 Paul Emsley <[email protected]>
2805
2806 * src/gtk-manual.c (rama_plot_mol_selector_activate): Used
2807 dynarama_is_diplayed_state to get the old widget, and if not null,
2808 raise [or map] it. We can have only one ramachandran plot per
2809 molecule now - Hope this fixes Maks's bug.
2810
2811 * src/c-interface.cc: (dynarama_is_diplayed_state): created - so
2812 that we can check if the window exists before we create a new one.
2813
2814 2004-10-06 Paul Emsley <[email protected]>
2815
2816 * src/globjects.cc: (draw_hardware_stereo): fixed angle factor.
2817 Stereo reasonable now [but not shearing].
2818
2819 * src/molecule-class-info.cc: (make_map_from_cif_nfofc): added.
2820 In Virginia, Marcel wanted 2Fo-Fc and Fo-Fc reading from a cif
2821 file that had calculated structure factors [this was not possible
2822 before, strangely enough]. Also added state strings for this
2823 method.
2824
2825 2004-10-05 Paul Emsley <[email protected]>
2826
2827 * sequence-view/Makefile.am (AM_CXXFLAGS): Added GSL_CFLAGS.
2828
2829 * ideal/Makefile.am (AM_CXXFLAGS): Moved GSL_CFLAGS to here.
2830
2831 2004-10-04 Paul Emsley <[email protected]>
2832
2833 * coords/Bond_lines.cc: (handle_MSE_case): created to handle
2834 non-bonded atoms that are in MSE. Check geometry params...
2835
2836 2004-09-30 Paul Emsley <[email protected]>
2837
2838 * src/graphics-info.cc: (check_dictionary_for_residues): change
2839 "Tr " to "Tr" [etc.] before checking.
2840
2841 * geometry/protein-geometry.cc: (try_dynamic_add): Take account of
2842 2 letter residue names.
2843
2844 2004-09-29 Paul Emsley <[email protected]>
2845
2846 * coords/mmdb.cc: (fix_nucleic_acid_residue_names): added to
2847 change nucleic acid residue names to match refmac monomer
2848 restraints type.
2849
2850 2004-09-28 Paul Emsley <emsley@localhost>
2851
2852 * macros/coot-windows.m4 (AM_MINGW_WINDOWS): created. Editted
2853 src/Makefile.am and sequence-view/Makefile.am to use this
2854 variable.
2855
2856 2004-09-27 Paul Emsley <[email protected]>
2857
2858 * src/rama_plot.cc: (setup_internal): fiddled with contour levels.
2859
2860 2004-09-26 Paul Emsley <[email protected]>
2861
2862 * src/c-interface-waters.cc:
2863 (wrapped_create_check_waters_diff_map_dialog): added warning
2864 dialog when missing maps or coordinates.
2865
2866 * src/c-interface.cc: (fill_ligands_dialog_ligands_bits): also
2867 check for ligand molecule having less than 400 atoms.
2868
2869 * src/graphics-info-defines.cc: (check_if_in_delete_item_define):
2870 now takes a GdkModifierType argument so that we can check if Cntrl
2871 was pressed and destroy the Delete Item accordingly. Also had to
2872 change check_if_in_range_defines() [passing the state], and
2873 c-interface_build's delete_atom* functions [passing the flag].
2874
2875 * src/c-interface.cc: (do_refine): Test that the imol_map has not
2876 been closed. Fixes crash.
2877
2878 * src/graphics-info.cc: (refine): Test that the imol_map has not
2879 been closed.
2880
2881 2004-09-25 Paul Emsley <[email protected]>
2882
2883 * setup/coot.csh.in: Added SYMINFO to coot.csh.in [AGAIN! Argh!].
2884
2885 * setup/coot.sh.in : Likewise added SYMINFO [AGAIN!].
2886
2887 * ideal/simple-restraint.hh: removed [commented] time_diff()
2888 function.
2889
2890 * ideal/simple-restraint.cc: (make_link_restraints): removed
2891 timeval variable usage.
2892
2893 * coot-utils/coot-coord-utils.cc
2894 (intelligent_this_residue_mmdb_atom): Added [a copy of the one
2895 that is in molecule_class_info_t]. I guess that I should delete
2896 the molecule_class_info_t at some stage.
2897
2898 * src/molecule-class-info.cc: (intelligent_next_atom): added
2899 DeleteSelection.
2900
2901 2004-09-22 Paul Emsley <[email protected]>
2902
2903 * mini-mol/mini-mol.cc: (unused_chain_id): A crash was causes when
2904 a fragment_id was "". Fixed. Maybe Ezra's problem.
2905
2906 * Release 0.0.20
2907
2908 * src/callbacks.c (on_antialiasing1_activate): set the Yes radio
2909 button if anti-aliasing is on.
2910
2911 * Removed chiral volumes from the Calculate menu. Reordered SSM
2912 Superpose.
2913
2914 * src/graphics-info.cc: (fill_go_to_atom_residue_list): removed
2915 superfluous call to show residue_sub_tree means that [as per the
2916 default for gtk trees] the residue tree is now initiated
2917 collapsed. We shall see how they like that... :)
2918
2919 * c-interface-validate.cc, geometry-graphs.cc, geometry-graphs.hh
2920 created. [Currently experimental] validation features [geometry,
2921 omega, B factor variance].
2922
2923 2004-09-17 Paul Emsley <[email protected]>
2924
2925 * src/graphics-info-defines.cc (check_if_in_save_symmetry_define):
2926 created. Along with save_symmetry_coords_dialog, its button
2927 callbacks, c-interface-build.cc's setup_save_symmetry_coords(),
2928 save_symmetry_coords_from_fileselection(), save_symmetry_coords()
2929 provide saving of symmetry coordinates.
2930
2931 2004-09-16 Paul Emsley <[email protected]>
2932
2933 * ideal/simple-restraint.cc: (make_restraints): We set the
2934 restraints usage flag here [earlier than minimize()]. Now we don't
2935 randomly get [or fail to get] non-bonded contact restraints.
2936
2937 * src/c-interface.cc: (mono_mode) and (hardware_stereo_mode):
2938 added null vbox protection. Removed spurious setting of the
2939 display mode in mono_mode() that messed up the following logic and
2940 results in the internal variable representing the GL widget to be
2941 different to the actual GL widget.
2942
2943 * ideal/simple-restraint.cc: added alt conf tests to the middle of
2944 add_bonds, add_angles, add_planes. This helps geometry graphs
2945 speed up.
2946
2947 * coords/Bond_lines.cc: (construct_from_atom_selection): added
2948 Model test when bonding - for NMR structures.
2949
2950 2004-09-15 Paul Emsley <[email protected]>
2951
2952 * ideal/simple-restraint.cc: (make_flanking_atoms_restraints):
2953 enable the DeleteSelection().
2954
2955 * src/c-interface.cc: (handle_read_draw_molecule_with_recentre):
2956 created. handle_read_draw_molecule() is now a wrapper to this.
2957
2958 * (add_recentre_on_read_pdb_checkbutton): created - now we can
2959 optionally not recentre on reading new coordinates.
2960
2961 * src/graphics-info.cc: (fill_go_to_atom_residue_list): Some
2962 tinkering with tree items and subtrees.
2963
2964 2004-09-14 Paul Emsley <[email protected]>
2965
2966 * src/pick.cc: (unproject) remove casting to GLdouble
2967
2968 * src/main.cc: (setup_symm_lib): reworked the symmetry error
2969 reporting code.
2970
2971 * setup/coot.sh.in : Added COOT_RESOURCES_DIR and
2972 COOT_RESOURCES_FILE as per the suggestion of Christian
2973 Biertuempfel.
2974
2975 * src/molecule-class-info-other.cc: (split_residue): removed
2976 incorrect usage of delete [] residue_atoms after GetAtomTable()
2977 [Fixed Tracy's Bug, I think].
2978
2979 2004-09-08 Paul Emsley <[email protected]>
2980
2981 * src/molecule-class-info.cc: (unused_chain_id): take out the
2982 'while' as per Ezra's suggestion.
2983
2984 * surface/Makefile.am (INCLUDES): Change the order to put the
2985 local includes before the clipper cxxflags.
2986
2987 2004-09-04 Paul Emsley <[email protected]>
2988
2989 * Release 0.0.19
2990
2991 * sequence-view/sequence-view.cc: (setup_canvas): Did some
2992 tinkering with the canvas scroll limits. It should be better
2993 placed now for most things - but still doesn't work for ribosome
2994 particle and I don't know why.
2995
2996 * src/c-interface.cc: (set_map_line_width) and
2997 (map_line_width_state): created to allow the changing of the width
2998 of the denity mesh lines.
2999
3000 * src/graphics-info.cc:
3001 (on_go_to_atom_residue_tree_selection_changed): So we have a tree
3002 in fill_go_to_atom_residue_list now. Several tree functions
3003 created - which obsoletes list functions. The collapsing doesn't
3004 work properly and it doesn't fill properly using ribosome particle
3005 [grr]. Don't know why.
3006
3007 * src/callbacks.c (on_antialias_dialog_yes_radiobutton_toggled):
3008 Added anti-aliasing GUI, now that it works.
3009
3010 2004-09-03 Paul Emsley <[email protected]>
3011
3012 * src/molecule-class-info.cc: (read_ccp4_map): add ".msk" as an
3013 acceptable CCP4 map extention.
3014
3015 * src/graphics-info.cc: (set_do_anti_aliasing): add glBlendFunc()
3016 on the suggestion of Stuart McNicholas. Antialiasing works now
3017 for me with no performance [frames/sec] degredation. Density
3018 lines look a bit strange due to blending with background.
3019
3020 2004-08-31 Paul Emsley <[email protected]>
3021
3022 * sequence-view/sequence-view.cc: "fixed" -> fixed_font variable -
3023 which gets changed [or should do] to "monospace" if we are in
3024 MINGW windows.
3025
3026 2004-08-24 Paul Emsley <[email protected]>
3027
3028 * coot-utils/coot-map-utils.cc (map_score): fix initialization of
3029 variables [thanks Ezra].
3030
3031 * src/globjects.cc (key_press_event): Added view Z translation to
3032 keypad 3 and .
3033
3034 * src/molecule-class-info.h: we don't have sensible refmac
3035 parameters if this is a closed map.
3036
3037 * setup/coot.csh.in and coot.sh.in: Further tinkerage. Now we only
3038 need to set the COOT_PREFIX line.
3039
3040 2004-08-21 Paul Emsley <[email protected]>
3041
3042 * src/molecule-class-info.cc: (draw_unit_cell_internal): label the
3043 axes, A, B, C.
3044
3045 2004-08-19 Paul Emsley <[email protected]>
3046
3047 * ideal/pepflip.cc: (pepflip): extensive changes the atom
3048 selection and deletion and function arguments to account for alt
3049 confs.
3050
3051 * Ramachandran Plot now moved to Validate menu.
3052
3053 * src/c-interface-waters.cc:
3054 (wrapped_create_unmodelled_blobs_dialog): along with
3055 (execute_find_blobs_from_widget) and (execute_find_blobs) provide
3056 blob validation feature.
3057
3058 * src/globjects.cc: In line with sigma level of input map changes,
3059 the default level is changed to 1.0 sigma - which is sensible for
3060 2FoFc maps, but not, perhaps, for difference maps.
3061
3062 2004-08-18 Paul Emsley <[email protected]>
3063
3064 * src/c-interface.cc: (filtered_by_glob): Apply Ezra's fix for
3065 correct map globbing.
3066
3067 * src/molecule-class-info.h: removed reset_draw_vecs() function.
3068
3069 * src/globjects.cc: (glarea_motion_notify): removing "changin
3070 state" debuging line.
3071
3072 * src/graphics-info-pick.cc:
3073 (move_moving_atoms_by_shear_internal): use new/delete [] not GNU
3074 extension for variable d_to_moving_at.
3075
3076 * src/xmap-utils.cc: (map_density_distribution): move to
3077 new/delete [] usage not GNU extension for variable bin.
3078
3079 * src/molecule-class-info.cc: (insert_coords_internal): remove
3080 shadowing of asc_chain variable [ChBa bug].
3081
3082 * coords/Bond_lines.cc: (do_Ca_plus_ligands_bonds): remove GNU
3083 style dynamic memory allocation for ligand_atoms_selection:
3084 replace with new and delete [].
3085
3086 * Multiple Makefile.am patches for out-of-tree building from Ezra
3087 Peisach.
3088
3089 2004-08-17 Paul Emsley <[email protected]>
3090
3091 * src/rama_plot.cc: (setup_internal): changed ramachandran levels
3092 to something less liberal.
3093
3094 * src/c-interface.cc: (new_close_molecules) and
3095 (wrapped_create_new_close_molecules_dialog): created. Provide a
3096 new dialog that's much better for multiple molecule closing [which
3097 is what real crystallographers tend to do].
3098
3099 * src/globjects.cc: add_alt_conf_show intermediate atoms now set
3100 to 0 [fixes JPT/FV usability problem].
3101
3102 * src/callbacks.c (on_phs_cell_choice_ok_button_clicked): added
3103 have_unit_cell protection. Fixes a crash.
3104
3105 2004-08-16 Paul Emsley <[email protected]>
3106
3107 * src/graphics-info.cc: (fill_rotamer_selection_buttons): Change
3108 to radio buttons, not normal buttons. We can see the "active"
3109 rotamer now.
3110
3111 * src/c-interface.cc: (execute_find_blobs): created - so you don't
3112 need to find waters to get this interesting info. Another
3113 validation function.
3114
3115 * high-res/Makefile.am (tracehighres_LDADD): applied Ezra's patch
3116 to link with coot-compat too.
3117
3118 * src/c-interface.cc: (safe_python_command): pass a const char *,
3119 not a string.
3120
3121 * geometry/protein-geometry.cc: when trying CLIB, don't put an
3122 extra "lib" in the string.
3123
3124 * setup/coot.sh export COOT_STANDARD_RESIDUES too.
3125
3126 * src/graphics-info.cc: (rot_trans_adjustment_changed): Rotate a
3127 bit more, so we can get more than 100 degree rotation. Fixes KD
3128 problem.
3129
3130 (set_bond_thickness_intermediate_atoms): created [along with
3131 c-interface].
3132
3133 * src/globjects.cc: return TRUE for draw() and draw_stereo(),
3134 rather than nothing.
3135
3136 2004-08-11 Paul Emsley <[email protected]>
3137
3138 * ligand/ligand.cc: (find_clusters): change the cut-off level to
3139 be n sigma of the input map, not n sigma of the map after masking.
3140
3141 2004-08-10 Paul Emsley <[email protected]>
3142
3143 * db-main/db-main.cc: ref_struct_dir should have a coot dir after
3144 $prefix/share [DATADIR] and before "reference-structures".
3145
3146 2004-08-04 Paul Emsley <[email protected]>
3147
3148 * ideal/simple-restraint.cc: replaced several pow()s.
3149
3150 2004-08-01 Paul Emsley <[email protected]>
3151
3152 * Release 0.0.18
3153
3154 * src/globjects.cc: (glarea_motion_notify): Add code to rotate
3155 view for in_edit_chi_mode_flag with the Ctrl key.
3156
3157 * src/globjects.cc: (gl_extras): If we get a widget when we are
3158 trying hardware stereo set the display_mode flag [to be used in
3159 the draw method].
3160
3161 2004-07-31 Paul Emsley <[email protected]>
3162
3163 * src/graphics-info.cc:
3164 (renumber_residue_range_molecule_menu_item_select): together with
3165 renumber_residue_range_chain_menu_item_select(),
3166 fill_renumber_residue_range_dialog(),
3167 fill_renumber_residue_range_internal() and c-interface-build's
3168 renumber_residues_from_widget() and
3169 wrapped_create_renumber_residue_range_dialog() provide the GUI
3170 inteface to residue range renumbering.
3171
3172 2004-07-30 Paul Emsley <emsley@localhost>
3173
3174 * src/mtz-bits.c: (get_f_cols) and (get_phi_cols) and
3175 (get_weight_cols): the malloc brackets allocating v[i] were
3176 misplaced causing random crashes.
3177
3178 2004-07-29 Paul Emsley <[email protected]>
3179
3180 * coords/Bond_lines.cc: (Bond_lines_container constructor for
3181 environment distances): fixed typo in ch2 contact id - so that now
3182 atoms in differrent chains will be given distances reguardless of
3183 residue number [fixes occasional missing environment distance to
3184 other atom in a different chain].
3185
3186 2004-07-28 Paul Emsley <[email protected]>
3187
3188 * src/molecule-class-info-other.cc (last_residue_in_chain):
3189 created for use with add_OXT GUI.
3190
3191 * src/graphics-info.cc: (fill_add_OXT_dialog_internal) created.
3192 Along with add_OXT_chain_menu_item_activate,
3193 fill_chain_option_menu, add_OXT_molecule_item_select and
3194 c-interface-build's apply_add_OXT_from_widget,
3195 wrapped_create_add_OXT_dialog it provides GUI for add_OXT
3196 functionality.
3197
3198 * doc/coot.tex: Applied Ezra Peisach's typo patches.
3199
3200 2004-07-27 Paul Emsley <[email protected]>
3201
3202 * Release 0.0.17
3203
3204 * Release 0.0.16
3205
3206 * ligand/dunbrack.cc: (GetResidue): fix it again.
3207
3208 * Release 0.0.15
3209
3210 * ligand/dunbrack.cc: (GetResidue): fix the delete of
3211 ordered_residue_atoms_ppcatom. [Rotamer problem fixed]
3212
3213 2004-07-26 Paul Emsley <[email protected]>
3214
3215 * Release 0.0.14
3216
3217 * src/c-interface.cc: (wrapped_create_bond_parameters_dialog):
3218 created. Along with
3219 graphics_info_t::fill_bond_parameters_internals() add Bond
3220 Parameters dialog functionality.
3221
3222 Note: when adding menu items, the active item can be set only
3223 after all the items are added - not during the process.
3224
3225 * src/molecule-class-info.cc: (handle_read_ccp4_map): added
3226 save_state_command_string codes [the reading of ccp4 maps is now
3227 saved in the state file].
3228
3229 2004-07-25 Paul Emsley <[email protected]>
3230
3231 * src/command-line.cc: (parse_command_line): add --help argument.
3232
3233 * geometry/protein-geometry.cc: (init_refmac_mon_lib): Ezra
3234 Peisach noted that the result of stat() should be tested before
3235 buf's content is examined. Fixes potential crash/error on reading
3236 refmac dictionary when file not found.
3237
3238 * src/callbacks.c (on_background_colour1_activate): Created. This
3239 function is used to fix, at long last, the problem of the
3240 background colour menu radio items [used
3241 gtk_check_menu_item_set_active].
3242
3243 2004-07-21 Paul Emsley <[email protected]>
3244
3245 * ligand/chi-angles.cc: moved coot::operator<< for simple_rotamer
3246 here [from dunbrack.cc].
3247
3248 * setup/coot.csh: make COOT_REFMAC_LIB_DIR be in share/coot/lib
3249
3250 * setup/coot.sh: make COOT_REFMAC_LIB_DIR be in share/coot/lib
3251
3252 * src/graphics-info-pick.cc:
3253 (move_moving_atoms_by_shear_internal): use const int d_array_size
3254 to dimension d_to_moving_at array.
3255
3256 2004-07-20 Paul Emsley <[email protected]>
3257
3258 * src/graphics-info.cc: (fill_option_menu_with_undo_options):
3259 added has_model() protection. Stops undo option menu overing
3260 options of closed molecules.
3261
3262 * src/molecule-class-info-other.cc:(renumber_residue_range):
3263 created. Also c-interface wrapper. No GUI yet.
3264
3265 (copy_and_add_residue_to_chain): filled [from stub]. Not tested.
3266
3267 2004-07-19 Paul Emsley <[email protected]>
3268
3269 * src/command-line.cc: (parse_command_line): added --stereo
3270 argument to turn on hardware stereo.
3271
3272 * src/globjects.cc: (draw_hardware_stereo) created. Also draw()
3273 was renamed to draw_mono and an extra argument was added.
3274 draw_hardware_stereo() calls draw_mono() twice.
3275
3276 * src/main.cc: () Don't do most things if gl_extras returns null.
3277
3278 * src/globjects.cc: (gl_extras): Add an extra arg:
3279 try_hardware_stereo_flag. Fiddle with the attribute list if
3280 trying stereo. Don't do most things in this function if glarea
3281 was created null.
3282
3283 * src/command-line.h: added hardware_stereo flag to class. More
3284 stereo support.
3285
3286 * src/c-interface.cc: mono_mode() and hardware_stereo_mode() added.
3287 Starting stereo support.
3288
3289 * setup/coot.csh SYMINFO: added syminfo. The default place for
3290 syminfo.lib is in PKGDATADIR. However, this is not available when
3291 users do a binary install. So, we set SYMINFO in the setup file
3292 and coot will use that [instead of failing to find it where in the
3293 non-existant directory where it was originally built]. Fixes
3294 problem with non-existant symmetry library in binary install.
3295
3296 * setup/coot.sh SYMINFO: added syminfo. See above.
3297
3298 2004-07-17 Paul Emsley <[email protected]>
3299
3300 * src/c-interface-info.cc: (output_residue_info): [call] reset to
3301 zero size the residue edits info vector. Fixes the [ignored]
3302 residue info edits problem.
3303
3304 * coords/mmdb-extras.cc: (get_first_atom_with_atom_name): Fix the
3305 format of the function definition [from Charles Ballard].
3306
3307 * src/molecule-class-info.cc: (change_contour): use the max
3308 contour level to stop the changing of the contour level over the
3309 maximum of the map.
3310
3311 * src/xmap-utils.cc: (map_density_distribution): set the min and
3312 max of the map density.
3313
3314 2004-07-16 Paul Emsley <[email protected]>
3315
3316 * src/c-interface-build.cc: (run_refmac_real): fix problem of
3317 directory/filename when no ccp4i project set. Also rewrote so
3318 that we use a vector of strings that gets converted to an
3319 executable string just before execution [Python support].
3320
3321 * src/gtk-manual.c: (update_map_colour_menu_manual): remove a
3322 strlen debugging line.
3323
3324 2004-07-10 Paul Emsley <[email protected]>
3325
3326 * src/graphics-info.cc: (set_moving_atoms): created. So that
3327 molecule_class_info_t function split_residue() can create a moving
3328 atom object [intermediate atoms are enabled in this case]. Fixes
3329 crash, fixes alt conf back to how it used to be [with intermediate
3330 atoms, not drop straight into rotamer].
3331
3332 2004-07-09 Paul Emsley <[email protected]>
3333
3334 * src/callbacks.c (on_rotate_translate_obj_cancel_button_clicked):
3335 removed graphics_unsetup_rotate_translate_buttons() call and the
3336 function and its declarations.
3337
3338 * src/c-interface.cc: (valid_labels): fixed so that the frees are
3339 commented. Otherise we get a "double free" [so says Paris]. I
3340 don't understand why. Auto-open with invalid labels no longer
3341 causes a crash.
3342
3343 2004-07-08 Paul Emsley <[email protected]>
3344
3345 * geometry/protein-geometry.cc: (init_standard): make the default
3346 place be DATADIR/coot/lib/data/monomers/list [where DATADIR is
3347 PREFIX/share] [i.e. it is moved into package_data_dir]. Use CCP4
3348 only if there is no other alternative.
3349
3350 2004-07-04 Paul Emsley <[email protected]>
3351
3352 * src/graphics-info.cc: (add_cb_to_terminal_res): Added some error
3353 checking and fixed the looping issues. Now no crash when also
3354 adding 2nd residue in add terminal residue.
3355
3356 (execute_rigid_body_refine): Added missing definition of chain in
3357 the case of auto_rangle_flag true. Fixes crash, I hope.
3358
3359 * src/c-interface.cc: (average_temperature_factor) return a value.
3360
3361 (median_temperature_factor): return a value.
3362
3363 2004-07-03 Paul Emsley <[email protected]>
3364
3365 * Release 0.0.13
3366
3367 * src/molecule-class-info.cc: (make_backup): use __WIN32__ defines
3368 to stop the addition of .gz and compression of backup files. And
3369 the time in the filename.
3370
3371 * macros/glut.m4 (AM_PATH_GLUT): Added cygin support for freeglut
3372 linking.
3373
3374 2004-07-02 Paul Emsley <emsley@localhost>
3375
3376 * Release 0.0.12
3377
3378 * src/command-line.cc (handle_command_line_data): remove not
3379 running script output.
3380
3381 2004-07-01 Paul Emsley <emsley@localhost>
3382
3383 * setup/coot.csh: and coot.sh move reference-structures to
3384 prefix/coot/share.
3385
3386 2004-06-29 Paul Emsley <[email protected]>
3387
3388 * src/c-interface.cc: (fill_option_menu_with_coordinates_options):
3389 use dotted_chopped_name().
3390
3391 * src/molecule-class-info.cc: (dotted_chopped_name): created.
3392
3393 * Release 0.0.11
3394
3395 2004-06-28 Paul Emsley <[email protected]>
3396
3397 * Mutate Sequence work [which calls a scheme [mutate.scm]
3398 function]. Now available in the gui.
3399
3400 * src/gtk-manual.c: (update_sequence_view_menu_manual): and
3401 (update_ramachandran_plot_menu_manual): added extra argument to
3402 pass the name - so that we can have a name on these menu items
3403 too.
3404
3405 2004-06-27 Paul Emsley <[email protected]>
3406
3407 * Makefile.am (install-data-local): typo scrdir to srcdir for
3408 scheme files.
3409
3410 * geometry/protein-geometry.cc: (try_dynamic_add): change CCP4_LIB
3411 to CLIB - needed for CCP4 v5.0.
3412
3413 * src/c-interface-build.cc: (make_backup): externally make a
3414 backup.
3415
3416 (set_have_unsaved_changes): externally set have unsaved changes.
3417
3418 * src/molecule-class-info.h: Add turn_on_backup function.
3419
3420 2004-06-25 Paul Emsley <[email protected]>
3421
3422 * Makefile (install-data-local): Add a fi for scheme's outside if.
3423
3424 * src/graphics-info.cc: Function to enable anti-aliasing. Doesn't
3425 seem to do the job on this mac... it just makes the bonds/density
3426 lines thicker.
3427
3428 2004-06-24 Paul Emsley <emsley@localhost>
3429
3430 * Makefile.am (install-data-local): Added scheme files to coot
3431 distribution and added code here to install the files.
3432
3433 2004-06-24 Paul Emsley <[email protected]>
3434
3435 * src/molecule-class-info-other.cc: (map_chains_to_new_chains):
3436 after far too long, I've got a version that I'm happy with. Now
3437 doesn't hang. Merge molecules made available from the gui.
3438
3439 * Auto-read MTZ file work.
3440
3441 2004-06-23 Paul Emsley <[email protected]>
3442
3443 * setup/coot.sh.in export DYLD_LIBRARY_PATH too!
3444 (GUILE_LOAD_PATH): Add guile/site [for goosh]. At long last!
3445
3446 2004-06-22 Paul Emsley <[email protected]>
3447
3448 * coot-utils/peak-search.cc: (mask_around_coord): copy, paste and
3449 fiddle with the function from ligand class.
3450
3451 (mask_map): add coordinate masking function to peak_search.
3452
3453 * high-res/trace-high-res.cc (main): Added the option to use
3454 weights.
3455
3456 (main): Use new masked peak searching of peak_search function.
3457
3458 * src/graphics-info.cc: (show_select_map_dialog): pre-set the
3459 default [refinement] map to the top of the list.
3460
3461 2004-06-18 Paul Emsley <[email protected]>
3462
3463 * mmtz-extras/mmtz-extras.c: (get_f_phi_columns): Add in anomalous
3464 data too.
3465
3466 * mmtz-extras/mmtz-extras.h: Added anomalous data to
3467 f_phi_columns_t.
3468
3469 * src/callbacks.c (on_column_label_ok_button_clicked): Added
3470 anomalous label logic [somewhat contorted - due to mix of mtz f
3471 column and widget menu item index mixing].
3472
3473 * src/molecule-class-info.cc: (test_label_symm_atom): apply
3474 has_model test.
3475
3476 2004-06-16 Paul Emsley <[email protected]>
3477
3478 * src/c-interface.cc: (fill_ligands_dialog): add the setting of
3479 the "Mask Waters?" checkbutton[s].
3480
3481 2004-06-15 Paul Emsley <[email protected]>
3482
3483 * src/graphics-info.cc: (imol_for_skeleton): changed to match
3484 Imol_Refinement_Map() model [i.e. is set if only one map present].
3485
3486 * src/callbacks.c (on_dynarama_cancel_button_clicked): and
3487 (on_dynarama_ok_button_clicked) removed the call to
3488 set_dynarama_is_displayed(0), because this is done [again
3489 otherwise] now that we have the destroy window callback.
3490
3491 * src/rama_plot.cc: (add_phi_psi): added DeleteSelection. Quite a
3492 bit faster now for big molecules.
3493
3494 2004-06-14 Paul Emsley <[email protected]>
3495
3496 * src/molecule-class-info-other.cc: split_residue and its siblings
3497 moved from graphics-info.cc to here - where they should be. Added
3498 extra code so that by default rotamers are run immediately after
3499 Add Alt Conf. A good thing.
3500
3501 2004-06-12 Paul Emsley <[email protected]>
3502
3503 * src/c-interface.cc: (median_temperature_factor): and
3504 (average_temperature_factor) added interfaces to utility
3505 functions.
3506
3507 * geometry/protein-geometry.cc:
3508 (have_dictionary_for_residue_type): Added try_dynamic_add - not a
3509 const function any more.
3510
3511 * coot-utils/coot-coord-utils.cc: (median_temperature_factor): added.
3512 (average_temperature_factor): Added.
3513
3514 2004-06-11 Paul Emsley <emsley@localhost>
3515
3516 * src/globjects.cc: (rotate_rgb):
3517
3518 2004-06-10 Paul Emsley <emsley@localhost>
3519
3520 * coords/Bond_lines.cc: (do_Ca_bonds_internal): added
3521 bonds_size_colour_check() before addBond().
3522
3523 * src/graphics-info.cc: (show_select_map_dialog): use the option
3524 map filler which sets the default menu item too.
3525
3526 (update_go_to_atom_window_on_changed_mol): changed if
3527 (go_to_atom_imol == imol) to if (1)
3528
3529 (fill_option_menu_with_map_options): created - this version has
3530 also is passed an int that is the molecule for the default
3531 position.
3532
3533 2004-06-09 Paul Emsley <emsley@localhost>
3534
3535 * src/callbacks.c (on_show_symmetry_ok_button_clicked): Added the
3536 analysis of the new checkbuttons [symmetry colouring, symop
3537 colouring, symmetry whole molecule and symmetry expanded labels ].
3538
3539 2004-06-08 Paul Emsley <emsley@localhost>
3540
3541 * src/callbacks.c (on_dynarama_window_destroy): Glade created
3542 signal. Added for people who close this widget with window
3543 manager, not buttons.
3544
3545 * src/graphics-info.cc: (execute_rigid_body_refine): rearranged
3546 code for case of auto_rangle_flag being true.
3547
3548 2004-06-07 Paul Emsley <emsley@localhost>
3549
3550 * src/c-interface-info.cc: (output_residue_info): added model?
3551 protection.
3552
3553 2004-06-04 Paul Emsley <[email protected]>
3554
3555 * src/graphics-info.cc: (wrapped_check_chiral_volumes_dialog),
3556 (on_bad_chiral_volume_button_clicked): created for bad chiral atom
3557 vbox dialog. OK, we have chiral volume analysis - hooked into the
3558 Calculate menu.
3559
3560 * geometry/protein-geometry.cc: (get_monomer_chiral_volumes):
3561 created [used in bad chiral testing].
3562
3563 * src/molecule-class-info-other.cc (bad_chiral_volumes): created.
3564
3565 2004-06-01 Paul Emsley <[email protected]>
3566
3567 * db-main/db-main.cc: (fill_with_fragments): moved to
3568 n_filled_residues() usage and a few other things. Makes the
3569 "oops: zero atoms for residue 1 in molecule number 27" [etc]
3570 dissappear.
3571
3572 * GLOBAL change of minimol's fragment n_residues() to
3573 max_residue_number(). Also found many loops over residues of a
3574 fragment and set their start point to min_res_no() replacing 1.
3575
3576 2004-05-30 Paul Emsley <[email protected]>
3577
3578 * coords/Bond_lines.cc: (do_Ca_bonds_internal): Add altconf check
3579 so we don't get wrong altconf bonding.
3580
3581 2004-05-28 Paul Emsley <[email protected]>
3582
3583 * ligand/ligand.cc: (mask_map [short int]): Change the water logic.
3584
3585 * src/callbacks.c (on_symmetry_colour_patch_button_clicked): set
3586 the colour of the symmetry [at long last!].
3587
3588 * src/molecule-class-info.cc:
3589 (set_symm_bond_colour_mol_rotate_colour_map): put the colour map
3590 rotation outside the colour merge - so that symmetry colours are
3591 always rotated [when
3592 graphics_info_t::symmetry_rotate_colour_map_flag is set].
3593
3594 2004-05-27 Paul Emsley <[email protected]>
3595
3596 * geometry/protein-geometry.cc: (standard_protein_monomer_files):
3597 added MSE [selenomet].
3598
3599 * src/mtz-bits.c: (manage_column_selector): set the phases to -1
3600 initially.
3601
3602 * src/callbacks.c (on_column_label_ok_button_clicked): added test
3603 for unset [-1] phi col - print an error message do nothing in such
3604 a case.
3605
3606 * coot-utils/trim.cc: (trim_molecule_by_map): created [namespace
3607 util].
3608
3609 2004-05-25 Paul Emsley <emsley@localhost>
3610
3611 * src/molecule-class-info.cc: (draw_molecule): added has_model()
3612 protection.
3613
3614 (draw_skeleton): added has_map() protection.
3615
3616 (draw_map_unit_cell): added has_map() protection.
3617
3618 (anisotropic_atoms): added has_model() protection.
3619
3620 These protections may make close molecule go away [for good this
3621 time?]. All the molecule functions of globject.cc's draw have
3622 protection now.
3623
3624 * coords/Bond_lines.h: (bonds_size_colour_check): expand bonds if
3625 we need to.
3626
3627 2004-05-24 Paul Emsley <emsley@localhost>
3628
3629 * src/graphics-info-state.cc: (save_state): save 0-coot.state.py
3630 if we are using python.
3631
3632 2004-05-19 Paul Emsley <[email protected]>
3633
3634 * src/graphics-info.h: added symmetry_atom_labels_expanded_flag so
3635 we can have "-X,Y+1/2,-Z" and the like in an atom label - this is
3636 just the flag to do that - not the implementation.
3637
3638 * src/c-interface.cc: (set_symmetry_whole_chain): Do we want the
3639 whole chain of a symmetry related molecule, rather than just a
3640 sphere of its atoms?
3641
3642 * src/molecule-class-info.h: move symmetry_bonds_box to vector of
3643 graphical_bonds_containers [so that we can have colour-by-symop].
3644
3645 * high-res/sequence-assignment.hh: created [along with
3646 sequence-assignment.cc of course].
3647
3648 2004-05-18 Paul Emsley <[email protected]>
3649
3650 * coords/Bond_lines.cc: (do_Ca_bonds_internal): make the bond
3651 colour use the commented [strangely] code for chain colouring
3652 rather than atom type colouring [which is how it used to be].
3653
3654 (addSymmetry_vector_symms): created, a wrapper round individual
3655 symmetry operators, so that we return an entity that can be
3656 coloured by symmetry operator.
3657
3658 * src/c-interface.cc: Add CCP4_SCR to ccp4i project directories.
3659
3660 2004-05-17 Paul Emsley <[email protected]>
3661
3662 * src/c-interface.cc: (set_background_colour): redraw after
3663 setting the colour.
3664
3665 2004-05-14 Paul Emsley <emsley@localhost>
3666
3667 * src/molecule-class-info.cc: (handle_read_draw_molecule): added
3668 test for initially unset bonds type [and set it to normal if
3669 unset] - we do this because undo does a
3670 handle_read_draw_molecule() which otherwise reset the bond type to
3671 normal.
3672
3673 2004-05-13 Paul Emsley <emsley@localhost>
3674
3675 * Release 0.0.8
3676
3677 * mini-mol/mini-mol.cc: (setup) Don't try to store residues with
3678 negative or 0 residue numbers [which caused a crash]. Print out a
3679 warning instead.
3680
3681 2004-05-11 Paul Emsley <emsley@localhost>
3682
3683 * src/molecule-class-info.cc: (close_yourself): set the number of
3684 labels and symmetry labels to 0.
3685
3686 (label_atoms): put in has_model() protection. No more labels for
3687 closed molecule.
3688
3689 (test_label_symm_atom): put in range protection to atom index.
3690
3691 2004-05-08 Paul Emsley <[email protected]>
3692
3693 * src/graphics-info-defines.cc: (check_if_in_regularize_define):
3694 Added a call to add/remove a label when an atom is clicked [and a
3695 redraw]. Visual feedback.
3696
3697 * src/graphics-info-defines.cc: (check_if_in_refine_define): Ditto
3698 above.
3699
3700 2004-05-07 Paul Emsley <[email protected]>
3701
3702 * src/c-interface.cc: (run_command_line_scripts): created. Using
3703 new data member of graphics_info_t [command_line_scripts]. We can
3704 now run scripts from the command line.
3705
3706 * src/c-inner-main.c: (c_inner_main): moved run_state_file_maybe()
3707 here. Also run_command_line_scripts() here.
3708
3709 2004-05-06 Paul Emsley <[email protected]>
3710
3711 * high-res/Makefile.am (INCLUDES): Add compat [bug found when
3712 trying to compile on Mac OS X].
3713
3714 * setup/coot.csh: moved the place of the reference structures.
3715 Now in $prefix/share/coot/reference-structures
3716
3717 * setup/coot.csh: Ditto.
3718
3719 * src/molecule-class-info-other.cc: (assign_fasta_sequence):
3720
3721 2004-05-05 Paul Emsley <[email protected]>
3722
3723 * src/molecule-class-info.cc: (set_skeleton_bond_colour): moved to
3724 this class - deleted from globject.cc. Added colour rotation.
3725
3726 * src/graphics-info.cc:
3727 (fill_option_menu_with_coordinates_options_internal):
3728 created. There is a wrapper without the set_last_active_flag [set
3729 to 0] which is how the old function worked. The
3730 update_go_to_atom_window_on_new_mol() now calls this function
3731 directly rather than going through a wrapper. The result is that
3732 when a new molecule is read and the Go To Atom Window is up, then
3733 the option menu moves to the new molecule [and the residue list
3734 too, of course].
3735
3736 * src/c-interface.cc: (free_memory_run_refmac): put protection
3737 round usage of gtk_object_get_user_data(active_item) - we don't
3738 want to do that if the option_menu is empty and active_item is
3739 therefore null.
3740
3741 2004-05-04 Paul Emsley <[email protected]>
3742
3743 * src/graphics-info-state.cc: (save_state_file): add sigma step
3744 info if appropriate.
3745
3746 * src/molecule-class-info.cc: (install_model): add extra argument
3747 display_in_display_control_widget_status, so that "terminal
3748 residue" doesn't appear there.
3749
3750 (get_map_contour_sigma_step_strings): created so that we can pass
3751 it's value to the state saver.
3752
3753 * macros/mmdb-ssm.m4 (AM_WITH_MMDBSSM): If there is no ssm, let it
3754 say so [result: no].
3755
3756 * coot-utils/Makefile.am (libcoot_utils_la_SOURCES): moved
3757 peak-search here from ligand, so that high-res doen't depend on
3758 ligand lib [because ligand lib depended on high res].
3759
3760 * high-res/coot-atom-graph.cc (peptide_search): experimenting...
3761
3762 2004-05-02 Paul Emsley <[email protected]>
3763
3764 * src/callbacks.c (on_single_map_sigma_checkbutton_toggled):
3765 created. Now there is a property of maps that so that it can be
3766 contoured by sigma. Auxillary functions
3767 set_contour_by_sigma_step_by_mol(), set_contour_by_sigma_step()
3768 and variables in molecule_class_info_t [contour_by_sigma_flag,
3769 contour_sigma_step].
3770
3771 2004-05-01 Paul Emsley <[email protected]>
3772
3773 * src/callbacks.c (on_libcheck_monomer_ok_button_clicked):
3774 handle_get_libcheck_monomer_code needs the entry widget, not the
3775 top-level.
3776
3777 (on_libcheck_monomer_ok_button_clicked): No need to destroy
3778 widget, that's done in handle_get_libcheck_monomer_code().
3779
3780 * src/c-interface.cc: (handle_get_libcheck_monomer_code): the
3781 widget is "libcheck_monomer_dialog" not "accession_code_window"
3782
3783 * mmtz-extras/mmtz-extras.c: (mmtz_get_column_headers): malloc one
3784 more column [ncol+1] prevents valgrind write error. Fixes KD
3785 problem? [Can't see how, to be honest].
3786
3787 * src/graphics-info.cc: (make_moving_atoms_graphics_object):
3788 regularize_object_bonds_box.clear_up() added - valgrind saying we
3789 are loosing 200K here.
3790
3791 2004-04-29 Paul Emsley <[email protected]>
3792
3793 * Release 0.0.6
3794
3795 * src/main.cc (main): uncomment setup_symm_lib() call. Grr - must
3796 have been left in from testing. New release required then.
3797
3798 * Release 0.0.5
3799
3800 * db-main/Makefile.am (testdbmain_LDADD): top_scrdir not
3801 top_scrdir. [not enough testing before putting release on
3802 web-site - rushing to go to Trossachs].
3803
3804 2004-04-27 Paul Emsley <[email protected]>
3805
3806 * Release 0.0.4
3807
3808 * db-main/db-main.cc: Add a default place
3809 DATADIR/reference-structures that can be over-ridden by an
3810 environment variable. Non-so-nimble footwork sorting out the
3811 directory and stating added. Also fixed up Makefile.am here to
3812 add coot-utils.
3813
3814 2004-04-22 Paul Emsley <[email protected]>
3815
3816 * src/globjects.cc (key_press_event): When in baton mode, a Cntl-Z
3817 is baton_build_delete_last_residue().
3818
3819 * src/molecule-class-info.cc: (delete_atom): Add altconf argument
3820 - the mind boggles how I didn't include this before now...
3821
3822 * src/callbacks.c (on_close_molecule_close_button_clicked): Don't
3823 destroy the widget when close molecule button is hit [easier now
3824 to close lots of molecules].
3825
3826 * Makefile.am (install-data-local): install syminfo.lib.
3827
3828 * src/main.cc: (setup_symm_lib): setenv SYMINFO if it is not set
3829 already and point it to pkgdatadir/syminfo.lib.
3830
3831 * src/callbacks.c (on_libcheck_monomer_ok_button_clicked): Add
3832 handle_get_libcheck_monomer_code() call, so that this button
3833 actually works now [oops :-)].
3834
3835 * src/molecule-class-info.cc: (map_fill_from_mtz): removed
3836 Map_stats() usage, replaced with map_density_distribution() usage
3837 [12ms for statistics now - somewhat better].
3838
3839 * src/molecule-class-info.cc (Have_unsaved_changes_p): return 0
3840 when there is no model [stops maps and closed molecules returning
3841 true [no method to save maps yet [not even sure there should be]]].
3842
3843 2004-04-18 Paul Emsley <[email protected]>
3844
3845 * Release 0.0.3
3846
3847 * coords/Bond_lines.cc: (atom_colour): Use DISULFIDE_COLOUR not
3848 DISPHIDE_COLOUR [in the header also]. When DISPHIDE_COLOUR return
3849 green [Fixed non-sulfur-coloured disulphide bonds now].
3850
3851 * src/globjects.cc (key_press_event): Added key bindings for zoom
3852 and clipping.
3853
3854 2004-04-17 Paul Emsley <[email protected]>
3855
3856 * src/molecule-class-info.cc: (get_term_type): can now return "MC"
3857 [middle residue treat as C term] and "MN" [middle residue treat as
3858 N term] depending on where the user clicked. Fixes EJD's add
3859 terminal residue bug.
3860
3861 * ligand/residue_by_phi_psi.cc: (best_fit_phi_psi): Here and
3862 everywhere else in the class where we test for "C", the test now
3863 included "MC".
3864
3865 2004-04-16 Paul Emsley <[email protected]>
3866
3867 * mini-mol/mini-mol.cc (set_cell_symm): moved mmdb_cell to
3868 std::vector usage so that implicit copy operator works on a
3869 minimol.
3870
3871 * ligand/ligand-extras.cc: (flood): created. No mixing and
3872 messing with water fit now.
3873
3874 * Release 0.0.2
3875
3876 * src/c-interface.cc: (close_molecule): remove void * usage. Does
3877 this help?
3878
3879 2004-04-15 Paul Emsley <[email protected]>
3880
3881 * src/graphics-info.cc: (create_mmdbmanager_from_res_selection):
3882 added extra arg so that we don't confuse mmdbmanager from altconf
3883 split with that from refinement [the whole-residues rules are
3884 different]. Closes JPT's altconf split bug [but not the feature
3885 requests].
3886
3887 * setup/coot.sh.in move prefix before the no-modifications line.
3888
3889 * setup/coot.csh.in: move prefix before the no-modifications line.
3890
3891 * src/molecule-class-info.cc: (unused_chain_id): return a status
3892 too so that we know if the chain is usable. No more crashing when
3893 trying to add 27th chain. Extended to lowercase chain usage.
3894
3895 * src/c-interface.cc: (run_script): removed macroed code and
3896 instead choose the script-running function based on extension
3897 [everything is scheme unless it ends in ".py"]. Still python
3898 SWIGged functions not available however. [Might need some
3899 on-the-fly patching].
3900
3901 * src/main.cc (main): Put PYTHON macroed code before GUILE, so
3902 that python is initialized when we have --with-guile
3903 --with-python, which deals with "Fatal Python error:
3904 PyThreadState_Get: no current thread".
3905
3906 * src/molecule-class-info.cc: (map_fill_from_mtz): Added GLUT
3907 timers round MTZ to map conversion. Now we can get some numbers
3908 for how fast is Macintosh.
3909
3910 * src/Makefile.am (INCLUDES): Added GSL_CFLAGS GSL_LIBS properly
3911 [as set by configure] - not my made-up guess.
3912
3913 2004-04-14 Paul Emsley <[email protected]>
3914
3915 * src/globjects.cc (key_press_event): Added keyboard equivalents
3916 for rotations [for Luca].
3917
3918 * coords/Bond_lines.cc (construct_from_atom_selection): to this
3919 and several other routines was added atom_colour_type argument.
3920 The atom colour type in the centre of the loop now calls the
3921 member function atom_colour(). (do_colour_sec_struct_bonds):
3922 created using this system - also
3923 (do_Ca_plus_ligands_colour_sec_struct_bonds) [which looks quite
3924 cute - nice one Stuart].
3925
3926 * Src/c-interface.cc: (handle_read_ccp4_map): added extra arg
3927 is_diff_map_flag which takes the value from the new map filefilter
3928 checkbutton.
3929
3930 * src/molecule-class-info.cc: (change_contour): Fixed contour
3931 level logic for difference map.
3932
3933 2004-04-10 Paul Emsley <[email protected]>
3934
3935 * high-res: created. Just playing for now.
3936
3937 2004-04-09 Paul Emsley <[email protected]>
3938
3939 * src/c-interface.cc: (close_molecule): Added extra trap for null
3940 *imol [should never happen]. Does this catch the close molecule
3941 crash bug?
3942
3943 * src/molecule-class-info.cc: (read_ccp4_map): Return 0, not
3944 nothing - how could this bug have existed for so long? Mind
3945 boggling. No longer random apparent failure to read map.
3946
3947 2004-04-01 Paul Emsley <emsley@localhost>
3948
3949 * src/graphics-info.cc: (geometry_objects): brightened the line
3950 and label colour.
3951
3952 * src/molecule-class-info.cc: (label_symm_atom): Brighten symmetry
3953 label colour.
3954
3955 * src/molecule-class-info.cc (get_map_contour_strings): and
3956 (set_contour_level), with changes in c-interface.h and
3957 graphics-info-state.cc (save_state_file): allow the setting/saving
3958 of the map contour level.
3959
3960 * Release 0.0
3961
3962 2004-03-30 Paul Emsley <[email protected]>
3963 * Release coot-0.0.0-pre-9
3964
3965 * src/c-interface-superpose.cc: (execute_superpose): reordered macros.
3966
3967 * ligand/find-ligand.cc: Added getopt portability gubbins.
3968
3969 * ligand/find-waters.cc: Likewise.
3970
3971 2004-03-29 Paul Emsley <[email protected]>
3972
3973 * macros/glut.m4 (AM_PATH_GLUT): Added /usr/X11R6 args to GLUT
3974 prefixes for powerpc-apple-darwin*.
3975
3976 * src/c-interface-superpose.cc: (superpose): Also
3977 (execute_superpose) (wrapped_create_superpose_dialog) created for
3978 SSM superposition interface. Nice.
3979
3980 2004-03-27 Paul Emsley <[email protected]>
3981
3982 * src/molecule-class-info.cc: (full_atom_spec_to_atom_index): Deal
3983 with the case that selection with atom name "*HO2" finds all the
3984 atoms in the residue.
3985
3986 2004-03-26 Paul Emsley <[email protected]>
3987
3988 * src/molecule-class-info.cc: (name_for_display_manager): created.
3989 Used to give a name of the molecule to the Display Manager. We
3990 can optionally truncate the pathsnames.
3991
3992 (stripped_save_name_suggestion): created [for use with save
3993 fileselection.
3994
3995 * src/globjects.cc: change rotamer_fit_clash_flag default to on (1).
3996
3997 2004-03-25 Paul Emsley <[email protected]>
3998
3999 * src/c-interface.cc: (fill_option_menu_with_coordinates_options):
4000 Changes to the active menu item. If the molecule is not being
4001 draw, don't allow it to be the default [active] molecule [unless
4002 all molecules are undisplayed]. Concomitant test in
4003 graphics-info_t::go_to_atom_residue().
4004
4005 * src/main.cc (main): If no symmetry pop-up a dialog saying so.
4006
4007 2004-03-24 Paul Emsley <[email protected]>
4008
4009 * src/graphics-info.cc: (do_rot_trans_adjustments): The widget for
4010 rotations and translations was changed to use hscales. This
4011 functions sets the adjustments and the callback [which was pretty
4012 much the same as rot_trans buttons code except we added a float
4013 array to store the previous hscale adjustments.
4014
4015 * src/graphics-info-state.cc: (save_state_file): diff_map_iso_level_increment
4016 uses function that uses specified dec pl.
4017
4018 2004-03-14 Paul Emsley <[email protected]>
4019
4020 * src/c-interface.cc: (fill_go_to_atom_window): Added
4021 gtk_container_set_focus_vadjustment call to connect the scolled
4022 window adjustment to the residue_list adjustment. Bingo! Scrolling
4023 residue list on synthetic residue selction! Woohoo! [At last].
4024
4025 * coords/mmdb.cc: (get_atom_selection): Added MMDBF_IgnoreRemarks
4026 to MMDB reading flags.
4027
4028 2004-03-12 Paul Emsley <[email protected]>
4029
4030 * ligand/ligand.cc: (cluster_ligand_size_match): Changed limit for
4031 big ligand vs small density from 10.0 to 7.0
4032
4033 2004-03-11 Paul Emsley <[email protected]>
4034
4035 * ligand/ligand.cc: (find_clusters): Completely re-written.
4036 Introduced new concept: stl::queue, the use of which avoids
4037 requiring recursion [trace_along() no longer required, therefore].
4038
4039 2004-03-10 Paul Emsley <[email protected]>
4040
4041 * Menubar updated: Measures changed so that distances and angles
4042 creates a pop-up. Pop-up toggle buttons for angles and distances.
4043
4044 * src/c-interface.cc: (handle_filename_filter): Created - now we
4045 have filename filter - "hooray!" say the users. Called after a
4046 "Return" in the entry's on_filename_filter_key_press_event().
4047
4048 * src/c-interface.cc: (pre_directory_file_selection): created -
4049 used by above.
4050
4051 2004-03-04 Paul Emsley <emsley@localhost>
4052
4053 * geometry/protein-geometry.cc: (comp_torsion): If this has an id
4054 that contains "CONST" let's not include it in variable torsions.
4055
4056 2004-02-28 Paul Emsley <[email protected]>
4057
4058 * coords/Bond_lines.cc: (do_normal_bonds_no_water): Created.
4059
4060 (add_ligand_bonds): which is called by
4061 (created.do_Ca_plus_ligands_bonds): [created]. Now we have
4062 no_water and ca+ligand representations.
4063
4064 2004-02-27 Paul Emsley <[email protected]>
4065
4066 * Release 0.4.84. I've made lots of changes - many undocumented
4067 to fix the issues of Tue Feb 17 16:09:16 GMT 2004.
4068
4069 2004-02-23 Paul Emsley <[email protected]>
4070
4071 * src/molecule-class-info.cc: (unalt_conf_residue_atoms): Where we
4072 delete conformation B, conformation "A", the only one remaining
4073 should be renamed with altconf "". Called from
4074 delete_residue_with_altconf().
4075
4076 * src/graphics-info.cc: (find_atom_index_from_goto_info): Added
4077 DeleteSelection(). Use UDD to find atom index.
4078
4079 * (intelligent_near_atom_centring): set also the altLoc from the
4080 intelligent atom return index.
4081
4082 * coords/Bond_lines.cc: (do_disulphide_bonds): Added altLoc test.
4083
4084 * src/globjects.cc: (do_screen_z_rotate): created. Called from
4085 mouse motion callback (glarea_motion_notify). Z-rotation on
4086 shift-rightmouse.
4087
4088 2004-02-22 Paul Emsley <[email protected]>
4089
4090 * ligand/residue_by_phi_psi.cc: (get_connecting_residue_atoms):
4091 updated to account for the fact tht if there are 2 atoms in a
4092 residue with the selected name [which happens if there is an
4093 altconf], then GetAtom() returns NULL. So we do some rather
4094 long-winded altconf testing. We can now attach a terminal residue
4095 to a residue that has an altconf.
4096
4097 * src/graphics-info.cc: (copy_mol_and_refine): make it return a
4098 short int rather than void so that we know if we have found
4099 restraints. Likewise copy_mol_and_regularize.
4100
4101 (create_mmdbmanager_from_res_selection): For flanking residues,
4102 set whole_res_flag to 1 so that alt confs of previous atoms are
4103 found even if "" is not.
4104
4105 * ideal/simple-restraint.cc: (make_restraints): only calculate NBC
4106 restraints if there were restraints already [no more blowing up
4107 minimal description ligands].
4108
4109 (construct_non_bonded_contact_list):
4110 filter_non_bonded_by_distance() changed to 8.0. Will [hopefully]
4111 stop crashes from atoms that move big distances in
4112 pull-refine/regularize.
4113
4114 * coords/Bond_lines.cc: (construct_from_atom_selection): only add
4115 udd_handle for "found bond" if we actually draw the bond [was
4116 failing in Florences case of a split water - close to the alt conf
4117 of itself].
4118
4119 Also changed the if (1) to the commented
4120 are_different_atom_selections. Not sure why it had been commented
4121 [testing some other thing?].
4122
4123 2004-02-21 Paul Emsley <[email protected]>
4124
4125 * ideal/simple-restraint.cc: (is_nucleotide): added. Called by
4126 functions that previously presumed that the link type was "TRANS".
4127
4128 * sequence-view/sequence-view.cc: (setup_canvas): set the usize_y
4129 of the canvas according to the number of chains [n_chains added to
4130 function args].
4131
4132 2004-02-20 Paul Emsley <[email protected]>
4133
4134 * src/graphics-info-state.cc: (save_state_file): Added cif
4135 dictionary reader.
4136
4137 2004-02-19 Paul Emsley <emsley@localhost>
4138
4139 * doc/coot.tex (section{Rotate/Translate Zone}): Updated - now
4140 with control click info and alt conf info.
4141
4142 * src/graphics-info.cc: (execute_rotate_translate_ready): Use the
4143 atom1 alt conf in the atom selection.
4144
4145 * src/molecule-class-info.cc:
4146 (initialize_map_things_on_read_molecule): brighten differnce map.
4147
4148 * src/graphics-info.cc: (split_residue_internal): Set the
4149 occupancy of the new atoms.
4150
4151 * src/molecule-class-info.cc: (delete_residue_with_altconf):
4152 created - now only atoms with the same altconf [as the selected
4153 atom] get deleted.
4154
4155 * src/c-interface-build.cc: (delete_residue_with_altconf): created
4156 as interface to the molecule_class_info_t function.
4157
4158 2004-02-13 Paul Emsley <emsley@localhost>
4159
4160 * src/globjects.cc: (gl_extras): add GDK_GL_DEPTH_SIZE to the
4161 attrlist - hooray depth-testing problem solved!
4162
4163 2004-02-11 Paul Emsley <emsley@localhost>
4164
4165 * macros/glut.m4 (AM_PATH_GLUT): Add mips special case
4166
4167 * Release 0.4.81
4168
4169 * src/molecule-class-info.cc: (is_mmcif): created: we test for
4170 .cif or .mmcif so that, in that case, we write a cif file, not a
4171 pdb file. Added a tooltip to the save coordinates fileselection
4172 to that effect.
4173
4174 * mapview.glade: various changes to improve the MTZ/refmac
4175 parameters dialogs [help button created].
4176
4177 * src/graphics-info.cc:
4178 (go_to_atom_atom_list_signal_handler_event): created. Just the
4179 same as the residue version. We now have double click on atom
4180 names too, woohoo!
4181
4182 * src/graphics-info-pick.cc: (move_single_atom_of_moving_atoms):
4183 created. So that we can move just one atom [obviously]. Called
4184 by globject.cc's mouse motion handler.
4185
4186 2004-02-10 Paul Emsley <[email protected]>
4187
4188 * Release 0.4.80
4189
4190 * src/graphics-info.cc: (execute_setup_backbone_torsion_edit): Added
4191 search_altconf and chain_id in atom selection parameters [d'oh].
4192
4193 2004-02-09 Paul Emsley <[email protected]>
4194
4195 * mini-mol/mini-mol.hh: (atom constructor): added data item altLoc
4196 - and made minor changes in the program elsewhere to compensate.
4197 Autofit rotamer alt conf now works.
4198
4199 2004-02-08 Paul Emsley <[email protected]>
4200
4201 * src/graphics-info.cc: (split_residue), (get_residue_alt_confs),
4202 (make_new_alt_conf), (split_residue_internal), together with:
4203
4204 * src/molecule-class-info.cc (insert_coords_chage_altconf). Big
4205 push to get residue splitting to work. I think it does now.
4206 That's great.
4207
4208 2004-02-07 Paul Emsley <[email protected]>
4209
4210 * src/graphics-info.cc: (split_atom_name): created - called by
4211 find_atom_index_from_goto_info, which reads a gtk entry for the
4212 atom name [and that could have a , in it to specify the alt conf].
4213
4214 * src/molecule-class-info.cc: (insert_coords_chage_altconf):
4215 created. Change the altconf of atoms in the already-existing-set
4216 that correspond to new atoms to altconf "A".
4217
4218 2004-02-06 Paul Emsley <[email protected]>
4219
4220 * ideal/simple-restraint.cc: (make_monomer_restraints): removed
4221 the DeleteSelection(selHnd) [causes crash. It should be in the
4222 destructor].
4223
4224 2004-02-05 Paul Emsley <[email protected]>
4225
4226 * ligand/dunbrack.cc: (GetResidue): changed the indexing order of
4227 pscontact -> vector<int> fixes contact indices order. Hoorah -
4228 correct rotamers!
4229
4230 * src/graphics-info.cc: (update_go_to_atom_window_on_changed_mol):
4231 Added a signal handler
4232 (go_to_atom_residue_list_signal_handler_event) to each menu item,
4233 the handler calls apply_go_to_atom_from_widget() - which I carved
4234 out of callback.c's on_go_to_atom_apply_button_clicked [which
4235 calls this new function via the c-interface]. So you can now
4236 double click on a residue name in the go to atom list and it goes
4237 there.
4238
4239 * Release 0.4.78
4240
4241 * src/globjects.cc: (glarea_button_press): Added code to check if
4242 was in range define - only if not, do we then
4243 check_if_moving_atom_pull().
4244
4245 * ideal/simple-restraint.cc: (construct_non_bonded_contact_list):
4246 added code to remove OXT from non-bonded contact list.
4247
4248 2004-02-04 Paul Emsley <[email protected]>
4249
4250 * src/molecule-class-info.cc: (remove_atom_labels): created. Also
4251 remove_all_atom_labels in graphics-info and c-interface.cc
4252
4253 * coords/Bond_lines.cc: (addSymmetry_calphas): remove debugging
4254 statement.
4255
4256 * ideal/simple-restraint.cc: (make_monomer_restraints): add
4257 DeleteSelection at the end.
4258
4259 * src/c-interface.cc:
4260 (read_phs_and_make_map_using_cell_symm_from_mol): Add have_map()
4261 protection. Also use d2rad on converting from mmdb cell to
4262 clipper cell.
4263
4264 * src/molecule-class-info.cc: (make_map_from_phs): Use d2rad on
4265 converting from mmdb cell to clipper cell.
4266
4267 2004-02-03 Paul Emsley <[email protected]>
4268
4269 * ligand/residue_by_phi_psi.cc:
4270 (construct_prev_res_from_rama_angles): use next_ca next_n, this_c
4271 to position this_o, not some garbage geometry that I had
4272 previously.
4273
4274 2004-02-01 Paul Emsley <[email protected]>
4275
4276 * ligand/ligand-extras.cc: (move_atom_to_peak): Change shift_len
4277 limit to 0.001 [from 0.01] and add a counter max to the while loop
4278 just in case. Also change to refining against the map passed as a
4279 parameter - not the pristine map [d'uh!].
4280
4281 * ligand/ligand.cc: (import_map_from): create a new form of the
4282 function that sets th e rms of the map, when then gets used in a
4283 kludgey way to set the gradient scale.
4284
4285 * ligand/ligand.cc: (calculate_gradient_scale): use the rms [if it
4286 has been set] to set the gradient_scale.
4287
4288 2004-01-31 Paul Emsley <[email protected]>
4289
4290 * src/molecule-class-info.cc: (draw_coord_unit_cell): Don't do
4291 this if there n_selected_atoms == 0;
4292
4293 * src/globjects.cc: (glarea_motion_notify): If we are not in
4294 refine mode [last_restraints_size > 0] then simple translate
4295 moving coords.
4296
4297 * ligand/ligand.cc: (make_pseudo_atoms): Use the mmdb write
4298 function not the clipper::MMDB for aniso-ligand-centres.pdb so
4299 that the clipper fatal error is not called.
4300
4301 2004-01-30 Paul Emsley <[email protected]>
4302
4303 * Release 0.4.77
4304
4305 * src/molecule-class-info.cc: (zero_occupancy_spots): display zero
4306 occupancy spots.
4307
4308 * coords/Bond_lines.cc: (add_zero_occ_spots): created for both
4309 graphical_bonds_container and Bond_lines_container as a container
4310 for zero occupancy spots.
4311
4312 * Release 0.4.76
4313
4314 * src/graphics-info-defines.cc:
4315 (check_if_in_geometry_range_defines): add symmetry atom pick so we
4316 can have distances to symmetry atoms [obviously]. Created
4317 display_geometry_distance_symm() as support.
4318
4319 2004-01-29 Paul Emsley <[email protected]>
4320
4321 * Release 0.4.75
4322
4323 * ligand/ligand-extras.cc: (water_fit): Created a copy of xmap
4324 post mask [xmap_pre_cluster]. Use that to refine against - not
4325 the pristine map.
4326
4327 * src/c-interface.cc: Change set_map_atom_mask_radius value to 1.9 from 1.2
4328
4329 * ligand/ligand.cc: ligand::ligand Change map_atom_mask_radius to
4330 1.2 (from 0.8).
4331
4332 * src/c-interface-build.cc: (clear_pending_delete_item): created -
4333 used in callback of delete_item cancel button - deletes the
4334 atom/residue-to-be-delete flags.
4335
4336 * src/callbacks.c (on_rotate_translate_obj_ok_button_clicked): use
4337 clear_up_moving_atoms() not just clear_moving_atoms_object().
4338
4339 (on_rotate_translate_obj_cancel_button_clicked): use
4340 clear_up_moving_atoms() not just clear_moving_atoms_object().
4341
4342 2004-01-28 Paul Emsley <[email protected]>
4343
4344 * ligand/ligand.cc: Change the masking radius to 1.9. 1.2
4345 [previous value] made the maps look skruffy - much better now.
4346
4347 2004-01-26 Paul Emsley <emsley@localhost>
4348
4349 * src/molecule-class-info.cc: (add_typed_pointer_atom): correct
4350 the positioning of the atom names for BR, CA, CL, MG, OW1.
4351
4352 * src/c-interface.cc: (execute_find_waters_real) update the goto
4353 atom widget's molecule and residue list if appropriate.
4354
4355 * src/molecule-class-info.cc: (install_model): add
4356 have_unsaved_changes_flag.
4357
4358 2004-01-25 Paul Emsley <emsley@localhost>
4359
4360 * ligand/ligand-extras.cc: (water_fit): write out the coordinates
4361 of the cluster centre that are too big to fit waters.
4362
4363 * src/graphics-info.cc: (import_all_refmac_cifs) only close a
4364 subdir if it opened successfully and silently skip over files that
4365 are not directories.
4366
4367 * src/c-interface.cc: (make_and_draw_map): If weights were not
4368 useds, weights_col was not defined, but was used to make a string
4369 to pass to map_fill_from_mtz - now defaults to "" when there are
4370 no_weights.
4371
4372 2004-01-23 Paul Emsley <emsley@localhost>
4373
4374 * coords/mmdb-extras.h: clear_contact_info(): created to give back
4375 the PSContact memory after we have finished with a contact_info.
4376
4377 * Release 0.4.71
4378
4379 * macros/glut.m4 (AM_PATH_GLUT): Fixes for fedora.
4380
4381 2004-01-22 Paul Emsley <[email protected]>
4382
4383 * src/molecule-class-info.cc: (get_standard_residue_instance)
4384 Return null on failure. Add protection against standard residues
4385 not being read by using read_success.
4386
4387 2004-01-21 Paul Emsley <[email protected]>
4388
4389 * src/command-line.cc: (parse_command_line) chars are not ints! -
4390 change ch to an int - solves SGI unaccounted optarg condition.
4391
4392 * src/c-inner-main.c: (c_inner_main) change error message to match
4393 searched-for scm file [coot.scm].
4394
4395 2004-01-19 Paul Emsley <[email protected]>
4396
4397 * Release 0.4.68
4398
4399 2004-01-15 Paul Emsley <[email protected]>
4400
4401 * atom-utils/Makefile.am (INCLUDES): added ideal directory too.
4402
4403 2004-01-14 Paul Emsley <[email protected]>
4404
4405 * Release 0.4.67
4406
4407 * src/graphics-info-pick.cc: (do_post_drag_refinement_maybe) Added
4408 idle function to do minimization.
4409
4410 * src/graphics-info-pick.cc: (check_if_moving_atom_pull): created:
4411 This is called by globject's button_press callback, and sets up
4412 moving atom drag. This is called by mouse motion callback.
4413
4414 * src/graphics-info-pick.cc: (move_moving_atoms_by_shear_internal)
4415 created - so that the other "moving" atoms move when we move the
4416 picked moving atom.
4417
4418 2004-01-10 Paul Emsley <[email protected]>
4419
4420 * ligand/chi-angles.cc: (setup_chi_atom_pairs) change CG to CG1
4421 for ILE - Ooops.
4422
4423 2004-01-07 Paul Emsley <[email protected]>
4424
4425 * src/pick.cc: (moving_atoms_atom_pick) created so that we can
4426 pick the atoms of the moving atoms molecule. This will allow
4427 click and drag of moving atoms - hopefully with some
4428 refinement thrown in...
4429
4430 * src/pick.h: Add function moving_atoms_atom_pick();
4431
4432 2003-12-31 Paul Emsley <[email protected]>
4433
4434 * macros/gtkgl.m4: changed GL_LIBS to be GL_LDOPTS - which includes
4435 the -L for the directory if needed.
4436
4437 * macros/glut.m4: added powerpc special case because it can't find
4438 libXmu.
4439
4440 * Release 0.4.66
4441
4442 * macros/guile.m4 (GUILE_PROGS): AC_MSG_ERROR for guile-config and
4443 guile removed - so that we don't fail to configure when guile
4444 is not present.
4445
4446 * src/c-interface.cc: Added various HAVE_CANVAS preprocessor tests
4447 that I found to have problems when building on new Mac OS X
4448 laptop.
4449
4450 2003-12-26 Paul Emsley <[email protected]>
4451
4452 * src/c-interface.cc: (make_and_draw_map) return int, not void so
4453 that we can use the molecule number in a script.
4454
4455 2003-12-24 Paul Emsley <[email protected]>
4456
4457 * Release 0.4.65
4458
4459 * src/graphics-info.cc: (show_select_map_dialog) created. I split
4460 out the map selection from the old refine parameters dialog -
4461 and changed functions that called show_refine_params_dialog()
4462 to call this function instead. No there is no confusion about
4463 refinement parameters [torsions control] when user should be
4464 simply selecting a map. This was easier than I thought it was
4465 going to be [I've known that I've needed to make this fix for
4466 months].
4467
4468 * src/c-interface.cc: (show_select_map_dialog) created for
4469 model/fit/refine dialog button callback - passthough to
4470 graphics-info function.
4471
4472 * Release 0.4.64
4473
4474 * macros/glut.m4 (AM_PATH_GLUT): Added -lXmu to GLUT_LDOPTS for
4475 Vanilla unix.
4476
4477 2003-12-23 Paul Emsley <[email protected]>
4478
4479 * Release 0.4.63
4480
4481 * sequence-view/sequence-view.hh: vector -> std::vector
4482
4483 * sequence-view/Makefile.am (include_HEADERS): Added
4484 seq-view-interface.h [Packaging error]
4485
4486 2003-12-22 Paul Emsley <[email protected]>
4487
4488 * Release 0.4.62
4489
4490 * ligand/residue_by_phi_psi.cc: (fit_terminal_residue_generic)
4491 Added terminus_type "M" which creats a fragment of 1 residue
4492 instead of 2.
4493
4494 * mini-mol/mini-mol.cc: (constructor from atom_list): use the
4495 passed chain_id, not "W", to construct a fragment.
4496
4497 * src/c-interface.h: Changed many of the setup_* functions called
4498 from model/fit/refine togglebutton callback to take a state
4499 argument which usets the flag in graphics-info.h and returns
4500 to a normal cursor [for toggle button toggled off].
4501
4502 * src/c-inner-main.c: Changed mapview.scm to coot.scm
4503
4504 2003-12-19 Paul Emsley <[email protected]>
4505
4506 * src/graphics-info.cc: (geometry_objects) Created. Also
4507 (clear_simple_distances) created. These [together with the
4508 odd static vector pointer] create on-screen distances - and
4509 the removal thereof.
4510
4511 2003-12-17 Paul Emsley <[email protected]>
4512
4513 * configure.in, Makefile.am, src/Makefile.am, ligand/Makefile.am:
4514 changed to reflect new directory ccp4mg-utils, which is where
4515 ccp4mg stuff will go, rather than in the ligand directory
4516
4517 * Release 0.4.60
4518
4519 * sequence-view/sequence-view.cc: Created [along with sequence-view.hh]
4520
4521 2003-12-10 Paul Emsley <[email protected]>
4522
4523 * Release 0.4.59
4524
4525 * src/molecule-class-info.cc: (insert_coords) Add AddResidue when
4526 serial_number returned -1.
4527
4528 * Release 0.4.58
4529
4530 * surface/Makefile.am (libcoot_isosurface_la_SOURCES): make
4531 library name have coot- prefix.
4532
4533 2003-12-09 Paul Emsley <[email protected]>
4534
4535 * Release 0.4.57
4536
4537 * ideal/simple-restraint.cc: (init_from_mol) re-include the
4538 istart_minus_flag and iend_plus_flag that I had foolishly removed
4539 before. Now flanking atom restraints work.
4540
4541 * src/c-interface.h: Added save_state_file()
4542
4543 2003-12-08 Paul Emsley <[email protected]>
4544
4545 * ideal/simple-restraint.hh: Added enumeration of
4546 BONDS_ANGLES_TORSIONS_PLANES_AND_NON_BONDED.
4547
4548 * Makefile.am (subpkgdata_DATA): Add standard-residues.pdb
4549
4550 * Release 0.4.56
4551
4552 * src/graphics-info.cc: (execute_rotate_translate_ready): move
4553 over to make_asc usage.
4554
4555 (execute_rigid_body_refine) moved over to make_asc usage.
4556
4557 2003-12-07 Paul Emsley <[email protected]>
4558
4559 * src/graphics-info.cc: (copy_mol_and_refine) Massive re-write yet
4560 again. We didn't want the flanking residues to appear in the
4561 moving atoms.
4562
4563 * ligand/dunbrack.hh: dunbrack constructor: don't run
4564 add_all_rotamers and setup_chi_atom_pairs, because we already do
4565 that in the base class. Rotamers fixed.
4566
4567 2003-12-06 Paul Emsley <[email protected]>
4568
4569 * new libtool.
4570
4571 * src/c-interface.cc: (read_phs_and_make_map_using_cell_symm)
4572 created to re-generate a phs map from phs data.
4573
4574 * src/molecule-class-info.cc: (make_map_from_phs) Added
4575 save_state_command_strings_ push backs.
4576
4577 * src/globjects.cc: (glarea_button_press) added freeglut conditional
4578 compilation for the contouring timer.
4579
4580 * src/graphics-info.cc: (SetShowFPS): added freeglut conditional
4581 compilation for the FPS timer.
4582
4583 2003-12-05 Paul Emsley <[email protected]>
4584
4585 * Release 0.4.55
4586
4587 * src/globjects.cc: (display_density_level_maybe) Sorted out the
4588 matrix mode change with pops - now you can click on the
4589 coordinates immediately after density has changed. Documentation
4590 amended.
4591
4592 * src/molecule-class-info.cc: (close_yourself) Removed delete []
4593 atom_sel.atom_selection usage - using
4594 DeleteSelection(SelectionHandle) instead.
4595
4596 2003-12-04 Paul Emsley <[email protected]>
4597
4598 * Release 0.4.54
4599
4600 * Makefile.am (install-data-local): changed the destination of
4601 pixmaps so that it is in PKGDATADIR which is a passed variable in
4602 the compilation.
4603
4604 * Release 0.4.53
4605
4606 * src/c-interface.cc: (set_refine_max_residues) Created - so that
4607 not too many residues are refined by accident [default fencepost
4608 20].
4609
4610 * src/graphics-info.cc: (copy_mol_and_refine) and
4611 (copy_mol_and_regularize) removed copy molecule and generate a
4612 moving_atoms_asc "by hand". Seems faster.
4613
4614 2003-12-03 Paul Emsley <[email protected]>
4615
4616 * coords/mmdb-extras.cc (add_atom_index_udd_as_old): Created - so
4617 that we can have a fast lookup of atoms
4618 (full_atom_spec_to_atom_index) when we accept regularization and
4619 refinement.
4620
4621 * Release 0.4.52
4622
4623 * macros/glut.m4 (AM_PATH_GLUT): Move GL_LIBS into default
4624 GLUT_LDOPTS.
4625
4626 2003-12-02 Paul Emsley <[email protected]>
4627
4628 * Release 0.4.51
4629
4630 * src/graphics-info.cc: (change_peptide_carbonyl_by): created.
4631 (change_peptide_peptide_by): created. Along with new dialog and
4632 button on model/fit/refine dialog - provides backbone torsion
4633 angle manipulation.
4634
4635 * src/graphics-info-state.cc: (save_state_file) added a test for
4636 non-Closed molecule before saved parameters are written.
4637
4638 * src/c-interface.cc: (run_state_file_maybe) created. Along with
4639 a state file dialog and a set_run_state_file_status()
4640 c-interface.cc function.
4641
4642 * src/graphics-info.cc: (set_last_map_colour) Created.
4643
4644 2003-11-29 Paul Emsley <[email protected]>
4645
4646 * Release 0.4.51-pre-3 [trying cvs]
4647
4648 * ligand/ligand.cc: (mask_around_coord) Added distance check to
4649 atom. Needs testing.
4650
4651 2003-11-25 Paul Emsley <[email protected]>
4652
4653 * src/c-interface.cc: (set_graphics_window_size): added
4654 gtk_window_set_default_size call and argument setting in reshape
4655 in glarea.cc so that the window shape is saved in the state file.
4656
4657 2003-11-23 Paul Emsley <[email protected]>
4658
4659 * src/molecule-class-info.cc: make_map_from_cif [just the filename
4660 version]. Added warning about no calculated structure factors
4661 [rather than silently failing].
4662
4663 2003-11-18 Paul Emsley <[email protected]>
4664
4665 * Release 0.4.49
4666
4667 * Makefile.am added suppressions [for valgrind].
4668
4669 * Release 0.4.48
4670
4671 * src/molecule-class-info-other.cc: (residue_edit_phi_psi)
4672 created. (edit_phi_psi_pull_residue) created. (get_phi_psi)
4673 created. All for edit phi/psi support.
4674
4675 2003-11-17 Paul Emsley <[email protected]>
4676
4677 * src/graphics-info-defines.cc (check_if_in_edit_phi_psi_define):
4678 Created.
4679
4680 * src/callbacks.c (on_dynarama_ok_button_clicked): Added support
4681 for edit phi/psi window closure.
4682
4683 * macros/mmdb.m4 (AM_PATH_MMDB): Added check for old mmdb by using
4684 SetAtomName(const char *). Exit if this fails.
4685
4686 2003-11-15 Paul Emsley <[email protected]>
4687
4688 * Release 0.4.46. Some pretty substantial changes here [display
4689 control widget, posting from state, symm atom picking and
4690 non-bonded contacts in refinement].
4691
4692 * coords/mmdb-crystal.cc: (translate_atom) has an invalid read -
4693 fixed by not deleting the atom before we construct the returned
4694 Cartesian [duh!]. Also removed the cryst_p usage.
4695
4696 * src/globjects.cc (key_press_event): Added postings of the most
4697 useful windows from F5, F6, F7.
4698
4699 * src/c-interface.cc: (wrapped_create_goto_atom_window) Created.
4700 (fill_go_to_atom_window) created [functionality pulled out of
4701 callbacks.c] - because it was needed by
4702 post_display_control_window() too.
4703
4704 * src/graphics-info-state.cc: (save_state_file) added to to post
4705 model/fit/refine window if it was up.
4706
4707 * src/graphics-info-pick.cc: (symmetry_atom_pick) Make clipper
4708 spacegroup and construction depend on there being at least one
4709 box.
4710
4711 * ideal/simple-restraint.cc: (distortion_score_non_bonded_contact)
4712 Added. Also my_df_non_bonded and various functions and
4713 constructors of simple_restraint. Now we have working [I hope]
4714 non-bonded contacts too.
4715
4716 * src/molecule-class-info.cc: (read_ccp4_map) Put in directory or
4717 missing file protection [at the suggestion of Charlie Bond].
4718
4719 2003-11-14 Paul Emsley <[email protected]>
4720
4721 * ideal/simple-restraint.cc: (make_non_bonded_contact_restraints)
4722 now we have non-bonded contacts from the active residues.
4723
4724 2003-11-12 Paul Emsley <[email protected]>
4725
4726 * Release 0.4.46-pre-3
4727
4728 * src/graphics-info-pick.cc (fill_hybrid_atoms): Changed to use
4729 mmdb to get the matrix because mmdb and clipper symops are not in
4730 the same order. The matrix generates a mat33 and a coord_oth,
4731 which are then used to create an rtop which transforms the atom
4732 position.
4733
4734 2003-11-07 Paul Emsley <[email protected]>
4735
4736 * coords/mmdb-crystal.cc: sym_trans_t::str(): initialize t with \0s.
4737 Changed the delete to delete [] at the end. [Both from valgrind].
4738
4739 2003-11-07 Paul Emsley <[email protected]>
4740
4741 * Release 0.4.46-pre-2
4742
4743 * src/main.cc: Add stuff for splash_screen.
4744
4745 * ideal/simple-restraint.cc: (make_non_bonded_contact_restraints):
4746 started added in non-bonded contacts.
4747
4748 2003-11-06 Paul Emsley <[email protected]>
4749
4750 * coords/mmdb-crystal.cc: (which_box): Converted to to suggestion
4751 of Kevin - apply symm to centre, apply trans shift to point,
4752 finding closest *then* the +/- 1 along a, b, c. Fixes the Adrian
4753 158A problem.
4754
4755 2003-11-05 Paul Emsley <[email protected]>
4756
4757 * macros/gtkgl.m4 (AM_PATH_GTKGL): Put -lgtkgl before the
4758 $GTK_LIBS [MacOS X sensitive to this].
4759
4760 2003-11-02 Paul Emsley <[email protected]>
4761
4762 * Release 0.4.44
4763
4764 * src/gtk-manual.c: (display_control_molecule_combo_box) Removed
4765 extra toggle-button callbacks [active and displayed], which caused
4766 event recurring hell.
4767
4768 2003-11-01 Paul Emsley <[email protected]>
4769
4770 * Makefile.am (EXTRA_DIST): Added cootrc.
4771
4772 * ligand/ligand-extras.cc: Fixed several errors. First use the
4773 right map, second use doubles for the statistics, third step from
4774 1 not 0. Change the stop to 0.3, so that the outer shell is now 0.9
4775
4776 * src/globjects.cc: Changed ligand_water_variance_limit to 0.7
4777
4778 2003-10-30 Paul Emsley <[email protected]>
4779
4780 * Release 0.4.42
4781
4782 * src/pick.cc: (symmetry_atom_pick) the p_i.success test was
4783 coming too early. Now we finish all the boxes before testing.
4784
4785 Long-standing symmetry picking bug gone!?
4786
4787 * doc/Makefile.am (EXTRA_DIST): Added reference.tex
4788
4789 2003-10-29 Paul Emsley <[email protected]>
4790
4791 * src/Makefile.am (coot_SOURCES): Use macros to expand the
4792 coot_wrap source files.
4793
4794 (libcoot_wrap_python_la_SOURCES):
4795 (libcoot_wrap_guile_la_SOURCES): Create libraries for the wrapper
4796 code so that coot_SOURCES does not depend on a macro - which I
4797 could not get to expand so that the objects for coot were
4798 correctly generated. Now the executable depends on the libraries,
4799 which gets expanded OK. Also changes in macros/with-guile.m4 and
4800 macros/with-python.m4 were needed.
4801
4802 * Release 0.4.41
4803
4804 * src/gtk-manual.c: (display_control_molecule_combo_box) Add Bond
4805 Colour by Atom button.
4806
4807 * Release 0.4.40
4808
4809 * src/Makefile.am (coot_SOURCES): Ooops - packaging error - now
4810 includes select-atom-info.hh
4811
4812 2003-10-27 Paul Emsley <[email protected]>
4813
4814 * src/c-interface-build.cc: (setup_mutate_auto_fit) added, with
4815 callback and graphics-info-defines:check_if_in_mutate_auto_fit()
4816
4817 * src/globjects.cc: (draw_crosshairs_maybe) Fixed for non-square
4818 aspect ratios.
4819
4820 2003-10-24 Paul Emsley <[email protected]>
4821
4822 * Release 0.4.37
4823
4824 * src/graphics-info.cc: (fill_output_residue_info_widget_atom)
4825 (on_residue_info_occ_entry_key_release_event)
4826 (on_residue_info_b_factor_entry_key_release_event)
4827 (residue_info_edit_b_factor_apply_to_other_entries_maybe)
4828 (residue_info_edit_occ_apply_to_other_entries_maybe)
4829 (residue_info_add_b_factor_edit) (residue_info_add_occ_edit)
4830 (apply_residue_info_changes) (residue_info_release_memory)
4831
4832 Phew. A long day's work. These functions created
4833 (fill_output_residue_info_widget_atom was extended) to
4834 implement residue info [occupancy and temp factor] editting.
4835 By checking the dialog's checkbutton the changes are applied to
4836 the whole residue. residue_info_release_memory causes a memory
4837 error when the deletes are uncommented.
4838
4839 2003-10-23 Paul Emsley <[email protected]>
4840
4841 * src/c-interface.cc:
4842 (set_ligand_water_to_protein_distance_limits) set min and max,
4843 not max twice [d'oh!].
4844
4845 * ligand/ligand-extras.cc: (move_atom_to_peak) Get values from the
4846 pristine map, not the masked one.
4847
4848 * src/c-interface.cc: (wrapped_create_model_fit_refine_dialog)
4849 created, so that there is only one Model/Fit/Refine window.
4850
4851 2003-10-22 Paul Emsley <[email protected]>
4852
4853 * ligand/ligand-extras.cc: Use 4 character atom names in
4854 write_waters and make_pseudo_atoms().
4855
4856 2003-10-18 Paul Emsley <[email protected]>
4857
4858 * src/c-interface.cc: (execute_find_waters_real) Added raw waters
4859 writing (set_write_raw_waters).
4860
4861 2003-10-16 Paul Emsley <[email protected]>
4862
4863 * src/graphics-info.cc: (add_cb_to_terminal_res) return an
4864 atom_selection_container_t because the number of atoms in the
4865 molecule has changed. Fixes terminal residue bug [I hope].
4866
4867 * geometry/protein-geometry.cc: (init_refmac_mon_lib) It seems
4868 that ReadMMCIFFile goes into an infinite loop when asked to read a
4869 directory. So put directory protection round it [using stat]].
4870
4871 2003-10-14 Paul Emsley <[email protected]>
4872
4873 * src/molecule-class-info.cc: (insert_coords). Added
4874 make_backup();
4875
4876 * src/mtz-bits.c: (f_button_select) Added "DEL" and "FOFC" logic
4877 to switch to difference map.
4878
4879 2003-10-09 Paul Emsley <[email protected]>
4880
4881 * src/molecule-class-info.cc (add_multiple_dummies - both
4882 scored_skel_coord and Cartesian interface) added
4883 FinishStructEdit(). Error below goes away.
4884
4885 * src/molecule-class-info.cc: (model_view_atom_button_labels)
4886 Added null protection for chains. This should not be necessary.
4887 It seem to be a result of mmdb corruption elsewhere - possibly
4888 DeleteChain in update_molecule_to().
4889
4890 * src/molecule-class-info.cc: (model_view_residue_button_labels)
4891 Added null protection for chains.
4892
4893 2003-10-06 Paul Emsley <[email protected]>
4894
4895 * Release 0.4.33
4896
4897 * src/molecule-class-info.cc: (previous_baton_atom) Use direction
4898 to generate the vector of [previous] coordinates.
4899
4900 * src/graphics-info.cc (baton_next_directions) use
4901 baton_build_direction_flag.
4902
4903 * src/graphics-info.cc: (set_baton_build_params) Created. We need
4904 to be able to build backwards - even with negative residue
4905 numbers. So we need an external function that sets the starting
4906 residue number and the direction.
4907
4908
4909 2003-10-02 Paul Emsley <[email protected]>
4910
4911 * Release 0.4.32
4912
4913 * src/c-interface.cc: (set_max_skeleton_search_depth) and code in
4914 graphics-info.cc to set the static so that the skeleton search
4915 depth is publically available.
4916
4917 * build/CalphaBuild.hh: (CalphaBuild) new constructor so that
4918 max_skeleton_search_depth is publically available.
4919
4920 * src/graphics-info.cc: (shorten_baton), Don't change direction
4921 when in b-mode.
4922
4923 * src/graphics-info.cc: (lengthen_baton), Don't change direction
4924 when in b-mode.
4925
4926 * src/callbacks.c (on_virtual_trackball_menu_pops): use
4927 gtk_check_menu_item_set_active to set the virtual trackball status
4928 on popup of Virtual Trackball menu.
4929
4930 2003-10-01 Paul Emsley <[email protected]>
4931
4932 * src/graphics-info-state.cc: (save_state): save also the
4933 diff_map_iso_level_increment and the iso_level_increment.
4934
4935 * src/graphics-info.cc: (unskeletonize_map) and
4936 src/c-interfac.cc's (skeletonize_map_by_optionmenu) are new
4937 skeletonization code so that you can skeletonize any map, not just
4938 the first one.
4939
4940 * ideal/with-geometry.cc (main): added without GSL protection
4941
4942 * ideal/with-map.cc: (main) added without GSL protection.
4943
4944 2003-09-30 Paul Emsley <[email protected]>
4945
4946 * src/c-interface.cc: (skeletonize_map_by_optionmenu) and
4947 associated code in c-interface.cc, graphics-info.cc, callbacks.c.
4948 Support for skeletonization of any map.
4949
4950 * compat/getopt1.c: include coot-getopt.h [that's what we supply]
4951 not getopt.h.
4952
4953 * mini-mol/mini-mol.cc: (pcmmdbmanager) remove the casting to char
4954 for SetAtomName argument.
4955
4956 2003-09-25 Paul Emsley <[email protected]>
4957
4958 * src/graphics-info.h: (init) Move the initialization of
4959 dynarama_is_diplayed here rather than in the static setup.
4960
4961 2003-09-24 Paul Emsley <[email protected]>
4962
4963 * src/graphics-info.cc: (set_residue_range_refine_atoms) created
4964 for calling of rigid_body fit by scripting.
4965
4966 * src/rama_plot.cc: (init_internal) use gtk_object_set_data_full
4967 on the window so that we can look up the canvas.
4968
4969 * src/c-interface.cc: (get_mol_from_dynarama) Use the canvas to
4970 lookup the molecule number, not the [top-level] window.
4971
4972 2003-09-23 Paul Emsley <[email protected]>
4973
4974 * Release 0.4.28
4975
4976 * src/c-interface.cc: (handle_read_draw_molecule) fill the option
4977 menu of the Go To Atom window, if it exists.
4978
4979 * src/molecule-class-info.cc: (restore_from_backup) save the state
4980 commands and the imol_no from before calling
4981 handle_read_draw_molecule().
4982
4983 * src/graphics-info-defines.cc: (clear_pending_picks). Created.
4984
4985 2003-09-22 Paul Emsley <[email protected]>
4986
4987 * src/callbacks.c (on_delete_item_cancel_button_clicked): Filled
4988 in this function.
4989
4990 * src/molecule-class-info-other.cc (residue_serial_number): added
4991 null residue protection code.
4992
4993 * src/c-interface-build.cc: (delete_item_mode_is_atom_p) created
4994 to support (on_model_refine_dialog_delete_button_clicked).
4995
4996 * src/callbacks.c (on_model_refine_dialog_delete_button_clicked):
4997 If we were in delete_atom_mode, then the atom checkbutton
4998 should be hilighted.
4999
5000 * src/graphics-info.cc: (execute_rigid_body_refine) moved to here
5001 from c-interface.cc. Now sets imol_moving_atoms [oops].
5002
5003 * src/graphics-info.cc: (apply_undo), (Undo_molecule), created for
5004 "Undo" support.
5005
5006 * src/molecule-class-info.cc: (add_pointer_multiatom) Use 4
5007 letters in the atom names.
5008
5009 2003-09-21 Paul Emsley <[email protected]>
5010
5011 * coords/Bond_lines.cc: (construct_from_asc) Use the
5012 non_Hydrogen_atoms array not the SelAtom.atom_selection for
5013 the calculation of non-hydrogen bonds. Hydrogens are really
5014 not displayed now when we use (draw-hydrogens 0 0).
5015
5016 2003-09-19 Paul Emsley <[email protected]>
5017
5018 * Release 0.4.27
5019
5020 * src/molecule-class-info-other.cc (add_OXT_to_residue): and
5021 supporting code in c-interface-build.cc
5022
5023 * Release 0.4.26
5024
5025 * refmac.scm (run-refmac-by-filename): Added
5026 extra-cif-lib-filename argument. Also made changes in calling
5027 code execute_refmac_real();
5028
5029 * src/molecule-class-info.cc: (full_atom_spec_to_atom_index) Now
5030 us User Defined Data atom index. Needs more testing perhaps.
5031
5032 * src/graphics-info.cc: (baton_build_delete_last_residue). Baton
5033 building now has an "Undo" button - hoorah!
5034
5035 2003-09-17 Paul Emsley <[email protected]>
5036
5037 * src/molecule-class-info-other.cc: (auto_fit_best_rotamer) Created.
5038
5039 * mini-mol/mini-mol.cc: residue::residue(const CResidue*
5040 residue_p): created.
5041
5042 * src/graphics-info.cc: moved the guts of
5043 set_dynarama_is_displayed() to here from c-interface.cc. Did
5044 a spelling correction of dynarama_is_diplayed and made sure
5045 references of it were array usages [there is more than one
5046 ramachandran plot now].
5047
5048 2003-09-16 Paul Emsley <[email protected]>
5049
5050 * src/globjects.cc: Changed the default
5051 graphics_info_t::environment_min_distance to 0.0.
5052
5053 * src/graphics-info.h: Added dynamic_map_zoom_offset and the
5054 c-interface function set_dynamic_map_zoom_offset, which addresses
5055 Kevin's wish [to have the screen full of density always] somewhat
5056 [i.e. not completely satisfactarily].
5057
5058 2003-09-11 Paul Emsley <[email protected]>
5059
5060 * ligand/ligand.cc: Don't apply angles to ligands of size 1
5061 (e.g. waters). No more crashing when trying to Rigid Body Refine
5062 water atoms.
5063
5064 2003-09-09 Paul Emsley <[email protected]>
5065
5066 * Release 0.4.24
5067
5068 * ideal/simple-restraint.cc: (make_flanking_atoms_restraints) now
5069 uses the new class variables istart_minus_flag and iend_plus_flag
5070 which are now set in (init_from_mol) which are set if we the
5071 flanking next and previous residues are in the molecule.
5072
5073 * ligand/residue_by_phi_psi.cc: (make_2_res_joining_frag) Created.
5074 Now we create a fragment of 2 residues, because when building
5075 forward, the O of the next atom depends on the next next residue.
5076
5077 2003-09-08 Paul Emsley <[email protected]>
5078
5079 * src/molecule-class-info.cc: (make_atom_label_string) Add alt conf
5080 code to the atom label if it has one.
5081
5082 * db-main/db-main.hh (weighted_residue::weighted_residue()):
5083 Initialize weight_sum and weight_sum_cb [fool].
5084 [Uninitialized variable found by valgrind].
5085 Ca -> mainchain bug fixed.
5086
5087 2003-09-07 Paul Emsley <[email protected]>
5088
5089 * Release 0.4.23
5090
5091 * src/c-interface.cc: (save_coordinates). Put NULL protection in
5092 the gtk_object_get_user_data - not a clean solution [still gets a
5093 Gtk-WARNING invalid cast from NULL pointer], but it doesn't crash
5094 now.
5095
5096 * src/molecule-class-info.cc: (append_to_molecule)
5097 execute_find_waters_real now calls append_to_molecule when we want
5098 to add the waters to the masking molecule.
5099
5100 * src/graphics-info.cc: (go_to_atom_residue) Garib's Bug: the way
5101 to do this is to set the residue number to -1 in the static
5102 (goto_to_atom_residue_number_) in globjects.cc and test for -1
5103 when we render the goto_atom_window. If it is -1, then we use the
5104 details of the first atom of the first molecule that has atoms. I
5105 did indeed do exactly that: graphics_info_t::go_to_atom_residue()
5106 now uses intelligent_this_residue_atom(). Garib's Bug Fixed. Hoorah!
5107
5108 * src/gtk-manual.c: (display_control_molecule_combo_box) moved
5109 gtk_option_menu_set_menu to the end of the routine and use
5110 render_optionmenu_1_menu directly in the bond_type test just above
5111 it. This allows gtk_menu_set_active to work - Hooray! C-alpha
5112 bond representation in Display Control now fixed.
5113
5114 2003-09-06 Paul Emsley <[email protected]>
5115
5116 * src/c-interface-build.cc: created new widget run_refmac dialog
5117 [which needed widget setup and analysis code], execute_refmac and
5118 execute_refmac_real and wrote refmac.scm and coot-utils.scm [which
5119 uses goosh [so I need to add that to my dependences]]. So refmac
5120 "works". This is rather pleasing. It does not currently read in
5121 the new coordinates and map, I will do that shortly.
5122
5123 2003-09-05 Paul Emsley <[email protected]>
5124
5125 * src/c-interface.cc: (set_show_aniso(int state)) redraw glarea so
5126 that callback actually changes the graphics.
5127
5128 2003-08-27 Paul Emsley <[email protected]>
5129
5130 * src/molecule-class-info.cc: (add_pointer_multiatom) Added
5131 multiatom [e.g. SO4] pointer atom code.
5132
5133 2003-08-26 Paul Emsley <[email protected]>
5134
5135 * src/c-interface-build.cc: (mutate) return a status so that the
5136 calling script knows that something went wrong [potentially].
5137
5138 * src/molecule-class-info.cc: Made get_ori_to_this_res and
5139 move_std_residue return error status for signalling unfilled rtop,
5140 used now in mutate_auto.
5141
5142 2003-08-19 Paul Emsley <[email protected]>
5143
5144 * src/molecule-class-info.cc: (make_backup). Activated backup
5145 code for mutations.
5146
5147 * src/c-interface.cc: (fill_option_menu_with_coordinates_options)
5148 added an extra arg, which is the signal function callback for the
5149 item selection - [needed so that we don't do a goto atom residue
5150 list update when we save a molecule].
5151
5152 * src/callbacks.c (on_coordinates_recentring1_activate): Added
5153 code so that recentre_on_read_pdb is now gui-able.
5154
5155 2003-08-13 Paul Emsley <[email protected]>
5156
5157 * src/molecule-class-info.cc: (add_coords) Check for null residue
5158 [sigh].
5159
5160 2003-08-12 Paul Emsley <[email protected]>
5161
5162 * src/rama_plot.cc: (big_square) When the model view was used to
5163 recentre view and a water was selected, we crashed in big_square,
5164 which had assued that everything was a protein. Fixed that by
5165 testing for the size of phi_spi.
5166
5167 2003-08-11 Paul Emsley <[email protected]>
5168
5169 * surface/CIsoSurface.cpp: Comment out clipper/mtz/mtz_io.h: not
5170 needed.
5171
5172 2003-08-08 Paul Emsley <[email protected]>
5173
5174 * Today I build a version for the sgi and ran it on perky. It
5175 ran! It displayed a map! It did regularization and refinement!
5176 Interestingly the graphics were pretty fast [almost as good as
5177 bubbles] but the calculation stuff [refinement, map
5178 contouring/recentering] was very very slow.
5179
5180 2003-08-07 Paul Emsley <[email protected]>
5181
5182 * src/globjects.cc: (glarea_button_press) [and key_release_event].
5183 When map level is changed, it first checks to see if there is only
5184 one map being displayed and if there is, then that map gets moved,
5185 not the one to which the scroll-wheel is attached.
5186
5187 * Release 0.4.22-pre-6
5188
5189 * src/c-interface.cc: (go_to_atom_mol_button_select) Added code to
5190 do the gtklist widgets for the residue and atom lists in the go to
5191 atom window. Note gtklists are out of deprecated and that I had
5192 to use gtk_set_data_full by hand to add the name to the widget so
5193 that it could be looked up. [I had to create it by hand for some
5194 viewport scrolling issue not supported in glade].
5195
5196 2003-08-05 Paul Emsley <[email protected]>
5197
5198 * coords/Bond_lines.cc: (Bond_lines_container) added delete trans
5199 atom code, after using valgrind. Also in pick.cc. Valgrind stil
5200 not happy - but we are in a better position.
5201
5202 * src/callbacks.c (on_go_to_atom1_activate): Adding list of
5203 residues and atoms to go_to_atom_window.
5204
5205 2003-08-04 Paul Emsley <[email protected]>
5206
5207 * src/callbacks.c (on_show_symmetry1_activate and others): Added Ca
5208 for symmetry option.
5209
5210 2003-07-26 Paul Emsley <[email protected]>
5211
5212 * src/molecule-class-info.cc: (set_bond_colour_by_mol_no) Limit
5213 the rotation_size to +1.0.
5214
5215 2003-07-25 Paul Emsley <[email protected]>
5216
5217 * src/c-interface.cc: (fill_close_option_menu_with_all_molecule_options)
5218 fixed the non-setting of the first molecule in the optionmenu.
5219
5220 * src/c-interface.cc: fill_option_menu_with_coordinates_options()
5221 fixed the non-setting of active molecule menu item in optionmenu.
5222
5223 2003-07-18 Paul Emsley <[email protected]>
5224
5225 * Release 0.4.21-pre-7: I am pleased with this release.
5226
5227 * Added "unsaved changes" flag to molecule_class_info_t along with
5228 code that ativates in when the molecule is changed and
5229 deactivated on save coordinates.
5230
5231 Added gui code to interact with above.
5232
5233 * Added state-saving code.
5234
5235 2003-07-15 Paul Emsley <[email protected]>
5236
5237 * src/pick.cc: symmetry_atom_pick() removed the deletion of
5238 translated and created a function clear_symm_atom_info that
5239 should be called after setRotationCentre(symm_atom_info_t)
5240 that clears it instead.
5241
5242 * coords/Bond_lines.cc: (Bond_lines_container::construct_from_asc)
5243 added code to look for " D" as well as " H".
5244
5245 2003-07-14 Paul Emsley <[email protected]>
5246
5247 * src/graphics-info.cc:
5248 graphics_info_t::execute_rotate_translate_ready() Added the
5249 assignment to imol_moving_atoms that I had forgetten.
5250
5251 2003-07-09 Paul Emsley <[email protected]>
5252
5253 * ligand/ligand.cc: added to the class do_size_match_test. We
5254 don't want to do the test for rigid body refinement [which calls
5255 find_centre_by_ligand], but we do for a full ligand search.
5256
5257 2003-07-07 Paul Emsley <[email protected]>
5258
5259 * src/c-interface-build.cc: Added function to set lowest rotamer
5260 probability.
5261
5262 2003-07-07 Paul Emsley <[email protected]>
5263
5264 * Releases: 0.4.19, 0.4.20, fixing mutate bugs.
5265
5266 2003-07-04 Paul Emsley <[email protected]>
5267
5268 * Release 0.4.18
5269
5270 * close molecule functionality added [see close_yourself() in
5271 molecule_class_info_t].
5272
5273 2003-07-03 Paul Emsley <[email protected]>
5274
5275 * Release 0.4.17-pre-1
5276
5277 * tree/dunbrack.cc: Added dunbrack and assocciated classes
5278 [uses mgtree Tree]. testdunbrack seems to work. Let's make a
5279 release of that.
5280
5281 2003-07-01 Paul Emsley <[email protected]>
5282
5283 * coords/Bond_lines.cc: added optional int do_disulfide_bonds_flag
5284 to constuctor so that disulfide bonds dont flash when we are
5285 doing regularization/refinement. Made necessary changes
5286 therefore to graphics_info_t::copy_mol_and_refine,
5287 copy_mol_and_regularize and makebonds() in molecule-class-info.
5288
5289 2003-06-24 Paul Emsley <[email protected]>
5290
5291 * src/pick.cc: removed atom label construction to molecule-class-info.cc
5292
5293 2003-06-23 Paul Emsley <[email protected]>
5294
5295 * src/mtz-bits.c: manage_column_selector: Added code to set FWT,
5296 PHWT as default if they exist:
5297 gtk_menu_set_active(GTK_MENU(optionmenu1_menu), i) Code works!
5298
5299 * src/c-interface.cc: set_show_unit_cell: Added code and changed
5300 interface to be setting all molecule show_unit_cell_flag flags,
5301 not just imol=0.
5302
5303 2003-06-20 Paul Emsley <[email protected]>
5304
5305 * Release mapview-0.4.15-pre-4
5306
5307 * ideal/simple-restraint.cc, configure.in: Make HAVE_GSL be a
5308 source configuration option, and --with-gsl-prefix for configure.
5309
5310 2003-06-19 Paul Emsley <[email protected]>
5311
5312 * ligand/ligand.cc: Option out the best-overall-*.pdb writing by
5313 introducing a new class variable write_orientation_solutions.
5314
5315 2003-06-15 Paul Emsley <[email protected]>
5316
5317 * src/graphics-info.cc: Made many changes so that regularized_asc
5318 becomes moving_atoms_asc since it is used by many atom
5319 manipulation functions, not just regularization.
5320
5321 2003-06-14 Paul Emsley <[email protected]>
5322
5323 * src/molecule-class-info.cc: (molecule_class_info_t::pepflip), if
5324 atom is an " N ", then move to the previous atom.
5325
5326 * coords/Bond_lines.cc: Bond_lines_container constructor: added
5327 different bonds [colour] or bond to a Carbon atom.
5328
5329 * src/pick.cc: (make_atom_label_string) re-written as a c++
5330 function.
5331
5332 * src/c-interface.cc: (scale_zoom_internal): Added fabs to wrap f.
5333
5334 2003-06-13 Paul Emsley <[email protected]>
5335
5336 * ligand/residue_by_phi_psi.cc: Added then completely re-written,
5337 sill does not work properly.
5338
5339 * src/command-line.cc: Added coot-getopt.h not getopt.h, ie we
5340 now have a copy of getopt in coot [in compat].
5341
5342 2003-06-07 Paul Emsley <[email protected]>
5343
5344 * src/globjects.cc: Set graphics_info_t::rotate_colour_map_for_map
5345 = 31.0; degrees
5346
5347 2003-06-03 Paul Emsley <[email protected]>
5348
5349 * ligand/ligand.cc: (coot::ligand::fit_ligand_to_clusters) Added
5350 protection for setting at the end final_ligand[iclust] beyond it's
5351 size.
5352
5353 2003-05-30 Paul Emsley <[email protected]>
5354
5355 * src/molecule-class-info.cc:
5356 (initialize_map_things_on_read_molecule) now has colour map
5357 rotation for the map.
5358
5359 * src/rama_plot.cc: (draw_phi_psi_point_internal) Fixed assignment
5360 of big_box_item. I think the ramachandran plot bug has gone
5361 away now. Phew.
5362
5363 2003-05-29 Paul Emsley <[email protected]>
5364
5365 * geometry/protein-geometry.hh: Fixed dist_esd for link planes.
5366
5367 2003-05-28 Paul Emsley <[email protected]>
5368
5369 * src/graphics-info.cc: Attempt to make some safety for
5370 regularized_asc deletion. To no avail - deletion of the
5371 molecule is commented.
5372
5373 2003-05-25 Paul Emsley <[email protected]>
5374
5375 * src/c-interface.cc: execute_rigid_body_refine(): Function added
5376 - uses ligand class.
5377
5378 * ligand/ligand.cc (get_solution): Function added. Used for
5379 graphics.
5380
5381 find_centre_by_ligand(): Function added: for use in rigid body
5382 refinement.
5383
5384 * src/c-interface.h: Added these functions:
5385 void set_map_sampling_rate_text(gchar *text);
5386 void set_map_sampling_rate(float r);
5387 char* get_text_for_map_sampling_rate_text();
5388 float get_map_sampling_rate();
5389
5390 * src/callbacks.c (on_density_size1_activate): Added code to get
5391 and set map_sampling_rate using widget
5392 map_sampling_rate_entry.
5393
5394 2003-05-18 Paul Emsley <[email protected]>
5395
5396 * src/gtk-manual.c: Added code to provide C-alpha pseudo bond
5397 representation menu_item.
5398
5399 * Release 0.4.12
5400
5401 * ideal/simple-restraint.cc: Added map terms and now the seem
5402 to work correctly - with a substantial (1000?) weight in the
5403 constructor.
5404
5405 2003-05-08 Paul Emsley <[email protected]>
5406
5407 * ideal/simple-restraint.cc: (make_monomer_restraints) changed to
5408 istart_res and iend_res usage for the residue selection.
5409
5410 * src/globjects.cc: changed default skeleton box radius to 40A.
5411
5412 * angles/AngleInfo.cc: (assign_angle_torsion). We get a crash
5413 when running build Ca now. The problem is in assign_angle_torsion
5414 creating bad values for theta_bin and torsion_bin for the
5415 angle_torsion_table. Fixed by adding
5416 setup_angle_torsion_table(10,5) to the AngleInfo constructor.
5417
5418 2003-05-07 Paul Emsley <[email protected]>
5419
5420 * src/graphics-info.cc: (smooth_scroll_maybe) Had another bash at
5421 making the zoom/scroll/zoom look better.
5422
5423 * src/Makefile.am (EXTRA_DIST): Added post-glade.
5424
5425 * Synced upto 24 April 2003 clipper.
5426
5427 * src/molecule-class-info.cc: Added #include
5428 "clipper/mmdbold/clipper_mmdb.h" for clipper::DBAtom_selection
5429 atoms() in make_map_from_cif_generic().
5430
5431 * ligand/ligand.hh: Added #include
5432 "clipper/mmdbold/clipper_mmdb.h" so that clipper::MMDB and
5433 clipper::DBAtom_selection work.
5434
5435 * angles/AngleInfo-angle-torsions-autogen.cc
5436 (from_batched_angle_torsions_bits_540): Split into compiler-sized
5437 chunks :-). Compiles much faster now. Added the new declarations
5438 to AngleInfo.h too.
5439
5440 * macros/with-python.m4 (AM_WITH_PYTHON): Added UTIL_LIB for
5441 PYTHON_LIBS depending on `uname`
5442
5443 2003-04-10 Paul Emsley <[email protected]>
5444
5445 * src/globjects.cc: Added colour map rotation using rgb to hsv
5446 conversion, where we add a few degrees
5447 (graphics_info_t::rotate_colour_map_on_read_pdb) to the hue.
5448 However, molecule 1 appears over the top of molecule 2, thus
5449 causing confusion, potientially. So draw the molecules in draw
5450 back to front [i.e. starting at the higest molecule number].
5451
5452 Add c-interface.cc support for these variables.
5453
5454 2003-04-08 Paul Emsley <[email protected]>
5455
5456 * skeleton/Makefile.am: Added ligand dir to mapview. Synced up
5457 configure.in and main Makefile.am to match.
5458
5459 * macros/with-python.m4 (MAPVIEW_WRAP_PYTHON_CONVERT): added
5460 variable to copy blank.cc to mapview_wrap_python.cc if python
5461 was not included.
5462
5463 * macros/with-guile.m4 likewise for guile. Also sync
5464 src/Makefile.am to reflect these changes.
5465
5466 2003-03-13 Paul Emsley <[email protected]>
5467
5468 * src/Makefile.am (INCLUDES): Changed GLUT_CLAGS to GLUT_CFLAGS.
5469
5470 2003-03-12 Paul Emsley <[email protected]>
5471
5472 * src/c-interface.h: Added mapview_exit so that Py_Finalize() gets
5473 called. Used in callbacks.c by on_exit1_activate();
5474
5475 2003-03-04 Paul Emsley <[email protected]>
5476
5477 * src/callbacks.c (on_smooth_scrolling_window_ok_button_clicked):
5478 changed to set_smooth_scroll_limit_str because we changed the
5479 interface so that we can pass a float.
5480
5481 2003-02-26 Paul Emsley <[email protected]>
5482
5483 * macros/gtkgl.m4 (AM_PATH_GTKGL): Added -lpthread. We should
5484 check for thread first then, I guess.
5485
5486 * skeleton/Makefile.am (test_various_LDADD): Changes references to
5487 AngleInfo to mapview-AngleInfo.
5488
5489 * macros/Makefile.am (MACROS): Recreated [because I left it on the
5490 laptop] gtk-canvas.m4 and included it in Makefile.am
5491
5492 2003-11-26 Paul Emsley <[email protected]>
5493
5494 * Release 0.4.7-3
5495
5496 * */Makefile.am : Now using libtool
5497
5498 2003-11-25 Paul Emsley <[email protected]>
5499
5500 * src/molecule-class-info.cc: (make_map_from_cif) Added 2fo-fc map
5501 generation code. Yeah! How cool! [Critical code cribbed from
5502 Kevin, of course - he said alliteratively].
5503
5504 * macros/Makefile.am (MACROS): Added guile.m4
5505
5506 * src/molecule-class-info.cc: (unlabel_atom) Fixed indexing limit
5507 in for loop so that we can no delete the last atom in the
5508 list.
5509
5510 2003-11-20 Paul Emsley <[email protected]>
5511
5512 * macros/gtkgl.m4 (AM_PATH_GTKGL): Added -lpthread. Not sure
5513 about the placing.
5514
5515 2003-02-18 Paul Emsley <[email protected]>
5516
5517 * Release 0.4.6-pre-7
5518
5519 2003-02-17 Paul Emsley <[email protected]>
5520
5521 * src/Makefile.am (MAPVIEW_EXTRA_LIBS): Removed ../db-main for
5522 now.
5523
5524 (mapview_LDADD): Removed @MAPVIEW_WRAP_LIBS@
5525
5526 * src/molecule-class-info.cc: Commented clipper-cif.h
5527
5528 * src/c-interface.cc: Commented out db-main.h from includes.
5529 Commented out test_fragment().
5530
5531 * src/Makefile.am (EXTRA_DIST): added EXTRA_DIST for mapview.i
5532
5533 * All sorts of gcc 3.2 fixes, using std:: a lot, removing default
5534 arguments from function definitions, etc.
5535
5536 * configure.in: delete db-main (and from Makefile.am) for now.
5537
5538 2003-02-03 Paul Emsley <[email protected]>
5539
5540 * src/callbacks.h: removed clipping_adjustment_changed and moved
5541 it to c-interface.cc, since it is only called by
5542 do_clipping1_activate().
5543
5544 * src/callbacks.c (on_exit1_activate): Call gtk_exit, not
5545 gtk_main_quit() because gtk_main_quit does nothing [I don't know
5546 why] now that we have a scripting window.
5547
5548 * (on_clipping1_activate): moved code to do_clipping1_activate()
5549 in c-interface.cc. Likewise clipping_adjustment_changed().
5550
5551 2002-11-14 Paul Emsley <[email protected]>
5552
5553 * macros/clipper.m4 (AM_PATH_CLIPPER): take out cctbx and sgtbx
5554 from the necessary libraries.
5555
5556 * skeleton/BuildCas.cc (all_skel_pts_in_asu): Removed the commment
5557 on the map level.
5558
5559 2002-10-30 Paul Emsley <[email protected]>
5560
5561 * Added a ton of code, phs reading, cell selection, map and
5562 molecule control, more autobuilding code.
5563
5564 * Release 0.4.5
5565
5566 2002-10-30 Paul Emsley <[email protected]>
5567
5568 * Linking with python, following Stuart's recipe works [except
5569 that gtk takes over the console]. Attempting to link with guile
5570 make guile crash :-(.
5571
5572 2002-10-10 Paul Emsley <[email protected]>
5573
5574 * skeleton/BuildCas.cc: added "tidy up trans_selection:" code.
5575 Now *much* faster at generating symmetry expanded branch points.
5576
5577 2002-08-21 Paul Emsley <[email protected]>
5578
5579 * Release 0.4.1 [due to post-glade mix-up].
5580
5581 2002-08-20 Paul Emsley <[email protected]>
5582
5583 * Release 0.4.0 [at long last!]
5584
5585 * src/c-interface.cc: (goto_near_atom_maybe and friends). Added
5586 functions to do next/previous residue (go_to_atom_* functions)
5587
5588 2002-08-19 Paul Emsley <[email protected]>
5589
5590 * src/pick.cc: (atom_pick) Added an update for SelAtom so that we
5591 are looking at the molecule that had the nearest contact [fixes
5592 James Murray bug, I believe].
5593
5594 * src/pick.cc (symmetry_atom_pick). Similar to above [using
5595 translated].
5596
5597 * synced with laptop [IUCr 2002 enhancements].
5598
5599 2002-07-28 Paul Emsley <[email protected]>
5600
5601 * src/globjects.cc: (glarea_motion_notify), (init), (draw) add in
5602 quaternion/trackball support. Hoorah! the mouse now moves the
5603 molecule as I like it. We use trackball.c from sgi.
5604
5605 * src/c-interface.cc: (skel_foadi_on) Call
5606 initialize_coordinate_things_on_read_molecule() for the bones and
5607 the constructed atoms. Goodbye "symmetry labelling" bug.
5608
5609 * src/globjects.cc: (glarea_button_press) Only try to pick
5610 symmetry atoms if they are being displayed. The same goes for
5611 labelling.
5612
5613 2002-07-09 Paul Emsley <[email protected]>
5614
5615 * src/globjects.cc: (anisotropic something) Tinkered with this
5616 function so that it returns "nice" values.
5617
5618 * src/c-interface.h: Reshuffled aniso c-interface functions and
5619 dropped their molecule arguments. The Anisotropic Atoms widget has
5620 no ability to select molecules. This then is not a property of a
5621 molecule, but is a property of the graphics.
5622
5623 float get_limit_aniso(); // not a function of the molecule
5624 short int get_show_limit_aniso(); // not a function of the molecule
5625 short int get_show_aniso(); // not a function of the molecule
5626 void set_limit_aniso(short int state);
5627 void set_aniso_limit_size_from_widget(char *text);
5628 void set_show_aniso(int state);
5629 char *get_text_for_aniso_limit_radius_entry();
5630 void set_aniso_probability(float f);
5631 float get_aniso_probability();
5632
5633 2002-06-25 Paul Emsley <[email protected]>
5634
5635 * skeleton/fc_skeleton.cc: (converge): change the gridding limits
5636 from -1..1 to -2..2 [like Kevin suggested].
5637
5638 2002-06-17 Paul Emsley <[email protected]>
5639
5640 * skeleton/fc_skeleton.h (class fc_skeleton): Deleted denlist and
5641 friends and removed their usage from fc_skeleton() and
5642 ~fc_skeleton().
5643
5644 * skeleton/fc_skeleton.cc (initprevden): Completely rewritten
5645 according to Kevin's notes.
5646
5647 (getprevden): Likewise.
5648
5649 2002-05-24 Paul Emsley <[email protected]>
5650
5651 * Release 0.3.93
5652
5653 2002-05-01 Paul Emsley <[email protected]>
5654
5655 * Massive rebuilding - the static maps and coordinates are gone and
5656 now are part of molecules. Much rebuilding of the interface to
5657 take account of this change. Much removal of static objects -
5658 which have been moved to dynamically allocated molecules
5659 (molecule_class_info_t).
5660
5661 2002-02-28 Paul Emsley <[email protected]>
5662
5663 * font/Makefile.am (CXXFLAGS): I mean CXXFLAGS, not CXX_FLAGS.
5664
5665 2002-02-23 Paul Emsley <[email protected]>
5666
5667 * src/pick.cc: (make_atom_label_string) fixed atom labelling.
5668
5669 2002-02-22 Paul Emsley <[email protected]>
5670
5671 * macros/clipper.m4 (AM_PATH_CLIPPER): Added -lm
5672
5673 2002-02-17 Paul Emsley <[email protected]>
5674
5675 * src/globjects.cc: (draw) Addeded and extra gtk_widget_draw()
5676 call.
5677
5678 * src/Makefile.am (mapview_SOURCES): changed map.cc to
5679 xmap-interface.cc and similarly with the includes.
5680
5681 2002-02-14 Paul Emsley <[email protected]>
5682
5683 * surface/CIsoSurface.cpp: (done_line_list_t::done_line_list_t)
5684 set the start size to a typical number of vectors, 40000
5685 (not 10).
5686
5687 2002-02-07 Paul Emsley <[email protected]>
5688
5689 * src/c-interface.cc: (make_and_draw_map) Added gtk_widget_draw for
5690 glarea.
5691
5692 * coords/Bond_lines.cc: Moved out the old contructor from an
5693 atom_selection_container_t to tmp.cc
5694
5695 2002-02-06 Paul Emsley <[email protected]>
5696
5697 * coords/Bond_lines.cc: (Bond_lines_container) Added the delete
5698 contacts.
5699
5700 * src/pick.cc: Chopped unproject into 2 so that unproject_xyz can
5701 be used by screen_x_to_real_space_vector();
5702
5703 * src/graphics-info.h: Added control_is_pressed as a public
5704 static.
5705
5706 * src/gl-extras.cc (gl_extras): Added the focus grabbing so that
5707 we can get key [keyboard] presses.
5708
5709