gedcom-parse.git
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.

21 years agoBetter separation of compatibility handling.
Peter Verthez [Sat, 4 Jan 2003 14:48:32 +0000 (14:48 +0000)]
Better separation of compatibility handling.

21 years agoAdded tests for compatibility with ftree and lifelines.
Peter Verthez [Sat, 4 Jan 2003 14:47:28 +0000 (14:47 +0000)]
Added tests for compatibility with ftree and lifelines.

21 years agoAdded shell script to test program before installation.
Peter Verthez [Sat, 4 Jan 2003 14:45:44 +0000 (14:45 +0000)]
Added shell script to test program before installation.

21 years agoNew subdirectory bin.
Peter Verthez [Fri, 3 Jan 2003 19:57:48 +0000 (19:57 +0000)]
New subdirectory bin.

21 years agoProgram to check gedcom files.
Peter Verthez [Fri, 3 Jan 2003 19:56:50 +0000 (19:56 +0000)]
Program to check gedcom files.

21 years agoAnother note.
Peter Verthez [Fri, 3 Jan 2003 19:53:08 +0000 (19:53 +0000)]
Another note.

21 years agoAdded note about UTF-8.
Peter Verthez [Fri, 3 Jan 2003 19:52:37 +0000 (19:52 +0000)]
Added note about UTF-8.

21 years agoSupport UTF-8 encoding in gedcom files.
Peter Verthez [Fri, 3 Jan 2003 19:09:04 +0000 (19:09 +0000)]
Support UTF-8 encoding in gedcom files.

21 years agoCorrect reference file.
Peter Verthez [Fri, 3 Jan 2003 19:07:07 +0000 (19:07 +0000)]
Correct reference file.

21 years agoFunctions for adding and removing records.
Peter Verthez [Fri, 3 Jan 2003 19:05:54 +0000 (19:05 +0000)]
Functions for adding and removing records.

21 years agoTests for add/remove record functions.
Peter Verthez [Fri, 3 Jan 2003 19:05:30 +0000 (19:05 +0000)]
Tests for add/remove record functions.

21 years agoTests for add/delete record functions.
Peter Verthez [Fri, 3 Jan 2003 19:04:51 +0000 (19:04 +0000)]
Tests for add/delete record functions.

21 years agoAdded functions to add and remove records.
Peter Verthez [Fri, 3 Jan 2003 18:47:31 +0000 (18:47 +0000)]
Added functions to add and remove records.
Factor out more common code (to func_template.h).

21 years agoMake sure file doesn't change at release...
Peter Verthez [Mon, 30 Dec 2002 21:14:32 +0000 (21:14 +0000)]
Make sure file doesn't change at release...

21 years agoFinishing up for release.
Peter Verthez [Mon, 30 Dec 2002 14:02:29 +0000 (14:02 +0000)]
Finishing up for release.

21 years agoTranslated all new strings.
Peter Verthez [Mon, 30 Dec 2002 11:00:25 +0000 (11:00 +0000)]
Translated all new strings.

21 years agoAdded missing space in string.
Peter Verthez [Mon, 30 Dec 2002 10:51:36 +0000 (10:51 +0000)]
Added missing space in string.

21 years agoAdded missing space.
Peter Verthez [Mon, 30 Dec 2002 10:51:03 +0000 (10:51 +0000)]
Added missing space.

21 years agoCorrected an error in a string (superfluous newline)
Peter Verthez [Mon, 30 Dec 2002 10:46:19 +0000 (10:46 +0000)]
Corrected an error in a string (superfluous newline)

21 years agoRemoved superfluous newline.
Peter Verthez [Mon, 30 Dec 2002 10:45:08 +0000 (10:45 +0000)]
Removed superfluous newline.

21 years agoUpdate of i18n.
Peter Verthez [Mon, 30 Dec 2002 10:35:39 +0000 (10:35 +0000)]
Update of i18n.

21 years agoUpdates.
Peter Verthez [Mon, 30 Dec 2002 10:26:27 +0000 (10:26 +0000)]
Updates.

21 years agoWarning if mismatch on character set.
Peter Verthez [Mon, 30 Dec 2002 10:25:14 +0000 (10:25 +0000)]
Warning if mismatch on character set.

21 years agoGive warning if mismatch on character set (and force value).
Peter Verthez [Mon, 30 Dec 2002 10:24:34 +0000 (10:24 +0000)]
Give warning if mismatch on character set (and force value).