gedcom-parse.git
22 years agoMore thorough error checking on library calls.
Peter Verthez [Sun, 8 Sep 2002 19:12:17 +0000 (19:12 +0000)]
More thorough error checking on library calls.
Function to generate memory error.

22 years agoMoved gedcom_error etc to gedcom.h
Peter Verthez [Sun, 8 Sep 2002 19:10:56 +0000 (19:10 +0000)]
Moved gedcom_error etc to gedcom.h
Add function to generate memory error.

22 years agoProvide warning on data loss.
Peter Verthez [Sun, 8 Sep 2002 19:10:10 +0000 (19:10 +0000)]
Provide warning on data loss.

22 years agoMore thorough error checking on library calls.
Peter Verthez [Sun, 8 Sep 2002 19:09:27 +0000 (19:09 +0000)]
More thorough error checking on library calls.

22 years agoSome new things...
Peter Verthez [Sun, 1 Sep 2002 14:18:01 +0000 (14:18 +0000)]
Some new things...

22 years agoUse XREF_ANY when the type of an xref is not defined yet (e.g. in
Peter Verthez [Sun, 1 Sep 2002 14:11:57 +0000 (14:11 +0000)]
Use XREF_ANY when the type of an xref is not defined yet (e.g. in
associations).
Added function gedcom_get_by_xref.

22 years agoUse XREF_ANY when type is not known.
Peter Verthez [Sun, 1 Sep 2002 14:10:08 +0000 (14:10 +0000)]
Use XREF_ANY when type is not known.
Added function gedcom_get_by_xref.

22 years agoUse XREF_ANY for an association, instead of XREF_INDI.
Peter Verthez [Sun, 1 Sep 2002 14:09:12 +0000 (14:09 +0000)]
Use XREF_ANY for an association, instead of XREF_INDI.

22 years agoAdd a function to retrieve an xref by its key.
Peter Verthez [Sun, 1 Sep 2002 14:00:47 +0000 (14:00 +0000)]
Add a function to retrieve an xref by its key.
An xref's type is not always known -> XREF_ANY added.

22 years agoDocumentation for parsing age values.
Peter Verthez [Wed, 28 Aug 2002 16:24:11 +0000 (16:24 +0000)]
Documentation for parsing age values.

22 years agoTest for parsing age values.
Peter Verthez [Wed, 28 Aug 2002 16:23:03 +0000 (16:23 +0000)]
Test for parsing age values.

22 years agoParsing age values.
Peter Verthez [Wed, 28 Aug 2002 16:22:26 +0000 (16:22 +0000)]
Parsing age values.

22 years agoA little more checking (for duplicate registration).
Peter Verthez [Wed, 28 Aug 2002 16:21:32 +0000 (16:21 +0000)]
A little more checking (for duplicate registration).

22 years agoParsing of age values.
Peter Verthez [Wed, 28 Aug 2002 16:20:32 +0000 (16:20 +0000)]
Parsing of age values.

22 years agoNew files added: age.c, age.h
Peter Verthez [Wed, 28 Aug 2002 16:20:04 +0000 (16:20 +0000)]
New files added: age.c, age.h

22 years agoNew files for parsing age values.
Peter Verthez [Wed, 28 Aug 2002 16:19:32 +0000 (16:19 +0000)]
New files for parsing age values.

22 years agoSet compatibility variables to sane value at restart.
Peter Verthez [Mon, 26 Aug 2002 17:58:32 +0000 (17:58 +0000)]
Set compatibility variables to sane value at restart.

22 years agoCorrection in callback signature.
Peter Verthez [Sun, 25 Aug 2002 13:47:29 +0000 (13:47 +0000)]
Correction in callback signature.

22 years agoDescribe the interface change for the next release.
Peter Verthez [Sun, 25 Aug 2002 11:31:43 +0000 (11:31 +0000)]
Describe the interface change for the next release.

22 years agoDescribe extra argument in callback.
Peter Verthez [Sun, 25 Aug 2002 11:30:48 +0000 (11:30 +0000)]
Describe extra argument in callback.

22 years agoCleanup xref table at exit of program (not after check), or when new file
Peter Verthez [Sun, 25 Aug 2002 11:21:14 +0000 (11:21 +0000)]
Cleanup xref table at exit of program (not after check), or when new file
is parsed.

22 years agoAdded extra argument to callback functions: the record/element identifier.
Peter Verthez [Sun, 25 Aug 2002 11:19:23 +0000 (11:19 +0000)]
Added extra argument to callback functions: the record/element identifier.
Avoid overlap between record/element identifiers.

22 years agoAdded extra argument to callback functions: the record/element identifier.
Peter Verthez [Sun, 25 Aug 2002 11:17:34 +0000 (11:17 +0000)]
Added extra argument to callback functions: the record/element identifier.

22 years agoSimplify handling of default charset.
Peter Verthez [Sun, 25 Aug 2002 11:16:53 +0000 (11:16 +0000)]
Simplify handling of default charset.

22 years agoLittle spelling fix.
Peter Verthez [Fri, 23 Aug 2002 16:39:32 +0000 (16:39 +0000)]
Little spelling fix.

22 years agoJust added a comment.
Peter Verthez [Fri, 16 Aug 2002 20:19:36 +0000 (20:19 +0000)]
Just added a comment.

22 years agoSmall comments.
Peter Verthez [Fri, 16 Aug 2002 18:45:13 +0000 (18:45 +0000)]
Small comments.

22 years agocompat.c also contains translatable strings now.
Peter Verthez [Fri, 16 Aug 2002 18:42:43 +0000 (18:42 +0000)]
compat.c also contains translatable strings now.

22 years agoMove all compatibility handling functions to compat.c; let the default
Peter Verthez [Fri, 16 Aug 2002 18:41:23 +0000 (18:41 +0000)]
Move all compatibility handling functions to compat.c; let the default
charset depend on the program.

22 years agoCheck also for core file.
Peter Verthez [Fri, 16 Aug 2002 18:39:23 +0000 (18:39 +0000)]
Check also for core file.

22 years agoRelease 0.16
Peter Verthez [Fri, 16 Aug 2002 16:49:55 +0000 (16:49 +0000)]
Release 0.16

22 years agoCompatibility with Lifelines added.
Peter Verthez [Fri, 16 Aug 2002 16:49:21 +0000 (16:49 +0000)]
Compatibility with Lifelines added.

22 years agoRelease 0.16.
Peter Verthez [Fri, 16 Aug 2002 16:48:37 +0000 (16:48 +0000)]
Release 0.16.

22 years agoMake release 0.16.
Peter Verthez [Fri, 16 Aug 2002 16:47:03 +0000 (16:47 +0000)]
Make release 0.16.

22 years agoMention compatibility for ftree and Lifelines.
Peter Verthez [Fri, 16 Aug 2002 16:46:45 +0000 (16:46 +0000)]
Mention compatibility for ftree and Lifelines.

22 years agoCorrection on new rule.
Peter Verthez [Fri, 16 Aug 2002 16:40:33 +0000 (16:40 +0000)]
Correction on new rule.

22 years agoLittle fix.
Peter Verthez [Fri, 16 Aug 2002 16:32:16 +0000 (16:32 +0000)]
Little fix.

22 years agoNew tests.
Peter Verthez [Fri, 16 Aug 2002 16:29:55 +0000 (16:29 +0000)]
New tests.

22 years agoRemove conversion warning.
Peter Verthez [Fri, 16 Aug 2002 16:28:31 +0000 (16:28 +0000)]
Remove conversion warning.

22 years agoEnhancements to use script outside make check.
Peter Verthez [Fri, 16 Aug 2002 16:27:36 +0000 (16:27 +0000)]
Enhancements to use script outside make check.

22 years agoNew test file.
Peter Verthez [Fri, 16 Aug 2002 16:26:19 +0000 (16:26 +0000)]
New test file.

22 years agoParse bogus file only if enabled via option.
Peter Verthez [Fri, 16 Aug 2002 16:25:04 +0000 (16:25 +0000)]
Parse bogus file only if enabled via option.

22 years agoAdded rule to be able to perform single tests.
Peter Verthez [Fri, 16 Aug 2002 16:24:03 +0000 (16:24 +0000)]
Added rule to be able to perform single tests.

22 years agoAvoid unnecessary recompilation.
Peter Verthez [Fri, 16 Aug 2002 16:22:43 +0000 (16:22 +0000)]
Avoid unnecessary recompilation.
Add compatibility with Lifelines.
Handle illegal characters for encoding (to avoid crashes).

22 years agoHandle illegal characters in to_internal (to avoid crashes).
Peter Verthez [Fri, 16 Aug 2002 16:21:09 +0000 (16:21 +0000)]
Handle illegal characters in to_internal (to avoid crashes).

22 years agoAllow empty date as string (needed for compatibility with Lifelines).
Peter Verthez [Fri, 16 Aug 2002 16:20:19 +0000 (16:20 +0000)]
Allow empty date as string (needed for compatibility with Lifelines).

22 years agoAvoid unnecessary recompilation (use the new header).
Peter Verthez [Fri, 16 Aug 2002 16:18:55 +0000 (16:18 +0000)]
Avoid unnecessary recompilation (use the new header).
Better error messages.

22 years agoAdd compatibility for Lifelines.
Peter Verthez [Fri, 16 Aug 2002 16:12:38 +0000 (16:12 +0000)]
Add compatibility for Lifelines.

22 years agoAvoid unnecessary recompilation of lex files.
Peter Verthez [Fri, 16 Aug 2002 16:08:28 +0000 (16:08 +0000)]
Avoid unnecessary recompilation of lex files.

22 years agoAdded rule that can be used to avoid unnecessary recompilation of
Peter Verthez [Fri, 16 Aug 2002 16:07:07 +0000 (16:07 +0000)]
Added rule that can be used to avoid unnecessary recompilation of
lex files.

22 years agoTest on minimal GEDCOM files.
Peter Verthez [Mon, 8 Apr 2002 16:47:11 +0000 (16:47 +0000)]
Test on minimal GEDCOM files.

22 years agoAdded gedcom_init() to external interface.
Peter Verthez [Wed, 27 Mar 2002 20:27:27 +0000 (20:27 +0000)]
Added gedcom_init() to external interface.

22 years agoUpdated.
Peter Verthez [Wed, 27 Mar 2002 20:18:44 +0000 (20:18 +0000)]
Updated.

22 years agoRelease 0.15
Peter Verthez [Wed, 27 Mar 2002 20:14:26 +0000 (20:14 +0000)]
Release 0.15

22 years agoUpdated.
Peter Verthez [Wed, 27 Mar 2002 20:08:34 +0000 (20:08 +0000)]
Updated.

22 years agoCall gedcom_init() as soon as possible.
Peter Verthez [Wed, 27 Mar 2002 20:07:28 +0000 (20:07 +0000)]
Call gedcom_init() as soon as possible.

22 years agoMake the use of gedcom_init mandatory.
Peter Verthez [Wed, 27 Mar 2002 20:06:46 +0000 (20:06 +0000)]
Make the use of gedcom_init mandatory.

22 years agoGraceful error handling on bogus input.
Peter Verthez [Sun, 17 Mar 2002 14:38:29 +0000 (14:38 +0000)]
Graceful error handling on bogus input.

22 years agoDocumentation updates (gedcom_init() function, move of utf8 example code
Peter Verthez [Sun, 17 Mar 2002 13:46:09 +0000 (13:46 +0000)]
Documentation updates (gedcom_init() function, move of utf8 example code
to t subdirectory).

22 years agoMove of test programs to t subdirectory.
Peter Verthez [Sun, 17 Mar 2002 13:45:21 +0000 (13:45 +0000)]
Move of test programs to t subdirectory.

22 years agoTests for the GCONV_PATH environment variable.
Peter Verthez [Sun, 17 Mar 2002 13:43:52 +0000 (13:43 +0000)]
Tests for the GCONV_PATH environment variable.

22 years agoMoved test program to t subdirectory.
Peter Verthez [Sun, 17 Mar 2002 13:30:43 +0000 (13:30 +0000)]
Moved test program to t subdirectory.

22 years agoAdd call to gedcom_init().
Peter Verthez [Sun, 17 Mar 2002 13:17:12 +0000 (13:17 +0000)]
Add call to gedcom_init().

22 years agoAdd interface function gedcom_init(), to avoid problem with GCONV_PATH
Peter Verthez [Sun, 17 Mar 2002 13:04:19 +0000 (13:04 +0000)]
Add interface function gedcom_init(), to avoid problem with GCONV_PATH
modification (see note in encoding.c).

22 years agoFix for ftree compatibility
Peter Verthez [Thu, 24 Jan 2002 17:22:27 +0000 (17:22 +0000)]
Fix for ftree compatibility

22 years agoSome enhancements in the ftree compatibility.
Peter Verthez [Tue, 22 Jan 2002 20:20:21 +0000 (20:20 +0000)]
Some enhancements in the ftree compatibility.

22 years agoGet rid of compiler warning from lex generated code.
Peter Verthez [Tue, 22 Jan 2002 20:16:16 +0000 (20:16 +0000)]
Get rid of compiler warning from lex generated code.

22 years agoCompatibility handling for ftree.
Peter Verthez [Tue, 22 Jan 2002 18:55:05 +0000 (18:55 +0000)]
Compatibility handling for ftree.

22 years agoAlso put Makefile.inc in dist.
Peter Verthez [Sun, 20 Jan 2002 14:58:29 +0000 (14:58 +0000)]
Also put Makefile.inc in dist.

22 years agoRelease 0.14.
Peter Verthez [Sun, 20 Jan 2002 13:54:11 +0000 (13:54 +0000)]
Release 0.14.

22 years agoUpdated.
Peter Verthez [Sun, 20 Jan 2002 13:51:22 +0000 (13:51 +0000)]
Updated.

22 years agoCorrection in configure.in support.
Peter Verthez [Sun, 20 Jan 2002 13:51:09 +0000 (13:51 +0000)]
Correction in configure.in support.

22 years agoUpdated.
Peter Verthez [Sun, 20 Jan 2002 13:46:11 +0000 (13:46 +0000)]
Updated.

22 years agoGeneral update of docs.
Peter Verthez [Sun, 20 Jan 2002 13:32:26 +0000 (13:32 +0000)]
General update of docs.

22 years agoInitialize conv_fails variable (for case of null strings).
Peter Verthez [Sun, 20 Jan 2002 13:29:32 +0000 (13:29 +0000)]
Initialize conv_fails variable (for case of null strings).

22 years agoRestructuring of test setup.
Peter Verthez [Sun, 20 Jan 2002 13:27:12 +0000 (13:27 +0000)]
Restructuring of test setup.

22 years agoAvoid output to stdout on 'make check'.
Peter Verthez [Sat, 19 Jan 2002 16:53:07 +0000 (16:53 +0000)]
Avoid output to stdout on 'make check'.

22 years agoDescribe how to check library version in configure.in.
Peter Verthez [Sat, 19 Jan 2002 16:08:10 +0000 (16:08 +0000)]
Describe how to check library version in configure.in.

22 years agoProvide a version number in the installed header gedcom.h.
Peter Verthez [Sat, 19 Jan 2002 15:50:09 +0000 (15:50 +0000)]
Provide a version number in the installed header gedcom.h.

22 years agoAdded parameter to conversion from UTF-8 to locale, to return the number
Peter Verthez [Sat, 19 Jan 2002 13:29:02 +0000 (13:29 +0000)]
Added parameter to conversion from UTF-8 to locale, to return the number
of conversion failures.

22 years agoLog of recent changes.
Peter Verthez [Wed, 16 Jan 2002 17:56:30 +0000 (17:56 +0000)]
Log of recent changes.

22 years agoMake sure that the 'string' member of an xref always contains a valid string.
Peter Verthez [Wed, 16 Jan 2002 17:55:49 +0000 (17:55 +0000)]
Make sure that the 'string' member of an xref always contains a valid string.

22 years agotag is struct instead of simple string.
Peter Verthez [Wed, 16 Jan 2002 17:50:29 +0000 (17:50 +0000)]
tag is struct instead of simple string.

22 years agosetlocale returns a string in static storage, so must use strdup
Peter Verthez [Wed, 16 Jan 2002 17:47:53 +0000 (17:47 +0000)]
setlocale returns a string in static storage, so must use strdup
(and free it afterwards)

22 years agoSeparate the modification of GCONV_PATH from the rest of the initialization,
Peter Verthez [Tue, 15 Jan 2002 20:08:10 +0000 (20:08 +0000)]
Separate the modification of GCONV_PATH from the rest of the initialization,
and let it be called before main (necessary because iconv_open will only look
at GCONV_PATH once, and e.g. GTK calls iconv_open very early).

22 years agoSave the old locale (in case the application had set it).
Peter Verthez [Tue, 15 Jan 2002 17:46:55 +0000 (17:46 +0000)]
Save the old locale (in case the application had set it).

22 years agoDon't allow the parser to continue if the conversion context couldn't be
Peter Verthez [Tue, 15 Jan 2002 17:45:42 +0000 (17:45 +0000)]
Don't allow the parser to continue if the conversion context couldn't be
opened.

22 years agoMake the header fit for inclusion in a C++ program.
Peter Verthez [Sun, 13 Jan 2002 12:36:46 +0000 (12:36 +0000)]
Make the header fit for inclusion in a C++ program.

22 years agoCharacter encoding (UTF-8 to locale) example and use in standalone.c.
Peter Verthez [Sun, 13 Jan 2002 12:22:35 +0000 (12:22 +0000)]
Character encoding (UTF-8 to locale) example and use in standalone.c.

22 years agoExplanation about character encoding.
Peter Verthez [Sun, 13 Jan 2002 12:22:04 +0000 (12:22 +0000)]
Explanation about character encoding.

22 years agoAt lot more explanation about encodings.
Peter Verthez [Sun, 13 Jan 2002 12:20:00 +0000 (12:20 +0000)]
At lot more explanation about encodings.

22 years agoCorrections...
Peter Verthez [Sat, 12 Jan 2002 17:44:21 +0000 (17:44 +0000)]
Corrections...

22 years agoAdded links for GEDCOM and Unicode.
Peter Verthez [Sat, 12 Jan 2002 17:40:51 +0000 (17:40 +0000)]
Added links for GEDCOM and Unicode.

22 years agoAdd extra image files.
Peter Verthez [Sat, 12 Jan 2002 16:03:09 +0000 (16:03 +0000)]
Add extra image files.

22 years agoFurther explanation of Unicode.
Peter Verthez [Sat, 12 Jan 2002 16:02:12 +0000 (16:02 +0000)]
Further explanation of Unicode.

22 years agoMoved encoding introduction to separate html page.
Peter Verthez [Sat, 12 Jan 2002 13:13:14 +0000 (13:13 +0000)]
Moved encoding introduction to separate html page.

22 years agoSome corrections.
Peter Verthez [Sat, 12 Jan 2002 11:56:53 +0000 (11:56 +0000)]
Some corrections.

22 years agoSmall fix in link.
Peter Verthez [Thu, 10 Jan 2002 19:51:42 +0000 (19:51 +0000)]
Small fix in link.

22 years agoSome more documentation regarding development.
Peter Verthez [Thu, 10 Jan 2002 19:47:26 +0000 (19:47 +0000)]
Some more documentation regarding development.
Put the CVS tags in a smaller font.

22 years agoSome Makefile enhancements for documentation.
Peter Verthez [Thu, 10 Jan 2002 18:45:36 +0000 (18:45 +0000)]
Some Makefile enhancements for documentation.