gedcom-parse.git
21 years agoHandle tab character generated by PAF 5.
Peter Verthez [Mon, 27 Jan 2003 20:13:55 +0000 (20:13 +0000)]
Handle tab character generated by PAF 5.

21 years agoCompatibility with EasyTree and Family Origins.
Peter Verthez [Mon, 27 Jan 2003 19:31:52 +0000 (19:31 +0000)]
Compatibility with EasyTree and Family Origins.

21 years agoAdded charset IBM_WINDOWS (used by Windows programs...)
Peter Verthez [Mon, 27 Jan 2003 19:30:55 +0000 (19:30 +0000)]
Added charset IBM_WINDOWS (used by Windows programs...)

21 years agoCompatibility tests for EasyTree and Family Origins.
Peter Verthez [Mon, 27 Jan 2003 19:29:36 +0000 (19:29 +0000)]
Compatibility tests for EasyTree and Family Origins.

21 years agoDon't break for CONC on a space boundary.
Peter Verthez [Mon, 27 Jan 2003 17:54:57 +0000 (17:54 +0000)]
Don't break for CONC on a space boundary.

21 years agoConvert spaces to underscores in GEDCOM name for encoding (to search
Peter Verthez [Sun, 26 Jan 2003 20:18:58 +0000 (20:18 +0000)]
Convert spaces to underscores in GEDCOM name for encoding (to search
in configuration file).

21 years agoAlso write empty CONT lines.
Peter Verthez [Sun, 26 Jan 2003 19:53:10 +0000 (19:53 +0000)]
Also write empty CONT lines.

21 years agoOnly try to delete address if present.
Peter Verthez [Sun, 26 Jan 2003 18:37:24 +0000 (18:37 +0000)]
Only try to delete address if present.

21 years agoAdded compatibility for Family Origins.
Peter Verthez [Sun, 26 Jan 2003 18:32:56 +0000 (18:32 +0000)]
Added compatibility for Family Origins.

21 years agoUse preprocessor symbol VALUE_IF_MISSING.
Peter Verthez [Sun, 26 Jan 2003 18:08:58 +0000 (18:08 +0000)]
Use preprocessor symbol VALUE_IF_MISSING.

21 years agoUse preprocessor symbol VALUE_IF_MISSING.
Peter Verthez [Sun, 26 Jan 2003 18:08:20 +0000 (18:08 +0000)]
Use preprocessor symbol VALUE_IF_MISSING.
Allow empty CONT tags.

21 years agoProtection of value in macro.
Peter Verthez [Sun, 26 Jan 2003 18:06:59 +0000 (18:06 +0000)]
Protection of value in macro.

21 years agoAllow empty CONT tags.
Peter Verthez [Sun, 26 Jan 2003 18:06:44 +0000 (18:06 +0000)]
Allow empty CONT tags.

21 years agoAdd quotes around print.
Peter Verthez [Sun, 26 Jan 2003 17:14:10 +0000 (17:14 +0000)]
Add quotes around print.

21 years agoFixed memory leak.
Peter Verthez [Sun, 26 Jan 2003 16:48:28 +0000 (16:48 +0000)]
Fixed memory leak.

21 years agoAdded functions to add, remove and move substructs.
Peter Verthez [Sun, 26 Jan 2003 16:33:45 +0000 (16:33 +0000)]
Added functions to add, remove and move substructs.

21 years agoUpdates.
Peter Verthez [Sun, 26 Jan 2003 09:41:45 +0000 (09:41 +0000)]
Updates.

21 years agoFix for const correctness.
Peter Verthez [Sun, 26 Jan 2003 09:41:04 +0000 (09:41 +0000)]
Fix for const correctness.

21 years agoSome checking of input.
Peter Verthez [Sun, 26 Jan 2003 09:40:31 +0000 (09:40 +0000)]
Some checking of input.

21 years agoSome const correctness fixes.
Peter Verthez [Sun, 26 Jan 2003 09:18:35 +0000 (09:18 +0000)]
Some const correctness fixes.

21 years agoPut invalid date in phrase member.
Peter Verthez [Sun, 26 Jan 2003 08:52:58 +0000 (08:52 +0000)]
Put invalid date in phrase member.

21 years agoPut invalid date (e.g. 29 FEB 1739) in phrase member.
Peter Verthez [Sun, 26 Jan 2003 08:52:22 +0000 (08:52 +0000)]
Put invalid date (e.g. 29 FEB 1739) in phrase member.

21 years agoGOM tests for PAF compatibility.
Peter Verthez [Sat, 25 Jan 2003 20:28:49 +0000 (20:28 +0000)]
GOM tests for PAF compatibility.

21 years agoBetter handling of empty date values.
Peter Verthez [Sat, 25 Jan 2003 20:20:51 +0000 (20:20 +0000)]
Better handling of empty date values.

21 years agoChange mandatory but empty values to "-".
Peter Verthez [Sat, 25 Jan 2003 20:20:14 +0000 (20:20 +0000)]
Change mandatory but empty values to "-".

21 years agoMake sure compatibility_program is initialized to 0.
Peter Verthez [Sat, 25 Jan 2003 20:19:02 +0000 (20:19 +0000)]
Make sure compatibility_program is initialized to 0.

21 years agoMore compatibility testing.
Peter Verthez [Sat, 25 Jan 2003 20:01:03 +0000 (20:01 +0000)]
More compatibility testing.

21 years agoMake sure that a note record tag with an empty value is removed.
Peter Verthez [Sat, 25 Jan 2003 19:22:00 +0000 (19:22 +0000)]
Make sure that a note record tag with an empty value is removed.

21 years agoCorrect sub_note_end callback: parsed value can be NULL.
Peter Verthez [Sat, 25 Jan 2003 18:48:57 +0000 (18:48 +0000)]
Correct sub_note_end callback: parsed value can be NULL.

21 years agoBugfix in compatibility for address.
Peter Verthez [Sat, 25 Jan 2003 18:43:38 +0000 (18:43 +0000)]
Bugfix in compatibility for address.

21 years agoGenerate the correct cast error message.
Peter Verthez [Sat, 25 Jan 2003 18:37:18 +0000 (18:37 +0000)]
Generate the correct cast error message.

21 years agoAdded small note.
Peter Verthez [Sat, 25 Jan 2003 18:36:53 +0000 (18:36 +0000)]
Added small note.

21 years agoSome extra messages in the output.
Peter Verthez [Sat, 25 Jan 2003 18:07:23 +0000 (18:07 +0000)]
Some extra messages in the output.

21 years agoRe-parse file after write.
Peter Verthez [Sat, 25 Jan 2003 17:58:26 +0000 (17:58 +0000)]
Re-parse file after write.

21 years agoSecond call of gom_parse_file or gom_new_model should clean up model.
Peter Verthez [Sat, 25 Jan 2003 17:57:32 +0000 (17:57 +0000)]
Second call of gom_parse_file or gom_new_model should clean up model.

21 years agoAllow setting strings to NULL (to remove tag).
Peter Verthez [Sat, 25 Jan 2003 17:39:18 +0000 (17:39 +0000)]
Allow setting strings to NULL (to remove tag).

21 years agoPut GEDCOM_PARSE as source program (unless disabled).
Peter Verthez [Sat, 25 Jan 2003 17:38:44 +0000 (17:38 +0000)]
Put GEDCOM_PARSE as source program (unless disabled).

21 years agoMoved encoding state to separate source file.
Peter Verthez [Sat, 25 Jan 2003 16:08:58 +0000 (16:08 +0000)]
Moved encoding state to separate source file.

21 years agoWrite encoding is by default the read encoding.
Peter Verthez [Sat, 25 Jan 2003 15:47:35 +0000 (15:47 +0000)]
Write encoding is by default the read encoding.
Extra argument for setting encoding.

21 years agoExtra argument for setting encoding.
Peter Verthez [Sat, 25 Jan 2003 15:46:35 +0000 (15:46 +0000)]
Extra argument for setting encoding.

21 years agoCorrection in containment of tags.
Peter Verthez [Sat, 25 Jan 2003 15:39:34 +0000 (15:39 +0000)]
Correction in containment of tags.

21 years agoSome const correctness.
Peter Verthez [Sat, 25 Jan 2003 14:16:21 +0000 (14:16 +0000)]
Some const correctness.

21 years agoDebug print messages should not be terminated with newlines.
Peter Verthez [Sat, 25 Jan 2003 14:15:08 +0000 (14:15 +0000)]
Debug print messages should not be terminated with newlines.

21 years agoPass encoding terminator to encoding state.
Peter Verthez [Sat, 25 Jan 2003 14:14:27 +0000 (14:14 +0000)]
Pass encoding terminator to encoding state.

21 years agoDebug print statements should not be internationalized.
Peter Verthez [Sat, 25 Jan 2003 14:14:02 +0000 (14:14 +0000)]
Debug print statements should not be internationalized.

21 years agoImplemented an encoding state.
Peter Verthez [Sat, 25 Jan 2003 14:13:22 +0000 (14:13 +0000)]
Implemented an encoding state.

21 years agoAdded some missing code for LSS.
Peter Verthez [Fri, 24 Jan 2003 20:16:10 +0000 (20:16 +0000)]
Added some missing code for LSS.

21 years agoAdded program to convert a GEDCOM file to standard GEDCOM.
Peter Verthez [Fri, 24 Jan 2003 06:48:32 +0000 (06:48 +0000)]
Added program to convert a GEDCOM file to standard GEDCOM.

21 years agoRemove debug print statement.
Peter Verthez [Thu, 23 Jan 2003 21:35:04 +0000 (21:35 +0000)]
Remove debug print statement.

21 years agoFixed a nasty corruption bug.
Peter Verthez [Thu, 23 Jan 2003 21:33:58 +0000 (21:33 +0000)]
Fixed a nasty corruption bug.

21 years agoCleanup of error handling on dates.
Peter Verthez [Wed, 22 Jan 2003 20:26:29 +0000 (20:26 +0000)]
Cleanup of error handling on dates.

21 years agoTest for compatibility with PAF2.
Peter Verthez [Wed, 22 Jan 2003 20:25:37 +0000 (20:25 +0000)]
Test for compatibility with PAF2.

21 years agoCleaned up error handling on dates.
Peter Verthez [Wed, 22 Jan 2003 20:19:18 +0000 (20:19 +0000)]
Cleaned up error handling on dates.

21 years agoPass date values via pointers instead of on stack.
Peter Verthez [Sat, 18 Jan 2003 17:02:47 +0000 (17:02 +0000)]
Pass date values via pointers instead of on stack.
Compatibility for double years.

21 years agoPass date values via pointers instead of on stack.
Peter Verthez [Sat, 18 Jan 2003 17:01:10 +0000 (17:01 +0000)]
Pass date values via pointers instead of on stack.

21 years agoRemoved test print statement.
Peter Verthez [Thu, 16 Jan 2003 20:04:18 +0000 (20:04 +0000)]
Removed test print statement.

21 years agoAvoid memory corruption with a large number of families.
Peter Verthez [Thu, 16 Jan 2003 20:02:49 +0000 (20:02 +0000)]
Avoid memory corruption with a large number of families.

21 years agoRenamed PAF to PAF5.
Peter Verthez [Wed, 15 Jan 2003 20:07:45 +0000 (20:07 +0000)]
Renamed PAF to PAF5.

21 years agoStart with compatibility for PAF 2.
Peter Verthez [Wed, 15 Jan 2003 20:06:19 +0000 (20:06 +0000)]
Start with compatibility for PAF 2.

21 years agoReworked compatibility computation to take program version into account.
Peter Verthez [Tue, 14 Jan 2003 20:16:21 +0000 (20:16 +0000)]
Reworked compatibility computation to take program version into account.

21 years agoReworked compatibility computation.
Peter Verthez [Tue, 14 Jan 2003 20:15:00 +0000 (20:15 +0000)]
Reworked compatibility computation.

21 years agoFunctions for moving an xref in a list.
Peter Verthez [Sun, 12 Jan 2003 20:01:35 +0000 (20:01 +0000)]
Functions for moving an xref in a list.

21 years agoFunction for moving an xref in a list.
Peter Verthez [Sun, 12 Jan 2003 20:00:49 +0000 (20:00 +0000)]
Function for moving an xref in a list.

21 years agoTests for moving xrefs in a list.
Peter Verthez [Sun, 12 Jan 2003 20:00:08 +0000 (20:00 +0000)]
Tests for moving xrefs in a list.

21 years agoRenamed 'add' record functions to 'new'.
Peter Verthez [Sun, 12 Jan 2003 16:34:34 +0000 (16:34 +0000)]
Renamed 'add' record functions to 'new'.

21 years agoRename 'add' functions to 'new'.
Peter Verthez [Sun, 12 Jan 2003 16:33:48 +0000 (16:33 +0000)]
Rename 'add' functions to 'new'.

21 years agoUnlink xrefs properly when struct is deleted.
Peter Verthez [Sun, 12 Jan 2003 16:18:03 +0000 (16:18 +0000)]
Unlink xrefs properly when struct is deleted.

21 years agoOption to print current setting.
Peter Verthez [Sun, 12 Jan 2003 16:17:09 +0000 (16:17 +0000)]
Option to print current setting.

21 years agoOutput with proper xref cleaning.
Peter Verthez [Sun, 12 Jan 2003 16:16:40 +0000 (16:16 +0000)]
Output with proper xref cleaning.

21 years agoProgram result should be lower than 256.
Peter Verthez [Sun, 12 Jan 2003 08:48:53 +0000 (08:48 +0000)]
Program result should be lower than 256.

21 years agoUse general script set_testenv instead of test_valgrind, test_ddd, ...
Peter Verthez [Sun, 12 Jan 2003 08:31:39 +0000 (08:31 +0000)]
Use general script set_testenv instead of test_valgrind, test_ddd, ...

21 years agoReworked xref functions.
Peter Verthez [Sat, 11 Jan 2003 18:44:09 +0000 (18:44 +0000)]
Reworked xref functions.

21 years agoReworked the xref functions.
Peter Verthez [Sat, 11 Jan 2003 18:42:53 +0000 (18:42 +0000)]
Reworked the xref functions.

21 years agoShow value that is too long.
Peter Verthez [Sat, 11 Jan 2003 18:41:43 +0000 (18:41 +0000)]
Show value that is too long.

21 years agoTest of xref functions.
Peter Verthez [Sat, 11 Jan 2003 18:40:34 +0000 (18:40 +0000)]
Test of xref functions.

21 years agoChanges to ease working with ddd.
Peter Verthez [Sat, 11 Jan 2003 18:40:13 +0000 (18:40 +0000)]
Changes to ease working with ddd.

21 years agoTests for xref functions.
Peter Verthez [Sat, 11 Jan 2003 18:39:24 +0000 (18:39 +0000)]
Tests for xref functions.

21 years agoCorrect bug in check_token: line length should be reset to 0.
Peter Verthez [Sat, 11 Jan 2003 17:23:22 +0000 (17:23 +0000)]
Correct bug in check_token: line length should be reset to 0.

21 years agoTest of xref link functions.
Peter Verthez [Sun, 5 Jan 2003 17:48:06 +0000 (17:48 +0000)]
Test of xref link functions.

21 years agoDefinition of MAKELINKFUNC.
Peter Verthez [Sun, 5 Jan 2003 17:47:03 +0000 (17:47 +0000)]
Definition of MAKELINKFUNC.

21 years agoNew function gom_set_xref_value.
Peter Verthez [Sun, 5 Jan 2003 17:46:44 +0000 (17:46 +0000)]
New function gom_set_xref_value.

21 years agoDefinition of SUB_MAKEFUNC.
Peter Verthez [Sun, 5 Jan 2003 17:46:09 +0000 (17:46 +0000)]
Definition of SUB_MAKEFUNC.

21 years agoDefinition of SUB_MAKEFUNC, SUB_ADDFUNC and SUB_DELETEFUNC.
Peter Verthez [Sun, 5 Jan 2003 17:43:16 +0000 (17:43 +0000)]
Definition of SUB_MAKEFUNC, SUB_ADDFUNC and SUB_DELETEFUNC.

21 years agoDeclare SUB_MAKEFUNC.
Peter Verthez [Sun, 5 Jan 2003 17:42:03 +0000 (17:42 +0000)]
Declare SUB_MAKEFUNC.

21 years agoSome new function templates.
Peter Verthez [Sun, 5 Jan 2003 17:41:44 +0000 (17:41 +0000)]
Some new function templates.

21 years agoNew interface functions.
Peter Verthez [Sun, 5 Jan 2003 17:40:58 +0000 (17:40 +0000)]
New interface functions.

21 years agoAlso use $GEDCOM_TESTENV here.
Peter Verthez [Sun, 5 Jan 2003 15:04:27 +0000 (15:04 +0000)]
Also use $GEDCOM_TESTENV here.

21 years agoSmall fixes.
Peter Verthez [Sun, 5 Jan 2003 15:04:01 +0000 (15:04 +0000)]
Small fixes.

21 years agoAdded file bin/gedcom-check.c
Peter Verthez [Sun, 5 Jan 2003 15:03:39 +0000 (15:03 +0000)]
Added file bin/gedcom-check.c

21 years agoAlso allow debugging.
Peter Verthez [Sun, 5 Jan 2003 13:15:35 +0000 (13:15 +0000)]
Also allow debugging.

21 years agoLittle fix, closing an else
Peter Verthez [Sat, 4 Jan 2003 20:01:52 +0000 (20:01 +0000)]
Little fix, closing an else

21 years agoUpdates.
Peter Verthez [Sat, 4 Jan 2003 18:47:31 +0000 (18:47 +0000)]
Updates.

21 years agoCompatibility with Personal Ancestral File.
Peter Verthez [Sat, 4 Jan 2003 18:46:54 +0000 (18:46 +0000)]
Compatibility with Personal Ancestral File.

21 years agoSome extra warnings.
Peter Verthez [Sat, 4 Jan 2003 18:45:03 +0000 (18:45 +0000)]
Some extra warnings.

21 years agoCompatibility test for Personal Ancestral File.
Peter Verthez [Sat, 4 Jan 2003 18:44:44 +0000 (18:44 +0000)]
Compatibility test for Personal Ancestral File.

21 years agoRecognize the UTF-8 byte order mark.
Peter Verthez [Sat, 4 Jan 2003 15:50:18 +0000 (15:50 +0000)]
Recognize the UTF-8 byte order mark.

21 years agoTest update of timestamps in records.
Peter Verthez [Sat, 4 Jan 2003 15:25:15 +0000 (15:25 +0000)]
Test update of timestamps in records.

21 years agoTest timestamps in records.
Peter Verthez [Sat, 4 Jan 2003 15:23:31 +0000 (15:23 +0000)]
Test timestamps in records.

21 years agoMoved update_date and update_time to change_date.c
Peter Verthez [Sat, 4 Jan 2003 15:22:39 +0000 (15:22 +0000)]
Moved update_date and update_time to change_date.c

21 years agoAdded functions to update timestamps in records.
Peter Verthez [Sat, 4 Jan 2003 15:22:13 +0000 (15:22 +0000)]
Added functions to update timestamps in records.