gedcom-parse.git
22 years agoGive a warning if make is not GNU make.
Peter Verthez [Sun, 13 Oct 2002 16:31:30 +0000 (16:31 +0000)]
Give a warning if make is not GNU make.

22 years agoForce the use of GNU make.
Peter Verthez [Sun, 13 Oct 2002 16:30:41 +0000 (16:30 +0000)]
Force the use of GNU make.

22 years agoUse configure mechanism to generate README.
Peter Verthez [Sun, 13 Oct 2002 15:35:04 +0000 (15:35 +0000)]
Use configure mechanism to generate README.

22 years agoIgnore README for cvs diff.
Peter Verthez [Sun, 13 Oct 2002 15:34:30 +0000 (15:34 +0000)]
Ignore README for cvs diff.

22 years agoInitially empty README file (will be generated by configure).
Peter Verthez [Sun, 13 Oct 2002 15:33:14 +0000 (15:33 +0000)]
Initially empty README file (will be generated by configure).

22 years agoGenerate README and doc/index.html via configure.
Peter Verthez [Sun, 13 Oct 2002 15:32:30 +0000 (15:32 +0000)]
Generate README and doc/index.html via configure.

22 years agoGenerate index.html via configure (portability).
Peter Verthez [Sun, 13 Oct 2002 15:30:35 +0000 (15:30 +0000)]
Generate index.html via configure (portability).

22 years agoGenerate via normal configure mechanism (portability).
Peter Verthez [Sun, 13 Oct 2002 15:29:48 +0000 (15:29 +0000)]
Generate via normal configure mechanism (portability).

22 years agoDon't include Makefile.inc: add specific rule here (portability).
Peter Verthez [Sun, 13 Oct 2002 15:28:55 +0000 (15:28 +0000)]
Don't include Makefile.inc: add specific rule here (portability).

22 years agoDon't use GNU make specific features (portability).
Peter Verthez [Sun, 13 Oct 2002 15:21:09 +0000 (15:21 +0000)]
Don't use GNU make specific features (portability).

22 years agoIntegration of libcharset into gedcom-parse.
Peter Verthez [Sun, 13 Oct 2002 14:25:28 +0000 (14:25 +0000)]
Integration of libcharset into gedcom-parse.

22 years agoAdd libiconv (for make dist).
Peter Verthez [Sun, 13 Oct 2002 14:23:06 +0000 (14:23 +0000)]
Add libiconv (for make dist).

22 years agoDon't do anything on all, dist or distcheck.
Peter Verthez [Sun, 13 Oct 2002 14:22:38 +0000 (14:22 +0000)]
Don't do anything on all, dist or distcheck.

22 years agoCorrection for make distcheck.
Peter Verthez [Sun, 13 Oct 2002 14:20:37 +0000 (14:20 +0000)]
Correction for make distcheck.

22 years agoUse of libcharset (for portability).
Peter Verthez [Sun, 13 Oct 2002 14:20:03 +0000 (14:20 +0000)]
Use of libcharset (for portability).

22 years agoUse locale_charset (from libcharset) instead of nl_langinfo directly.
Peter Verthez [Sun, 13 Oct 2002 14:19:38 +0000 (14:19 +0000)]
Use locale_charset (from libcharset) instead of nl_langinfo directly.

22 years agoIntegration of libcharset into gedcom-parse.
Peter Verthez [Sun, 13 Oct 2002 14:18:46 +0000 (14:18 +0000)]
Integration of libcharset into gedcom-parse.

22 years agoSet ICONV_PATH.
Peter Verthez [Sat, 5 Oct 2002 07:35:50 +0000 (07:35 +0000)]
Set ICONV_PATH.

22 years agoCompile with -O2
Peter Verthez [Sat, 5 Oct 2002 07:35:00 +0000 (07:35 +0000)]
Compile with -O2

22 years agoFixes for portability with libiconv.
Peter Verthez [Sat, 5 Oct 2002 07:34:29 +0000 (07:34 +0000)]
Fixes for portability with libiconv.

22 years agoSimplification.
Peter Verthez [Fri, 4 Oct 2002 19:20:13 +0000 (19:20 +0000)]
Simplification.

22 years agoMaking libiconv distribution.
Peter Verthez [Fri, 4 Oct 2002 19:18:53 +0000 (19:18 +0000)]
Making libiconv distribution.

22 years agoLibiconv changes for ANSEL encoding.
Peter Verthez [Fri, 4 Oct 2002 19:18:33 +0000 (19:18 +0000)]
Libiconv changes for ANSEL encoding.

22 years agoMoved to iconv/glibc directory.
Peter Verthez [Wed, 2 Oct 2002 18:15:10 +0000 (18:15 +0000)]
Moved to iconv/glibc directory.

22 years agoNew directory iconv.
Peter Verthez [Wed, 2 Oct 2002 18:12:56 +0000 (18:12 +0000)]
New directory iconv.

22 years agoMoved ansel conversion code to iconv/glibc directory.
Peter Verthez [Wed, 2 Oct 2002 18:12:25 +0000 (18:12 +0000)]
Moved ansel conversion code to iconv/glibc directory.

22 years agoNew directory.
Peter Verthez [Wed, 2 Oct 2002 18:10:51 +0000 (18:10 +0000)]
New directory.

22 years agoMoved from ansel directory.
Peter Verthez [Wed, 2 Oct 2002 18:10:00 +0000 (18:10 +0000)]
Moved from ansel directory.
Extracted tables to separate header file.

22 years agoMoved from ansel directory.
Peter Verthez [Wed, 2 Oct 2002 18:09:35 +0000 (18:09 +0000)]
Moved from ansel directory.

22 years agoExtracted tables from glibc iconv conversion, to be reused in libiconv
Peter Verthez [Wed, 2 Oct 2002 18:08:37 +0000 (18:08 +0000)]
Extracted tables from glibc iconv conversion, to be reused in libiconv
iconv conversion.

22 years agoReorganize iconv code.
Peter Verthez [Wed, 2 Oct 2002 18:07:26 +0000 (18:07 +0000)]
Reorganize iconv code.

22 years agoFile to test ansel conversion.
Peter Verthez [Tue, 1 Oct 2002 16:20:25 +0000 (16:20 +0000)]
File to test ansel conversion.

22 years agoNew test, to test ansel conversion.
Peter Verthez [Tue, 1 Oct 2002 16:19:51 +0000 (16:19 +0000)]
New test, to test ansel conversion.

22 years agoUse ICONV_PATH in tests.
Peter Verthez [Tue, 1 Oct 2002 16:17:07 +0000 (16:17 +0000)]
Use ICONV_PATH in tests.

22 years agoSet ICONV_PATH to path of iconv binary.
Peter Verthez [Tue, 1 Oct 2002 16:16:35 +0000 (16:16 +0000)]
Set ICONV_PATH to path of iconv binary.

22 years agoFixes to ansel decoding and (mostly) encoding.
Peter Verthez [Tue, 1 Oct 2002 16:15:42 +0000 (16:15 +0000)]
Fixes to ansel decoding and (mostly) encoding.

22 years agoCount total number of conversion failures.
Peter Verthez [Tue, 1 Oct 2002 16:14:54 +0000 (16:14 +0000)]
Count total number of conversion failures.

22 years agoLocal macro's for configure.in.
Peter Verthez [Sat, 28 Sep 2002 18:01:21 +0000 (18:01 +0000)]
Local macro's for configure.in.

22 years agoDon't process the 'ansel' subdirectory if not glibc iconv.
Peter Verthez [Sat, 28 Sep 2002 18:00:14 +0000 (18:00 +0000)]
Don't process the 'ansel' subdirectory if not glibc iconv.

22 years agoChecks for portability and for use of libiconv if iconv is not in libc.
Peter Verthez [Sat, 28 Sep 2002 17:59:13 +0000 (17:59 +0000)]
Checks for portability and for use of libiconv if iconv is not in libc.

22 years agoDon't distribute new.ged
Peter Verthez [Sat, 28 Sep 2002 17:58:37 +0000 (17:58 +0000)]
Don't distribute new.ged

22 years agoDon't use fixed path for perl.
Peter Verthez [Sat, 28 Sep 2002 17:57:52 +0000 (17:57 +0000)]
Don't use fixed path for perl.

22 years agoAdd -export-dynamic to be able to use libtool --execute.
Peter Verthez [Sat, 28 Sep 2002 17:57:21 +0000 (17:57 +0000)]
Add -export-dynamic to be able to use libtool --execute.

22 years agoPortability: set GCONV_PATH only if iconv implemented by glibc.
Peter Verthez [Sat, 28 Sep 2002 17:56:55 +0000 (17:56 +0000)]
Portability: set GCONV_PATH only if iconv implemented by glibc.
Fix for closing invalid conversion context (crashes on libiconv).

22 years agoExpect 308 shift-reduce conflicts.
Peter Verthez [Sat, 28 Sep 2002 17:56:00 +0000 (17:56 +0000)]
Expect 308 shift-reduce conflicts.

22 years agoPortability with libiconv: use UTF-8 instead of UTF8.
Peter Verthez [Sat, 28 Sep 2002 17:55:22 +0000 (17:55 +0000)]
Portability with libiconv: use UTF-8 instead of UTF8.

22 years agoPortability: have fallback solution if vsnprintf is not available.
Peter Verthez [Sat, 28 Sep 2002 17:54:41 +0000 (17:54 +0000)]
Portability: have fallback solution if vsnprintf is not available.

22 years agoDeclare unused parameters directly instead of relying on -Wno-unused-parameter.
Peter Verthez [Sat, 28 Sep 2002 17:54:14 +0000 (17:54 +0000)]
Declare unused parameters directly instead of relying on -Wno-unused-parameter.
Some extra memory checking.

22 years agoRemove compiler option -Wno-unused-parameter (old gcc doesn't have it).
Peter Verthez [Sat, 28 Sep 2002 17:53:15 +0000 (17:53 +0000)]
Remove compiler option -Wno-unused-parameter (old gcc doesn't have it).
Add linker option -export-dynamic to be able to use libtool --execute.

22 years agoDeclare unused parameters directly instead of relying on -Wno-unused-parameters.
Peter Verthez [Sat, 28 Sep 2002 17:52:23 +0000 (17:52 +0000)]
Declare unused parameters directly instead of relying on -Wno-unused-parameters.
New function gom_new_model.

22 years agoDeclare unused parameters directly instead of relying on -Wno-unused-parameters.
Peter Verthez [Sat, 28 Sep 2002 17:51:01 +0000 (17:51 +0000)]
Declare unused parameters directly instead of relying on -Wno-unused-parameters.

22 years agoPortability: don't use __BEGIN_DECLS and __END_DECLS.
Peter Verthez [Sat, 28 Sep 2002 17:49:45 +0000 (17:49 +0000)]
Portability: don't use __BEGIN_DECLS and __END_DECLS.

22 years agoDeclare headers properly.
Peter Verthez [Sat, 28 Sep 2002 17:49:07 +0000 (17:49 +0000)]
Declare headers properly.

22 years agoPortability: should return success if iconv is not glibc.
Peter Verthez [Sat, 28 Sep 2002 17:48:46 +0000 (17:48 +0000)]
Portability: should return success if iconv is not glibc.

22 years agoPortability: Don't use LD_LIBRARY_PATH directly, but use libtool.
Peter Verthez [Sat, 28 Sep 2002 17:48:15 +0000 (17:48 +0000)]
Portability: Don't use LD_LIBRARY_PATH directly, but use libtool.

22 years agoPortability: don't use LD_LIBRARY_PATH directly, but use libtool.
Peter Verthez [Sat, 28 Sep 2002 17:47:21 +0000 (17:47 +0000)]
Portability: don't use LD_LIBRARY_PATH directly, but use libtool.

22 years agoPortability: use libiconv if necessary.
Peter Verthez [Sat, 28 Sep 2002 17:46:49 +0000 (17:46 +0000)]
Portability: use libiconv if necessary.

22 years agoUse ICONV_CONST to have const correctness.
Peter Verthez [Sat, 28 Sep 2002 17:46:14 +0000 (17:46 +0000)]
Use ICONV_CONST to have const correctness.

22 years agoPortability fix: don't use __BEGIN_DECLS and __END_DECLS
Peter Verthez [Sat, 28 Sep 2002 17:45:35 +0000 (17:45 +0000)]
Portability fix: don't use __BEGIN_DECLS and __END_DECLS

22 years agoA bit of refactoring...
Peter Verthez [Tue, 24 Sep 2002 16:15:56 +0000 (16:15 +0000)]
A bit of refactoring...

22 years agoTest program for cross-reference updates.
Peter Verthez [Sun, 22 Sep 2002 18:54:48 +0000 (18:54 +0000)]
Test program for cross-reference updates.

22 years agoSome new tests...
Peter Verthez [Sun, 22 Sep 2002 18:54:15 +0000 (18:54 +0000)]
Some new tests...

22 years agoIgnore some files.
Peter Verthez [Sun, 22 Sep 2002 18:51:36 +0000 (18:51 +0000)]
Ignore some files.

22 years agoGenerate from this new.ged via configure.
Peter Verthez [Sun, 22 Sep 2002 18:50:25 +0000 (18:50 +0000)]
Generate from this new.ged via configure.

22 years agoRemoved (generated via configure.in).
Peter Verthez [Sun, 22 Sep 2002 18:49:18 +0000 (18:49 +0000)]
Removed (generated via configure.in).

22 years agoGenerate new.ged via configure.
Peter Verthez [Sun, 22 Sep 2002 18:48:24 +0000 (18:48 +0000)]
Generate new.ged via configure.

22 years agoAdded functions to add, delete, link and unlink cross-references.
Peter Verthez [Sun, 22 Sep 2002 18:46:56 +0000 (18:46 +0000)]
Added functions to add, delete, link and unlink cross-references.

22 years agoAdded a function to check whether a (UTF-8) string is a valid token.
Peter Verthez [Sun, 22 Sep 2002 18:44:14 +0000 (18:44 +0000)]
Added a function to check whether a (UTF-8) string is a valid token.

22 years agoAdded a function to check whether a string is a valid token.
Peter Verthez [Sun, 22 Sep 2002 18:43:41 +0000 (18:43 +0000)]
Added a function to check whether a string is a valid token.

22 years agoBypass iconv conversion if the string is UTF-8 coming from the application.
Peter Verthez [Sun, 22 Sep 2002 18:43:12 +0000 (18:43 +0000)]
Bypass iconv conversion if the string is UTF-8 coming from the application.

22 years agoAdded functions for retrieving, adding, modifying and deleting cross-references.
Peter Verthez [Sun, 22 Sep 2002 18:42:31 +0000 (18:42 +0000)]
Added functions for retrieving, adding, modifying and deleting cross-references.

22 years agoLet init_called be global (used from encoding.c).
Peter Verthez [Sun, 22 Sep 2002 13:20:17 +0000 (13:20 +0000)]
Let init_called be global (used from encoding.c).

22 years agoClean up gconv path at the proper time.
Peter Verthez [Sun, 22 Sep 2002 13:19:53 +0000 (13:19 +0000)]
Clean up gconv path at the proper time.

22 years agoignore some files.
Peter Verthez [Sun, 22 Sep 2002 13:04:31 +0000 (13:04 +0000)]
ignore some files.

22 years agoMoved test programs to src subdirectory.
Peter Verthez [Sun, 22 Sep 2002 13:03:00 +0000 (13:03 +0000)]
Moved test programs to src subdirectory.

22 years agoMoved from parent directory to here.
Peter Verthez [Sun, 22 Sep 2002 13:02:12 +0000 (13:02 +0000)]
Moved from parent directory to here.

22 years agoMoved to subdirectory src.
Peter Verthez [Sun, 22 Sep 2002 13:01:19 +0000 (13:01 +0000)]
Moved to subdirectory src.

22 years agoKeep old encoding if new one cannot be created.
Peter Verthez [Sun, 22 Sep 2002 09:22:13 +0000 (09:22 +0000)]
Keep old encoding if new one cannot be created.

22 years agoBetter error handling to avoid memory leaks.
Peter Verthez [Sun, 22 Sep 2002 09:21:48 +0000 (09:21 +0000)]
Better error handling to avoid memory leaks.

22 years agoDefine init function for the lexer.
Peter Verthez [Sun, 22 Sep 2002 09:19:18 +0000 (09:19 +0000)]
Define init function for the lexer.
Use lexer sections.

22 years agoAdd init function for the lexer.
Peter Verthez [Sun, 22 Sep 2002 09:18:46 +0000 (09:18 +0000)]
Add init function for the lexer.
Define lexer sections.

22 years agoInit functions for the lexers.
Peter Verthez [Sun, 22 Sep 2002 09:17:55 +0000 (09:17 +0000)]
Init functions for the lexers.

22 years agoCall init function for the lexer.
Peter Verthez [Sun, 22 Sep 2002 09:17:34 +0000 (09:17 +0000)]
Call init function for the lexer.
New function: gedcom_new_model.

22 years agoExtra test.
Peter Verthez [Sun, 22 Sep 2002 09:14:06 +0000 (09:14 +0000)]
Extra test.

22 years agoExpected result is success for these tests.
Peter Verthez [Sun, 22 Sep 2002 09:13:48 +0000 (09:13 +0000)]
Expected result is success for these tests.

22 years agoClose outfile *after* the last output is done...
Peter Verthez [Sat, 21 Sep 2002 20:14:46 +0000 (20:14 +0000)]
Close outfile *after* the last output is done...

22 years agoWorkaround for memory leak in flex.
Peter Verthez [Sat, 21 Sep 2002 20:06:39 +0000 (20:06 +0000)]
Workaround for memory leak in flex.

22 years agoClean up environment at exit.
Peter Verthez [Sat, 21 Sep 2002 07:42:47 +0000 (07:42 +0000)]
Clean up environment at exit.

22 years agoClean up message buffer at exit.
Peter Verthez [Thu, 19 Sep 2002 06:23:29 +0000 (06:23 +0000)]
Clean up message buffer at exit.

22 years agoProvide a way to do memory debugging with e.g. valgrind.
Peter Verthez [Wed, 18 Sep 2002 19:19:32 +0000 (19:19 +0000)]
Provide a way to do memory debugging with e.g. valgrind.

22 years agoMoved gedcom.enc from top directory to data subdirectory.
Peter Verthez [Wed, 18 Sep 2002 17:53:09 +0000 (17:53 +0000)]
Moved gedcom.enc from top directory to data subdirectory.

22 years agoCreated data directory.
Peter Verthez [Wed, 18 Sep 2002 17:52:07 +0000 (17:52 +0000)]
Created data directory.

22 years agoMoved from top directory to here.
Peter Verthez [Wed, 18 Sep 2002 17:51:39 +0000 (17:51 +0000)]
Moved from top directory to here.

22 years agoExtra subdirectories.
Peter Verthez [Wed, 18 Sep 2002 17:50:58 +0000 (17:50 +0000)]
Extra subdirectories.

22 years agoMoved gedcom.enc to data subdirectory.
Peter Verthez [Wed, 18 Sep 2002 17:50:29 +0000 (17:50 +0000)]
Moved gedcom.enc to data subdirectory.

22 years agoMoved to data subdirectory.
Peter Verthez [Wed, 18 Sep 2002 17:50:11 +0000 (17:50 +0000)]
Moved to data subdirectory.

22 years agoFixes for const correctness.
Peter Verthez [Tue, 17 Sep 2002 15:50:18 +0000 (15:50 +0000)]
Fixes for const correctness.

22 years agoUse of libutf8
Peter Verthez [Tue, 17 Sep 2002 15:48:11 +0000 (15:48 +0000)]
Use of libutf8

22 years agoMoved get/set string to gom_modify.c.
Peter Verthez [Tue, 17 Sep 2002 15:47:12 +0000 (15:47 +0000)]
Moved get/set string to gom_modify.c.

22 years agoGetting and setting strings.
Peter Verthez [Tue, 17 Sep 2002 15:46:43 +0000 (15:46 +0000)]
Getting and setting strings.