]> Devoid-pointer.net GitWeb - libHPCS.git/log
libHPCS.git
6 years agoTreat marker-like segments as regular data if they are not at the master
Michal Malý [Wed, 25 Jul 2018 09:02:29 +0000 (11:02 +0200)]
Treat marker-like segments as regular data if they are not at the
expected marker positions and beef up debugging output.

6 years agoAdd some extra debugging output
Michal Malý [Tue, 24 Jul 2018 23:42:03 +0000 (01:42 +0200)]
Add some extra debugging output

6 years agoFix UTF-8 to wide char file path conversion
Michal Maly [Tue, 26 Dec 2017 16:38:54 +0000 (17:38 +0100)]
Fix UTF-8 to wide char file path conversion

7 years agoExport library functions only when the library is the build target
Michal Malý [Fri, 12 May 2017 08:22:47 +0000 (10:22 +0200)]
Export library functions only when the library is the build target

7 years agoFix filename case-sensitivity issue
Michal Malý [Thu, 11 May 2017 12:20:49 +0000 (14:20 +0200)]
Fix filename case-sensitivity issue

7 years ago- Do not enforce the "lib" prefix on Windows
Michal Maly [Thu, 11 May 2017 10:00:40 +0000 (12:00 +0200)]
- Do not enforce the "lib" prefix on Windows
- Fix test_tool build on Windows
- Remove the VS2013 project files

7 years agoUpdate Windows-specific bits of the CMake recipe
Michal Maly [Thu, 11 May 2017 09:48:01 +0000 (11:48 +0200)]
Update Windows-specific bits of the CMake recipe

7 years agoUpdate the README file
Michal Malý [Thu, 11 May 2017 10:58:57 +0000 (12:58 +0200)]
Update the README file

7 years agoMove source files to src/ directory
Michal Malý [Thu, 11 May 2017 09:54:07 +0000 (11:54 +0200)]
Move source files to src/ directory

7 years agoUse consistent upper-case naming for all source and include files
Michal Malý [Thu, 11 May 2017 09:50:45 +0000 (11:50 +0200)]
Use consistent upper-case naming for all source and include files

7 years agoUse more appropriate CMake facilities to define build options
Michal Malý [Thu, 11 May 2017 09:42:26 +0000 (11:42 +0200)]
Use more appropriate CMake facilities to define build options

7 years agoAdd install directive to CMake recipe
Michal Malý [Thu, 11 May 2017 08:37:15 +0000 (10:37 +0200)]
Add install directive to CMake recipe

8 years agoAdd missing check of fread() return value
Michal Malý [Sun, 23 Oct 2016 19:07:28 +0000 (21:07 +0200)]
Add missing check of fread() return value

8 years agoUse NOT instead of ! in Windows detection condition
Michal Malý [Sun, 23 Oct 2016 16:16:59 +0000 (18:16 +0200)]
Use NOT instead of ! in Windows detection condition

8 years agoDot not try to look for ICU libraries on Windows
ECHMET-BUILD [Tue, 23 Aug 2016 09:32:22 +0000 (11:32 +0200)]
Dot not try to look for ICU libraries on Windows

8 years agoRead start of the scans block from file header
Michal Malý [Tue, 23 Aug 2016 09:18:03 +0000 (11:18 +0200)]
Read start of the scans block from file header

8 years agoRemove sampling rate offset
Michal Malý [Thu, 18 Aug 2016 22:09:42 +0000 (00:09 +0200)]
Remove sampling rate offset

8 years agoRead timing data from the file instead of guessing from the sampling
Michal Malý [Thu, 18 Aug 2016 22:08:40 +0000 (00:08 +0200)]
Read timing data from the file instead of guessing from the sampling
rate

8 years agoFix return value check from fread
Michal Malý [Thu, 18 Aug 2016 15:08:13 +0000 (17:08 +0200)]
Fix return value check from fread

8 years agoRead signal step from the datafile header instead of guessing it by
Michal Malý [Thu, 18 Aug 2016 15:04:40 +0000 (17:04 +0200)]
Read signal step from the datafile header instead of guessing it by
ChemStation versions and signal types

8 years agoFix a typo in the header guard
Michal Malý [Wed, 17 Aug 2016 08:44:25 +0000 (10:44 +0200)]
Fix a typo in the header guard

8 years agoDo not export extraneous symbol from the library on non-Windows
Michal Malý [Fri, 1 Jul 2016 14:40:51 +0000 (16:40 +0200)]
Do not export extraneous symbol from the library on non-Windows
platforms

8 years agoDetect ChemStation B.06.44 and set the sampling rate accordingly
Michal Malý [Tue, 5 Apr 2016 10:37:21 +0000 (12:37 +0200)]
Detect ChemStation B.06.44 and set the sampling rate accordingly

8 years agoRemove trailing spaces
Michal Malý [Mon, 4 Apr 2016 13:45:22 +0000 (15:45 +0200)]
Remove trailing spaces

8 years agoHandle strings of zero length correctly for old ChemStation file format
Michal Malý [Mon, 4 Apr 2016 13:43:12 +0000 (15:43 +0200)]
Handle strings of zero length correctly for old ChemStation file format

8 years agoCheck for failed allocation, improve coding style consistency
Michal Malý [Mon, 4 Apr 2016 13:40:33 +0000 (15:40 +0200)]
Check for failed allocation, improve coding style consistency

8 years agoImprove debugging output when string parsing fails
Michal Malý [Mon, 4 Apr 2016 13:39:13 +0000 (15:39 +0200)]
Improve debugging output when string parsing fails

8 years agoFix ISO-8859-1 to UTF-8 conversion on Windows
Michal Malý [Wed, 10 Feb 2016 19:47:06 +0000 (20:47 +0100)]
Fix ISO-8859-1 to UTF-8 conversion on Windows

8 years agoCorrectly check for old and new format in when reading wavelength
Michal Malý [Wed, 10 Feb 2016 19:25:31 +0000 (20:25 +0100)]
Correctly check for old and new format in when reading wavelength

8 years agoFix build on Windows
Michal Malý [Wed, 10 Feb 2016 17:41:01 +0000 (18:41 +0100)]
Fix build on Windows

8 years agoFix coding style issues
Michal Malý [Wed, 10 Feb 2016 16:44:02 +0000 (17:44 +0100)]
Fix coding style issues

8 years agoBump SO version
Michal Malý [Wed, 10 Feb 2016 16:42:28 +0000 (17:42 +0100)]
Bump SO version

8 years ago- Convert correctly from ISO-8859-1 to UTF-8
Michal Malý [Wed, 10 Feb 2016 16:39:49 +0000 (17:39 +0100)]
- Convert correctly from ISO-8859-1 to UTF-8
- Fix new format type autodetection

8 years agoAdd support for old HP ChemStation data format
Michal Malý [Wed, 10 Feb 2016 15:30:05 +0000 (16:30 +0100)]
Add support for old HP ChemStation data format

8 years agoCoding style consistency fixes
Michal Malý [Wed, 10 Feb 2016 12:59:54 +0000 (13:59 +0100)]
Coding style consistency fixes

8 years agoUse "electrophoreogram" instead of "electropherogram"
Michal Malý [Tue, 9 Feb 2016 16:44:41 +0000 (17:44 +0100)]
Use "electrophoreogram" instead of "electropherogram"

8 years agoUpdate README file
Michal Malý [Tue, 9 Feb 2016 12:40:26 +0000 (13:40 +0100)]
Update README file

8 years agoAdd caption and link to GNU GPLv3 text to the README
Michal Malý [Tue, 9 Feb 2016 10:09:43 +0000 (11:09 +0100)]
Add caption and link to GNU GPLv3 text to the README

8 years agoSpecify the license explicitly in the README.md
Michal Malý [Mon, 8 Feb 2016 17:05:33 +0000 (18:05 +0100)]
Specify the license explicitly in the README.md

8 years agoAdd README.md file
Michal Malý [Mon, 8 Feb 2016 16:12:06 +0000 (17:12 +0100)]
Add README.md file

8 years agoMerge branch 'master' of https://github.com/echmet/libHPCS
Michal Malý [Mon, 8 Feb 2016 14:48:55 +0000 (15:48 +0100)]
Merge branch 'master' of https://github.com/echmet/libHPCS

8 years agoInitial commit
echmet [Mon, 8 Feb 2016 14:29:59 +0000 (15:29 +0100)]
Initial commit

8 years agoExpect the file path to method data file to be in UTF-8 on Win32
Michal Malý [Tue, 8 Dec 2015 20:41:03 +0000 (21:41 +0100)]
Expect the file path to method data file to be in UTF-8 on Win32

8 years agoExpect file path to measurement data to be UTF-8 encoded. Convert the
Michal Malý [Tue, 8 Dec 2015 20:38:24 +0000 (21:38 +0100)]
Expect file path to measurement data to be UTF-8 encoded. Convert the
path to wchar on Win32

8 years agoRecognize ChemStation B.06.43 files
User [Tue, 8 Dec 2015 13:13:08 +0000 (14:13 +0100)]
Recognize ChemStation B.06.43 files

8 years agoFix possibly unitialized "ret"
Michal Malý [Tue, 1 Dec 2015 17:03:49 +0000 (18:03 +0100)]
Fix possibly unitialized "ret"

8 years ago- Fix a few stupid typos causing ChemStation version to be misidentified - Move read_...
User [Tue, 1 Dec 2015 15:19:35 +0000 (16:19 +0100)]
- Fix a few stupid typos causing ChemStation version to be misidentified - Move read_generic_type() into proper place

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
8 years agoAdd more checks for ferror()
User [Tue, 1 Dec 2015 14:57:24 +0000 (15:57 +0100)]
Add more checks for ferror()

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
8 years agoDetect sampling rates correctly for ChemStation B.0626
User [Tue, 1 Dec 2015 14:15:07 +0000 (15:15 +0100)]
Detect sampling rates correctly for ChemStation B.0626

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
8 years agoMake parsing of the wavelength string more robust
User [Tue, 1 Dec 2015 13:21:21 +0000 (14:21 +0100)]
Make parsing of the wavelength string more robust

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
8 years agoSilence warnings about possible data loss
User [Tue, 1 Dec 2015 12:49:37 +0000 (13:49 +0100)]
Silence warnings about possible data loss

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
8 years agoCheck file type description and abort reading if unknown.
User [Tue, 1 Dec 2015 12:46:17 +0000 (13:46 +0100)]
Check file type description and abort reading if unknown.

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
8 years ago- Detect generic file type and abort reading it it is unknown - Make buildable by...
User [Tue, 1 Dec 2015 12:19:55 +0000 (13:19 +0100)]
- Detect generic file type and abort reading it it is unknown - Make buildable by VS2015

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
9 years agoSet initial data count to zero
Michal Malý [Sun, 8 Nov 2015 19:59:11 +0000 (20:59 +0100)]
Set initial data count to zero

9 years ago- Add a new function to read just the header of the file
Michal Malý [Sun, 8 Nov 2015 16:38:14 +0000 (17:38 +0100)]
- Add a new function to read just the header of the file
- Add include guards to the headers

9 years agoImprove phrasing of a comment
Michal Malý [Sun, 29 Mar 2015 16:33:10 +0000 (18:33 +0200)]
Improve phrasing of a comment

9 years agoSilence VC12 compiler warning
Michal Malý [Sun, 29 Mar 2015 16:27:49 +0000 (18:27 +0200)]
Silence VC12 compiler warning

9 years agoAdd remove_trailing_newline() function signature
Michal Malý [Sun, 29 Mar 2015 16:26:09 +0000 (18:26 +0200)]
Add remove_trailing_newline() function signature

9 years agoRemove trailing newlines from both name and value if there is any
Michal Malý [Sun, 29 Mar 2015 14:11:26 +0000 (16:11 +0200)]
Remove trailing newlines from both name and value if there is any

9 years ago- Don't bail out prematurely if a method info line has a name with no
Michal Malý [Sun, 29 Mar 2015 13:55:58 +0000 (15:55 +0200)]
- Don't bail out prematurely if a method info line has a name with no
value
- Return const pointer to an error string instead of duplicating that
  string and returning pointer to the duplicate
- Bump API version to 4.0

9 years agoMove includes inside the explicitly declared C code scope
Michal Malý [Sun, 29 Mar 2015 13:22:27 +0000 (15:22 +0200)]
Move includes inside the explicitly declared C code scope

9 years agoFix memory leak in read_string_at_offset()
Michal Malý [Sun, 29 Mar 2015 13:19:31 +0000 (15:19 +0200)]
Fix memory leak in read_string_at_offset()

9 years agoAdd an empty line if there is no value for a key
Michal Malý [Sat, 28 Mar 2015 22:29:45 +0000 (23:29 +0100)]
Add an empty line if there is no value for a key

9 years agoMove month_to_number() to correct place alphabetically-wise
Michal Malý [Fri, 27 Mar 2015 00:52:09 +0000 (01:52 +0100)]
Move month_to_number() to correct place alphabetically-wise

9 years ago- Read strings from data files as UTF-16LE encoded strings (Unix
Michal Malý [Fri, 27 Mar 2015 00:48:54 +0000 (01:48 +0100)]
- Read strings from data files as UTF-16LE encoded strings (Unix
implementation)
- Use ICU converter to convert from UChars to UTF-8
- Reduce minimum ICU version to 52.0
- Bump SOVERSION

9 years agoRead strings from data files as UTF-16LE encoded strings
Michal Malý [Thu, 26 Mar 2015 22:26:39 +0000 (23:26 +0100)]
Read strings from data files as UTF-16LE encoded strings

9 years agoDeclare static strings directly as arrays
Michal Malý [Thu, 26 Mar 2015 20:48:46 +0000 (21:48 +0100)]
Declare static strings directly as arrays

9 years agoImplement MTH files reading on Windows
Michal Malý [Thu, 26 Mar 2015 20:37:10 +0000 (21:37 +0100)]
Implement MTH files reading on Windows

9 years ago- Add generic support for reading MTH files
Michal Malý [Thu, 26 Mar 2015 15:22:29 +0000 (16:22 +0100)]
- Add generic support for reading MTH files
- Use ICU on Unix systems to read UTF-16 encoded files
- Implement MTH files reading on Unix
- Add dummy support for MTH files reading on Windows

9 years agoUse "#ifdef _WIN32" to detect Windows environment
Michal Malý [Wed, 11 Mar 2015 00:39:41 +0000 (01:39 +0100)]
Use "#ifdef _WIN32" to detect Windows environment

9 years agoAdd Visual Studio 2013 solution
Michal Malý [Tue, 10 Mar 2015 23:53:17 +0000 (00:53 +0100)]
Add Visual Studio 2013 solution

9 years agoAdd shared library versioning
Michal Malý [Tue, 10 Mar 2015 22:46:16 +0000 (23:46 +0100)]
Add shared library versioning

9 years agoMove public include file to "include" directory
Michal Malý [Tue, 10 Mar 2015 21:34:30 +0000 (22:34 +0100)]
Move public include file to "include" directory

9 years agoAdd simple testing tool and build it on demand
Michal Malý [Tue, 10 Mar 2015 21:22:00 +0000 (22:22 +0100)]
Add simple testing tool and build it on demand

9 years agoBuild libHPCS as a shared library
Michal Malý [Tue, 10 Mar 2015 21:12:49 +0000 (22:12 +0100)]
Build libHPCS as a shared library

9 years agoFix temperature decoding for old ChemStation file format
Michal Malý [Tue, 10 Mar 2015 20:44:01 +0000 (21:44 +0100)]
Fix temperature decoding for old ChemStation file format

9 years agoFix decoding of current and power for the older ChemStation file format
Michal Malý [Tue, 10 Mar 2015 20:37:26 +0000 (21:37 +0100)]
Fix decoding of current and power for the older ChemStation file format

10 years agoFix qualifiers in check_for_marker()
Michal Malý [Fri, 1 Aug 2014 21:35:38 +0000 (23:35 +0200)]
Fix qualifiers in check_for_marker()

10 years agoFix memory leak
Michal Malý [Fri, 1 Aug 2014 19:42:18 +0000 (21:42 +0200)]
Fix memory leak

10 years agoRemove useless debugging output
Michal Malý [Fri, 1 Aug 2014 19:12:29 +0000 (21:12 +0200)]
Remove useless debugging output

10 years agoFix build on VC11
Michal Malý [Fri, 1 Aug 2014 17:01:32 +0000 (19:01 +0200)]
Fix build on VC11

10 years agoDo not include stdbool.h on Visual Studio
Michal Malý [Fri, 1 Aug 2014 15:41:36 +0000 (17:41 +0200)]
Do not include stdbool.h on Visual Studio

10 years agoMerge branch 'master' of devoid-pointer.net:libHPCS
Michal Malý [Fri, 1 Aug 2014 15:40:48 +0000 (17:40 +0200)]
Merge branch 'master' of devoid-pointer.net:libHPCS

Conflicts:
libhpcs_p.h

10 years agoWorkaround for missing stdbool.h in Visual Studio
Michal Malý [Fri, 1 Aug 2014 15:35:59 +0000 (17:35 +0200)]
Workaround for missing stdbool.h in Visual Studio

10 years agoWorkaround for missing stdbool.h in Visual Studio
Michal Malý [Fri, 1 Aug 2014 15:35:59 +0000 (17:35 +0200)]
Workaround for missing stdbool.h in Visual Studio

10 years ago- Do not differentiate fixed and floating signals at all
Michal Malý [Thu, 31 Jul 2014 15:56:00 +0000 (17:56 +0200)]
- Do not differentiate fixed and floating signals at all
- Guess step for power and voltage

10 years agoRemove obsolete enum
Michal Malý [Thu, 31 Jul 2014 10:39:14 +0000 (12:39 +0200)]
Remove obsolete enum

10 years agoAdd a sampling rate workaround for older file formats
Michal Malý [Thu, 31 Jul 2014 09:56:30 +0000 (11:56 +0200)]
Add a sampling rate workaround for older file formats

10 years agoSimplify exported functions declarations
Michal Malý [Wed, 30 Jul 2014 19:01:27 +0000 (21:01 +0200)]
Simplify exported functions declarations

10 years ago- Ignore position checking of markers
Michal Malý [Wed, 30 Jul 2014 18:48:44 +0000 (20:48 +0200)]
- Ignore position checking of markers
- Unify floating and fixed signal reading

10 years agoUse the ChemStation version tag to diffentiate file types whose ID changed between...
Michal Malý [Fri, 11 Jul 2014 23:26:07 +0000 (01:26 +0200)]
Use the ChemStation version tag to diffentiate file types whose ID changed between different versions

10 years agoFix null pointer checks in read_dad_wavelength()
Michal Malý [Fri, 11 Jul 2014 08:40:07 +0000 (10:40 +0200)]
Fix null pointer checks in read_dad_wavelength()

10 years agoFix file type autodetection
Michal Malý [Fri, 11 Jul 2014 08:34:09 +0000 (10:34 +0200)]
Fix file type autodetection

10 years agoImprove debugging output in read_fixed_signal()
Michal Malý [Fri, 11 Jul 2014 00:39:08 +0000 (02:39 +0200)]
Improve debugging output in read_fixed_signal()

10 years ago- Prepend function name to PR_DEBUG output
Michal Malý [Thu, 10 Jul 2014 23:13:08 +0000 (01:13 +0200)]
- Prepend function name to PR_DEBUG output
- Provide fully flexible PR_DEBUGF

10 years agoMake the debugging output more flexible
Michal Malý [Thu, 10 Jul 2014 22:54:03 +0000 (00:54 +0200)]
Make the debugging output more flexible

10 years agoAdd debugging info to read_fixed_signal()
Michal Malý [Thu, 10 Jul 2014 22:46:53 +0000 (00:46 +0200)]
Add debugging info to read_fixed_signal()

10 years agoInitialize HPCS_MeasuredData properly after allocation
Michal Malý [Thu, 10 Jul 2014 22:33:16 +0000 (00:33 +0200)]
Initialize HPCS_MeasuredData properly after allocation

10 years agoAPI CHANGE: Rework wavelength parsing logic
Michal Malý [Thu, 10 Jul 2014 21:45:15 +0000 (23:45 +0200)]
API CHANGE: Rework wavelength parsing logic

10 years agoFix debug build defines and add debugging output
Michal Malý [Thu, 10 Jul 2014 08:45:10 +0000 (10:45 +0200)]
Fix debug build defines and add debugging output