mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-31 22:36:51 -06:00
* xtask: the test suite and clippy pass on Windows
Two Windows-only failures stopped `cargo xtask ci` before it got going on
a Windows checkout (CI runs the gate on Linux only, so neither showed):
- parity::tests::civil_dates built a SystemTime 115,740,740 days after
the epoch (year 318857). Windows' SystemTime ends in the year 30828, so
the addition panicked ("overflow when adding duration to `SystemTime`").
That case now checks `civil_from_days` on the day count, which is what
it was about, on every platform.
- stats.rs imported `walk` for a test that only exists on Unix, so the
import was unused on Windows and `clippy -D warnings` refused it. The
Unix test calls `super::walk`, as its neighbour calls `super::walk_inner`.
Checked on Windows 11 x64: `cargo test --workspace` and
`cargo clippy --workspace --all-targets -- -D warnings` both pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(engine): refresh attribute baselines after value changes
CC-046: invalidate the derived XY baseline for changed justified attribute
values, including small changes inside the writer's imported-font tolerance.
Preserve no-op placement, alignment anchors and Aligned/Fit endpoints.
Regression reproduced on current upstream; all three focused tests pass.
Full cargo xtask ci passed all seven stages on Windows (2558 passing test
executions, zero failures, one ignored). Release Trunk web build passed.
Browser interaction verification is pending user dismissal of a Windows
Security prompt; do not treat the build as a runtime pass.
Windows validation prerequisite: original upstream PR #2198 commit a2dd814.
Independent of editor/ribbon changes; reverting restores only this setter,
its regression tests and corresponding file-format parity record.
* fix(io): preserve insertion elevation when refreshing text baselines
CC-046 review follow-up to PR #2214 comment 4377706777. Regression reproduced insertion Z 9 becoming 7. Preserve group 10 Z; test DXF independent elevations and document the DWG bridge shared elevation. Full cargo xtask ci passes all seven gates. This separate commit is reversible; reverting it restores elevation loss during baseline recomputation. Existing browser UI verification predates this writer correction.
* test(engine): cover global attribute no-ops and two-point exports
CC-046 review 5653054817: verify equal-value global JSON and scripted
-ATTEDIT preserve imported placement, and Aligned/Fit DXF save/reopen
retain both placement points and justification.
Validation: cargo xtask ci passed all seven gates on this branch;
git diff --check passed. Test-only follow-up, no application change.
Depends on CC-046 and unchanged Windows prerequisite #2198.
Revert this commit independently to remove only these assertions.
Runtime evidence remains separately recorded for the production commits.
---------
Co-authored-by: 2ez4gcx <108074836+2ez4gcx@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
153 lines
3.0 KiB
Rust
153 lines
3.0 KiB
Rust
mod angle_prompts;
|
|
mod angle_settings;
|
|
mod annotate_options;
|
|
mod annotative;
|
|
mod arc_ctrl_direction;
|
|
mod array_commands;
|
|
mod assoc_array;
|
|
mod attdisp_attsync;
|
|
mod attedit_prompts;
|
|
mod attrib_modes;
|
|
mod attrib_props;
|
|
mod attribute_tools;
|
|
mod attribute_value_baseline;
|
|
mod block_description;
|
|
mod block_keep;
|
|
mod block_redefine;
|
|
mod blockreplace;
|
|
mod break_closed_polyline;
|
|
mod break_join_locked_layers;
|
|
mod break_keeps_z;
|
|
mod burst;
|
|
mod compare_export;
|
|
mod constraint_geometry;
|
|
mod constraint_infer;
|
|
mod copy_count;
|
|
mod count;
|
|
mod dash_block;
|
|
mod data_extraction;
|
|
mod dim_baseline_spacing;
|
|
mod dim_chain;
|
|
mod dim_commands;
|
|
mod dim_explode_text;
|
|
mod dim_properties;
|
|
mod dim_radial_inside;
|
|
mod dim_radial_outside;
|
|
mod dim_vars;
|
|
mod dimtedit_prompts;
|
|
mod drafting_spacing;
|
|
mod draw_prompts;
|
|
mod draworder;
|
|
mod dyn_input;
|
|
mod dynamic_block_data;
|
|
mod dynamic_grips;
|
|
mod fillet_chamfer;
|
|
mod fix_holds_grips;
|
|
mod followups_626;
|
|
mod grip_dim_input;
|
|
mod grip_options;
|
|
mod grip_selection;
|
|
mod group_selection;
|
|
mod groups;
|
|
mod hatch_assoc;
|
|
mod hatch_dialog_helpers;
|
|
mod hatch_numeric_validation;
|
|
mod hatch_options;
|
|
mod helix;
|
|
mod inquiry_keywords;
|
|
mod inquiry_z;
|
|
mod insert_prompts;
|
|
mod isometric;
|
|
mod join_close;
|
|
mod json_param_validation;
|
|
mod layer_cmdline;
|
|
mod layer_merge_delete;
|
|
mod layoff_repeat;
|
|
mod layout_prompts;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod lisp_corpus;
|
|
mod malformed_handles;
|
|
mod matchprop;
|
|
mod measure_distance_snapping;
|
|
mod metric_linetypes;
|
|
mod mleader_content;
|
|
mod mleader_remember;
|
|
mod mline;
|
|
mod mocoro;
|
|
mod modify_curves;
|
|
mod mtext_columns;
|
|
mod mtext_options;
|
|
mod multiline_attributes;
|
|
mod named_viewports;
|
|
mod named_views;
|
|
mod non_finite_edits;
|
|
mod offset_closed_spline;
|
|
mod offset_ellipse_side;
|
|
mod offset_move;
|
|
mod options_profile;
|
|
mod overkill;
|
|
mod parallel_display_list;
|
|
mod pedit_multiple;
|
|
mod pedit_splinedit;
|
|
mod pick_text;
|
|
mod pickdrag;
|
|
mod pline_arc_xline_options;
|
|
mod plot_styles;
|
|
mod point_modifiers;
|
|
mod post_command_passes;
|
|
mod prompt_keywords;
|
|
mod props_bad_lineweight;
|
|
mod props_insert_scale_attribs;
|
|
mod purge_mlinestyles;
|
|
mod purge_prompts;
|
|
mod qdim;
|
|
mod qdim_modes;
|
|
mod query_entities;
|
|
mod quickcalc;
|
|
mod recent_commands;
|
|
mod rectang_ortho;
|
|
mod refedit;
|
|
mod region;
|
|
mod rename_cmdline;
|
|
mod rotate_reference;
|
|
mod select_keywords;
|
|
mod select_similar;
|
|
mod select_underscore_keywords;
|
|
mod selection_cycling;
|
|
mod selection_modes;
|
|
mod setvar_cecolor;
|
|
mod setvar_coverage;
|
|
mod shapes;
|
|
mod snap_annotations;
|
|
mod snap_blocks;
|
|
mod snap_curves;
|
|
mod snap_intersections_aperture;
|
|
mod snap_nearest;
|
|
mod snap_overrides;
|
|
mod snap_tracking;
|
|
mod snaps_more;
|
|
mod space_is_enter;
|
|
mod spline_degree;
|
|
mod spline_options;
|
|
mod stretch;
|
|
mod stretch_select;
|
|
mod table_formulas;
|
|
mod table_styles;
|
|
mod temp_tracking;
|
|
mod text_commands;
|
|
mod text_left_justify;
|
|
mod tolerance;
|
|
mod transparent;
|
|
mod trim_closed_polyline;
|
|
mod trim_extend_options;
|
|
mod undo_count;
|
|
mod undo_layout_tab;
|
|
mod viewport_clip;
|
|
mod vplayer_prompts;
|
|
mod vports;
|
|
mod wipeout_grips;
|
|
mod xdata_follows_entity;
|
|
mod zoom_keywords;
|
|
mod zoom_viewport;
|
|
mod zoom_window_ortho;
|