]> Devoid-pointer.net GitWeb - libHPCS.git/log
libHPCS.git
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

10 years agoUse only "DAD" as the key for absorbance data file
Michal Malý [Thu, 10 Jul 2014 08:29:15 +0000 (10:29 +0200)]
Use only "DAD" as the key for absorbance data file

10 years agoFix memory leaks in autodetect_file_type() and read_date()
Michal Malý [Sun, 29 Jun 2014 23:56:20 +0000 (01:56 +0200)]
Fix memory leaks in autodetect_file_type() and read_date()

10 years agoProvide alloc() and free() functions to simplify memory deallocation and
Michal Malý [Sun, 29 Jun 2014 23:52:32 +0000 (01:52 +0200)]
Provide alloc() and free() functions to simplify memory deallocation and
prevent usage of different allocators.

10 years agoFix memory leak in autodetect_file_type()
Michal Malý [Sun, 29 Jun 2014 23:20:43 +0000 (01:20 +0200)]
Fix memory leak in autodetect_file_type()

10 years agoRead method name
Michal Malý [Sun, 29 Jun 2014 23:04:25 +0000 (01:04 +0200)]
Read method name

10 years agoFix "unused variable" warning in print_debug() in release configuration
Michal Malý [Sun, 29 Jun 2014 21:30:27 +0000 (23:30 +0200)]
Fix "unused variable" warning in print_debug() in release configuration

10 years agoPrefix file type IDs with HPCS_
Michal Malý [Sun, 29 Jun 2014 21:28:01 +0000 (23:28 +0200)]
Prefix file type IDs with HPCS_

10 years agoAdd error_to_string() to Win32 DLL exports
Michal Malý [Sun, 29 Jun 2014 15:30:32 +0000 (17:30 +0200)]
Add error_to_string() to Win32 DLL exports

10 years agoAdjust the include file for C++ compilers
Michal Malý [Sun, 29 Jun 2014 15:28:06 +0000 (17:28 +0200)]
Adjust the include file for C++ compilers

10 years agoInitial commit
Michal Malý [Sun, 29 Jun 2014 11:46:05 +0000 (13:46 +0200)]
Initial commit