newsLibreDWG - News: libredwg-0.7 released

Latest News
libredwg-0.13.3 released posted by reini_urban, Mon 26 Feb 2024 09:46:29 AM UTC
libredwg-0.13.2 released posted by reini_urban, Sat 10 Feb 2024 06:13:26 PM UTC
libredwg-0.13.1 bugfix release posted by reini_urban, Sat 10 Feb 2024 08:42:52 AM UTC
libredwg-0.13 released posted by reini_urban, Sun 04 Feb 2024 09:53:49 AM UTC
libredwg-0.12.5 released posted by reini_urban, Sun 06 Feb 2022 09:01:25 PM UTC

libredwg-0.7 released

Item posted by Reini Urban <reini_urban> on Thu 06 Dec 2018 12:07:23 AM UTC.

See and

new API:
  * add dwg_get_OBJECT(dwg) API for all objects in a DWG.
    analog to dwg_get_ENTITY, but including all objects, tables,
    block headers, even if unowned.
  Note that the dwg_api will be revamped from static to dynamic before 1.0.
  field accessors will be by name argument and ... (va_args)
  See the work/dynapi branch #59 (in progress).
  dwg_get_OBJECT(dwg) will be renamed to dwg_getall_OBJECT(dwg),
  dwg_get_ENTITY(blkhdr) to dwg_getall_ENTITY(blkhdr).

API breaking changes:
  * Changed BITCODE_RC from signed to unsigned char (#44)
  * LEADER changes: rename hooklineonxdir to hookline_dir,
    rename unknown_bit_4 to hookline_on,
    endptproj only until r2007. (but still not 100% correct)
  * MULTILEADER changes: rename num_vertex to numpts (analog to LEADER),
    change vertex to points[] (PR #49 Denis Pryt)
  * Fixed dwg_get_ENTITY(hdr): NULL-terminate the result (#60)

Important bugfixes:
  * Fixed all memory leaks and double-free's (#43, #42, PR #58 Denis Pryt)
  * Fixed EED sizes (PR #48, Denis Pryt)
  * Fixed BLOCK_HEADER.num_inserts, esp. with xref's (#44).
    For decode and encode.
  * Fixed LTYPE.dash (#44)
  * Fixup LEADER DXF values and path_type with annot_type mixup.
  * Fixed TABLE.value.data_type with flags kGeneral (#54 Denis Pryt)
  * Fixes VECTOR_CHKCOUNT segfault on unassigned obj->dxfname's
    (esp. for <=R12), and fix overflows (#56)
  * dwglayers: fix for DICTIONARY breaking the list output (#51)
  * dxf: fix dxf_blocks_write for empty paper_space (#52)
  * Fixed example/ allowing non-critical error codes

Other newsworthy changes:
  * Check for RUNNING_ON_VALGRIND and call dwg_free then, even
    if previously skipped.
  * Renamed all remaining API "null malloc" error messages to
    "Out of memory"
  * Harmonized in_dxfb with in_dxf, but still WIP

Here are the compressed sources:   (9.4MB)   (3.5MB) (also window binaries)

Here are the GPG detached signatures[*]:

Use a mirror for higher download bandwidth:

Here are the SHA256 checksums:

76f0329b5b175cb2a8d0a66854f91c21c31bdff6cb6ff04569c7fdd3ad4b069d  libredwg-0.7.tar.gz
cbef6b9d48877ca26a54115b9ef9a7fd02d0279a94e79d2247f80277820b888d  libredwg-0.7.tar.xz

[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact.  First, be sure to download both the .sig file
and the corresponding tarball.  Then, run a command like this:

  gpg --verify libredwg-0.7.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

  gpg --keyserver --recv-keys B4F63339E65D6414

and rerun the 'gpg --verify' command.


Back to the top

Powered by Savane 3.13-e652.
Corresponding source code