File xmedcon.changes of Package xmedcon

-------------------------------------------------------------------
Fri Dec  5 11:47:41 UTC 2025 - Dr. Werner Fink <werner@suse.de>

- Update to version 0.25.3 
  * fix for broken rpmbuild after change of 'appdata' into 'metainfo' ...
  - in release 0.25.2 @ 08-May-2025 (Gtk+2 & Gtk+3)
  * PNG: file pointer was not properly closed after reading
  * PNG: fixed memory leak for RGB images
  * Gentoo: an updated and refreshed .ebuild file (1)
  * autoconf: sysconfdir = @sysconfdir@
  * autoconf: appdatadir = @datadir@/metainfo
  * incentive by contribution from Lars Wendler
  - in release 0.25.1 @ 17-Mar-2025 (Gtk+2 & Gtk+3)
  * DICOM: check for integer overflow by malloc() when
    size_t < int64 (i.e. mswin32).
  * fixes for compilation with upcomming gcc-15 where function
    prototypes must match arguments amount and types
    (Debian Bug #1098154). (1)
  * DICOM: prevent buffer overflow in RLE decoding; now check
    arguments and parameters. (2)
  * DICOM: fix heap overflow and reading of palette colored files
    with 8-byte lookup tables. (2) + (3)
  * merged contribution by Étienne Mollier. Thanks.
  * based on findings and files send by 0x02z.
  * gcc -fsanitize=address is really superb in tracking memory
    related problems.
  - in release 0.25.0 @ 03-Jan-2025 (Gtk+2 & Gtk+3)
  * support for gtk+2 is currently preserved
  * AMIDE compatibility is fine. Could recompile on Windows/MSYS2
    and read newly supported Encapsulated Uncompressed files via
    (X)MedCon. Don't load large files though ... ;)
  * stacking slices (code snippet)
    if (slice_width == 0.0) slice_width = 1.0;
    if (slice_spacing == 0.0) slice_spacing = slice_width;
    /* NEW: i.e. Aliza doesn't like slice_spacing = 0.0 */
  * new CLI option: -weu, --write-encap-uncomp
    - force writing of encapsulated uncompressed dicom files; see DICOM below.
  * NIFTI
    - updated library from NIFTI Imaging @ Github
  * DICOM
    - support for reading/writing Encapsulated Uncompressed Explicit VR
    Little Endian transfer syntax (useful for our single dicom filesw
    becoming > 4GB) [1]
    - sample data sets from Aliza Medical Imaging: Test & Test RGB
  * largefile support for sizes > 4GB
    ACR, ANLZ, CONC, DICOM, INTF, INW, RAW: 
    - use off_t for file positions and Int64 for memory lengths
    - resort to fseeko() and ftello() functions for largefile support
  * triggered after receiving a big dicom set with related 32bit integerw
    limitations (Aloma Blanch)
  - in release 0.24.1  @ 24-Nov-2024 (Gtk+2 & Gtk+3)
  * option -cw (forced contrast remapping) now as intended for CTw
    (= simply capping pixvalues between upper & lower value)
  * fix broken fallback format (i.e. to read DICOM without meta header)
  * PNG: fixed tiny memory leak due to unfreed comment buffer (-fsanitize=address)
  * ECAT6: replaced sprintf() string copies with strncpy() functions
  * security bugfixes / stability improvements: -fsanitize=address [1]
    ALL:
    - heap buffer overflow: MdcGetImgBuffer() now checks for 0 bytes before calloc()
    INTF:
    - global buffer overflow: prevent buffer overflow when adding ':=\n' to key
    ECAT6:
    - stack buffer overflow: handle header strings as unsafe for MdcPrintStr()
    DICOM
    - memory access violation: dicom_transfer() using a strncmp() safe global buffer
    - null pointer dereference: mdc_dicom_printinfo() checks for NULL-pointer as values
    - null pointer dereference: dicom_single() checks for proper e->value.CS before strncmp()
    - heap buffer overflow: when pixeldata length is unexpected; exit dicom_single() without further processing
    ACR+DICOM+INTF:
    - stack buffer overflow: MdcKillSpaces() for-loop within boundaries; added initial sanity checks
  * found and detailed by Zhenqing
- Port patch xmedcon-0.16.2.dif

-------------------------------------------------------------------
Tue Jun  4 09:12:58 UTC 2024 - Dr. Werner Fink <werner@suse.de>

- Update to version 0.24.0 @ 24-May-2024 (Gtk+2 & Gtk+3)
  DICOM basic.c: quickfix for security vulnerability against
        malicious DICOM files (= buffer overflow) [1]
        (as a workaround the supported element size is now
         limited to [UINT32_MAX - 4] bytes)
  MSYS2 m-files.c: MdcGetLastPathDelim() correctly handles mixes of
        /forward/ & \backward\ slashes.
        (bugfix improper filename creations within MSYS2 terminals)
  dicom/log.c: fix similar compile error with gcc-14 related to system
        header <io.h> conflict: "ljpg/io.h" renamed to "inout.h".
  Gtk+3 CSS Styling: small improvements in "speedometer" color scheme.
        Added our personal hundliv color scheme.
  Oops, the very first CVE-2024-29421 notified by Spike Reply Cyber Security Team

-------------------------------------------------------------------
Tue Mar  5 14:50:30 UTC 2024 - Dr. Werner Fink <werner@suse.de>

- Update to version 0.23.0 
  xmedcon.rb: pull in adwaita icons needed for some buttons (eg. increment / decrement).
  m-fancy.c: printf 64bit integers as long long.
  m-transf.c: reworked contrast remapping (BUGFIX?).
  libmdc: got rid of needless GUI dependencies in core library (due to an evil source/Makefile.am),
    so it will be safe to combine AMIDE with XMedCon Gtk+3 and beyond.
  xfilesel.c: set default name just before showing dialog; fixes name change when new file was loaded.
  Gtk+3: no longer display an error dialog when cursor types are not found (flatpak)
    environment variable XMEDCONCSS wasn't really read (appimage)
  stack slices: give stack warnings (differences) between consecutive images
  GUI: on mswindows zoom window dialogs now display complete instead of partial.
  GUI: set BILINEAR as default; HYPER seemed deprecated. 
- Port patch xmedcon-0.16.2.dif
- Use %patch -P<N>

-------------------------------------------------------------------
Wed May  4 09:01:46 UTC 2022 - Marcus Meissner <meissner@suse.com>

- switched urls to https

-------------------------------------------------------------------
Tue Nov  3 10:52:00 UTC 2020 - Dr. Werner Fink <werner@suse.de>

- Update to version 0.16.2
  * port and rename patch xmedcon-0.10.7.dif which now is xmedcon-0.16.2.dif
  * make it build even without the libraries from the old medcial repository

-------------------------------------------------------------------
Thu Jan 12 10:58:45 UTC 2017 - werner@suse.de

- Update to version 0.14.1
  + oeps, forgot to include zlib1.dll on Windows 32-bit.
  + fixed xmedcon.spec for rpm builds.
  + some files addapted to reflect my development environments. 
  + appdata file for (X)MedCon towards better Gnome integration
  + code cleanup due to warnings with LLVM/clang compiler
  + INTF dialects with arrays: proper NULL pointer comparison
  + even more code cleanup or bug fixes with use of cppcheck
  + BUGFIX writing ECAT6/ECAT7: crashes due to "buffer overflow" in bad sprintf() statements
  + sanitizing all sprintf() statements ... ;-) 

-------------------------------------------------------------------
Wed Oct 30 17:18:07 UTC 2013 - p.drouand@gmail.com

- Update to version 0.13.0
  + BUGFIX: stack slices output filename with directory was wrong.
  + BUGFIX: GUI interactive raw read was seriously broken
    (buffer overflow entering number of images > 26)
  + BUGFIX: XMDCETC variable was not set properly from configure. 
- Changes from 0.12.0
  + BUGFIX: some read options not applied in case of file stacking
  + RAW (interactive) file reading allowed in case of file stacking 
- Changes from 0.11.1
  + small source update for Siemens/Concorde format: added new tags
    & improved calculation of corrected injected_dose
- Changes from 0.11.0
  + reverse slices (-rs) only reverses slices within (time) frames
    (dynamic PET)
  + patch for compilation with libpng15
  + mswindows: native 64bit version included
- Changes from 0.10.7a
  + UPDATE: windows distribution missed zlib1.dll file
- Remove xmedcon-0.10.7-libpng15_fixes.patch; fixed on upstream
  release
- Add xmedcon-fix-implicit-fortify-declaration.patch; m-png.c 
  call functions without required #import tags

-------------------------------------------------------------------
Fri Oct 26 09:39:39 UTC 2012 - boris@steki.net

- fixes for libpng15 taken from 
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649795
  rebased patch and fixed for 64bit compatibility

-------------------------------------------------------------------
Thu Dec  1 10:56:52 UTC 2011 - werner@suse.de

- Use niftilib-devel instead of niftilib2-devel 
- Use libtpcmisc-devel instead of tpcmisc0-devel
- Use libtpcimgio-devel instead of tpcimgio0-devel

-------------------------------------------------------------------
Tue Nov 29 09:13:32 UTC 2011 - werner@suse.de

- Initial package for openSUSE adopted from
  http://xmedcon.sourceforge.net

-------------------------------------------------------------------
Fri May 08 00:00:00 UTC 2009 - Erik Nolf

- removed lined with hardcoded sysconfdir value

-------------------------------------------------------------------
Sat Nov 20 00:00:00 UTC 2004 - Erik Nolf

- multi-lib; bin & devel packages; install in /usr

openSUSE Build Service is sponsored by