Skip to content

Commit

Permalink
Merge pull request #129 from tschoonj/release-4.0.0
Browse files Browse the repository at this point in the history
Prepare for releasing 4.0.0
  • Loading branch information
tschoonj authored Feb 7, 2020
2 parents b16de08 + 58e7f1b commit d850f25
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 16 deletions.
2 changes: 0 additions & 2 deletions BUGS

This file was deleted.

26 changes: 26 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
Version 4.0.0 Tom Schoonjans

Major changes:
- Drop xraylib command-line executable
- Add proper, thread-safe error handling support through an extra argument in
the C API, which is transformed into an exception in the other bindings.
The old error handling functions have been deprecated. New API added to xraylib-error.h
- Add unittests, lots of them, for all supported languages.
- Deprecate IDL bindings: they work for now, but do not support the new error
handling mechanism, and will no longer be actively developed.
- Rewrite Java bindings, produce sources and javadoc jars, and publish to
Maven and JFrog.


Minor changes:
- CompoundParser: do not allow lower case characters after digits (bugfix)
- SymbolToAtomicNumber: deal gracefully with NULL (bugfix)
- PHP bindings: create RPM package
- SWIG: parse xrf_cross_sections_aux.h
- Symbol visibility has been reduced.
- CosKronTransProb: remove old _TRANS macros
- AugerYield and CS_FluorLine_Kissel: introduce FLP13_TRANS correction
- PM5_full_cascade_kissel: fix bug
- xrf_cross_sections_aux: improve performance
- Do not allow extrapolation with splint

Version 3.3.0 Tom Schoonjans

- Anomalous scattering factors: switch to EPDL97 (thanks to Chris Jacobsen and Ming Du for reporting spikes in RTAB data)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ windows:
$(MAKE) -C windows windows


EXTRA_DIST = xraylib.spec.in BUGS Changelog
EXTRA_DIST = xraylib.spec.in Changelog

if OS_WINDOWS
DISTCHECK_CONFIGURE_FLAGS = --enable-pascal --enable-python --enable-python-numpy --enable-fortran
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ We recently started a mailinglist. Subscription is possible at https://lists.uge
Reporting bugs
==============

A list of known bugs can be found in the BUGS file. Details of compilation problems can be found in the INSTALL file.
Details of compilation problems can be found in the INSTALL file.

If you would encounter a bug which is not covered in these files please report it in the Issues section http://github.com/tschoonj/xraylib

Expand Down
2 changes: 0 additions & 2 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
Write bindings for Matlab and Octave
Resonant Raman effect
Rewrite error handling completely: needs to be thread-safe
...
1 change: 1 addition & 0 deletions appveyor-build-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
set -x

export CYTHON=cython
export PATH="/C/Program Files (x86)/Inno Setup 6:$HOME/install/bin:$PATH"

cd $APPVEYOR_BUILD_FOLDER

Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Copyright (c) 2009, 2010, 2011, 2012, 2013 Tom Schoonjans
#Copyright (c) 2009-2020 Tom Schoonjans
#All rights reserved.

#Redistribution and use in source and binary forms, with or without
Expand All @@ -11,7 +11,7 @@



AC_INIT([xraylib],[3.99.2],[[email protected]])
AC_INIT([xraylib],[4.0.0],[[email protected]])
AC_PREREQ([2.60])
AC_CONFIG_SRCDIR([include/xraylib.h])
AC_CONFIG_AUX_DIR([build-aux])
Expand Down
2 changes: 1 addition & 1 deletion idl/libxrlidl.dlm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ MODULE XRAYLIB

DESCRIPTION IDL XRAYLIB BINDINGS

VERSION 3.99.1
VERSION 4.0.0

SOURCE A.Brunetti, M. S. del Rio, T. Schoonjans, T. Ikonen, B. Golosio, A. Simionovici, A. Somogyi

Expand Down
6 changes: 3 additions & 3 deletions include/xraylib.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ extern "C" {



#define XRAYLIB_MAJOR 3
#define XRAYLIB_MINOR 99
#define XRAYLIB_MICRO 2
#define XRAYLIB_MAJOR 4
#define XRAYLIB_MINOR 0
#define XRAYLIB_MICRO 0


#ifndef PI
Expand Down
2 changes: 1 addition & 1 deletion java/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
1 change: 0 additions & 1 deletion windows/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ common:
cp ../src/.libs/libxrl-$(LIB_CURRENT_MINUS_AGE).dll .
unix2dos -n ${top_srcdir}/README README.txt
unix2dos -n ${top_srcdir}/AUTHORS AUTHORS.txt
unix2dos -n ${top_srcdir}/BUGS BUGS.txt
unix2dos -n ${top_srcdir}/TODO TODO.txt
unix2dos -n ${top_srcdir}/Changelog Changelog.txt
unix2dos -n ${top_srcdir}/doc/xraydoc.txt xraydoc.txt
Expand Down
3 changes: 1 addition & 2 deletions windows/xraylib.iss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultDirName={commonpf}\{#MyAppName}
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
LicenseFile={#srcdir}\windows\License.rtf
Expand Down Expand Up @@ -62,7 +62,6 @@ Name: "pascal" ; Description: "Delphi/Pascal" ; Types: full
Source: "{#builddir}\src\.libs\libxrl-{#LIB_CURRENT_MINUS_AGE}.dll"; DestDir: "{sys}" ; Flags: sharedfile ; Components: core
Source: "{#builddir}\windows\README.txt" ; DestDir: "{app}" ; Flags: isreadme ; Components: core
Source: "{#builddir}\windows\AUTHORS.txt" ; DestDir: "{app}" ; Components: core
Source: "{#builddir}\windows\BUGS.txt" ; DestDir: "{app}" ; Components: core
Source: "{#builddir}\windows\Changelog.txt" ; DestDir: "{app}" ; Components: core
Source: "{#builddir}\windows\TODO.txt" ; DestDir: "{app}" ; Components: core
Source: "{#builddir}\windows\xraydoc.txt" ; DestDir: "{app}\Doc" ; Components: core
Expand Down

0 comments on commit d850f25

Please sign in to comment.