Skip to content

Commit

Permalink
Release 0.13.1
Browse files Browse the repository at this point in the history
A bugfix release,
with one minor feature dwgread .min.json added. See NEWS
  • Loading branch information
rurban committed Feb 9, 2024
1 parent 4d340b5 commit 149fb77
Show file tree
Hide file tree
Showing 17 changed files with 191 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.13.0.{build}
version: 0.13.1.{build}
max_jobs: 4
image: Visual Studio 2019
environment:
Expand Down
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Build configuration for https://cirrus-ci.com/github/LibreDWG/libredwg
# See https://cirrus-ci.org/guide/FreeBSD/
freebsd_instance:
image_family: freebsd-13-1
image_family: freebsd-14-0
cpu: 4
task:
auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'smoke/.*'
Expand Down
159 changes: 159 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,165 @@
Full history from the git log
-----------------------------

2024-02-09 Reini Urban <[email protected]>

Release 0.13.1
A bugfix release,
with one minor feature dwgread .min.json added. See NEWS

NEWS: Fixed SummaryInfo.props[].tag and value types to T16

2024-02-09 Michal Josef Špaček <[email protected]>

Fix summaryinfo props

2024-02-09 Reini Urban <[email protected]>

decode_r11: update HANDSEED on new handles
Fixes decoding and roundtrips of
e.g. r11/from_autocad_r12/sample/BASEPLAT.DWG
esp. on ctrl entries.

2024-02-09 Michal Josef Špaček <[email protected]>

Fix comments of ObjFreeSpace and SecondHeader

2024-02-08 Reini Urban <[email protected]>

bits: write only 4 byte handles on error

bits: sizeof bits union may be 16
detected by cppcheck. not sure which compiler actually does such things,
but keep it the specs

bits: fix leak
detected by cppcheck

decode_r11: accept 1 missing byte
esp. with TEXT entities. eg from_autocad_2.62/MENUTREE.DWG
there might be one more unknown byte

decode: cap handles at 32bit
Fixes GH #935, which has a r2000 example which has an undocumented high bit set
in most handles.
In fact, searching found no examples with more then 4 byte handles.

json-check: use min.json
dwg: support .min.json
json: support -m

json: option DWG_OPTS_MINIMAL for minJSON (minimized)
no whitespace at run-time.
We don't write minimal JSON as with minimal DXFs anymore
($ACADVER, $HANDSEED, and then ENTITIES only).
With ideas from GH #886

2024-02-07 Reini Urban <[email protected]>

injson/dxf: fix LTYPE.numdashes setter
ERROR: Unknown num_dashes field

encode: fix downconvert_DIMSTYLE
when the eed already had one member, AcadAnnotative.
e.g. ../to/2013/from_github_santicastro/Triskele_centered_with_connectors_extract.dwg

2024-02-06 Reini Urban <[email protected]>

Prepare 0.13.1 bugfix release

2024-02-06 Reini Urban <[email protected]>

indxf: add add_sub_ASSOCDEPENDENCY
for the 2 special classes ASSOCGEOMDEPENDENCY or ASSOCVALUEDEPENDENCY.
add SUB_FIELD_* parsers, which need o for the field ptr, and f for its type.

Fixes ASSOCGEOMDEPENDENCY dxf import with example_2000
(which was suppoed to be stable)

2024-02-06 Reini Urban <[email protected]>

dynapi: add dwg_dynapi_subclass_set_value
needed for indxf. can also be used for injson

gen-dynapi: fix ASSOCGEOMDEPENDENCY subclass
and fixup the lines for debugging

dxfb-check: harmonize with dxf-check

encode: fix ERROR: Wrong object size on MS adjust
when the new size doesnt fit the old MS size (overlarge MS size),
we move the stream by 2, but forgot to adjust the end_address calc,
leading to wrong ERROR: Wrong object size and CRC calc

XRECORD.cloning logging: print the DXF code

distcheck: cleanup check_oda files
so far only locally

json.test: print the right ODAFileConverter name
as with json-check

2024-02-05 Reini Urban <[email protected]>

dxf.test: except skipped r13 LIGHT entity
which must be skipped in r13 DXFs

spec: improve PROXY fields and dxf codes
but still cannot roundtrip

indxf: fix xdata_size with BINARY

outdxf: fix BINARY
esp. for 310 xdata fields, with wrong value types.
Ensure correct values and lengths 127

2024-02-05 Reini Urban <[email protected]>

dxf spec: change DIMSTYLE.DIMTXTDIRECTION from 295 to 294
ODA has it documented as 295 B0, netDXF as 294.
Acad has it undocumented. It has a default of 0, so only
present if reversed.
But accept indxf of 295 also (for ODA and backcompat)

See GH #835

2024-02-05 Reini Urban <[email protected]>

debug: enable MTEXTATTRIBUTEOBJECTCONTEXTDATA.context
as embedded SCALE object, if the SCALE is not 1:1.
See GH #851

fix missing bindings/Makefile.in
Fixes GH #934

log timeduration better
Fixes GH #916

2024-02-04 Reini Urban <[email protected]>

up/downgrade MLINESTYLE_line.lt. fields
Add a new dwg_find_tablehandle_index() helper, which is
needed for more upgraders.
Fixes GH #924

2024-02-04 Reini Urban <[email protected]>

spec: fix MLINESTYLE_line.lt_ fields to union
because of the tricky overflow check in REPEAT_CHKCOUNT_LVAL.
Fixes #924

WIP add_test. dxf from/to 2018 needs a converter.

2024-02-04 Reini Urban <[email protected]>

disable broken gcc-14 -Walloc-size
Fixes GH #931

doc: mention ACadSharp

fix -Wcalloc-transposed-args
Fixes GH #931, thanks to @topazus

2024-02-04 Reini Urban <[email protected]>

Release 0.13
Expand Down
4 changes: 2 additions & 2 deletions HACKING
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ someone should probably think about and resolve them!
- generate the missing ChangeLog entries
e.g. via build-aux/gitlog-to-changelog --since='2018-11-05' >x
- make distcheck
- push a smoke/ branch to check the CI results for linux, darwin, freebsd, mingw
and cygwin.
- push a smoke/ branch to check the CI results for linux, darwin, freebsd, msvc,
mingw and cygwin.
- create a temp. tag with the correct version number (see above):
e.g. git tag -s -m 'release 0.6.2' 0.6.2
- sh autogen.sh to update the version
Expand Down
5 changes: 4 additions & 1 deletion libredwg.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- sh -*-
Name: libredwg
Version: 0.13.0
Version: 0.13.1
Release: 1%{?dist}
Summary: GNU C library and programs to read and write DWG files

Expand Down Expand Up @@ -175,6 +175,9 @@ fi


%changelog
* Fri Feb 9 2024 Reini Urban <[email protected]> 0.13.1-1
- upstream update.

* Fri Feb 4 2024 Reini Urban <[email protected]> 0.13.0-1
- upstream update.

Expand Down
4 changes: 2 additions & 2 deletions programs/dwg2SVG.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWG2SVG "1" "February 2024" "dwg2SVG 0.13" "User Commands"
.TH DWG2SVG "1" "February 2024" "dwg2SVG 0.13.1" "User Commands"
.SH NAME
dwg2SVG \- manual page for dwg2SVG 0.13
dwg2SVG \- manual page for dwg2SVG 0.13.1
.SH SYNOPSIS
.B dwg2SVG
[\fI\,OPTION\/\fR]... \fI\,DWGFILE >SVGFILE\/\fR
Expand Down
4 changes: 2 additions & 2 deletions programs/dwg2dxf.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWG2DXF "1" "February 2024" "dwg2dxf 0.13" "User Commands"
.TH DWG2DXF "1" "February 2024" "dwg2dxf 0.13.1" "User Commands"
.SH NAME
dwg2dxf \- manual page for dwg2dxf 0.13
dwg2dxf \- manual page for dwg2dxf 0.13.1
.SH SYNOPSIS
.B dwg2dxf
[\fI\,OPTION\/\fR]... \fI\,DWGFILES\/\fR...
Expand Down
4 changes: 2 additions & 2 deletions programs/dwg2ps.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWG2PS "1" "February 2024" "dwg2ps 0.13" "User Commands"
.TH DWG2PS "1" "February 2024" "dwg2ps 0.13.1" "User Commands"
.SH NAME
dwg2ps \- manual page for dwg2ps 0.13
dwg2ps \- manual page for dwg2ps 0.13.1
.SH SYNOPSIS
.B dwg2ps
[\fI\,OPTION\/\fR]... \fI\,DWGFILE \/\fR[\fI\,PSFILE\/\fR]
Expand Down
4 changes: 2 additions & 2 deletions programs/dwgbmp.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWGBMP "1" "February 2024" "dwgbmp 0.13" "User Commands"
.TH DWGBMP "1" "February 2024" "dwgbmp 0.13.1" "User Commands"
.SH NAME
dwgbmp \- manual page for dwgbmp 0.13
dwgbmp \- manual page for dwgbmp 0.13.1
.SH SYNOPSIS
.B dwgbmp
[\fI\,OPTION\/\fR]... \fI\,DWGFILE \/\fR[\fI\,thumbnailfile\/\fR]
Expand Down
4 changes: 2 additions & 2 deletions programs/dwgfilter.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWGFILTER "1" "February 2024" "dwgfilter 0.13" "User Commands"
.TH DWGFILTER "1" "February 2024" "dwgfilter 0.13.1" "User Commands"
.SH NAME
dwgfilter \- manual page for dwgfilter 0.13
dwgfilter \- manual page for dwgfilter 0.13.1
.SH DESCRIPTION
dwgfilter [OPTIONS...] dwgfile
.PP
Expand Down
4 changes: 2 additions & 2 deletions programs/dwggrep.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWGGREP "1" "February 2024" "dwggrep 0.13" "User Commands"
.TH DWGGREP "1" "February 2024" "dwggrep 0.13.1" "User Commands"
.SH NAME
dwggrep \- manual page for dwggrep 0.13
dwggrep \- manual page for dwggrep 0.13.1
.SH SYNOPSIS
.B dwggrep
[\fI\,OPTIONS\/\fR]... \fI\,pattern files\/\fR
Expand Down
4 changes: 2 additions & 2 deletions programs/dwglayers.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWGLAYERS "1" "February 2024" "dwglayers 0.13" "User Commands"
.TH DWGLAYERS "1" "February 2024" "dwglayers 0.13.1" "User Commands"
.SH NAME
dwglayers \- manual page for dwglayers 0.13
dwglayers \- manual page for dwglayers 0.13.1
.SH SYNOPSIS
.B dwglayers
[\fI\,OPTION\/\fR]... \fI\,DWGFILE\/\fR
Expand Down
4 changes: 2 additions & 2 deletions programs/dwgread.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH DWGREAD "1" "Februar 2024" "dwgread 0.13.1" "User Commands"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWGREAD "1" "February 2024" "dwgread 0.13.1" "User Commands"
.SH NAME
dwgread \- manual page for dwgread 0.13.1
.SH SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions programs/dwgrewrite.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWGREWRITE "1" "February 2024" "dwgrewrite 0.13" "User Commands"
.TH DWGREWRITE "1" "February 2024" "dwgrewrite 0.13.1" "User Commands"
.SH NAME
dwgrewrite \- manual page for dwgrewrite 0.13
dwgrewrite \- manual page for dwgrewrite 0.13.1
.SH SYNOPSIS
.B dwgrewrite
[\fI\,OPTION\/\fR]... \fI\,INFILE \/\fR[\fI\,OUTFILE\/\fR]
Expand Down
4 changes: 2 additions & 2 deletions programs/dwgwrite.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DWGWRITE "1" "February 2024" "dwgwrite 0.13" "User Commands"
.TH DWGWRITE "1" "February 2024" "dwgwrite 0.13.1" "User Commands"
.SH NAME
dwgwrite \- manual page for dwgwrite 0.13
dwgwrite \- manual page for dwgwrite 0.13.1
.SH SYNOPSIS
.B dwgwrite
[\fI\,OPTION\/\fR]... [\fI\,-o DWGFILE\/\fR] \fI\,INFILE\/\fR
Expand Down
4 changes: 2 additions & 2 deletions programs/dxf2dwg.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DXF2DWG "1" "February 2024" "dxf2dwg 0.13" "User Commands"
.TH DXF2DWG "1" "February 2024" "dxf2dwg 0.13.1" "User Commands"
.SH NAME
dxf2dwg \- manual page for dxf2dwg 0.13
dxf2dwg \- manual page for dxf2dwg 0.13.1
.SH SYNOPSIS
.B dxf2dwg
[\fI\,OPTION\/\fR]... \fI\,DXFFILES \/\fR...
Expand Down
4 changes: 2 additions & 2 deletions programs/dxfwrite.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH DXFWRITE "1" "February 2024" "dxfwrite 0.13" "User Commands"
.TH DXFWRITE "1" "February 2024" "dxfwrite 0.13.1" "User Commands"
.SH NAME
dxfwrite \- manual page for dxfwrite 0.13
dxfwrite \- manual page for dxfwrite 0.13.1
.SH SYNOPSIS
.B dxfwrite
[\fI\,OPTION\/\fR]... [\fI\,-o DXFFILE\/\fR] \fI\,INFILE\/\fR
Expand Down

0 comments on commit 149fb77

Please sign in to comment.