head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.32 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.30 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.28 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.26 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.24 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.22 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.20 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.18 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.16 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.14 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.12 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.10 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.8 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.6 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.4 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.2 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.3.0.8 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.6 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.4 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.2 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.2.0.8 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.6 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.4 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.2 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1; locks; strict; comment @// @; 1.4 date 2022.05.24.05.17.12; author plunky; state Exp; branches; next 1.3; commitid LIovjuvaA48uEgFD; 1.3 date 2021.04.02.20.27.12; author plunky; state Exp; branches; next 1.2; commitid HRHJfbD1pAxF5LNC; 1.2 date 2020.04.07.08.18.22; author plunky; state Exp; branches; next 1.1; commitid IsdROtZuE7U6Dq3C; 1.1 date 2019.12.29.14.18.20; author plunky; state Exp; branches; next ; commitid m4Jtdq2bhcgRPBQB; desc @@ 1.4 log @update to QCAD 3.27.6, with changes since last time: 3.27.6 (2022/05/18) Bug fixes: FS#2366 - File > Advanced SVG Export: not launching FS#2367 - Command line arguments not correctly encoded FS#2368 - Projections: attributes are not projected 3.27.5 (2022/05/07) Bug fixes: FS#2271 - Unpredictable Crashing on Mac M1 Arm64 FS#2357 - Reference points not cleared when deleting selection FS#2361 - View > Property Editor: Draw order property not working FS#2362 - View > Property Editor: Scale property cannot be edited FS#2363 - Context menu of line entry fields: inserting symbol broken 3.27.4 (2022/05/04) Bug fixes: FS#2358 - Paste: flip vertical broken 3.27.3 (2022/04/29) Translations: Tier 2 (complete, updated, automatic): Czech Hungarian Lithuanian Polish Slovak Slovenian Bug fixes: FS#2355 - Viewport: Crash when moving, rotating, mirroring or stretching viewport FS#2356 - File > Close: Closing dialog stays open after clicking Save 3.27.2 (2022/04/25) Misc > Block: Export Block List Sort by block name Export Block References List Export block references to CSV with block name, X, Y File > Print / Print Preview: Show dialog to auto adjust paper size if custom paper size is used Show dialog to fit drawing to paper size if drawing overlaps paper border Bug fixes: FS#2329 - Viewport: arcs in scaled viewports are not rendered correctly FS#2333 - Ordinate dimensions: scale option ignored FS#2334 - Modify > Break Out Segment: Line Selection Mode fails on Ray and Infinity lines FS#2335 - Rendering solid hatches in scaled blocks FS#2342 - Layer > Edit Layer: Changing Color of Invisible Layer FS#2343 - Modify > Projection: Dimension entities offset FS#2344 - Draw > Polyline > Polyline along Segments: Crash on cancel FS#2345 - File > Print: printing multiple copies prints too many copies 3.27.1 (2021/12/13) Misc > Draw: Text Aligned Leader Bug fixes: FS#2320 - Viewport: text misplaced if viewport is set to not plottable FS#2322 - Edit > Convert Drawing Unit: dimension problem FS#2324 - dwg2csv: exception when listing properties (-l) 3.27.0 (2021/12/01) Performance: Performance improvements for entity selection and updating the property editor Edit > Application Preferences: Graphics View > Appearance: Add preference "Apply line weight to points" If checked: apply line weight to points (render as blobs) If unchecked: always render points as dots or with chosen point mode (cross, etc.) and thin lines Add preference "Maximum selected entities with reference points" Configures the maximum number of selected entities that will have operational reference points Add preference "Maximum selected entities with displayed reference points" Configures the maximum number of selected entities that will display reference points Widgets > Property Editor: Add preference for decimals / precision used to display property values Misc > Draw: Leader from Selected Text Translations: Tier 2 (complete, updated, automatic): Danish Swedish Bug fixes: FS#2250 - CAM > Add Profile Toolpath: lead out type / size not saved FS#2251 - Modify > Explode: spline explodes into line FS#2254 - Dimension > Continue: does not always continue at chosen extension line FS#2257 - Images from Windows file cannot be loaded under Linux / macOS FS#2258 - Selected entities send to an 'Off' layer retain their selection color FS#2256 - Getting the end direction of a zero-length polyline leads to AppCrash FS#2259 - Insert file as block: crash when inserting block with attribute definitions FS#2262 - Block referece attributes are orpaned when using "edit in place" FS#2263 - dwg2svg -min-lineweight option parsing broken FS#2265 - QCAD/CAM: startup crash if disabling hierarchical layers FS#2267 - In-place block editing: some block references not faded FS#2268 - Not all dimension overrides written to DXF/DWG FS#2269 - Inner block reference attributes disappear when editing outer block in-place FS#2270 - Draw > Dimension > Ordinate: Ordinate dimension values scale with viewport FS#2273 - Block attribute duplicates after copy / paste, explode, edit and reload FS#2274 - View > Screen-based Linetypes: rendering of arcs with dashes FS#2275 - Snap > Center: snapping to center of polyline arc segments FS#2279 - Edit > Application Preferences > File > Open/Save: wrong initial value shown for default format FS#2281 - Block > Attributes > Synchronize Attributes: Multiple attributes in block with the same Tag FS#2285 - Draw > Circle > 2 Tangents and Point: fails for Circle, Line, Point where Point is on Line FS#2286 - Draw > Circle > 2 Tangents and Point: fails for Circle, Circle, Point FS#2291 - Rulers empty if auto grid scale is off FS#2305 - Invisible XLine under visible XLine may prevent selection of visible XLine FS#2309 - SVG Export - hatch patterns with dots not visible FS#2310 - File > Print: Number of copies and page range ignored FS#2317 - Crash / lag when selecting splines with clamped knots (OpenDesign) 3.26.3 (2021/05/31) Bug fixes: FS#2198 - International characters change when saving and reloading the file [OpenDesign 4] FS#2230 - Dimension: CAD font label displayed with wrong lineweight FS#2234 - CAM > Nesting: Cancel button not working FS#2236 - Draw > Text: unreadable black text in text dialog (macOS dark mode) FS#2238 - Projection: exception when projecting polyline with single arc segment FS#2239 - Snap > Coordinate: Confirm coordinate with number block Enter key FS#2241 - CAM Simulation: stops working after closing a file FS#2243 - Graphics View: rendering of splines with line pattern FS#2246 - Undo menu text crippled (Windows) 3.26.2 (2021/04/15) Modify > Projection: retain uniform global segment width of polylines Misc > Draw > Polyline break symbol from two points: Insert break symbol Add local data location to search path for resources files (patterns, linetypes, fonts, postprocessors, etc.) Windows: C:/Users/[Username]/AppData/Local/QCAD/QCAD macOS: ~/Library/Application Support/QCAD/QCAD Linux: ~/.local/share/QCAD/QCAD Bug fixes: FS#2175 - Edit > Application Preferences > Draw > Text: Uncheck all/Check all buttons not disabled FS#2203 - Ruler: not all labels shown FS#2204 - Modify > Break out Manual: point order matters with open polyline FS#2206 - View > Selection Filter: Polyline area selection not working FS#2207 - File > SVG Export: dimension labels invisible with TTF fonts FS#2208 - Snap: Cannot snap to block arrays FS#2209 - Modify > Explode: incorrect results with almost circular ellipse arcs FS#2210 - Modify > Break out Manual: unexpected results with arc FS#2217 - Text: spacing problem when switching to CAD font (\F) FS#2221 - Unpredictable linetype pattern scale for polylines using polyline pattern FS#2222 - Block attribute definition: default text displayed instead of tag FS#2223 - Block > Insert Block: duplicate entries in attributes combo FS#2224 - Command line tools: -block argument does not accept layout names FS#2225 - Filenames containing an ampersand do not render correctly in the tab bar and Window menu @ text @$NetBSD: patch-src_run_main.cpp,v 1.3 2021/04/02 20:27:12 plunky Exp $ don't overwrite the plugins directory: remove the applicationDir and add the pluginPaths --- src/run/main.cpp.orig 2021-10-11 12:27:59.000000000 +0000 +++ src/run/main.cpp @@@@ -268,7 +268,12 @@@@ int main(int argc, char *argv[]) { qWarning() << "No plugin paths found"; return -1; } - app->setLibraryPaths(pluginPaths); + + // for pkgsrc, skip the applicationDir and add the Plugin paths + app->removeLibraryPath(app->applicationDirPath()); + foreach (const QString &path, pluginPaths) + app->addLibraryPath(path); + // make sure basic entities are initialized before loading plugins: RDimStyleData::initDefaults(); @ 1.3 log @update QCAD to version 3.26.1, with ChangeLog: 3.26.1 (2021/03/08) Edit > Application Preferences > Graphics View > Appearance: Add preference "Use system cursor" Disables all QCAD specific custom mouse cursors, fixes problem with invisible cursors when using multiple screens Bug fixes: FS#2196 - Leader: Arrow removed on load if arrow only fits first segment due to being scaled down FS#2200 - Linetype scale is wrong when scaling linetypes by lineweight 3.26.0 (2021/03/02) Select > (De-)Select contour: Add option to select connected entities on the same layer only Draw > Shape > Rectangle: Add option for rotation angle Use shift key to draw square Draw > Text: Add support for width property for text entities (automatic text wrapping at given width) Edit > Application Preferences: Widgets > Property Editor: Add preference to always format values as decimal numbers General > User Interface: Add preferences for auto screen scale factor, high DPI scaling and scale factor Modify > Explode: Add preference to explode circles into polylines with two half circles (or not) Graphics View > Appearance: Add preference for reference point size Add preference for text height threshold Modify > Chamfer / Bevel: don't add zero length bevel segment for lengths 0/0 Improve selection of images (click anywhere on image instead of image border) Performance: Improve performance for drawings with many dimensions Improve performance of text rendering Improve performance when switching or selecting layers Change tab position for dockable widgets (Left: East, Bottom: South) Use alt + double-click to select entities that are connected and on the same layer Bug fixes: FS#2117 - BBOX inconsistent output FS#2118 - Dark mode: disabled menu text distorted FS#2122 - View > Property Editor: Formatting of Negative Values in Architectural Format FS#2123 - File > Print: Crop marks not printed FS#2131 - Modify > Clip to Rectangle: fails on xlines FS#2132 - Dimension > Baseline / Continue: custom text label position copied from original FS#2133 - Modify > Break out Manual: exception for closed polyline FS#2135 - CAM > Nesting: quantity not correct FS#2137 - View > Property Editor: Block reference shows properties of deleted attributes FS#2142 - Viewports: Cannot snap to reference points of circles / arcs (90°, 180°, 270°) FS#2143 - Rendering: arcs in scaled up blocks rendered with too low resolution FS#2144 - Draw > Viewport > Add Viewport: Custom hatch pattern not shown FS#2145 - Modify > Trim Both: closed polyline as either entity breaks undo FS#2150 - Modify > Stretch: block with attribute not moving FS#2154 - View > Library Browser: '0' shortcut breaks value entering FS#2158 - dwg2bmp: -origin does not export origin FS#2163 - File > SVG Import: parsing path data with implicit separators FS#2171 - Scaling a block reference should not scale line type patterns FS#2170 - Draw > Text: Wrong color for formatted text blocks using a CAD font 3.25.2 (2020/09/07) Update / fix various tool icons Bug fixes: FS#2114 - File > Print: Printout offset under Windows 3.25.1 (2020/08/31) Bug fixes: FS#2033 - Repeated warning message while updating toolpath FS#2105 - File > Print / PDF export: Selected entities are printed / exported in selection color FS#2109 - Dimension > Arc Length: Tool non-responsive 3.25.0 (2020/08/20) Property Editor: Show total area of mixed selection of polylines, arcs and circles File > PDF Export: Add support for PDF/A-1B output This is supported on Windows 64bit, Linux 64bit and macOS >= 10.11 Edit > Copy / Cut: Move relative reference point to center of selection when using Copy or Cut without reference Bug fixes: FS#2058 - Modify > Move, Rotate, ...: "Use current layer and attributes" leads to error in undo FS#2059 - Modify > Explode: Error with hatch in block with positiv/negative x/y scale FS#2061 - Insert Library items fails to update relative zero point FS#2064 - XLines in blocks appear shortened FS#2065 - Viewport: three dimensional entities not rendered FS#2067 - Attributes with fixed color FS#2073 - Property Editor: Imperial Area info incorrect FS#2076 - File > SVG Export: circles in mirrored blocks FS#2078 - Draw > Hatch: Small gap tolerated by QCAD, not by DXF/DWG FS#2080 - Modify > Stretch: Hatch moves instead of stretching FS#2082 - File > Print / PDF Export: Handling of block references on non-plottable layer FS#2083 - Viewport: Fixed extension line length of dimensions not scaled with viewport FS#2084 - File > Save: Fixed extension line length of dimensions not saved if scale != 1 FS#2085 - Drag and drop: moving single polyline vertex moves also polyline segment FS#2086 - Font formatting in text dialog FS#2089 - Property Editor: Linetype Scale and Draw Order wrongly marked with inch symbol FS#2090 - Snap > Auto Snap: intersections of pattern with other entities with cursor close to boundary FS#2101 - File > SVG Export: Double hyphen in text leads to invalid SVG file @ text @d1 1 a1 1 $NetBSD: patch-src_run_main.cpp,v 1.2 2020/04/07 08:18:22 plunky Exp $ d5 1 a5 1 --- src/run/main.cpp.orig 2020-11-03 12:42:11.000000000 +0000 d7 1 a7 1 @@@@ -253,7 +253,11 @@@@ int main(int argc, char *argv[]) { d17 1 d19 2 a20 2 RMath::init(); RFontList::init(); @ 1.2 log @update to version 3.24.3.0 ChangeLog: 3.24.3 (2020/03/17) Edit > Application Preferences > Graphics View: Behaviour: Configurable tolerance for double-click to select contour Appearance: Configurable default lineweight for "Default" lineweight value View > Property Editor: Allow editing of values in imperial formats "Architectural" and "Engineering" Bug fixes: FS#2030 - Cannot snap to points of mirrored blocks FS#2032 - Draw > Circle > Three Tangents: Cannot select third tangent FS#2035 - Linetype scale in viewports FS#2036 - Arc rendering in block context FS#2038 - Cannot snap arc / circle reference points inside blocks FS#2051 - Window selection of rotated and aligned dimensions with large extension line offset FS#2053 - Dots in line patterns not visible at extreme coordinates FS#2054 - Misc > Modify > Flatten Drawing to 2D 3.24.2 (2020/01/13) Bug fixes: FS#2027 - File > Print: Minimum line weight for printing is 0.01 drawing units 3.24.1 (2020/01/02) Bug fixes: FS#2017 - Rendering of arcs in blocks with scale factor > 1 FS#2020 - Edit > Paste: Wrong position for block references with different drawing units @ text @d1 1 a1 1 $NetBSD: patch-src_run_main.cpp,v 1.1 2019/12/29 14:18:20 plunky Exp $ d5 1 a5 1 --- src/run/main.cpp.orig 2020-03-17 10:40:38.000000000 +0000 d7 1 a7 1 @@@@ -237,7 +237,11 @@@@ d16 1 a16 3 + app->addLibraryPath(path); RSettings::setApplicationNameOverride("QCAD3"); d18 2 @ 1.1 log @do not copy or reinstall Qt plugins, allow QCAD to find them directly @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- src/run/main.cpp.orig 2019-12-22 19:09:21.954519285 +0000 d7 1 a7 1 @@@@ -237,7 +237,11 @@@@ int main(int argc, char *argv[]) { d18 2 a19 2 RMath::init(); RFontList::init(); @