|
58 | 58 | * Modified by: PW February 2025: version 3.5.24 |
59 | 59 | * Modified by: PW April 2025: version 3.5.27 |
60 | 60 | * Modified by: PW June 2025: version 3.5.32 |
| 61 | +* Modified by: PW December 2025: version 3.6.0 |
61 | 62 | * |
62 | | -* This file is part of McStas 3.5.32, released April 29th 2025. |
| 63 | +* This file is part of McStas 3.6.0, released December 12th 2025. |
63 | 64 | * It gives a 'changes' list from the beginning of the project |
64 | 65 | * |
65 | 66 | *******************************************************************************/ |
| 67 | +Changes in McStas/McXtrace 3.6.0, December 12th, 2025 |
| 68 | + |
| 69 | +* Code quality improvements |
| 70 | + * Remove compiler warnings by @willend in https://github.com/mccode-dev/McCode/pull/2088 |
| 71 | + * Implement 'cppcheck' linting support on Unix, can be utilised via mcrun or mctest by @willend in https://github.com/mccode-dev/McCode/pull/2090 |
| 72 | + * Big overhaul of many component docstings, retire obsoleted components and instruments, component fixes by @willend in https://github.com/mccode-dev/McCode/pull/2117, https://github.com/mccode-dev/McCode/pull/2118, https://github.com/mccode-dev/McCode/pull/2116, https://github.com/mccode-dev/McCode/pull/2120, https://github.com/mccode-dev/McCode/pull/2119, https://github.com/mccode-dev/McCode/pull/2115, https://github.com/mccode-dev/McCode/pull/2122, https://github.com/mccode-dev/McCode/pull/2125, https://github.com/mccode-dev/McCode/pull/2144, https://github.com/mccode-dev/McCode/pull/2153, https://github.com/mccode-dev/McCode/pull/2154, https://github.com/mccode-dev/McCode/pull/2156 |
| 73 | + * Linter-oritented fixes in various components by @willend in https://github.com/mccode-dev/McCode/pull/2136, https://github.com/mccode-dev/McCode/pull/2248 |
| 74 | + * Clean up various components / libs where linter output was a bit 'noisy' by @willend in https://github.com/mccode-dev/McCode/pull/2218 |
| 75 | + * Suppres warning from MSVC by using %zi in place of %li by @willend in https://github.com/mccode-dev/McCode/pull/2220 |
| 76 | + |
| 77 | +* User gui / command line tools: |
| 78 | + * mcrun: |
| 79 | + * Run scan steps in parallel - one scan step pr. one cpu core by @Lomholy in https://github.com/mccode-dev/McCode/pull/2081 (similar to now-deprecated, historical feature of mcrun.pl) |
| 80 | + * Implement env vars to override mpirun setting by @willend in https://github.com/mccode-dev/McCode/pull/2087 (`MCSTAS_MPIRUN_OVERRIDE` / `MCXTRACE_MPIRUN_OVERRIDE` ) |
| 81 | + * Implement 'cppcheck' linting support on Unix, use `mcrun -C` or mcrun `--c-lint` |
| 82 | + * Improved error-handling in mccode.py by @willend in https://github.com/mccode-dev/McCode/pull/2139 |
| 83 | + * Fixes for parameter quoting issues by @tkittel in https://github.com/mccode-dev/McCode/pull/2151 |
| 84 | + * mcgui: |
| 85 | + * Fixes for parameter quoting issues by @tkittel in https://github.com/mccode-dev/McCode/pull/2151 |
| 86 | + * mctest: |
| 87 | + * Implement 'cppcheck' linting support on Unix, use `mctest --lint` |
| 88 | + * Update mctest with log of attained test value if test ran by @willend in https://github.com/mccode-dev/McCode/pull/2161 |
| 89 | + * Add --local=DIR input to mctest, will test instruments from that folder instead of 'system' by @willend in https://github.com/mccode-dev/McCode/pull/2221 |
| 90 | + * Add mctest feature to filter tested instruments by use of given COMP by @willend in https://github.com/mccode-dev/McCode/pull/2236 |
| 91 | + * mcdisplay: |
| 92 | + * Let mcdisplay-webgl and -classic honour -d directory by @willend in https://github.com/mccode-dev/McCode/pull/2093 |
| 93 | + * mcdisplay-webgl 1st run notice (wait until node.js install is done) @willend in https://github.com/mccode-dev/McCode/pull/2140 |
| 94 | + * Bring back mcdisplay-matlab/octave by @willend in https://github.com/mccode-dev/McCode/pull/2256 |
| 95 | + * Correct visualisation artefacts in Matlab/multiline mcdisplay by @willend in https://github.com/mccode-dev/McCode/pull/2257 |
| 96 | + * Minor tool improvements: mcdisplay-cad by @willend in https://github.com/mccode-dev/McCode/pull/2258 |
| 97 | + * mcplot: |
| 98 | + * Use multiple # Data entries in output files if -USR2 is used for intermediate saves by @willend in https://github.com/mccode-dev/McCode/pull/2181 |
| 99 | + * mcplot plot only last # Data block in files with multiple entries by @willend in https://github.com/mccode-dev/McCode/pull/2182 |
| 100 | + * Bring back mcplot-matlab/octave by @willend in https://github.com/mccode-dev/McCode/pull/2256 |
| 101 | + * Correct visualisation artefacts in Matlab/multiline mcdisplay by @willend in https://github.com/mccode-dev/McCode/pull/2257 |
| 102 | + * mcdoc: |
| 103 | + * mcdoc is now more tolerant to e.g. missing asterisks in header by @willend in https://github.com/mccode-dev/McCode/pull/2121 |
| 104 | + * mcdoc fills in "short description" if not found by parsing by @willend in https://github.com/mccode-dev/McCode/pull/2123 |
| 105 | + * Improve clarity of mcdoc Generate buttion and clipboard by @willend in https://github.com/mccode-dev/McCode/pull/2141 |
| 106 | + * Allow mcdoc to work with --dir . by @willend in https://github.com/mccode-dev/McCode/pull/2147 |
| 107 | + * Bugfix to filtered search https://github.com/mccode-dev/McCode/pull/2148 |
| 108 | + * Fix mcdoc for single-file search (e.g. BNL_H8.instr) by @willend in https://github.com/mccode-dev/McCode/pull/2166 |
| 109 | + * Mcdoc patch, tolerate missing ^* in header description / parameters by @willend in https://github.com/mccode-dev/McCode/pull/2179 |
| 110 | +* Code generator/Grammar/runtime libs: |
| 111 | + * Let `-pygen` generated McStasScript code propose using `mcdisplay-webgl-classic` in Jupyter by @willend in https://github.com/mccode-dev/McCode/pull/2091 |
| 112 | +* Common work on McStas / McXtrace components |
| 113 | + * Include all %{%} section in Arm comp(s) as we propose these as "template" comps by @willend in https://github.com/mccode-dev/McCode/pull/2165 |
| 114 | + * Let random numbers picked in INITIALIZE become controlled by --seed by @willend in https://github.com/mccode-dev/McCode/pull/2227 |
| 115 | + |
| 116 | +### McXtrace specific: |
| 117 | +* mcxtrace:Fluorescence: flag enhance low concentrations by @farhi in https://github.com/mccode-dev/McCode/pull/2237 |
| 118 | + |
| 119 | +### McStas specific: |
| 120 | +* Sample components, validation-work / alignment with analytical expressions by @Lomholy in: |
| 121 | + * Phonon_simple by @Lomholy in https://github.com/mccode-dev/McCode/pull/2082 and https://github.com/mccode-dev/McCode/pull/2094, @willend in https://github.com/mccode-dev/McCode/pull/2195, @mads-bertelsen in https://github.com/mccode-dev/McCode/pull/2215 |
| 122 | + * SANS_Spheres to align with analytical validations. by @Lomholy in https://github.com/mccode-dev/McCode/pull/2083 |
| 123 | + * PowderN, add in order parameter to make it possibly to use no multiple scattering by @Lomholy in https://github.com/mccode-dev/McCode/pull/2098 |
| 124 | + * Single_crystal, added MPI_MASTER to selected printf statements by @aaronfinke in https://github.com/mccode-dev/McCode/pull/2169 |
| 125 | + * KU-SANS-samples, tweak expected values in Test_SANS by @willend in https://github.com/mccode-dev/McCode/pull/2209 |
| 126 | +* NCrystal |
| 127 | + * Fix NCrystal_sample 3D visualisation. by @tkittel in https://github.com/mccode-dev/McCode/pull/2150 |
| 128 | + * Update NCrystal_example.instr to account for, and test, cmdline arg parsing by @tkittel in https://github.com/mccode-dev/McCode/pull/2159 |
| 129 | +* Tools/mcdisplay-mantid: |
| 130 | + * Fix to OFF parsing by @willend in https://github.com/mccode-dev/McCode/pull/2099 |
| 131 | +* Optics components |
| 132 | + * Bugfixes to Monchromator_bent by @Lomholy in https://github.com/mccode-dev/McCode/pull/2103 |
| 133 | + * Make beamstop components SCATTER for nicer visualisation by @tkittel in https://github.com/mccode-dev/McCode/pull/2163 |
| 134 | +* Monitor components |
| 135 | + * Bugfix to NPI_tof_dhkl_detector after discussion with Jan Saroun by @willend in https://github.com/mccode-dev/McCode/pull/2137 |
| 136 | + * Union components |
| 137 | + * Union surface and fix of focus system by @mads-bertelsen in https://github.com/mccode-dev/McCode/pull/2149, https://github.com/mccode-dev/McCode/pull/2203 |
| 138 | + * Add new scattering_process_struct_init function for union processes by @tkittel in https://github.com/mccode-dev/McCode/pull/2177 |
| 139 | + * Followup fix to #2177 with correct order of memset args by @tkittel in https://github.com/mccode-dev/McCode/pull/2196 |
| 140 | + * Off file mesh msvc linter patches by @willend in https://github.com/mccode-dev/McCode/pull/2229 |
| 141 | + * Off file mesh component by @Lomholy in https://github.com/mccode-dev/McCode/pull/2219, https://github.com/mccode-dev/McCode/pull/2249 |
| 142 | + * Support for binary STL also on Windows by @Lomholy in https://github.com/mccode-dev/McCode/pull/2260 |
| 143 | + * Union cleanup before release by @mads-bertelsen in https://github.com/mccode-dev/McCode/pull/2243 |
| 144 | + * Mesh surface compatibility by @mads-bertelsen in https://github.com/mccode-dev/McCode/pull/2251 |
| 145 | + * Fix union lib surface stack by @willend in https://github.com/mccode-dev/McCode/pull/2253 |
| 146 | + * Removing debug prints from Sphere and 3D logger in Union. by @mads-bertelsen in https://github.com/mccode-dev/McCode/pull/2252 |
| 147 | + * New comps and instruments |
| 148 | + * Comp updates etc from ISIS by @willend in https://github.com/mccode-dev/McCode/pull/2190 |
| 149 | + |
| 150 | +* Developer tools / User contribution tools |
| 151 | + * Script for flexible+convenient creation of .yml files by @tkittel in https://github.com/mccode-dev/McCode/pull/2105 |
| 152 | + * New test/devel tool to build McCode in a conda env by @willend in https://github.com/mccode-dev/McCode/pull/2106, https://github.com/mccode-dev/McCode/pull/2160, @tkittel in https://github.com/mccode-dev/McCode/pull/2155, |
| 153 | + * New PR template by @willend in https://github.com/mccode-dev/McCode/pull/2129, https://github.com/mccode-dev/McCode/pull/2130, https://github.com/mccode-dev/McCode/pull/2131, https://github.com/mccode-dev/McCode/pull/2132, https://github.com/mccode-dev/McCode/pull/2133, https://github.com/mccode-dev/McCode/pull/2134, https://github.com/mccode-dev/McCode/pull/2138, @tkittel in https://github.com/mccode-dev/McCode/pull/2176 |
| 154 | + |
| 155 | +* Deployment and CI |
| 156 | + * The 'autobuild' workflows automatically build non-conda packages for McStas and McXtrace on any new release tag by @willend in https://github.com/mccode-dev/McCode/pull/2079 |
| 157 | + * Automated testing of modified instrs/comps by @willend in https://github.com/mccode-dev/McCode/pull/2100, https://github.com/mccode-dev/McCode/pull/2101, https://github.com/mccode-dev/McCode/pull/2102 |
| 158 | + * Nightly tests based on conda by @willend in https://github.com/mccode-dev/McCode/pull/2106 |
| 159 | + * CI: Run "full test" in case 20 or more comps/instrs have been changed. by @willend in https://github.com/mccode-dev/McCode/pull/2126 |
| 160 | + * Transition to conda-based basictests for Windows and macOS by @willend in https://github.com/mccode-dev/McCode/pull/2191 |
| 161 | + * Handle case with single modified comp (and no matching instr) better by @willend in https://github.com/mccode-dev/McCode/pull/2197 |
| 162 | + * Minor ci change: Avoid running duplicate version of same instr by @willend in https://github.com/mccode-dev/McCode/pull/2223 |
| 163 | + * Deploy --comp=COMP filter to test instruments including changed components by @willend in https://github.com/mccode-dev/McCode/pull/2238 |
| 164 | + |
| 165 | + |
| 166 | +* Platform support |
| 167 | + * Windows + Conda, update install-docs (#2245, thanks @LelandWH) by @willend in https://github.com/mccode-dev/McCode/pull/2246 |
| 168 | + * Complex number support on Windows with MSVC (#2192 complex numbers) by @willend in https://github.com/mccode-dev/McCode/pull/2205, https://github.com/mccode-dev/McCode/pull/2207, SANSPDB/SAXSPDB only by @willend in https://github.com/mccode-dev/McCode/pull/2208, https://github.com/mccode-dev/McCode/pull/2210 and Update headers in complex-lib by @willend in https://github.com/mccode-dev/McCode/pull/2216 |
| 169 | + * Fix for ppc64 Linux (conda-forge platform for IBM Power systems) by @willend in https://github.com/mccode-dev/McCode/pull/2085 |
| 170 | + * Win32 "define-massage" to ensure proper execution with recent MinGW releases by @willend in https://github.com/mccode-dev/McCode/pull/2135 |
| 171 | + * Remove duplicate rpaths on macOS by @willend in https://github.com/mccode-dev/McCode/pull/2140 |
| 172 | + * Add grep in "monolithic" windows builds by @willend in https://github.com/mccode-dev/McCode/pull/2152 |
| 173 | + * Qt message box for error message by @willend in https://github.com/mccode-dev/McCode/pull/2164 |
| 174 | + * -DUSE_NEXUS defines were missing for Windows / NeXus by @willend in https://github.com/mccode-dev/McCode/pull/2167 |
| 175 | + * Consolidate micromamba bulky installers by @willend in https://github.com/mccode-dev/McCode/pull/2183 |
| 176 | + * Fixes for mctest windows nexus: Should now function with .h5 output by @willend in https://github.com/mccode-dev/McCode/pull/2206 |
| 177 | + |
| 178 | + |
| 179 | +* General maintenance |
| 180 | + * Minor fixes, contributions from Daniel Lomholt by @willend in https://github.com/mccode-dev/McCode/pull/2108 |
| 181 | + * Fix header typo by @willend in https://github.com/mccode-dev/McCode/pull/2109 |
| 182 | + * GPU-related edits for V Transmission_V_polarisator.comp and Test_StatisticalChopper.instr by @willend in https://github.com/mccode-dev/McCode/pull/2110 |
| 183 | + * If running under conda, add env prefix when saving/loading user mccode_config by @willend in https://github.com/mccode-dev/McCode/pull/2142 |
| 184 | + * Temporarily, avoid deploying xraylib via brew on macOS 15 by @willend in https://github.com/mccode-dev/McCode/pull/2145, https://github.com/mccode-dev/McCode/pull/2146 |
| 185 | + * Fix SDKROOT assignment for macOS configuration by @willend in https://github.com/mccode-dev/McCode/pull/2157 |
| 186 | + * Fix to autobuild scripts, remove v from tag... by @willend in https://github.com/mccode-dev/McCode/pull/2170 |
| 187 | + * Drop xrl-based test on macOS (we should use conda instead) by @willend in https://github.com/mccode-dev/McCode/pull/2180 |
| 188 | + * Remove mcplot-html dep python3-pyqt5.qtsvg to get python3-pyqt6.qtsvg by @willend in https://github.com/mccode-dev/McCode/pull/2184 |
| 189 | + * Suppress superfluous debug string in mctest by @willend in https://github.com/mccode-dev/McCode/pull/2185 |
| 190 | + * Temporarily disable test McXtrace randvec_target_rect by @willend in https://github.com/mccode-dev/McCode/pull/2186 |
| 191 | + * Beef up statistics 20 fold on Test_RNG instruments by @willend in https://github.com/mccode-dev/McCode/pull/2187 |
| 192 | + * Drop macOS 13 which will soon be deprecated by @willend in https://github.com/mccode-dev/McCode/pull/2189 |
| 193 | + * Partial revert on macOS bundle injector by @willend in https://github.com/mccode-dev/McCode/pull/2193 |
| 194 | + * Adjustment of %Example values that were off for the nightly test scenarios by @willend in https://github.com/mccode-dev/McCode/pull/2194 |
| 195 | + * Use rglob in cleanfiles tool, rmtree in case of out.dsym by @willend in https://github.com/mccode-dev/McCode/pull/2211 |
| 196 | + * Clean simdirs by @willend in https://github.com/mccode-dev/McCode/pull/2212 |
| 197 | + * Update workflows to use same simdir cleanup strategy everywhere by @willend in https://github.com/mccode-dev/McCode/pull/2213 |
| 198 | + * Various work on CI output and platforms by @willend in https://github.com/mccode-dev/McCode/pull/2217 |
| 199 | + * GPU box update by @willend in https://github.com/mccode-dev/McCode/pull/2233 |
| 200 | + * Recent linter patches require corrections for GPU/OpenACC... by @willend in https://github.com/mccode-dev/McCode/pull/2235 |
| 201 | + * Deprecate unused features of 'mctest' by @willend in https://github.com/mccode-dev/McCode/pull/2239 |
| 202 | + * Add timestamp to 'testroot' folder to avoid double-layer file structure by @willend in https://github.com/mccode-dev/McCode/pull/2241 |
| 203 | + * Restore ability to "run version via config file" in mctest by @willend in https://github.com/mccode-dev/McCode/pull/2244 |
| 204 | + * Preparations 3.6 by @willend in https://github.com/mccode-dev/McCode/pull/2254 |
| 205 | + |
| 206 | + |
| 207 | +## New Contributors |
| 208 | +* @aaronfinke made their first contribution in https://github.com/mccode-dev/McCode/pull/2169 |
| 209 | + |
| 210 | +**Full Changelog**: https://github.com/mccode-dev/McCode/compare/v3.5.32...v3.6.0 |
| 211 | + |
| 212 | + |
66 | 213 | Changes in McStas/McXtrace 3.5.32, June 17th, 2025 |
67 | 214 | ## What's Changed |
68 | 215 | ### Common changes to McStas and McXtrace |
|
0 commit comments